Commit Graph

13365 Commits

Author SHA1 Message Date
mwerezak
7a6bbf2249 Fixes accidental copypasta 2014-05-30 19:45:29 -04:00
mwerezak
07d8a1442a Adds secure airlock electronics
Also, secured_wires can be set through the airlock constructor.
2014-05-30 19:38:35 -04:00
Walter0o
4bca02e2f7 airalarm exploit fixes
airalarm had various checks missing, e.g. making sure the AA
was unlocked before triggering panicsyphon and the like.

added proper rangecheck, added var checks for the different types of calls.

also replaced usr.machine = src with usr.set_machine(src) so the
window updates properly for silicon mobs using the machine from afar.

i had no time to look for functionality exploits, this commit merely makes sure
the commands can only be called in proper circumstances.
2014-05-31 01:34:55 +02:00
Mloc-Argent
3d2cc3cd82 Revert "Merge pull request #4985 from jack-fractal/dev"
This reverts commit 1679b4062f, reversing
changes made to b149b273d9.

Signed-off-by: Mloc-Argent <colmohici@gmail.com>

Conflicts:
	code/datums/visibility_networks/update_triggers.dm
2014-05-31 00:25:56 +01:00
Mloc-Argent
ee2e68960a Merge remote-tracking branch 'upstream/master' into dev-freeze
Signed-off-by: Mloc-Argent <colmohici@gmail.com>

Conflicts:
	code/game/machinery/cloning.dm
	code/modules/admin/admin_verbs.dm
2014-05-31 00:17:56 +01:00
mwerezak
432ebcdd2d Bolt dropping wire, please 2014-05-30 19:08:16 -04:00
mwerezak
3a59ee0899 Adds ability to have airlock wires randomized
Adds a secured_wires var to airlocks that may be set through mapping. If
not set to 0, the airlock's wires will be randomized for that airlock,
instead of using the global wiring scheme.
2014-05-30 19:05:57 -04:00
mwerezak
a98d9eef3d Vending machines can now be unanchored 2014-05-30 18:35:20 -04:00
RavingManiac
ad810f0a4a Supermatter shards have a smaller pull-radius.
Leftover variable removed.
2014-05-31 00:28:38 +08:00
RavingManiac
bf0c972677 Unanchored objects and players without magboots are pulled twice as fast towards the supermatter. 2014-05-30 21:17:40 +08:00
RavingManiac
12aa2ebe6c Before detonation, supermatter pulls all objects, including anchored objects in a 13-tile radius (just enough to cover the control room) towards it for 10 seconds. Windows within this radius are immediately shattered.
Supermatter no longer pushed around by airflow.
2014-05-30 20:47:40 +08:00
Ravensdale
ea07c973be Clarifies comment wording
Small things
2014-05-30 04:10:17 -07:00
UristMcKerman
3f80a82c7e Fix
No everlasting events.
2014-05-30 14:47:13 +04:00
Ravensdale
aa5cd46bf3 Fix to breathing in bad air. 2014-05-30 03:46:59 -07:00
Ravensdale
167fae9cf4 Fixed accidental rename during Phoron project 2014-05-30 03:05:50 -07:00
Chinsky
81a84c3557 Merge pull request #5087 from Walter0o/master
alien weeds performance and layer fixes
2014-05-30 12:58:20 +04:00
Chinsky
3ea17cefaf Merge pull request #5083 from mwerezak/co2
New System for CO2 Asphixyation
2014-05-30 12:44:26 +04:00
Loganbacca
cee0d0c3c1 Farmbot fixes
Fixed a few bugs in the construction code, before realizing there were a lot more bugs in the move_to_target() code, giving up and disabling it pending rewrite.
2014-05-30 17:04:44 +12:00
Ccomp5950
fd78c58f46 Bot down? Let's not lock up the entire server.
Instead we'll spawn a thread to handle it, not like we care what is returned either way.
2014-05-29 21:36:34 -05:00
Mike
06eb4c6edf C02 -> carbon_dioxide
Renamed carbon dioxide breathing type string to hopefully prevent
confusion in the future.
2014-05-29 20:17:51 -04:00
Walter0o
2b372962c8 alien weeds performance and layer fixes
recently i fixed a couple of issues with /vg/'s alien weeds and nodes, 
and i see some applying to Bay12 too.

one of those issues was the order of checks in weeds/Life().
it should cancel the weed's search for tiles to expand to without starting
the direction loop first, saving quite a few proc calls.

another issue is alien weeds having the default OBJ_LAYER layer 3 which makes them grow
over all kinds of items and objects which makes sense i guess fluffwise but
is really annoying ingame for both crew and aliens.
( and this coming from the host of Alium Deathtrap 13 ;) )
nodes stay at layer 3 to appear properly over things like AI-holopads.

a really tiny improvement is setting linked_node after the space-turf check in weeds/New().

