Commit Graph

12968 Commits

Author SHA1 Message Date
Chinsky
2bf07db0ee Merge pull request #5095 from Walter0o/AA_exploit
airalarm exploit fixes
2014-05-31 05:24:02 +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
Chinsky
81a84c3557 Merge pull request #5087 from Walter0o/master
alien weeds performance and layer fixes
2014-05-30 12:58:20 +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
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
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
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
47a7617edd Inaprovaline no longer a substitute for breathing 2014-05-28 11:27:21 -04: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
89dfa3ce91 Merge pull request #5070 from mwerezak/supermatter-radiation
Fixes #5018
2014-05-27 21:46:53 +04:00
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
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
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
mwerezak
7c7df8b4e2 Fixes #5018 2014-05-26 17:16:58 -04:00
Zuhayr
dcbe9ce061 Merge pull request #5048 from Hubblenaut/dev-freeze
Paper bundle fixes and other general game improvements
2014-05-26 23:18:27 +09:30
Zuhayr
1d6501d6d3 Merge pull request #5067 from zekesulastin/langauges-again
#3697 (clones have no languages) fixed again
2014-05-26 23:17:52 +09:30
Chinsky
a43249b8f3 Merge pull request #5068 from Walter0o/canister_exploit_fix
exploit fix, electric boogaloo : canister edition
2014-05-26 14:52:41 +04:00
Chinsky
4e9dbebeda Merge pull request #5066 from Vivalas/master
Pod Launch Fix
2014-05-26 14:49:12 +04:00
Zuhayr
32935b4db9 Merge pull request #5055 from mwerezak/disease2-verb
Fixes #4889
2014-05-26 16:53:00 +09:30
Walter0o
fb4f970113 exploit fix, electric boogaloo : canister edition
024a0baa49 removed the exploit protection of canisters without replacement, this commit fixes that.

without this, anybody can open/close valves and all other forms of messing with any canister from anywhere.

ALWAYS keep in mind, NanoUI will update the fancy buttons CLIENTSIDE, that does NOT protect against exploits !

the actual buttonpush can still be spoofed to the server even if NanoUI disabled/hid/greyed-out/removed the button !
2014-05-26 01:32:07 +02:00
ZekeSulastin
e03b0bc316 Uncomments application of languages to clone 2014-05-25 17:56:39 -04:00
ZekeSulastin
bb3d947b64 Adds languages to DNA2 cloning records 2014-05-25 17:56:08 -04:00
Vivalas
a9d868a241 Update pod.dm 2014-05-25 14:59:25 -05:00
Zuhayr
1313034133 Merge pull request #5044 from mwerezak/consoles
Console fixes
2014-05-25 22:09:47 +09:30
Zuhayr
b3c2eb3507 Merge pull request #5054 from mwerezak/species-restricted-spam
Fixes #5050
2014-05-25 22:08:07 +09:30
RavingManiac
57a5bf45de Fixed inflatable barrier crates 2014-05-25 16:49:24 +08:00
Loganbacca
dec86791df Bot attack fix
- Fixes bots attacking through windows
2014-05-25 13:10:44 +12:00
Vivalas
d8645a59e8 Pod Launch Fix
Fixed a derpy code error.
2014-05-24 19:56:35 -05:00
Ccomp5950
ff0d667337 Merge branch 'master' of github.com:Baystation12/Baystation12 into dev-freeze 2014-05-24 19:02:16 -05:00
mwerezak
d5b22e9125 Forgot to add VV menu entry for give_disease2 2014-05-24 12:14:16 -04:00
mwerezak
2c3ecc78d5 Fixes #4889 2014-05-24 11:54:55 -04:00
mwerezak
fa458a63ec Fixes #5050 2014-05-24 11:00:46 -04:00
Hubblenaut
cd917e4125 Small bugfix for merging paper bundles 2014-05-24 02:27:38 +02:00
Ccomp5950
3b8ee547c6 Merge pull request #5046 from mwerezak/lightbulb-box
Fixes #5043
2014-05-23 17:51:05 -05:00
Ccomp5950
4f1d786a01 Merge pull request #5041 from mwerezak/folded-bags
Fixes bodybags not being able to be put back into their own box
2014-05-23 17:50:00 -05:00
Hubblenaut
f602e10073 No longer toggling suit sensors when restrained. 2014-05-23 23:23:58 +02:00
Hubblenaut
4aff667d69 Spelling correction: It's called 'Accessory', not 'Accessoires'. Dang. 2014-05-23 23:23:25 +02:00
Hubblenaut
7e10d64252 Attack paper bundles with paper bundles 2014-05-23 22:50:34 +02:00
Hubblenaut
e28ce8a366 Removed all prefixes of type 'paper - ' 2014-05-23 22:31:27 +02:00
Hubblenaut
041254ddc5 Fixes #5029 2014-05-23 22:23:02 +02:00