Commit Graph

6533 Commits

Author SHA1 Message Date
Yolopanther f767524d3e Proper formatting of the notifications. 2015-11-18 00:52:16 -08:00
Cheridan cba8a9a325 Merge branch 'c4runtimeFix' of git://github.com/phil235/-tg-station into phil235-c4runtimeFix
Conflicts:
	code/modules/mob/mob.dm
2015-11-18 01:44:29 -06:00
kingofkosmos a121b9308c Removes unneeded restrained-warnings and one canUseTopic-check. 2015-11-18 06:08:31 +02:00
Yolopanther 922df5f02c Single loop and looks nice. 2015-11-17 19:06:31 -08:00
kingofkosmos 38e5420832 Removes can_use -proc from PDA.dm and replaces all instances of it with canUseTopic.
Adds kingofkosmos to admins.txt
2015-11-17 21:26:42 +02:00
Nerd Lord a183e0474d Pooling is good for the soul. 2015-11-17 11:27:26 -05:00
Yolopanther 12c7d7a90d Now only loops through the content of the box once instead of twice. 2015-11-17 04:46:25 -08:00
Yolopanther 93b5ef000c replacing broken lights with broken lights since 1999 2015-11-16 23:21:08 -08:00
Yolopanther 082538240e Haha indentation fixes. 2015-11-16 19:40:26 -08:00
Yolopanther 0437176bee Allows light replacer to be refilled with box of lights 2015-11-16 19:35:03 -08:00
Razharas b3ed636d3c Merge pull request #13034 from kingofkosmos/shardspacenoslip
Stops glass shards from hurting you in space
2015-11-17 05:33:15 +03:00
Tkdrg 292ba6c046 Fixes roller bed teleportation exploit
Thanks swankcookie for reporting this to me ingame.
2015-11-16 22:30:26 -03:00
Incoming 1f9f0dfc40 Adds subtypesof(). It's shorthand for typesof(path) - path.
Replaces typesof(path) - path with subtypesof(path) in obvious places. I was a bit conservative, there's probably a few more places that could use this.
2015-11-16 18:55:57 -05:00
Nerd Lord 757d009e4f Constructs now have action buttons!
Cult floors and walls now have a glow effect when spawning in.
Nar-Sie uses a span class just for it spawning. Get spook.
2015-11-16 15:20:13 -05:00
kingofkosmos 62987c0716 Enables putting an ID into a PDA when the PDA not in your inventory. 2015-11-16 20:41:11 +02:00
MrStonedOne c784ca902e Ports /vg/'s asset cache system; lowers interface lag when clients connect.
Byond will queue all browse(), browse_rsc(), and winset() calls to the client, to ensure they load in order, and ensure any resources from a browse_rsc call (css/html/js) are already at the client by the time any html windows loads.

How ever, each file is processed separately, and byond will wait for the reply from the client before it will send the next file.

Our current system sends all of these html resource files to the client at once when they connect, this is the sole cause of the lag when a client connects. Byond will not send the client a file it already has, but it has to ask the client first, and it does so one file at a time, waiting for a reply from the client before sending the next one down the pipe.

This system fixes that.

Basically it works like this:
Client connects: nothing happens, no massive queuing of browse_rsc() calls, so no interface delay
Client opens a asset_cache controlled html based interface
Asset cache gets notified by the html based interface what assets the client needs to have.
Asset cache checks to see if it's sent that client those files.
Asset cache sends the missing ones, adding them to the list of assets the client has.

This basically spreads out the delay to when you first open a window that uses resources, where it is much more manageable.

I've kinda done a halfass port without too much thought, I see some room for improvement to better fit /tg/'s coding style and make the system more flexible. I'm PRing this because if I don't, it will never get finished.

PDAs and html_interface has been imported in to the new system lazily to test. at 100ms connection start interface lag went from 35 seconds to 16 seconds. Nanoui hasn't been imported, and once it is, that should drop down to almost nothing.

I'll work on this some more after some sleep.
2015-11-15 23:49:05 -08:00
Razharas e9dae3be88 Merge pull request #13015 from SuperSayu/Holodecker
Holodeck Upgrades [MAP]
2015-11-16 04:51:49 +03:00
KorPhaeron 668521f195 Fixes reflector layer 2015-11-15 19:40:46 -06:00
Vincent faf5ddaceb Holodeck refactor and Enchancements
Moves holodeck code to modules/holodeck.  Repaths holodeck structures a little.  Cleans holodeck code and prepares for additional features (multiple holodecks, etc).  Should fix #4828.

Necessary map bugfixen for Asteroid, Disc, Dream, Meta, and TG.
Adds Lounge, Emergency Medical, pet center, and holdout room to the rec holodeck.

All items spawned by the holodeck will do only stamina damage, except when emagged.  This allows emergency medical to be staffed with scalpels and bonesaws and such.  Emergency medical has some functioning equipment but the only drugs available are in the sleeper.
2015-11-15 20:23:23 -05:00
duncathan salt 1a54000a35 Merge pull request #13020 from Xhuis/this_pr_was_a_time_sink
Sink changes
2015-11-15 16:02:14 -06:00
duncathan salt 7f48bf70f5 Merge pull request #13027 from tkdrg/FUK
Pickup() improvements
2015-11-15 15:59:05 -06:00
kingofkosmos 156d9b558c Crossing a glass shard in space without shoes won't hurt and stun the user anymore. 2015-11-15 17:19:07 +02:00
YotaXP 4ece522dff Removed snowflake. 2015-11-15 02:34:17 -05:00
duncathan salt 328c9537e7 Merge pull request #13013 from tkdrg/bugs
Logging improvements
2015-11-14 23:45:45 -06:00
duncathan salt f26a4fa106 Merge pull request #12992 from phil235/ProjectileSuicideFixes
Fixes your shield blocking the bullets when committing suicide with a
2015-11-14 23:43:55 -06:00
duncathan salt 31e30ab768 Merge pull request #12955 from CosmicScientist/FixingThePast
Makes the dehydrated carp less ambiguous and decreases its TC cost
2015-11-14 23:42:58 -06:00
Tkdrg 11ab5901ee Pickup() improvements
Fixes flashlight exploit.
Removes unused proc can_use_hands().

