Commit Graph

2260 Commits

Author SHA1 Message Date
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
Jordan Brown
fda578cc22 Legacy config warning only happens if any legacy configs are present (#38421) 2018-06-12 19:19:00 -07: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
Armhulen
5d826f2ca4 Custom Chaplain Armor Kits (#37569)
* giant dad set

* twop underway

* initial

* initial

* no special armors :((((

* bye twop

* no more special armors

* f

* more removals

* fixes

* normieizing the armors pt1

* ok, finally

* I'M DONE I DID IT

* removals

* this will not compile but next commit in two commits it will

* this will not compile but next commit it will

* it compiles 20 dollars says it compiles

* i am so sorry

* fixes everything, >:(

* *coughs up hairball*

* cobby's suggestion

* pbool'f fhttrfgvba

* OOOOOOOOH YEAAAAAAAH BABY

* quieter

* AH OKAY THERE
2018-05-27 13:50:59 -07:00
Jordan Brown
9613918584 Merge pull request #38055 from AutomaticFrenzy/patch/ssping-lobby
Enable Goonchat ping during the lobby
2018-05-25 12:05:56 -04:00
Jordan Brown
9549949eeb Merge pull request #38008 from MrStonedOne/ISawSSTimerFloatingInMyDreams
Fixes some edge cases in sstimer that could cause a timer to run before it was expecting to.
2018-05-25 11:51:03 -04:00
Jordan Brown
8b86c9ffae Merge pull request #38009 from MrStonedOne/deletedcrackdown
Timers on qdeleted objects is no longer supported.
2018-05-25 11:49:48 -04:00
Tad Hardesty
a2fa900692 Enable SSping during the lobby 2018-05-24 20:03:02 -07:00
vuonojenmustaturska
4f0b0b7ec1 Replaces /atom.initialized and .admin_spawned with flags (#37981)
kill .initialized and .admin_spawned from /atom
2018-05-24 02:20:50 -07:00
MrStonedOne
8b7694a9fc Timers on qdeleted objects is no longer supported.
Before we only warned if the wait was 1 or higher to solve issues with objects settings timers on themselves while getting qdeleted, a common enough usecase to support (even if it is annoying), but then I remembered we could check for qdestroying directly.

Also fixes it so such `destory()` time timers actually run consistantly. before they would only work if called after the `..()` in `destroy()`
2018-05-22 21:06:51 -07:00
MrStonedOne
01d816fa2e Fixes some edge cases in sstimer that could cause a timer to run before it was expecting to.
Because sstimer tracks timers internally in the terms of what "byond tick" they are suppose to run at; float wait values are now rounded *up* to the next Byond Tick rather then have byond round the resulting list index *down* at access time.

0 wait timers are now rounded *up* to `world.tick_lag` to avoid incompabilities with editing the current tick's bucket while it was being processed.
2018-05-22 20:27:39 -07:00
kevinz000
0b63c0c533 Deconstruction for anomalies in techwebs (#37912) 2018-05-22 18:43:48 -05:00
oranges
b65f928d76 Merge pull request #37934 from AutomaticFrenzy/patch/ssping
Migrate goonchat pings to a subsystem
2018-05-22 09:39:12 +12:00
cyclowns
db78a4cc5e Refactors hydrocarbon combustion + other general atmos code changes (#37600)
* splits hydrocarbon combustion + other stuff

* nob max() thing

* whoops

* remove proc + new define
2018-05-21 10:20:25 +02:00
kevinz000
7e6f361e01 Refactors techwebs to have different types of points (#37448)
PR HAS NO GAMEPLAY IMPACT
2018-05-19 16:51:14 -07:00
Tad Hardesty
139a5d9cd7 Migrate goonchat pings to a subsystem 2018-05-19 16:44:23 -07:00
Jordan Brown
7df9cae3b2 Merge pull request #37896 from ShizCalev/statbus-memes
Provides a link to round specific logs/stats on statbus when the round reboots.
2018-05-18 11:13:10 -04:00