Commit Graph

1745 Commits

Author SHA1 Message Date
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
Jordan Brown
0d6d6efaca Makes config loading messages consistent 2017-10-08 16:17:23 -04:00
JamieH
0666fe6c70 Allows easy hosting of server side lobby music (#31352)
* Allows easy hosting of server side lobby music

* No images here!!!

* Undelete /tg/ sounds... REEE

* Add back the old system and use it if this doesn't find any music

* Documentation++

* Update round_start_sounds.txt

* Allow for rare map specific title music

Also don't attempt to play non-valid sounds/non-sounds

* Fix bad sound filter, fix common sounds

* Update README.txt

* Update ticker.dm

* Update ticker.dm
2017-10-08 14:16:09 -04:00
Jordan Brown
961cd07284 Fixes adding bad config entries (#31390) 2017-10-07 20:13:51 -04:00
Kyle Spier-Swenson
119f3fa02b Allows editing config.allow_admin_ooccolor (#31371)
Because server ops can manually decide to lock a config by prepending an @ sign in front of the config entry, there is no reason to lock this out.
2017-10-07 13:37:27 -04:00
Jordan Brown
bc4d4e7ff3 Merge pull request #31374 from MrStonedOne/highpopmode
High pop reduced MC processing mode.
2017-10-07 09:42:15 -04:00
Jordan Brown
7f43cff15a Config option to automatically call the shuttle for high casualties (#31309) 2017-10-06 22:34:40 -04:00
MrStonedOne
8f5ee3927c Some tweaks 2017-10-06 11:55:34 -07:00
Leo
4ca78a7406 Merge pull request #31336 from AnturK/Fixes-lighting-on-away-missions
Fixes lighting object initialization on new zlevels.
2017-10-06 09:10:45 -03:00
MrStonedOne
7b7a4ca287 High pop reduced MC processing mode.
The logic behind this is that at higher populations, byond ends up needing to do more at the end of the tick to update clients, that the mc and traditional sleep timers end up fighting for a very small amount of time left.
Increasing the MC's sleep time means its wakes up sooner in the tick. So it has more time to do things, even if they don't happen as often, and leaving every other tick free allows for sleeping CHECK_TICK task to wake up without finding the MC left them very little time to do things.

Admins have been regularly manually doing this by varediting the processing variable to 2, that i figured we should automate it.

for /tg/, i plan on raising the player count a bit, but they make decent defaults for the avg server.
2017-10-06 00:34:09 -07:00
Firecage
ee3e8d2846 merge conflict fix 2017-10-05 11:22:57 +02:00