Fixes #11282
2015-11-14 17:05:08 -03:00
Cheridan 9a68f6b69b Merge pull request #13003 from Incoming5643/stop_being_broken_at_being_broken
The further trials and tribulations of the supermatter sword bugfix
2015-11-14 11:49:55 -06:00
Xhuis a24ddbd7b7 Sink changes 2015-11-14 09:44:39 -05:00
Cheridan 894784acab Merge pull request #12967 from Anonus/burnbabyburn
Makes anomalies more dangerous
2015-11-13 22:23:34 -06:00
Tkdrg 021b99badb Logging improvements
Fixes SMES deconstruction logging.
Radiation will no longer message admins unless a living mob is hit.
All rad pulses will still be saved to logs.
Also adds a JMP link to the rad pulse message.

Fixes #12442
Fixes #12609
2015-11-13 18:08:23 -03:00
Incoming bf34b97b1e Gives supermatter swords a better check for adjacency, and moves the parent code below the dust code to be extra sure <b>nothing escapes</b>.
I started up a test server and was smacking people to dust like a pro, armor or not.
2015-11-13 01:13:05 -05:00
YotaXP 47c358e8e2 Adds slot_drone_storage macro. 2015-11-12 20:32:00 -05:00
YotaXP e42b1630c5 Allow drones to use and unequip watertanks.
Fixes #6139
2015-11-12 20:29:14 -05:00
YotaXP c8de15116c Allow drones to use the pick-up verb.
Fixes #12896
2015-11-12 20:10:31 -05:00
duncathan salt df6ac90baa Revert "Revert "Merge pull request #12067 from AnturK/resequencing"" 2015-11-12 15:25:31 -06:00
phil235 e20e03562a Fixes your shield blocking the bullets when committing suicide with a gun.
Merged kill_count and range var into one var/range for obj/item/projectile.
Simplified projectile/proc/Range().
Fixes timestoped projectiles still calling Range() and thus being deleted despite being stopped.
Fixes projectile being invisible when on the first tile in front of the shooter (which meant no sprite showing when shooting a target 1 tile away)
Simplifies kinetic/Range()
2015-11-12 19:45:50 +01:00
Razharas 3992858ed1 Revert "Merge pull request #12067 from AnturK/resequencing"
This reverts commit d5fd4440ea, reversing
changes made to 605710d0ec.

Reverting this bullshit
2015-11-12 21:11:50 +03:00
duncathan salt 4fcdc7d748 Merge pull request #12950 from phil235/AIMechStunFix
Fixes flashbanged mmis in mechs losing access to most mech functions
2015-11-11 16:34:24 -06:00
duncathan salt b1d1ecb81f Merge pull request #12904 from Incoming5643/action_action_action_action_action
Adds action buttons for slimes
2015-11-11 15:21:05 -06:00
Incoming d8a0dc6b54 jumps through hoops to save two lines
adds slime growth as a define
2015-11-11 16:00:38 -05:00
Nerd Lord e19757bca3 MY CODE QUALITY IS BASED ON WHAT I'M MESSING WITH 2015-11-11 15:20:48 -05:00
Nerd Lord 182f4ed16b Shaved a few lines off. 2015-11-11 14:57:02 -05:00
Nerd Lord f8464b97ef Makes anomalies somewhat more dangerous; hyper-energetic flux anomaly will shock mobs that run into it(or if it runs into them), bluespace anomaly will occasionally teleport mobs away from it in a small radius, vortex anomalies will sometimes throw objects at nearby living mobs, and pyroclastic anomalies will produce MORE FIRE, MORE HEAT, MORE BURNING, and if not disabled, they will burst into flame and the resulting slime will be rabid and thus attack much more aggressively.
Also fixes a bug where gravitational anomalies were doing if(!target) throw stuff instead of If(target) throw stuff, meaning it'd either do nothing or runtime.

In addition, anomalies move more often, are resistant to explosions and will only be destroyed if they are in devastation range(but why are you bombing it)
2015-11-11 12:41:07 -05:00
duncathan salt d5fd4440ea Merge pull request #12067 from AnturK/resequencing
Changes to DNA Injectors
2015-11-11 10:50:30 -06:00
duncathan salt 0769ba5c00 Merge pull request #12945 from torger597/master
Adds a Syringe to the Uplink Poison/Chemical kit
2015-11-11 10:47:40 -06:00
duncathan salt 8bb0043ec7 Merge pull request #12939 from KorPhaeron/really_bad_ideas
Adds a series of ridiculous weapons to the wizard spellbook
2015-11-11 10:47:04 -06:00
duncathan salt 9339662a28 Merge pull request #12768 from xxalpha/windows10
Made it possible to paint windows to make them opaque.
2015-11-11 10:32:18 -06:00
phil235 5e43d2b570 Merge pull request #12924 from Firecage/Optable
Changes the operating table to be an actual table.
2015-11-11 17:31:38 +01:00
AnturK d82010caf3 Makes injectors timed
Update
Lowers the scanner buffer transfer radiation.
Makes injector duration scale with upgrades.
Time coefficent values
2015-11-11 17:27:55 +01:00