link to the /vg/ commit : 4dcb434f72
2014-05-29 19:02:17 +02:00
UristMcKerman
e37a70089b Tweaks for spam #2
Added brackets surrounding tokens to make whitespace and empty tokens
removable.
Slightly modified ion storm behavior.
Increased duration required to stop spam to 5 minutes.
Added ability to expand spam filter limit with installation of message
monitor circuits.
People will see why their message been discarded.
Discarded messages will be highlighted with red color in message log.
2014-05-29 16:05:00 +04:00
Ccomp5950
ec720e32ec Merge pull request #5084 from Walter0o/exploit_fixes
fixes exploits with the mech fabricator (bay12)
2014-05-28 21:17:27 -05:00
Zuhayr
045168ba17 Merge pull request #5082 from mwerezak/inaprovaline
Inaprovaline no longer a substitute for breathing
2014-05-29 11:19:18 +09:30
UristMcKerman
c78605b1a4 Tweaks for spam
Added non-randomized example tokens at start. Added filter limitation.
Ion storm will replace tokens with garbage. Spam disaster lasts longer
and is more severe.
2014-05-29 00:31:02 +04:00
Walter0o
c9ec1fc001 fixes exploits with the mech fabricator (bay12)
this exploit is in all public builds i could look at.

using the mech fabricator, and you were able to duplicate any obj in the server.

as a nice bonus you could also abuse the part-description-function to identify any atom in the server
memory for even easier access to other yet unknown exploits of this kind.

and also range check was missing to make sure you are not on some other z level massproducing guns.

i will not go into details, as it is exactly the same kind of exploit over and over, 
so if you are interested on how and why these exploits work, see some of my other exploit commits :
https://github.com/Baystation12/Baystation12/pull/5068
https://github.com/Baystation12/Baystation12/pull/4750

i advise any coder team to be supercautious when changing/writing new Topic procs to prevent these,
and to always doublecheck other coder's works.
2014-05-28 22:05:29 +02:00
mwerezak
9747276eb1 Fixes missing 'else' 2014-05-28 11:47:20 -04:00
mwerezak
47a7617edd Inaprovaline no longer a substitute for breathing 2014-05-28 11:27:21 -04:00
mwerezak
d677a91c3c Adjusts co2 warning frequencies 2014-05-28 10:59:02 -04:00
UristMcKerman
0a0ce28f68 Added spam filter
Added spam filter functionality to message server and message server
monitor.
2014-05-28 17:12:18 +04:00
Ccomp5950
e4f561ce4d Merge pull request #5080 from comma/dev
Added new BBCode tags, for tables and NT logo.
2014-05-28 03:22:30 -05:00
Zuhayr
8f50fbcd3b Fixes #4940 2014-05-28 17:00:31 +09:30
Zuhayr
d4c9bf1985 Fixes #5035 2014-05-28 16:57:30 +09:30
Zuhayr
d9f728cff5 Fixes #5061 2014-05-28 16:57:15 +09:30
Zuhayr
c2b97b7fcb Fixes #4643 2014-05-28 16:41:54 +09:30
Zuhayr
a29861480a Fixes #5023 2014-05-28 16:35:06 +09:30
Chinsky
61f00628f1 Added new BBCode tags, for tables and NT logo. Removes html support from paper. 2014-05-28 10:49:24 +04:00
Chinsky
ec37f1f5d2 Merge pull request #5079 from Jarcolr/custom_items
Adds *2* custom items and updates a sprite
2014-05-28 09:17:00 +04:00
Ccomp5950
4bb59352f5 Merge pull request #4968 from MrLeebo/mutiny
Mutiny Mode
2014-05-28 00:13:42 -05:00
Jarcolr
f318e24827 Adds 2 custom items and updates a sprite
Paths are:
/obj/item/clothing/glasses/eyepatch/fluff/edmund
/obj/item/clothing/suit/storage/fluff/lombardi
2014-05-27 20:47:01 +03:00
Chinsky
89dfa3ce91 Merge pull request #5070 from mwerezak/supermatter-radiation
Fixes #5018
2014-05-27 21:46:53 +04:00
Chinsky
4594e2bf1b Merge pull request #5071 from Ravensdale/dev
Updates most used viable entries of Tau Ceti to Nyx
2014-05-27 21:46:43 +04:00
Zuhayr
3b3bd5649d Merge pull request #5024 from Jarcolr/Cargo
Adds 21 new crates and a tweak
2014-05-28 01:21:24 +09:30
Zuhayr
c808937fdc Merge pull request #5076 from Ccomp5950/beepsky
Beepsky will no longer attack monkeys while doing weapons authorization checks.
2014-05-28 01:20:30 +09:30
Jarcolr
049b9cc447 Fixes and a suggested change
Fixed N2O typo, Super Pacman, anchor issues, inflatable barrier issues
that was already on master so this doesn't conflict, and added a new box
for shotgun shells and adjusted price of crates accordingly
2014-05-27 17:15:17 +03:00
Ccomp5950
d411a6c48e Merge pull request #5060 from RavingManiac/master
Fixed inflatable barrier crates
2014-05-27 04:04:13 -05:00
Ccomp5950
f9e23cb39b Beepsky will no longer attack monkeys while doing weapons authorization checks.
I'd say it's a holdover from monkey epidemic but the truth is this is cael code that is being changed, it's been that way for over a year and I still can't rap my head around why these lines were put in.
2014-05-27 03:58:36 -05:00
mwerezak
32f6d89bea Completed unfinished species.breath_type switch 2014-05-27 03:00:31 -04:00
mwerezak
fbaa84c509 More sensible oxyloss scaling 2014-05-27 02:41:12 -04:00
mwerezak
694f0706bb Fixes inhale_pp ratio
The amount of inhaled gas used shouldn't approach infinity as inhale_pp
goes to zero, should it?

Also the amount of gas used should decrease with inhale_pp as the
oxyloss is being caused by the fact that fewer moles are entering the
bloodstream.
2014-05-27 02:39:32 -04:00