Commit Graph

8947 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 c13e18a72b Merge pull request #23115 from PKPenguin321/patch-5
fixes rotating chairs not updating their layer
2017-01-19 17:54:00 -05:00
Joan Lung 3578b5801a Clockwork fulltile windows actually work like fulltile windows (#23091) 2017-01-18 18:44:45 -05:00
PKPenguin321 1979d46e04 parent call 2017-01-18 13:03:48 -08:00
Cheridan b47ec35ee9 Merge pull request #23068 from kevinz000/patch-34
Fixes lollipops triggering weldertank explosions
2017-01-18 14:14:36 -06:00
PKPenguin321 92c9705863 fixes rotating chairs not updating their layer
ugh
2017-01-18 12:08:21 -08:00
Joan Lung 8cbbceb120 Merge pull request #23079 from XDTM/PostPoster
Makes posters fall down if they fail the do_after
2017-01-18 14:59:16 -05:00
Joan Lung 2248004a0f Merge pull request #23081 from Cyberboss/patch-6
Makes effects immune to spacewind
2017-01-18 14:59:04 -05:00
coiax b0cee498c4 Ladders give the user a message if they're broken (#23063)
Now it's clear when a ladder is just set up incorrectly. Even though
they're super old fashioned and only used for admin memes and whatnot.
2017-01-18 12:13:01 -05:00
Joan Lung 27a54d16ff Merge pull request #23051 from Core0verload/defib_fix
Fixes defibrillators
2017-01-17 18:42:57 -05:00
Cyberboss 0aaa975e9a Makes effects immune to spacewind 2017-01-17 14:50:12 -05:00
XDTM 2e26af1142 Makes posters fall down if they fail the do_after 2017-01-17 20:31:07 +01:00
kevinz000 08fe5ee84b Update robot_items.dm 2017-01-16 19:59:34 -08:00
Cheridan d5f961402c Merge pull request #23037 from ChangelingRain/clockworklattice
Ratvar will now convert lattices and catwalks to clockwork versions
2017-01-16 13:07:48 -06:00
PKPenguin321 c7a319c011 fixes chairs not updating their layer (#23029)
didnt realize these overrode post_buckle_mob, my bad
2017-01-16 13:19:45 -05:00
c0 4989e12b45 Fixes defibs 2017-01-16 11:47:18 +03:00
oranges 3ac94a85cc Merge pull request #22994 from XDTM/ChameleonPdaNowUseful
PDA can update their name when an agent id is inside
2017-01-16 20:58:54 +13:00
Joan Lung 062b5c4013 clockwork catwalks 2017-01-15 14:53:01 -05:00
Joan Lung 3f0009b12e Ratvar will now convert lattices to clockwork lattices 2017-01-15 11:45:45 -05:00
Cyberboss 4636e14923 Removes dupe armor initialization 2017-01-13 18:18:20 -05:00
kevinz000 646bb99b99 Lessens spray can spam (#22970)
* Update crayons.dm

* Update crayons.dm
2017-01-14 11:55:35 +13:00
oranges ddb4b89619 Merge pull request #22968 from XDTM/LargeSlime
Fixes large grenade interaction with slime cores
2017-01-14 11:55:10 +13:00
oranges 7aad3f096e Merge pull request #22956 from PKPenguin321/patch-9
refactors chair layer updates (kills tactical chairs)
2017-01-14 11:53:35 +13:00
Cyberboss 326bdfd76b Finally fixed the proximity runtime (#22950)
* Finally fixed the proximity runtime

Also fixed some misue of Move(d)s and destroys

* Fixed remove_from_proximity_list

* Fine, we'll do it your way

* Should sense/update loc here as well

* Assume deez nuts
2017-01-14 11:52:07 +13:00
oranges 08f830c416 Merge pull request #22946 from coiax/pyro-slimes
Fixes pyroclastic anomaly slime colour
2017-01-14 11:50:57 +13:00
oranges e9605df7cf Merge pull request #22939 from Cyberboss/FlashFix
Fixes explosion flashes
2017-01-14 11:50:32 +13:00
johnthedonut c5d9bb4588 Fixes wetting a mop with a bucket so it wont clean the tile you are standing on. 2017-01-13 22:16:51 +01:00
XDTM 9dd8ff7934 Fixes extinguisher violence (#22928) 2017-01-13 22:14:27 +01:00
XDTM 30bfe13f81 Makes agent ids change name 2017-01-13 22:10:52 +01:00
Thunder12345 d56b3f469c Shield overlays from shielded hardsuits and nullrod staffs (#22940) 2017-01-12 15:09:25 -05:00
XDTM e8e7af2fc8 Fixes bad message (#22966) 2017-01-12 15:05:02 -05:00
XDTM 44bc3b6cf5 Fixes large grenade interaction with slime cores 2017-01-12 12:25:05 +01:00
Cyberboss de454f5a35 The real slips rewrite (#22490)
* Fix a bug in forceMove

Don't call Exited/Entered if the loc is the same

* Added forced_movement

* Remove usages comment

Fixed a parameters bug

* Refactor slips

* Refactors meathook

* Negative check

* Shittier syntax, more performance

* Seperation of src and args

* Sanity check

Because you know someone will fuck it up

* X to Y is inclusive

* Bettter diagonals

* Remove unused var

* Better suggestion

* This was never used, why was it here?

* Arg prefixing...

* Better cleanup

* Do not touch the self managing var

* Cleanup

* More cleanup

* Missed 2

* Added callbacks

* Fix ice again

* Sanity checks

* Applied to larva/attack_hulk

* Fix the chain's usage

* LDFJAHDJKAGFHLJKDSAGHJKLSDAGBLKJADGFHKLJADGNLKAMDFNBJK:ANFDJKLADSNLSJKDFHNASFADSFLK:AJFL:KASJFKLASJF:LAJSF:LKJASKFMSALKF
2017-01-12 13:57:23 +13:00
oranges f4e325e5ed Merge pull request #22765 from Mervill/the_kilt_is_now_op
Hardsuits, amour and other suits that cover the feet now protect against glass shards
2017-01-12 13:54:32 +13:00
XDTM 64e4994fea Fixes material amount (#22954) 2017-01-11 19:51:13 -05:00
kevinz000 0601f1f0f6 Update twohanded.dm (#22904) 2017-01-11 19:49:42 -05:00
PKPenguin321 c7c79dd194 removes accidental tab 2017-01-11 14:50:48 -08:00
PKPenguin321 6bd355b9ca refactors chair layer updates 2017-01-11 14:48:53 -08:00
Jack Edge 9755818614 Fixes pyroclastic anomaly slime colour
The pyro anomaly was setting the color of the slime incorrectly, meaning
it had a red or orange color but had the wrong name (and probably core
type).
2017-01-11 19:44:25 +00:00
Cyberboss a89a5e2ad1 Fixes explosion flashes 2017-01-11 13:33:13 -05:00
oranges 41a6efd987 Revert "Fixes instant summons and probably a few other edge cases" (#22917) 2017-01-10 20:55:26 -05:00
Joan Lung 75999e1c6c Fixes instant summons and probably a few other edge cases (#22890)
* Fixes instant summons and probably a few other edge cases

* woken in a fog don't sweat it
and reckon none of it had come from you

* echo

* no lesson in magic, just untimely dreams

* slapdash code queen
2017-01-11 12:53:05 +13:00
oranges 3ad35c23ab Merge pull request #22869 from Cyberboss/ReagentsShouldNotBeLeftNull
Moves reagents back into atoms. Fixes confusion between reagents/reagents_list
2017-01-11 12:49:02 +13:00
XDTM af1c991ab4 fixes tk bug (#22819) 2017-01-11 12:46:48 +13:00
Haevacht 6adb35f57e Should fix the crusher, again, and the offhand runtime (#22836)
* This shouldn;t autoPR.

* should probably use it properly eh

* Update twohanded.dm

* Reeeeeeeeeeeeeeeeeeeeeeeeeeeee.

* 2 less lines, yay for OR
2017-01-10 15:00:20 +13:00
oranges d228c1a4a5 Merge pull request #22529 from bgobandit/fuckinggoof
Portals can no longer be frozen.
2017-01-10 10:43:03 +13:00
Mervill 091c5c669f Fixes runtimes related to blowing up 25 vending machines at once (#22855)
* throw_impact() checks that A exists, preventing issues with violent explosions

* also check !qdeleted(A)
2017-01-10 10:00:42 +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
oranges 8af3b6c975 Merge pull request #22828 from KorPhaeron/axe
Fixes energy axe not having the sharp flag
2017-01-10 09:57:20 +13:00
coiax db44b6297f Fixes smoothing when repairing reinforced walls (#22816)
* Fixes smoothing when repairing reinforced walls

🆑
add: Girders now offer hints to their deconstruction when examined.
:/cl:

Fixes #22805.

- Removes some unused code in unsorted.dm
- Replaces is_pointed with a global list and a #define
- Removes some trailing returns
- Makes thermite use QDEL_IN rather than spawn()
- Girders (especially reinforced girders) now offer hints to how to
destruct them.

* Moves is_pointed to is_helpers
2017-01-10 09:55:04 +13:00