Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some work on directing storage component's client updates #75

Merged
merged 6 commits into from Jun 20, 2018
Merged

Some work on directing storage component's client updates #75

merged 6 commits into from Jun 20, 2018

Conversation

ghost
Copy link

@ghost ghost commented Jun 2, 2018

~

@ghost ghost requested review from PJB3005 and ZoldorfTheWizard as code owners June 2, 2018 20:38
@ghost ghost added the W: In Progress label Jun 2, 2018
{
if (!SubscribedActors.Contains(actor))
{
Logger.GetSawmill("Storage").Info("Added actor with attached entity UID {0}.", actor.playerSession.AttachedEntityUid);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can do Logger.InfoS("storage", ...) here to get the sawmill.

Also that ought to be a debug message.

@@ -23,6 +23,7 @@ public class ServerStorageComponent : SharedStorageComponent, IAttackby, IUse

private int StorageUsed = 0;
private int StorageCapacityMax = 10000;
public HashSet<BasicActorComponent> SubscribedActors = new HashSet<BasicActorComponent>();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't it make more sense to keep track of player sessions here?

private void UpdateClientInventory()
private void UpdateClientInventories()
{
foreach (BasicActorComponent actor in SubscribedActors)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should check whether the actor is still valid here. People disconnecting could probably break this.

@PJB3005 PJB3005 requested a review from clusterfack June 3, 2018 12:39
@PJB3005 PJB3005 added T: Bugfix Type: Bugs and/or bugfixes enhancement labels Jun 3, 2018
@clusterfack clusterfack merged commit 2d23c6a into space-wizards:master Jun 20, 2018
@ghost ghost removed the W: In Progress label Jun 20, 2018
rbertoche referenced this pull request in rbertoche/space-station-14 Oct 1, 2022
Morb0 added a commit to Morb0/space-station-14 that referenced this pull request Oct 30, 2022
Just-a-Unity-Dev added a commit to Just-a-Unity-Dev/space-station-14 that referenced this pull request Mar 13, 2023
moonheart08 pushed a commit to moonheart08/space-station-14 that referenced this pull request Mar 16, 2023
* Marathon Update 4.0 (space-wizards#13263)

* Marathon Update 4.0

Co-authored-by: Emisse <[email protected]>
Co-authored-by: lunar-crater-ex <[email protected]>
rbertoche referenced this pull request in rbertoche/space-station-14 Apr 10, 2023
<!-- The text between the arrows are comments - they will not be visible
on your PR. -->

# About the PR
<!-- Describe the Pull Request here. What does it change? What other
things could this impact? -->

If 2 Syndies have 16 TC (essentially the base), and kill Renault for
5TC, they can buy 3 agents which in all is not that difficult. As seen
yesterday it was also obvious that with the right plays and a little
luck you can easily control the entire station in about 5 minutes.

13 TC would make it far more difficult for 2 Syndies to get 3 agents.
Sure you can still go from 2 Syndies to 4 but it's more equal to the
general firepower. This doesn't solve the probability problem that one
of the 5 might go ham on everyone and everything but it makes it a bit
more handle able.

I'm open to increasing it even higher but 13 should work decently and
still keep agent a possible buy.


# Changelog
<!--
Here you can fill out a changelog that will automatically be added to
the game when your PR is merged
There are 4 icons for changelog entries: add, remove, tweak, fix. I
trust you can figure out the rest.

You can put your name after the 🆑 symbol to change the name that
shows in the changelog (otherwise it takes your GitHub username)
Like so: 🆑 PJB

Generally, only put things in changelogs that players actually care
about. Stuff like "Refactored X system, no changes should be visible"
shouldn't be on a changelog.

For writing actual entries, don't consider the entry type suffix (e.g.
add) to be "part" of the sentence:
bad: - add: a new tool for engineers
good: - add: added a new tool for engineers
-->

🆑 BlitzGunner225
- tweak: Tweaked Syndicate reinforcement radio from 12 to 13
CaptainSqrBeard pushed a commit to CaptainSqrBeard/space-station-14 that referenced this pull request May 13, 2023
* nukie planet fixe a unpowered door to dorm (space-wizards#14277)

* Fix rsi sprite access for verbs (space-wizards#14284)

* Automatic changelog update

* Predict entitystorage (space-wizards#14082)

Co-authored-by: metalgearsloth <[email protected]>

* Crayonsystem cleanup (space-wizards#13400)

Co-authored-by: 0x6273 <[email protected]>

* Send changelog to Discord webhook. (space-wizards#14292)

* Automatic changelog update

* Oopsied the workflow file, awesome. (space-wizards#14293)

* Fix GITHUB_REPOSITORY in changelog pusher (space-wizards#14294)

* Sync lava sprites (space-wizards#14059)

* Plastic bottle textures

Textures for small and LARGE plastic bottles and meta.json for them

* Box of Plastic bottles Icon

* Box of Plastic bottles Meta.json

* Box of Plastic bottles Texture

* Box of Plastic bottles texture Meta.json

* Plastic bottles for chemists! Yey! They are here!

Finally THE CORRECT DIFF YEEEEEEAAAAH!

* Plastic bottles for protolathe and Medical TechFab

* Plastic bottles as technology for R&D

* Plastic bottles recipes for protolathe

* Box of bottles as spawn in Chemists' lockers

* Box of bottles as spawn in ChemCrates

* Box of bottles now contains bottles owo

* Cargo ChemCrate 750 -> 900

* Перевод пластиковых бутылок

* Перевод Коробки из под пластиковых бутылок

* Bagel Station Evac Shuttle Lox (space-wizards#14307)

* proto

* mapfile

* posters n shit

* gyroscope oop

* Add cooldown to hypospray (space-wizards#13953)

* added cooldown to hypospray

* moved one of the 'using's over a space

* changed all cooldowns to 0.5 seconds

* resolved suggestions

* minor comment change

* Medical Wall Locker Hotfix (space-wizards#14247)

Co-authored-by: Jeff <[email protected]>

* Automatic changelog update

* NT Evac Raven (space-wizards#14286)

* raven shuttle

* add missing blast door in sec compartment

* name

* extinguishers and emer lights

* Update Raven dock (space-wizards#14311)

* update raven dock

* name

* siofjaosd (space-wizards#14313)

* Fix ContentTileDefinition prototype reloads (space-wizards#14080)

* Automatic changelog update

* Update english locale files

* Translate upstream update

* Cancel in progress mirror job to prevent losing changes on multiple unmirrored commits

* oops

---------

Co-authored-by: Emisse <[email protected]>
Co-authored-by: metalgearsloth <[email protected]>
Co-authored-by: PJBot <[email protected]>
Co-authored-by: Nemanja <[email protected]>
Co-authored-by: Checkraze <[email protected]>
Co-authored-by: 0x6273 <[email protected]>
Co-authored-by: Pieter-Jan Briers <[email protected]>
Co-authored-by: Interrobang01 <[email protected]>
Co-authored-by: ChilbroBaggins <[email protected]>
Co-authored-by: Jeff <[email protected]>
Co-authored-by: Scribbles0 <[email protected]>
Co-authored-by: AruMoon <[email protected]>
Just-a-Unity-Dev added a commit to Just-a-Unity-Dev/space-station-14 that referenced this pull request Jul 14, 2023
rbertoche referenced this pull request in rbertoche/space-station-14 Jul 29, 2023
rbertoche referenced this pull request in rbertoche/space-station-14 Oct 21, 2023
* Minor tweaks and fixes to Glacier (space-wizards#1622)

* A few more tweaks to Glacier

* Added a single hat

* Fixes Arachne and Moth body parts not being trash (space-wizards#1649)

* Moth body part also considered trash

* Arachne too

* Add missing InventorySlots components (space-wizards#1654)

* Fix Nyano GhostRoleMobSpawners (space-wizards#1655)

The ifrit, fugitive, and oneirophage lacked the GhostRole component
on their respective spawners.

* Map Edits (space-wizards#1652)

Co-authored-by: Jeff <[email protected]>

* Disable VentClog event (space-wizards#1657)

At present, foam is either too dangerous or too annoying.

By default, 200 units of any valid reagent enters the system of a
character standing in VentClog foam per update. Changing the possible
reagents to be less lethal just makes it more annoying.

Having 250 units of water in your system means your ability to digest
or process any other reagent is limited for a significant time.

Reducing the amount of reagents makes the event almost pointless.

* Update changelog (space-wizards#1658)

* Update ass day rules

---------

Co-authored-by: Salt <[email protected]>
Co-authored-by: Fluffiest Floofers <[email protected]>
Co-authored-by: Rane <[email protected]>
Co-authored-by: Vordenburg <[email protected]>
Co-authored-by: Velcroboy <[email protected]>
Co-authored-by: Jeff <[email protected]>
Nimfar11 pushed a commit to Nimfar11/space-station-14 that referenced this pull request Apr 14, 2024
deltanedas pushed a commit to deltanedas/space-station-14 that referenced this pull request May 4, 2024
whateverusername0 pushed a commit to whateverusername0/space-station-14-wizden that referenced this pull request Jun 3, 2024
SlamBamActionman pushed a commit to SlamBamActionman/space-station-14 that referenced this pull request Jul 5, 2024
* borgs the brains beret and scarf

* i blame vscode

---------

Co-authored-by: TsjipTsjip <[email protected]>
wafehling referenced this pull request in wafehling/space-station-14-Chemfix Aug 15, 2024
Pronouns fixed in character creator and criminal records
Doctor-Cpu added a commit to Doctor-Cpu/space-station-14 that referenced this pull request Nov 3, 2024
Doctor-Cpu added a commit to Doctor-Cpu/space-station-14 that referenced this pull request Nov 3, 2024
Doctor-Cpu added a commit to Doctor-Cpu/space-station-14 that referenced this pull request Nov 3, 2024
* Reapply "Vent crawling (space-wizards#60)" (space-wizards#77)

This reverts commit 576fcb3.

* Reapply "disable pipe crawling when welded (space-wizards#75)" (space-wizards#76)

This reverts commit 9750674.

* prevent anyone entering pipes

* prevent stuttering

* prevent swapping pipes

* make pipe crawling a container

* fix teleporting randomly

* refactor verb

* make pipe deletion more robust

* fix exiting pipes
Quantum-cross pushed a commit to Quantum-cross/space-station-14 that referenced this pull request Jan 23, 2025
Quantum-cross pushed a commit to Quantum-cross/space-station-14 that referenced this pull request Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T: Bugfix Type: Bugs and/or bugfixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant