Commit Graph

1755 Commits

Author SHA1 Message Date
Kyle Spier-Swenson
d7b537ce24 SSoverlay improvements and tweaks (#32371)
* Overlay per-type cost logging.

Overlays will now log how long each type took to process.

Changed up how overlays was done to account for the fact its a queue and not a processor. (it was using almost none of the processing subsystem framework)

Made the overlay loop faster by making it not cut the list until the end.

Added a simple generic benchmark stat tracking system.

I don't know how much overhead this adds to overlays. i may put it behind testing or something, but i do want to test this on the serbers to get some stats.

* Removes flush() as it was creating race conditions

* Use ref

* text2file

* Atoms added as an overlay will have their pending overlays compiled before being converted to an appearance
2017-11-10 20:25:29 +01:00
duncathan salt
3b68866b59 removes pipe construction cache (#32516) 2017-11-09 12:13:53 -05:00
Jordan Brown
45c5e63206 Makes editing movements delay configs have an effect again (#32530) 2017-11-09 11:04:48 -06:00
swindly
d3df913402 fixes spelling and stuff (#32531) 2017-11-09 11:03:50 -06:00
Jordan Brown
73fbac36d7 Adds a config option to change world.sleep_offline (#32505)
* Adds a config option to change world.sleep_offline

* Runlevel has no space
2017-11-09 00:44:49 -06:00
Emmett Gaines
f76ccb8de0 fixes null parent in destroy for components (#32351)
* fixes parent being null in destroy

* extends qdel
2017-11-08 09:35:09 +13:00
ACCount
b187ed8ca6 Multiple fixes in RPD and pipe construciton (#32399)
* Multiple fixes in RPD and pipe construciton

* Integrates another fix PR to avoid conflicts
2017-11-08 09:25:16 +13:00
tortellinitony
d908619c7b Some improvements on the holiday system (#32329) 2017-11-04 00:36:49 -04:00
kevinz000
8adcb12079 [READY]Helps address atmospherics nullspace runtimes (#32281)
* Helps fix atmospherics nullspace runtimes, adds debugging to pipe caches and makes the list accessible.

* I can spell properly guys

* Ok ok ok no global!

* Update construction.dm
2017-11-02 22:30:29 -06:00
Tad Hardesty
9fb288a601 Fix a few syntactic aberrations (#32284) 2017-11-02 03:21:14 -06:00
oranges
b78e06055c Merge pull request #32247 from ninjanomnom/minor-rad-fixes
Some minor contamination fixes
2017-11-01 09:29:47 +13:00
oranges
3dd3e4946a Merge pull request #32131 from KorPhaeron/protecthumanauthority
Changes to protect human authority
2017-10-31 09:32:45 +13:00
oranges
7a8a781bdd Merge pull request #32128 from Cyberboss/LocateFix
Use associative list instead of `in`
2017-10-31 09:24:42 +13:00
Emmett Gaines
800ff38c95 New ambience for ash storms (#32213)
song name?
2017-10-31 09:22:11 +13:00
ninjanomnom
d8af045434 Fixes singularity objects and logging 2017-10-30 01:36:35 -04:00
ninjanomnom
3d82455c8e fixes tags and makes garbage use \ref 2017-10-28 22:38:45 -04:00
Emmett Gaines
825ab4def4 [512] The great \ref purge (#31824)
* The great \ref purge

* cleanup
2017-10-28 17:20:04 -04:00
YPOQ
244c67895c build_appearance_list no longer edits the list it is passed (#32066)
* build_appearance_list no longer edits the list it is passed

* Mistakes were made

* Update overlays.dm
2017-10-27 18:34:09 -04:00
Kyle Spier-Swenson
dcef18078f Find references fix. (#32022)
* Find references fix.

Made it go from taking years to hours

Removed Datum based recursion, this was unneeded.

Fixed it calling a proc for what ended up being a costly noop millions of times (this was a moderate speed up as it would call DoSearchVar on every fucking number or string or null in a things vars list.)

Fixed it calling itself on the vars list. luckily it only checked keys, so this didn't stack overflow.

I'm intentionally leaving the debugging stuff in right now so that its on the record somewhere. I'll remove that when I pr line by line profiling as its own separate thing

* Remove debugging stuff

* i forgot
2017-10-27 11:56:34 +02:00
Emmett Gaines
65606195a7 More radiation balance changes and fixes (#32051)
* more balance changes and fixes

* cleanup
2017-10-27 10:06:59 +02:00
KorPhaeron
a0cb8660e7 Changes to protect human authority 2017-10-26 14:39:38 -05:00
Jordan Brown
80c0e5af63 Use associative list instead of in 2017-10-26 15:13:48 -04:00
KorPhaeron
360fbffac7 Fixes losing species preferences (#32093) 2017-10-26 18:59:57 +02:00
oranges
586f74cbc9 Merge pull request #31987 from Cyberboss/InlineCO
May as well shave some yaks
2017-10-26 23:03:52 +13:00
Jordan Brown
75d12f1f02 Merge pull request #32017 from ACCount12/patch-1
Fixes a SET_CONFIG bug
2017-10-23 00:38:20 -04:00
Jordan Brown
c19b8cc5ac Removes an empty New() 2017-10-22 11:31:08 -05:00
vuonojenmustaturska
032c86435c Removes mob.lastattacked and replaces lastattacker with a string (#31981) 2017-10-22 12:28:25 -04:00
Cyberboss
c6a8e30f47 Add missing '\' 2017-10-21 19:43:27 -04:00
Cyberboss
3f73a99cf1 Optimizes COMPILE_OVERLAYS 2017-10-21 19:26:48 -04:00
Cyberboss
b2a984fd8a Inlines compile_overlays 2017-10-21 19:23:26 -04:00
Jordan Brown
d95865656f Logs subsystem shutdowns (#31951) 2017-10-21 16:27:00 -02:00
KorPhaeron
dcddc79e11 Allows species to be blocked from ever being roundstart, can now choose your Halloween species (#31877)
* Hardlocked species, halloween now lets you choose your spooky race

* Code standards, moving procs around
2017-10-20 11:10:54 -04:00
vuonojenmustaturska
a927f2a64c expand simple_animals/hostile/aistatus into a simple_animals-wide system for putting mobs into idling mode (#31778)
* Initial commit

* Time is a circus

* Send in the clowns

* i broke something

* Revert "i broke something"

This reverts commit 5a29c40d131b39effe9ebcb6c8c1883693baf07f.

* I think it works?

* cleanup

* define reminders

* Fixes tendrils and such

* sentience_act now moves the mob to AI_OFF state
2017-10-19 11:57:10 +02:00
AnturK
bfc5a2cca8 Datum rev & related upgrades to base datum antag (#31630)
* Datum rev & related upgrades to base datum antag

* Actually starts objective tracking

* Grammer & clumsy removal things

* unifies file names

* Fixes heads displaying in every mode

* This is why i ask for reviews

* KILL ME

* proper antag detection

* Fixes admin de-revving

* Sanity

* Fix conflicts

* Fixes instant roundend

* Fixes flashes

* Waits until setup is done to declare roundend.
2017-10-18 20:25:42 +13:00
ACCount
5c7b3d20e6 Fixes ValidateAndSet being called with non-string values 2017-10-18 06:02:55 +03:00
ShizCalev
721df8dacf Cleans up some istypes not using helpers 2017-10-16 15:30:30 -04:00
kevinz000
64851d819a Moves projectile processing to a subsystem (#30599)
ITT worst coder tries not to break everything and improve the code.
fixes #29211
🆑
refactor: Legacy projectiles have been removed. Instead, all projectiles are now PIXEL PROJECTILES!
rscadd: Reflectors can now be at any angle you want. Alt click them to set angle!
/🆑

Also lets just
fixes #18133
because the shortest path from point A to B is a straight line, when projectile ranges are "number of times moved/processed" ofcourse it's going to be shorter if you fire diagonally. It will be a problem as long as range is done like that or if range are in "pixels/tiles" moved without outright using get_dist.
2017-10-16 15:50:42 +13:00
AnturK
02e1407269 Adds logging crew manifest to seperate file (#31665)
* Adds logging crew manifest to seperate file

* Coding blind

* i can spel words

* Not everyone in the lobby please.

* Proper header

* Fix

* Better format
2017-10-16 08:56:35 +11:00
Jordan Brown
9a4369f65b Merge pull request #31663 from ninjanomnom/shuttle-subsystem
Repopulates SSshuttle recover
2017-10-14 19:49:07 -04:00
ninjanomnom
bfed923e43 Repopulates SSshuttle recover 2017-10-13 15:47:33 -04:00
Emmett Gaines
456cd10d94 Radiation rework and subsystem (#30909)
* radiation rework and subsystem

* moves a few things to initialize and adds radiation insulation

* adds a radiation contamination mechanic and makes requested changes

I'm terrified by the possibilities from this

* radiated objects give off light

and hopefuly contamination is balanced

* fixes runtimes and an mc crash kek

removed the lighting part of contaminated objects
attempted some more balancing

* Collectors output power in process() gradualy

And some more balancing tweaks

* Excludes a bunch of things from becoming radioactive

* Ready for testmerge balancing

* Inverse square law was swapped

* testmerge balancing

fixes the geiger counter
buffs collector power gen
nerfs sm radiation
slightly buffs rad insulation
nerfs rad damage (and its burn)
raised the minimum radiation

* disabling the radiation subsystem won't build up rad wave datums forever

* rewrites how mobs handle radiation

upgrades geiger counter functionality
and more balance tweaks

* cleans up stuff and removes debug message

* Slight contamination buff

* Major rad wave performance boost

Also improves rad insulation
Buffs contamination, again

* Fixes insulation runtime

More balance and performance tweaks

* fixes rad collectors not receiving power

* The final balance commit

Fixes a major bug causing radiation to underperform
More geiger counter changes that will be changed more to add sounds

* Monkey business

* Geiger counter sounds

* cleanup and move components to their own initialize

* Some code cleanup

And forgotten changes

* Cleans up some trailing returns

* Mapping changes
2017-10-13 10:22:00 -04:00
Jordan Brown
73fb6ad339 Make SStgui actually read the html from the disk at runtime (#31464)
* Make SStgui actually read the html from the disk at runtime

* Remove the comment

* Back to "
2017-10-12 11:04:30 +13:00
Jordan Brown
9c2a6ef294 Server maint logs when nulls enter the clients list (#31544) 2017-10-11 16:17:36 -04:00
Leo
477303cf3a Merge pull request #31537 from tgstation/FixAutoEvac
Fix automatic shuttle calling
2017-10-11 12:54:43 -03:00
Jordan Brown
189ed58a42 Merge pull request #31494 from MrStonedOne/tick_contention_tug_of_war
In which the stoner one gets stoned and tries to address tick contention... again
2017-10-10 14:27:59 -04:00
JamieH
1ad564dea9 Fix a bug in the new lobby music system (#31477)
* Fix a bug in the new lobby music system

* Update ticker.dm

* ...
2017-10-10 14:13:51 -04:00
Jordan Brown
e749903633 Fix automatic shuttle calling 2017-10-10 12:05:15 -04:00
Leo
6746a7223c Merge pull request #31466 from tgstation/Cyberboss-patch-2
Makes config loading messages consistent
2017-10-09 18:03:28 -03:00
MrStonedOne
c8bb13d7c2 In which the stoner one gets stoned and tries to address tick contention... again
Tick contention is when the mc, sleep()/spawns(), and byond internal processing fight each other for game tick time. Usually in an unproductive way that wastes cpu cycles and reduces the effective amount of game tick to go around.

Tweaked the anti-tick contention heuristics of the MC a touch.

Fixed an incorrect operator in the mc's anti-tick contention heuristics causing it to apply in times of no lag rather then times of lag.

The mc's anti-tick contention heuristics now plays better with the high pop processing mode.

We no longer reserve the tail end of a tick for the mc to have if the mc doesn't plan to run next tick because of high pop mode or anti-tick contention heuristics.

stoplag() can now be given an initial delay allowing it to act like a smarter sleep (in that it sleeps for longer if the server is overwhelmed.

All short sleeps that only existed for performance reason and had no game play, visual/audio, or balance reasons behind their timing were converted to stoplag().
2017-10-09 01:21:43 -07:00
vuonojenmustaturska
6601fd920c Adds time dilation data to the feedback table (#31278)
* adds time dilation data to the feedback table

* Revert "adds time dilation data to the feedback table"

This reverts commit bed0bd78b6e24be7da8269f6af24e51f0c90ded7.

* adds time dilation data to the feedback table 2: electric boogaloo

* Changes
2017-10-09 09:37:51 +13:00