Commit Graph

1454 Commits

Author SHA1 Message Date
Jordan Brown
7c6b16e0c0 Makes the configured default map work (#38897)
Setting "default" in maps.txt now will load that map as the first fallback when a next_map.json is missing
2018-07-04 17:32:44 -07:00
Emmett Gaines
34a3d2da4d Refactors component signals registration (#38798)
Datums know what signals are being listened for and components can now be registered to listen for signals on more than one object.
2018-07-05 00:56:39 +03:00
Jordan Brown
a088bde838 Merge pull request #38890 from AnturK/figuringoutifbugwasreportedonbrokenbuildispainfulenough
Adds minor byond version to feedback.
2018-07-04 13:40:27 -04:00
Jordan Brown
d631a0ded0 Merge branch 'pr-38513'
Signed-off-by: Jordan Brown <Cyberboss@users.noreply.github.com>
2018-07-03 13:54:36 -04:00
AnturK
0acce481a2 Alright. 2018-07-03 16:14:20 +02:00
AnturK
9ff10bb44b Adds minor byond version to feedback. 2018-07-03 15:24:05 +02:00
AnturK
e08b2f7e52 Fixes quirks trying to apply to silicons 2018-07-02 13:33:54 +02:00
oranges
daf9917a61 Merge pull request #38790 from tgstation/Cyberboss-patch-1
Adds a warning for using TIMER_OVERRIDE without TIMER_UNIQUE
2018-06-30 11:58:52 +12:00
AnturK
256f0f9512 Gamemode setup failure restets antag rep changes. (#38786) 2018-06-29 01:53:23 +03:00
Jordan Brown
8b16aaf87e Adds a warning for using TIMER_OVERRIDE without TIMER_UNIQUE 2018-06-28 14:37:28 -04:00
Jordan Brown
26b6fab1fe Merge branch 'pr-38604'
Signed-off-by: Jordan Brown <Cyberboss@users.noreply.github.com>
2018-06-28 14:22:03 -04:00
AnturK
bcc58d3ab9 Adds logging to failed gamemode startups (#38735)
* Adds logging to failed gamemode startups

* ]

* While i'm here
2018-06-27 10:12:35 -04:00
AnturK
2322db30ba Moves divide occupations debugging information to a file log. (#38721)
* Moves divide occupations debugging information to a file log.

* Copypaste failure.
2018-06-27 20:58:00 +12:00
ShizCalev
89752866aa Merge branch 'master' into spellcheck 2018-06-26 16:43:41 -04:00
Jordan Brown
f2c9a173df Merge pull request #38683 from AnturK/anomalyfix
Fixes anomaly area selection.
2018-06-25 10:17:59 -04:00
AnturK
08f308bc26 Fixes be assistant 2018-06-25 08:47:06 +02:00
CitrusGender
501fd35cba Fixed cyborgs not getting their names at round start (#38675)
* fixed cyborgs not getting their names at round start
fixed cyborgs and A.Is being able to get around appearance bans

* Update job.dm

* Update silicon.dm

* goodbye unneeded config otpion

* Update game_options.txt
2018-06-24 21:55:13 +03:00
AnturK
7b80231d6c Fixes anomaly area selection 2018-06-23 18:04:05 +02:00
Jordan Brown
6be1d505ef Merge pull request #38586 from AnturK/jobsquash
DivideOccupations cleanup
2018-06-21 14:47:27 -04:00
AnturK
5af480140d Throw a warning if this breaks up 2018-06-21 20:03:29 +02:00
Jordan Brown
84ae366f06 Fixes MassInsert query deleting (#38610) 2018-06-20 17:03:44 -07:00
Jordan Brown
bc065d4bbc Adds /datum/DBQuery/proc/SetQuery (#38584)
* Adds /datum/DBQuery/proc/SetQuery

* Needful newness
2018-06-20 00:18:23 -07:00
ShizCalev
ff532a4ca4 Spellchecks TGStation 2018-06-19 18:57:44 -04:00
Jordan Brown
84a85a5a3a Merge pull request #38574 from ninjanomnom/glob-signals
Global component signals
2018-06-19 18:18:11 -04:00
ninjanomnom
c46dda0e4e Shuttle throwing applies to all objects as opposed to just mobs 2018-06-19 18:13:57 -04:00
JStheguy
4ca07f7cf2 [READY] Helps data disks stop being unemployed (#38319)
* data cards actually have a function now

* Adds data cards to the IC printer for real rea

* more cards, less shitty code

* how the fuck did I miss that

adds a missing ..()

* wait wrong use of ..() fuck
2018-06-19 16:22:59 +02:00
Jordan Brown
1a22d45dbf [s] Fixes stack overflow (#38592)
[s] Fixes direct sql datum call exploit.
2018-06-19 16:10:30 +02:00
AnturK
b351b2ae24 DivideOccupations cleanup 2018-06-18 22:50:56 +02:00
Jordan Brown
cf7e8aa9ec Qdels queries, adds sleep safety checks, DBcore checks for leaks (#38363)
* Qdels all queries, adds sleep handling

* DB Core messages admins about undeleted queries

* Compile fixes. Adds missing set waitfor

* Remove world/New shennanigans. Add DBQuery/BlockingExecute()

* Less spammy notifications to admins about undeleted queries

* Increase dbcore fire time to 1 minute

* Upgrade undeleted query warning

* Better place of death

* Fix build

* Remove BlockingExecute, see BSQL PR for why

* Yep, missed that one.

* Psyche, that's the WRONG QUERY!!
2018-06-18 22:48:35 +03:00
ninjanomnom
b889b7bc49 Comment and subsystem recover 2018-06-18 15:40:53 -04:00
ninjanomnom
71e2354d48 Adds global signals and a silly example use case 2018-06-18 03:06:09 -04:00
Tad Hardesty
05107047dc Merge pull request #38098 from kevinz000/transit_space_refactor
Transit space refactor
2018-06-16 12:40:37 -07:00
AnturK
18331b32dd Fixes R&D display runtime (#38501) 2018-06-16 02:09:30 -07:00
kevinz000
f6564b51f4 Unused variable 2018-06-14 23:33:24 -07:00
ninjanomnom
d483ff3ef0 Regexes
`([^_\.])SendSignal\((.+?)\)` -> `\1SEND_SIGNAL(src, \2)`
`([\.\w]+?)\.SendSignal\((.+?)\)` -> `SEND_SIGNAL(\1, \2)`
2018-06-13 19:19:23 -04:00
kevinz000
93a9015500 Woops, wrong var. 2018-06-13 14:10:33 -07:00
AnturK
d56b4556a5 Fixes votes trying to remove actions of people who already voted. (#38431) 2018-06-13 05:26:49 -04:00
kevinz000
7996baca4c Clear transit changes 2018-06-11 19:13:38 -07:00
AnturK
f7cf151e92 Fixes loading zlevels with static lighting. (#38365)
* Fixes loading zlevels with static lighting.

* Actually this whole part is unnecessary now because change turf handles the change properly now.

* Correct
2018-06-10 02:54:53 -07:00
vuonojenmustaturska
9c0b5fa881 Turn /datum.isprocessing into a datum flag (#38193) 2018-06-05 15:59:46 -07:00
kevinz000
c437b094ee Woops, nice catch, nearly caused a memory leak there :^) 2018-06-04 16:35:26 -07:00
kevinz000
7bf86ed53f Refactors transit requests to turf_reservations. 2018-06-04 16:30:15 -07:00
Tad Hardesty
9d49ce482c Delay smoothing atoms that have not initialized yet (#38173) 2018-06-03 21:25:34 +02:00
KorPhaeron
8e692e6c02 Only load Reebe during clock cult (#38156)
* Only load clock cult during clock cult

* Return FALSE
2018-06-03 15:23:37 +12:00
Jordan Brown
d060e4e996 Antag reputation rewards are now configurable (#38077)
* Antag reputation rewards are now configurable

* Use keyed_number_list for antag rep
2018-06-02 16:48:19 -07:00
Jordie
cabf726999 Merge pull request #38186 from AutomaticFrenzy/patch/first-death-no-db
Fix First Death not being remembered if DB is not in use
2018-06-01 20:27:04 +10:00
Jordan Brown
f988a13548 Adds config for monkey cap (#38165) 2018-05-31 13:30:49 -07:00
Tad Hardesty
ccfaf16f3b Fix First Death not being remembered if DB is not in use 2018-05-31 00:20:38 -07:00
ShizCalev
c41d6ac965 Standardizes and cleans up some admin messages & logging (#38128)
* Improved logging

* Fixes & emitter logging

* ded
2018-05-30 21:57:06 -07:00
oranges
29da5a1914 Refactors how overlays handle the compile step (#38002)
Robustin says:

The very heart of our overlay code, a single line that basically boiled
down to overlays = new_overlays, was the cause of so much overlay lag.
Human overlay code was by far the biggest culprit. Most objects have 0-2
overlays but humans are marching around with 20+ most of the time and
the current system was spending a LOT of effort comparing 20+ image with
20+ other images and then apparently rendering them all anyway. Human
overlays are at least 10x the cost of any other overlay process and on a
busy server the overlay compiling was 2x the cost of any other system.

I compared the cost of overlay changes by picking up/dropping a PDA in
the dorms 250 times, with a 50% chance to use our current overlay
compiler and a 50% chance to use a "direct addition/removal (+=, -=)
approach:
CURRENT         1120ms  133     (avg:8.4210529327392578)
SCRAPS  6ms     112     (avg:0.0535714291036129)

Now this PR makes our whole overlay subsystem use that approach for
overlay compiling and the early results look incredible. The best part
is this is just the START of improvements. Humans benefits the most
because their icon system was already designed for small, incremental
overlay updates. By moving other code from "Cut everything, then put it
all back" to only updating the necessary overlays (cough, APC's), we can
see similar improvements.

oranges says:
I've picked up this PR because robustin vanished, but I do see the value
in the approach, only things I added were the checks for the overlay
list len changing

I also retabbed the entire file because I am a brainlet and did it
without thinking
2018-05-31 03:39:28 +03:00