Commit Graph

1639 Commits

Author SHA1 Message Date
Jordie0608
0dfd924d10 fixes config loading logs 2017-05-03 18:02:47 +10:00
oranges
f2c1f7e30b Merge pull request #26645 from Jordie0608/itriedlookingupwhatpromptedthischangebutsadlythelogswerelostwhentheroundended
Persistent investigate and game logs separated by round ID
2017-05-03 11:47:13 +12:00
Profakos
4c583a1f4f Trophy case hotfixes (#26822)
* Checks if the file's contents are empty

* Prevents afterattack on insertion

* True
2017-05-02 15:36:37 -04:00
Jordie
4fcd31d3fb Merge branch 'master' into itriedlookingupwhatpromptedthischangebutsadlythelogswerelostwhentheroundended 2017-05-02 18:49:06 +10:00
Profakos
c4320ee111 Adds persistent trophy cases (#26745)
* Persistent trophy cases

* QDEL_NULLs, TrySaveTrophy

* Breaking tweaks

* Persistence tweaks, moves the alert message

* JSON format and ckey logging

* Showpiece dummy

* Better illegal check
2017-05-01 16:31:06 -06:00
Cyberboss
abf59e153f Moves tips from config to strings tree (#26722)
* Moves tips and deadmin names from config to strings tree

* Just the tip
2017-05-01 10:51:10 -06:00
Leo
89e60cb88f Changes a lot of ticker and ticker.mode checks to SSticker.hasRoundStarted (#26720) 2017-04-30 23:35:13 +02:00
coiax
3a577221d0 Adds new debug verb for highlighting roundstart ATs (#26492)
* Adds new debug verb for highlighting roundstart ATs

Debug -> Debug Verbs enable
then
Mapping -> Show roundstart AT markers

Will highlight AT turfs, for easier location and comprehension rather
than looking at the list of coords. List of coords still works fine
though.
2017-04-28 12:58:34 -03:00
Leo
f263c4884a Merge pull request #26521 from AnturK/template-turret-control
Fixes templates/ruins not updating area list
2017-04-27 19:02:09 -03:00
Leo
4b9288028d Merge pull request #26612 from ChangelingRain/shuttletimer
Even admin-called shuttles will be affected by alert level
2017-04-27 18:54:54 -03:00
Cyberboss
c9686983f0 Small fix (#26581) 2017-04-27 11:35:51 -03:00
Leo
c2d5bd2a6f Merge pull request #26548 from Cyberboss/patch-56
Fixes map rotation with disabled voting
2017-04-27 11:20:02 -03:00
Leo
f68e8ca477 Merge pull request #26583 from Cyberboss/patch-62
Makes the GLOB stat_entry more indicative that you can edit it
2017-04-27 11:18:00 -03:00
Jordie0608
69a07b5ecf persistent investigate and game logs separated by round ID 2017-04-27 22:10:51 +10:00
oranges
2bed29bb39 Merge pull request #26570 from MrStonedOne/patch-353
Fixes some edges cases in the garbage controller
2017-04-27 10:43:48 +12:00
Cyberboss
c086dab047 Fixes master 2017-04-26 18:34:04 -04:00
Cyberboss
6c6fc719ec Refactors roundstart checks slightly (#26131)
* Refactors roundstart checks slightly

* Fix
2017-04-27 10:05:40 +12:00
Cyberboss
729010bbb2 Unorphans the blackbox (#26129)
Moved sql_poll_population from server_maint to this new SS. Moved few remaining server_maint tasks to SSping and deleted it.
2017-04-27 10:04:57 +12:00
Cyberboss
5ace376e4a Initialize Refactor (#25981)
Shouldn't break anything, stops warning spam, logs errors qdel style at the end of the game.

Initialize now expects a hint to be returned, one of:
INITIALIZE_HINT_NORMAL - Does nothing, returned by the root proc
INITIALIZE_HINT_LATELOAD - Call atom/proc/LateInitialize
INITIALIZE_HINT_QDEL - Calls qdel on the atom

LateInitialize currently defaults to the old re-calling behavior so there should be no issues with that.
Things that didn't return a hint or fucked up somehow will be logged less loudly than they were before

No more world start warnings!
2017-04-27 09:02:29 +12:00
Joan Lung
3da3063e82 Even admin-called shuttles will be affected by alert level 2017-04-26 11:58:17 -04:00
Cyberboss
ee52334ca4 Makes the GLOB stat_entry more indicative that you can edit it 2017-04-25 16:36:12 -04:00
Kyle Spier-Swenson
8da8c74dfb >caps 2017-04-25 12:14:49 -07:00
Kyle Spier-Swenson
127bda2042 Compile errors. 2017-04-25 12:10:17 -07:00
Kyle Spier-Swenson
d8208efaff Fixes some edges cases in the garbage controller
We no longer pause when we use up a tick, instead making us wait the delay between fires. (to cut down on lag from consecutive hard deletes) In a later pr I'll also make the MC punish subsystems who go over their allocated tick time with delayed fires and lower tick allotments.

Long hard delete logging moved to HardDelete proc so it can take effect on QDEL_HINT_HARDDEL items as well.

QDEL_HINT_HARDDEL_NOW uses the HardDelete proc now.
2017-04-25 11:49:53 -07:00
MrPerson
ff3f84ab81 Replaces /image with /mutable_appearance, where appropriate (#26518)
In cases where you're creating an image to use as an overlay, it makes more sense to use a mutable_appearance if you can. The image will create a static appearance for not just the image but also each intermediate step if you change vars along the way. The mutable appearance avoids this unnecessary and expensive process. The only situation that requires an image instead of a mutable_appearance is if the overlay is supposed to be directional. MA's ignore direction while images don't. I dunno why, probably another BYOND-ism.

I added a convenience function, mutable_appearance(), designed to emulate image(). Also went ahead and set the default plane of /mutable_appearance to FLOAT_PLANE because it's fucking 0 by default.

Several overlays that were image() calls were changed to just text strings when I could. overlays += "string" has the same result as overlays += image(icon, "string") and saves a proc call.
2017-04-25 12:15:16 +02:00
Cyberboss
e266551346 Merge branch 'master' into ITKEEPSHAPPENING 2017-04-25 01:13:14 -04:00
Cyberboss
01efacfe4c Fixes map rotation with disabled voting 2017-04-24 23:33:53 -04:00
Cyberboss
a050b0db6e >We still let old code in the codebase (#26506) 2017-04-24 22:21:55 -04:00
oranges
7f2b0d0b05 Merge pull request #26397 from coiax/stops-easter-loot
Fixes easter eggs spawning during non-easter; SSevent now inits before SSticker
2017-04-25 11:06:28 +12:00
AnturK
ff4596a6ba Fixes templates/ruins not updating area list 2017-04-24 10:47:45 +02:00
Cyberboss
7ddea10cd7 Exploit whack-a-mole 2017-04-23 21:16:10 -04:00
Cyberboss
b4c9caf253 Quite possibly the smallest microoptimization here (#26407) 2017-04-22 22:54:04 -03:00
Jack Edge
5d5f99e062 While we're here, regenerate station names on holidays 2017-04-22 22:08:31 +01:00
Jack Edge
a76d4374c1 Moves init_order to defines, moves SSevents above ticker. 2017-04-22 22:08:31 +01:00
Cyberboss
681f5e10c8 Copies the loaded titelscreen into the rsc 2017-04-20 16:29:11 -04:00
oranges
2ae659a60d Merge pull request #26319 from Cyberboss/SlowDownMobs
Moves simple animal automation from SSmob to SSnpc
2017-04-20 09:47:39 +12:00
oranges
02bcec36d1 Merge pull request #26324 from Cyberboss/MC_SPLIT_TICK
Adds defines for evenly splitting up a subsystem's time to fire
2017-04-20 09:47:18 +12:00
Cyberboss
e7cd4c4bc8 Fixes SSdbcore showing the incorrect ErrorMsg (#26352) 2017-04-19 13:08:24 -06:00
oranges
c948f55c2d Merge pull request #26315 from Cyberboss/LifeMicroOpt
Micro optimization for handle_breathing
2017-04-19 11:13:11 +12:00
Joan Lung
17f1536f05 Merge pull request #26322 from Cyberboss/LightingGC
Normalizes how some lighting things GC
2017-04-18 19:02:11 -04:00
Joan Lung
b9e512915a Merge pull request #26323 from Cyberboss/LightingSetupSpeedup
Speeds up lighting initialization
2017-04-18 19:01:46 -04:00
Kyle Spier-Swenson
0829bba0f2 fixes the garbage subsystem not working, at all. 2017-04-17 13:27:01 -07:00
Cyberboss
f490386a51 Moves simple animal automation from SSmob to SSnpc 2017-04-17 14:32:24 -04:00
Cyberboss
2e41fc6ef3 Adds defines for evenly splitting up a subsystem's time to fire 2017-04-17 13:50:22 -04:00
Cyberboss
0c5011934f Makes this use the right list 2017-04-17 13:37:43 -04:00
Cyberboss
72d0271f94 Normalizes how some lighting things GC 2017-04-17 13:15:39 -04:00
Cyberboss
8f2505f1a1 Micro optimization for handle_breathing 2017-04-17 12:02:44 -04:00
coiax
f30163b365 Configuration option for number of roundstart mice (#26133)
This was actually requested, because it turns out testing powernets is
hard if mice randomly chew wires sometimes.
2017-04-17 02:09:36 -06:00
Jordie
76b2a70835 Merge pull request #26228 from Cyberboss/ShutdownOrder
Standardizes subsystem Shutdown order
2017-04-17 15:21:54 +10:00
Cyberboss
3c3f7d3b60 Refactors dbcon into a subsystem (#26134)
* Refactors dbcon into a subsystem

* Swear I got that already...
2017-04-17 15:18:17 +10:00