Commit Graph

114 Commits

Author SHA1 Message Date
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
oranges
f1d0d376ea Clean the world status proc slightly
Remove a bizzare if check
2016-05-02 10:15:20 +12:00
Core0verload
04ce5e42cd World "?status" expansion, Topic() rework
* World "?status" expansion

* New helper procs for shuttles

* fix

* a fix
2016-04-06 02:15:25 -06:00
duncathan
e86cf0f280 praise the good lord, for the game finally compiles 2016-03-29 19:04:37 -06:00
Jordie0608
c3f28bb395 show-server-revision tells if test pr is merged 2016-03-11 20:35:10 +11:00
Kyle Spier-Swenson
b4d1ec813f TimeStamped runtime logs.
````
runtime error:
[23:55:40]list index out of bounds
[23:55:40]proc name: testpickweight (/mob/verb/testpickweight)
[23:55:40]  source file: client.dm,296
[23:55:40]  usr: (src)
[23:55:40]  src: MrStonedOne (/mob)
[23:55:40]  src.loc: null
[23:55:40]  call stack:
[23:55:40]MrStonedOne (/mob): testpickweight()
runtime error:
[23:55:43]list index out of bounds
[23:55:43]proc name: testpickweight (/mob/verb/testpickweight)
[23:55:43]  source file: client.dm,296
[23:55:43]  usr: (src)
[23:55:43]  src: MrStonedOne (/mob)
[23:55:43]  src.loc: null
[23:55:43]  call stack:
[23:55:43]MrStonedOne (/mob): testpickweight()
````
2016-03-01 00:14:46 -08:00
Tkdrg
b441767693 Improves admin counting for irc
This is intended to support future improvements to the #adminbus bot.
2016-02-09 21:37:44 -03:00
Bjorn Neergaard
063dd9fb84 Get the code running on 510
* Travis for 510
* Remove json, list2text, text2list, bygex
* Change blind and click catcher to a low plane
2016-02-04 17:19:40 -06:00
Kyle Spier-Swenson
050f699dec Adds a 1 second delay to initializing the MC.
This is so clients can actually connect from world.reboot before the mc starts hogging the cpu, and mainly so i can actually see how long the minimap subsystem is taking to initialize without having to play "race against the mc"
2016-01-27 19:35:11 -08:00
Bjorn Neergaard
97ca70cd34 Rework Master Controller, Failsafe, and Subsystem code 2015-12-04 15:40:58 -06:00
Tkdrg
598fea785e Jobban cleanup & performance improvements
Clients now cache their jobbans to save on DB queries.
Legacy jobbans and "new" (savefile) jobbans have been removed.
These are old cruft that has been unused for years, and since we require
a DB for notes anyway we might as well just get rid of the legacy stuff.

I considered removing legacy bans as well, but I was unsure if that
would go way beyond the scope of this PR (my main goal here is making
jobban_isbanned not awful).

Also note that this was basically untested, as I do not have a test
database. Any help testing this would be much appreciated.
2015-11-28 12:35:54 -03:00
MrStonedOne
4f652da4bd Adds a config option for the round end restart delay.
This should enable more murder death kill at round end before the next round starts.
New servers will default to 90 seconds while old servers will default to the old 25 seconds until they import the config option to their server.
2015-10-26 05:04:43 -07:00
oranges
f570aa6410 Move autoadmin to a protected config datum
This prevents any admin with permission to debug controller being able to edit this setting
2015-10-20 14:42:21 +13:00
Razharas
d9f2f14ac4 Makes space transition real cool
Makes space transition real cool
No more txt shite
Only defines now
Fixes away missions derping
2015-10-13 13:41:46 +03:00
MrStonedOne
701e966f8f choosen -> chosen 2015-10-06 21:50:19 -07:00
MrStonedOne
8d30d50c63 Adds a next map status tab entry. 2015-10-06 21:21:10 -07:00
MrStonedOne
e27e9e8371 Map rotation fixes:
Fixes mutiple rotate operations from breaking the server, map rotation will properly detect rotation operations as well as update operations and abort.
Fixes max pop being treated as minpop
Adds more feedback to admin verbs.
2015-10-06 21:12:00 -07:00
MrStonedOne
29cf9bd265 Some map rotation tweaks.
Adds a config option for the map rotation chance.
Ups default rotation chance from 50% of round length to 75% of round length.
Moves the procs around.
Adds two new admin verbs:
Force map rotation.
Change map.
2015-10-02 10:48:09 -07:00
MrStonedOne
fb01e5ce71 Cleans up map rotation code, removes debugging code 2015-09-30 08:43:22 -07:00
MrStonedOne
fcc8402f31 map rotation base code 2015-09-30 07:13:38 -07:00
Kyle Spier-Swenson
f01e5a0275 Update world.dm 2015-08-31 15:32:13 -07:00
Kyle Spier-Swenson
1e075da4dd Adds logging of admins who use client side debugging tools to restart the server 2015-08-31 15:31:52 -07:00
Kyle Spier-Swenson
4713b1440d Fixes reboot world in dd or client side debugging tools acting odd.
Using the server->reboot option in client side debugging tools will sleep the current proc and call world.Reboot(1).

These cases should immediately reboot with no code to clog it up so that admins with client side debugging tools can restart the world even if its hung. (this being the reason i gave all admins client side debugging tools)
2015-08-31 00:27:39 -07:00
Orange Borg
2c5a3360c5 clean up world.dm
The war on commented code and bad comments continues
2015-08-18 14:35:55 +12:00
Firecage
4688c2c969 Fixes proc arguments 2015-07-15 23:52:35 +02:00
Cheridan
6ca4cb1e64 Merge pull request #9735 from Jordie0608/whyevenhavetwoverbs
World.Reboot() Improvement
2015-06-05 16:43:13 -05:00
Jordie0608
bd7019e033 standardizes Reboot(), allows round to be delayed after it finishes and removes immediate reboot verb 2015-06-01 22:07:22 +10:00
Firecage
f79e0fc1aa Updates more paths, for example obj/stuff to /obj/stuff 2015-05-31 17:48:33 +02:00
Jordie0608
357b131a52 compile fix 2015-05-22 18:23:25 +10:00
Incoming
f892127b24 Adds the "set round end sound" fun button so admins can override the generic sounds to play something else if want be. 2015-04-18 15:34:03 -04:00
Miauw
82bc75c263 Moves chat toggles into their own variable. 2015-03-05 18:38:07 +01:00
Swag McYolosteinen
f5359aba3b Merge pull request #7257 from Lo6a4evskiy/Sec_record_photo
Adds photos and some other stuff to security and medical records
2015-02-05 18:45:53 +01:00
Lo6a4evskiy
50cc057504 Lots of fixes and improvements 2015-02-04 17:35:42 +04:00