Commit Graph

5034 Commits

Author SHA1 Message Date
Kyle Spier-Swenson c341178ff4 Fixes bug with addtimer keeping old timers around, makes addtimer even faster. (#23126)
* Fixes timers being left around, Makes addtimer() sanic fast.

This adds a new flag, TIMER_STOPPABLE. Most(80%) of the overhead for addtimer() was in adding the timer to the associated lookup list for deltimer() to use. Moving that functionality to a flag so it wouldn't slow down the 70% of things calling timers puts the final nail in the coffin of byond's sleep/spawn().

spawn: 324 seconds across 5,948,372 calls

addtimer: 67 seconds across 5,953,220 calls

The testing setup for profiling was included in this commit, it will be removed in a later commit. @Fox-McCloud

* Remove profiling procs.

* fix runtime

luckly when this happened, we were about to resume anyways.
2017-01-20 09:31:50 +01:00
Joan Lung 192cc781a6 Ocular Wardens will now appear above potted plants (#23107) 2017-01-19 22:09:42 -05:00
Joan Lung 1692664503 Sentinel's Compromise will also affect oxygen damage (#23018) 2017-01-19 22:06:30 -05:00
Joan Lung eb34cadeee Nerfs the Ark's health (#23034) 2017-01-19 22:06:08 -05:00
Joan Lung c69c7439f2 You can now pull things past the Ark (#23035) 2017-01-19 22:05:57 -05:00
Joan Lung d1d442679d Merge pull request #23092 from coiax/no-doom-off-z
AIs cannot activate doomsday device off station
2017-01-19 13:08:15 -05:00
Cruix 15b2423f70 Fixed putting pais in bots and using mindswap improperly removing data huds (#23099) 2017-01-19 12:27:51 +01:00
Joan Lung 16d3f59d96 Adds 'heal_ordered_damage' proc, to heal damage in a specific order (#23023)
* Adds 'heal_ordered_damage' proc, to heal damage in a specific order

* heck
2017-01-18 14:24:50 -06:00
Cheridan 17383b88bb Merge pull request #23057 from ChangelingRain/misctweaks
Fixes a few things
2017-01-18 14:11:28 -06:00
Joan Lung 0f79f059a3 Fixes swarmers breaching shuttles (#23013)
* Fixes swarmers breaching shuttles

* minute touch, twitch of hand
2017-01-18 20:46:51 +01:00
Jack Edge eea08ba203 AIs cannot activate doomsday device off station
🆑 coiax
fix: AIs can no longer activate the Doomsday Device off-station.
Previously it would activate and then immediately turn off, outing the
AI as a traitor without any benefit.
/🆑

Fixes #23089.
2017-01-18 00:52:30 +00:00
Joan Lung cb61d74e45 Fixes a few things 2017-01-16 16:15:02 -05:00
Cheridan 1620bec15d Merge pull request #23038 from ChangelingRain/geismove
Moves some code
2017-01-16 13:54:55 -06:00
Joan Lung 41373061c3 Misc clockcult grammar and fixes (#22983)
* Misc clockcult grammar and fixes

* easier
2017-01-16 13:30:14 +13:00
Joan Lung f53f4188d7 Moves some code 2017-01-15 11:50:05 -05:00
oranges a840d1ffe2 Merge pull request #22975 from coiax/fix-15384
Fixes floors flashing red after doomsday stops
2017-01-14 11:57:47 +13:00
oranges f3bfa1c7e7 Merge pull request #22965 from XDTM/KnockKnock
Fixes swarmers not being able to hit doors
2017-01-14 11:54:49 +13:00
oranges cae2577e2e Merge pull request #22955 from Cruix/gang_refactor
Refactored gangtool code
2017-01-14 11:53:01 +13:00
Militaires 66a681f6b4 fixes (#22685) swarmers eating catwalks with wires on them. (#22953)
* boom bara beem

* aa
2017-01-14 11:52:36 +13:00
Joan Lung fd42e54905 Scripture and logging fixes (#22938)
* Scripture and logging fixes

* Inverting magic, pah.
2017-01-14 11:50:12 +13:00
Thunder12345 a3bbe6c4ba Fixed morph colour (#22976) 2017-01-12 15:04:34 -05:00
Jack Edge 00a260006c Fixes floors flashing red after doomsday stops
🆑 coiax
bugfix: Blue circuit floors are now restored to their normal colour if
an AI doomsday device is disabled.
/🆑

Put a nuke tracker on SSmapping, because we need a tiny bit of state to
track this, in case you have two concurrent things running.
2017-01-12 15:53:06 +00:00
XDTM fabd894221 swarmers can deconstruct doors 2017-01-12 10:47:53 +01:00
unknown d61d54250d Refactored gangtool code 2017-01-11 02:31:35 -06:00
swindly 3ac7819d50 Fixes players not losing the cellular emporium button when losing changeling status (#22838)
* removes button

* nulls the variable after the qdel call
2017-01-10 12:35:23 +13:00
oranges 541c8ad135 Merge pull request #22845 from Core0verload/equipment_fix
Refactor of outfits datums and corpse spawners
2017-01-10 10:10:10 +13:00
oranges f79476634c Merge pull request #22829 from ChangelingRain/blockedturffix
Fixes a few things considering turfs 'blocked' by a mob
2017-01-10 09:57:43 +13:00
Joan Lung d89fe0b870 Fixes clockcult's overreliance on Replicant Alloy (#22824)
* Fixes clockcult's overreliance on replicant alloy

* i did it like that for a reason

* comment

* =
2017-01-10 09:57:01 +13:00
Joan Lung 7a75e44dab pAIs cannot be converted to Ratvar (#22825) 2017-01-08 20:31:29 -05:00
Cheridan 7003e73e97 Merge pull request #22807 from bgobandit/ilovetypos
Fixes photon torpedo description, fixes more grammar shit.
2017-01-08 12:40:01 -06:00
c0 0b311121d9 Refactor of outfits datums and corpse spawners 2017-01-08 10:30:31 +03:00
Joan Lung 1f85d27652 Fixes a few things considering turfs 'blocked' by a mob 2017-01-07 17:58:51 -05:00
bgobandit be8e2011dc you people and your spelling 2017-01-07 03:25:39 -05:00
oranges 65a750391f Merge pull request #22779 from ChangelingRain/cultfix
Fixes being able to scribe the nar-sie rune in space
2017-01-07 19:43:10 +13:00
oranges 6d71443407 Merge pull request #22784 from bgobandit/seekorifixoldbugstoo
Forcing secret mode to be sandbox actually makes it sandbox.
2017-01-07 19:42:55 +13:00
bgobandit 4520e393f7 Fixes the admin message for morph, devil and slaughter demon spawns. (#22770)
* Morphling logs ckey correctly

* refactors every other spawn event apparently

* fixes a typo while I'm in the file
2017-01-07 19:41:39 +13:00
TehZombehz 8cc9e6de50 Adds regenerate_organs proc and adds it to relevant regeneration code (#22740)
* Adds regenerate_organs proc to carbon and adds it to relevant regeneration code

I simply took the bit from the admin heal and made it into a proc and
added it to the necessary regeneration-related bits of code.

* Adds regenerate organs back to fully heal

For some reason this didn't get included in the previous commit.

* moves regenerate_organs to organ_internal

As suggested. It fits better here, anyways.
2017-01-07 19:38:29 +13:00
bgobandit 0d4249a5ba addictive typo fixing 2017-01-07 00:55:09 -05:00
Cheridan 7954a1e88b Merge pull request #22746 from XDTM/NullNotVoid
Fixes cult void torches.
2017-01-06 21:59:26 -06:00
bgobandit 3e9395a0cd Forcing secret mode to be sandbox actually makes it sandbox. 2017-01-05 19:28:58 -05:00
Joan Lung 276b00e332 Fixes being able to scribe the nar-sie rune in space 2017-01-05 17:27:13 -05:00
oranges 605c915977 Merge pull request #22732 from ChangelingRain/gatefix
You actually have to make the Ark on the station
2017-01-06 09:59:23 +13:00
XDTM 4fdbd9db21 fixes torch 2017-01-05 00:59:27 +01:00
Joan Lung 3795369849 You actually have to make the Ark on the station 2017-01-04 11:49:24 -05:00
oranges 3607645380 Merge pull request #22693 from MrStonedOne/revert-22577-ACKACK
Revert "Fixes AIs being able to see cult runes"
2017-01-04 18:38:16 +13:00
Kyle Spier-Swenson bee4b132a3 [READY]Makes addtimer use callbacks (#22660)
* Makes addtimer use callbacks

* I broke the comment

* I fucked up the regex

* this was a silly idea.
2017-01-04 16:02:56 +13:00
Kyle Spier-Swenson bb9c1cb98e Revert "Fixes AIs being able to see cult runes" 2017-01-03 12:28:56 -08:00
Cyberboss ed461afed5 Fixes AIs being able to see cult runes (#22577)
* Remove this shit so fast

* Runes are now stored in a global list

* Readd this shit to properly work

* Refactor rune invisification into a proc

* Fixes #17426

* Use the blood decals

* Less garbage + removal

* COMPILE BEFORE PUSH YOU SPERGLORD

* Refactor into a datum

* Added to crayon runes

* Refactor AI's vision to a slightly lower level

* Actually make the shit invisible to ais

* Nevermind, fixed it

* Fixes it being on the wrong layer
2017-01-04 08:09:34 +13:00
Joan Lung 624ea1352c Adds a wrapper for flick_overlay() (#22642)
* Adds a wrapper for flick_overlay()

* are you sure
2017-01-04 07:55:45 +13:00
Joan Lung feede86b09 Adds a proc for duplicate-avoiding associated list keys (#22608)
* Adds a proc for duplicate-avoiding associated list keys

* neat
2017-01-04 07:30:46 +13:00