Leshana
eac8efc96a
Suspend SSmachines subsystem while we are initializing map templates.
...
- Adds the capability to "suspend" a subsystem while we're loading something.
2020-04-08 22:42:00 -04:00
Leshana
ec82db3bc3
MC Statpanel now distinguishes between NO_FIRE subsystems and OFFLINE (can_fire <= 0) subsystems
2020-04-08 19:31:19 -04:00
Neerti
1dd3bb4532
Stops initialization from grinding to a halt when loading maps
2019-03-27 01:49:25 -04:00
Anewbe
a75c575491
Merge pull request #5200 from VOREStation/vplk-stonedmc-sync
...
Port "The Punisher" (subsystems/MC impovement) from TG
2018-04-24 15:20:57 -05:00
Leshana
0094c74b64
Ports "The punisher!"
...
* From tgstation/tgstation#27196
* The mc will now punish subsystems that overrun their tick allotment with less allotment in later fires.
* The punisher also delays the next fire of subsystems that overrun. Because of how this is ends up being calculated, this will almost never actually kick in, but sometimes subsystems like garbage will overrun into multiple ticks, so delaying their next fire is needed.
* The punisher does not delay the next fire of SS_TICKER subsystems (tgstation/tgstation#34964 )
Note: SS_KEEP_TIMING subsystems do not get their next fire delayed.
2018-04-20 17:55:07 -04:00
Leshana
63257bf40b
Use define constants for subsystem init order and priority.
...
Replaced all hard coded numbers for subsystem priority with defines in subsystem.dm - Much easier to see them in order that way.
2018-04-20 13:18:55 -04:00
Leshana
63a1806b41
Bitfields do not work that way.
...
Fix attempt to use `in` on a non-list.
2018-02-05 13:13:37 -05:00
Leshana
a435d73450
Ports /tg controller optimizations
...
https://github.com/tgstation/tgstation/pull/31092 - Fixes subsystems not returning a qdel hint
https://github.com/tgstation/tgstation/pull/31494 - In which the stoner one gets stoned and tries to address tick contention... again
https://github.com/tgstation/tgstation/pull/31950 - Removes an empty New()
https://github.com/tgstation/tgstation/pull/31951 - Logs subsystem shutdowns
2017-12-27 21:19:55 -05:00
Leshana
032d26010b
Merging changes from /tg
...
https://github.com/tgstation/tgstation/pull/29637 Fixes subsystem MC crash tracking
https://github.com/tgstation/tgstation/pull/30092 Subsystem PreInit() now respects init_order
2017-12-27 18:58:51 -05:00
Leshana
6a8abd4f80
Ports tg improvements in StonedMC subsystem
...
* Ports /tg StonedMC Enhancement - Runlevels - Lets services more precicely define when they want to fire - in the lobby, during game, only after, etc. Includes bugfixes from:
* https://github.com/tgstation/tgstation/pull/27132
* https://github.com/tgstation/tgstation/pull/27338
* https://github.com/tgstation/tgstation/pull/27576
* https://github.com/tgstation/tgstation/pull/27519
* Ports Standardizes subsystem Shutdown order - https://github.com/tgstation/tgstation/pull/26228
2017-06-10 19:01:58 -04:00
Leshana
82e90a206c
Ports "Better repeated MC crash handling"
...
* From https://github.com/tgstation/tgstation/pull/25813
* If the MC crashes: The problem subsystem will be rebooted on its 2nd strike and disabled on its third.
2017-06-10 19:01:58 -04:00
Leshana
d6b68dabdb
Standardize MC subsystem initialization boilerplate
...
* Based on https://github.com/tgstation/tgstation/pull/25386
* Create macro for defining new subsystem types.
* Create PreInit proc to handle setup that needs to be done before the map loads
* Rename garbage_controller subsystem to garbage so it matches its global SSgarbage variable name.
2017-06-07 23:23:46 -04:00
Leshana
90dff0ae63
Ports /tg's StonedMC Subsystem from Baystation12
...
* Partial port of @PsiOmegaDelta's https://github.com/Baystation12/Baystation12/pull/16820
* Only ports the StonedMC changes, not the garbage collector (forthcoming in future)
2017-05-30 21:00:37 -04:00