Commit Graph

1733 Commits

Author SHA1 Message Date
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
Firecage 2ae0380fef Does some code standardization/consistency 2017-10-05 11:13:47 +02:00
AnturK 1b55446f2d Fixes lighting object initialization on new zlevels. 2017-10-05 09:13:36 +02:00
JJRcop f8951911b1 Hosts can lock config options from admins (#31254)
* Hosts can lock config options from admins

* Optimization of LoadEntries

a very very very small one
2017-10-05 08:58:55 +13:00
MrStonedOne db715903e5 What the fuck cyberboss 2017-10-02 15:35:12 -07:00
oranges 0ac005aeb4 Merge pull request #31127 from Cyberboss/notify_command
Chat command to notify admins when the round ends
2017-10-02 15:12:13 +13:00
Jordan Brown dd10fd56a2 Maplist is loaded regardless of maprotation config setting (#31172)
* Uncomments map rotation in default config

* Maplist is loaded regardless of maprotation config setting

Also logs loading of the map file
2017-10-02 09:27:23 +13:00
oranges 8d553910ae Merge pull request #31082 from Incoming5643/Satchel_Fix
Repairs and Intensifies Secret Satchels
2017-10-02 09:01:49 +13:00
Cyberboss 49e2e4daac Fixes config reading exploit 2017-09-30 10:30:19 -04:00
ShizCalev ced1e2437e Corrected shuttle refuel time (#31108) 2017-09-30 01:58:40 -04:00
Jordan Brown 0572c1a4d9 Fixes subsystems not returning a qdel hint 2017-09-29 15:58:44 -05:00
Cyberboss 9db3ba0be0 Chat command to notify admins when the round ends 2017-09-29 13:26:40 -04:00
Jordan Brown 62f788fbc6 Server tools API v3.1 (#31000)
* New API for service communication

* Safer this way

* Gives the game the ability to kill itself

* tick_lag

* Sanity check

* Updates comment

* Formalization of the server tools API

* Fixes, finishes, and cleanup

* Remove unecessary scoping

* Compile fixes

* Didn't Ctrl+S

* Reimplement chat commands

* Fixup

* Required parameters

* Fax

* Testing

* Fix ON_TOPIC

* The more defines the more better

* That's bass ackwards

* Fix tgs2

* Fuck it, call him pichael

* Do this

* No, we only use the modern methods now

* Remove tgs2 relay support

* Remove kebab

* Kill kill kill

* This is back baby

* Missed a GLOB

* Remove DownloadPRDetails()

* Cache custom commands by name

* Adds "notify" chat command

* Use the official API

* Fix API misuse

* Readme licensing memes

* Fix API

* Moves chat new game announcement to when the API is confirmed compatible

* Add TGS3.json

* Fix the input options

* Removes notify command
2017-09-29 16:19:50 +13:00