Commit Graph

146 Commits

Author SHA1 Message Date
Cyberboss 645f3b1d75 Cuts out a chunk of map loader time for maps with a lot of space (#24764)
* SPACE OPTIMIZATION

* Don't need this instancing anymore either

* Forgot to drop this

* FASTER!!!!

* FASTER!!!!!!!!!

* Move this back, it makes no difference

* Fix a potential bug

* FAAAAAAASSSSSSTTTTTTTTERRRRRR!!!!

* open

* Ye be warned

* Better diagnostics + fixes

* Fewer false positives

* Bleh

* Remove the unecessary z-expansions
2017-03-09 11:24:51 +13:00
Cyberboss 31ee152489 Repaths subsystem to controller/subsystem (#24624)
* Repaths subsystem to controller/subsystem

* Fix the shit
2017-03-08 22:05:45 +01:00
Cyberboss 81433c4859 Removes an unused variable (#24749) 2017-03-07 21:14:49 +01:00
Cyberboss 1bbc640afe Runtime Dynamic Station Loading (#24171)
* Dynamic map loading prototype

* Get the title screen working

* Fixes the random pod bugs

* map configs

* Add back the asteroid

* Ignore the rotate file

* Fix some shit

* More shit fixes

* Babby's first json

* Cyberboss confirmed shitcoder

* Makes map rotation great again

* Moves the map defines

* Delete tgstation2.dm

* Convert runtimestation

* Convert PubbyStation

* Convert OmegaStation

* Convert Metastation

* Convert Delta Station

* Lol file extensions

* Reee line endings

* Take out the trash

* Fix loadallmaps.dm

* Deltaassssssstation?

* Fix travis

* Did I ASK you to change the line endings?

* Remove votable maps

* Cleanup

* Previous config. Load configs in New. Fix splash

* Fix this

* More generic minetype

* STOP TOUCHING THE LINE ENDINGS!!!

* Add some flexibility to /obj/screen/splash

* Fix the shit

* Update gitignore

* Smooth transition from last map

* Better check

* Missed this map rotate check

* Remove these checks too

* Prep for a future request by @kevinz000

* Fix z2 line endings

* Solution for custom .dms

* Rename some things, trim some fat

* Fixes default map_config

* Remove stale comment

* Delete the previous config after loading

* Don't try to open a non-existent file

* Delete the old rotator script

* And references to it

* Line endings

* More line endings

* Del checks from when m-config may have not existed

* LINE ENDINGS

* Update the default map config

* Map load error checking for what it's worth

* Small cleanup

* For case sensitive

* File systems

* Strip maprotate stuff from build script

* Spruce up the _maps tree. Compile some empty space

* Make travis simpler

* LINEARU ENDARU!!!

* tgstation TWO!!!

* Lowercase mine type

* Dummy dm's for testmerging

* Fixes job ordering

* If ghosts wanna watch the map load so be it

* Let them know what's going on

* Fixes z-transitions

* Optimize z expansion further

* Remove this old var

* Fix wiznerd teleportation

* Rmove butt

* Does the thing

* Moved temp configs to the data dir

* Un-touch gitignore

* Forgot templates.dm

* Forgot to include the includer

* Fair enough

* SILENCE IMBECILE!

* @Cyberboss still a fuckboi

* Speed things up a bit

* Fix a potential bug with the error message

* Whatever
2017-03-07 10:45:31 +13:00
Cyberboss 23868ce0cf Animates "Server Hop" 2017-02-27 16:23:53 -05:00
Cyberboss 2d424cf6be Moves some stuff that belongs in dbcore to dbcore (#24145)
* Moves some stuff that belongs in dbcore to dbcore

* Wew garbage

* Ree

* Fixed
2017-02-19 14:21:53 +13:00
Joan Lung 0ad469bcdb Merge pull request #24152 from Cyberboss/juicier
Adds a round end animation
2017-02-17 21:02:22 -05:00
Cyberboss 4ee54b3bf3 This isn't needed 2017-02-16 16:25:30 -05:00
Cyberboss 701d94adee Makes a thing that should be static, static 2017-02-16 13:26:31 -05:00
Cyberboss 64d0521859 Adds a round end animation 2017-02-16 10:05:51 -05:00
Cyberboss f6c68de269 Adds test merged PR title and author to the revision data (#23359)
* Add github repo id to config

* Makes sure testmerge has no nulls

* Enables downloading of PR details to revdata

* Add PR details to testmerge messages

* Fix some things

* user -> org

* Quotes

* FUCKING BYOND

* Something that sorta works

* Sanitization

* Thats the field I wanted.

* Less >

* Further sanitization

* The copypasta was real

* Remove duplicate PR lines

* Once more into the breach lads

* Fix the shit

* REEEE

* Extra error checks

* Remove dupe command logging

* Fix another line break

* Logging and shitfixes

* Revert "Remove dupe command logging"

This reverts commit 8d74d098aa74310626b9cc27c56bc163421b12ac.

* Use wget instead?

* Refactor into proc

* Security

* More security

* I can't spell

* UNIX memes
2017-02-15 09:48:36 +01:00
Cyberboss c373a16db8 Adds a return missing from manual world reboot (#24043) 2017-02-15 09:18:56 +13:00
Leo 9c6803ae19 Ports Paradise error handler, with in game runtime viewer! (#24036)
* Ports paradise error handler, with in game runtime viewer!

* Changes to the old runtime error and removes inerror reference

* Oops

* Adds a wrapper for world.log so it displays both in the runtime diary and in DD window
2017-02-14 11:39:31 +11:00
oranges 8cda3a7675 Merge pull request #23891 from Jordie0608/errorlocationspecifiedisnotavalidUNCpath
Adds distinct server sql name config
2017-02-11 15:26:20 +13:00
oranges e35f5da4ac Merge pull request #23833 from Cyberboss/worldshit
Adds world/New/Reboot times to the log
2017-02-09 20:55:30 +13:00
oranges 0d0fc29d89 Merge pull request #23823 from Cyberboss/RebootCleanup
Clean up world Reboot, reorganize sounds
2017-02-09 20:37:00 +13:00
Jordie0608 631b7346a7 adds distinct server sql name config 2017-02-09 17:58:10 +11:00
oranges 579c39016a Merge pull request #23793 from Cyberboss/DEEPER
Makes find_references go DEEP
2017-02-08 18:25:10 +13:00
kevinz000 a8116c4f29 [READY]Sends the names of online admins when sending IRC alerts about no admins active. (#23712)
* Update adminhelp.dm

* Update world.dm

* Update ticker.dm

* should work.
2017-02-08 18:23:32 +13:00
Cyberboss be27035d53 Adds world/New/Reboot times to the log 2017-02-07 15:53:57 -05:00
Cyberboss 44e6c208b0 Makes find_references go DEEP 2017-02-07 14:13:32 -05:00
Cyberboss fe6bbb0577 Clean up world Reboot, reorganize sounds 2017-02-07 13:11:50 -05:00
Cyberboss 751a182e04 Add disappointed.ogg 2017-02-02 21:07:08 -05:00
Cyberboss 155b1b4bf9 Reorganizes world/Reboot to be more sensible (#23522) 2017-02-01 09:11:40 +01:00
Cyberboss ab9f1f0448 It's 2017, time to fuck (some) spawns and cleanbots (#22801)
* Spawn -> addtimer

* Remove this unused proc

* Oh boy, there he goes touching MC again

* Remove spawn in flick_overlay

* Remove spawn in pollCandidates

* flash_color: waitfor = 0

* Don't mess with my grepping, comments

* clear_fullscreen: waitfor = 0

* Why the hell was telekinisis not using the define?

* check_for_cleanbot_bug: waitfor = 1

* Failsafe loop launcher

* assets: waitfor = 0

* Ticker nuke cleanup: addtimer

* ticker post setup: addtimer

* ticker cinematic cleanup: addtimer

* Revert "Why the hell was telekinisis not using the define?"

Handled in #22803

This reverts commit 1da293e687f1811ae69001cb02dfa6f15f451354.

* ticker maprotate: addtimer 0

* beam start: addtimer 0

* browser onclose setup: waitfor = 0

* Revert "check_for_cleanbot_bug: waitfor = 1"

This reverts commit 99e50724b3bc6a3682d042b36f97c906c7f7d96d.

* Finally remove check_for_cleanbot_bug

* browser timeout: addtimer

* deafness symptom: addtimer

* Shedding symptom: addtimer

* Animate doesn't sleep

* MSOs stuff

* > Tfw you committed without saving
2017-01-23 21:06:30 +04:00
Dannno deafd45efb adds yeehaw.ogg 2017-01-22 17:16:59 -05:00
Shadowlight213 256be603db Moves linebreak in testmerge MOTD message. (#23160) 2017-01-21 11:53:13 +01:00
Cyberboss c3edc8cfe9 Adds testmerges to the MOTD
Closes #18684
2017-01-18 11:35:54 -05:00
c0 06d8ffb439 Fixes latejoin panel and world topic showing incorrect round duration 2017-01-06 07:15:07 +03:00
Cyberboss 343027280b 100% less shitty 2016-11-27 19:00:02 -05:00
Cyberboss 8cf1b974dc You can now expect MC and SS Destroy to be called on round end
Runs the GC queue on SSgarbage Destroy
2016-11-27 18:06:08 -05:00
KorPhaeron af71d20561 The round ending on one server will send a news report to the other server (#21636)
* News Reports

* Misc

* Typo fixes
2016-11-22 12:30:30 +13:00
MrStonedOne 37f3b275d1 Fixes hub not taking effect in certain edge cases. 2016-10-10 11:11:45 -07:00
MrStonedOne 44f5632299 Adds config option for hub, removes hub.dm, adds toggle hub admin verb 2016-10-08 17:47:37 -07:00
Kyle Spier-Swenson 9c67747b93 Round end will now pre-load the admin selected round end sound to clients 2016-09-26 05:36:53 -07:00
NikNakFlak 7bf6e01cf2 Goof has nothingo on me (#20110) 2016-08-27 10:27:47 -05:00
xxalpha 9c7ece1faf Swapped SortAreas with process_teleport_locs in world/New (#20131) 2016-08-27 10:26:07 -05:00
Shadowlight213 b77e232ab9 Adds adds the ability to get a list of admins and their status from irc.
also fixes the ircstatus command
2016-08-23 12:43:51 -07:00
Jordie 63d17d8a59 Merge pull request #19963 from Shadowlight213/nsmecheck
Adds the ability for admins to lookup the name, ckey and antag status of a player from irc.
2016-08-21 12:22:13 +10:00
Shadowlight213 0fb4757512 Fixes
Appearance_PERMABAN type removed. now a jobban
Added needed updating to the sql changelog
2016-08-19 13:31:15 -07:00
Shadowlight213 1215e02bee Adds the ability to get some info about an inputted ckey or name from irc using the existing keyword_lookup proc.
Also adds a config option to show the names of admins messaging from irc and that they are from irc.
2016-08-18 18:01:06 -07:00
Shadowlight213 b4b21842db Sending adminpms from IRC. (#19097)
* Sending adminpms from IRC.

* added limit of 2 messages sent to irc per irc message recieved.
2016-07-13 11:40:18 +12:00
coiax afb7ebd790 Tiles are now (mostly) pooled objects (#19112)
* Tiles are now (mostly) pooled objects

Floors no longer have a builtin_tile, but instead use PoolOrNew().

Also added a do-nothing SSpool so you can inspect the global pool.

* Entries for time keeping

* MORE STATISTICS

* Stat tracking, auto filling

* Code review I

* Code review II

* Code review III
2016-07-08 13:32:40 -04:00
MrStonedOne 60819e0c48 Adds proper cleanbot bug detection. 2016-06-28 08:33:03 -07:00
KorPhaeron 8c96d9a37b Yelling at other servers 2016-06-18 13:52:07 -05:00
Kyle Spier-Swenson 235b79fb5a StonedMC, the bastard love child of GoonPS and CarnMC (#17987)
Basically, they key difference between StonedMC and CarnMC is that when multiple ticks want to run at the same byond tick, we divvy up the tick between the subsystems, rather then allow one subsystem to hog it all.

The key difference between StonedMC and GoonPS is that we allow the subsystems to tell us how to divvy up the tick using flags and priority.

The new SS_ flags allows us to select behaviors that used to be piggybacked as side effects of dynamic wait or default but sometimes unneeded behavior.

Dynamic wait is 100% gone, lower priority and SS_BACKGROUND are better more refined ways of doing this when combined with MC_TICK_CHECK

I have by design never looked at the inners of goonPS, so this is all original code but I know it uses two loops because of comments by goon devs on reddit threads, that design didn't make sense before, but when I can tell a SS how much of a byond tick it is allowed to have, knowing how many need to run this tick is helpful I also know a bit more about how it works from piecing together comments in #vgstation.

Detailed list of changes:

Subsystems now have flags, allowing fine grain control over things like rather or not it processes, inits, rather it's wait is how long between runs (post run timing) or how long between starts, and rather or not late fires should cause the next fire to be earlier.

Mc now has two loops One loop handles queuing shit, one loop handles running shit.

MC now splits up tick allotment rather than first come first serve Subsystems can even request a bigger share using higher priorities. (It will even resume subsystems it paused if other subsystems hadn't used as much as it predicted they might need)

Default fps is now 20 This is related enough to the MC and it's a change that's really long since over due

All code oddities are most likely to be necessities to lower overhead on the mc since it runs every tick
2016-06-16 18:01:16 +12:00
Kyle Spier-Swenson d09af9ce28 Map changing will now delay round end until it finishes 2016-05-14 12:47:00 -07:00
Cheridan 8b0a4384be Merge pull request #17320 from optimumtact/patch-1
Clean the world status proc slightly
2016-05-03 23:43:37 -05:00
Shadowlight213 a3b4d118c4 Gives relays their own proc 2016-05-03 19:14:24 -07:00
Shadowlight213 50372a586f Adds basic cross server message relay system. Currently setup to relay adminhelps to the other server in the case of no admins on a server. 2016-05-02 11:53:29 -07:00