Commit Graph

17074 Commits

Author SHA1 Message Date
Walter0o
79f281e9d9 fixes exploits with the mech fabricator (ParaCode)
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/ZomgPonies/Paradise/pull/179

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:13:19 +02:00
ZomgPonies
225fd465c1 Post Test #2 bugfixes 2014-05-28 14:36:55 -04:00
d3athrow
6527202080 Derp 2014-05-28 09:09:49 -04:00
Walter0o
898d4f7af5 alien weed and node fixes bonanza
couple of things :
1.) alien weeds spawning with a node param works totally fine ingame ( AKA vomited by an alium ),
but when placed on map in DM they will trigger nullpointer errors for every single weed placed.
this seems to went undetected simply because there are no weeds on the map at startup,
ever since your asteroid abandoned outpost got replaced with that vox trading station.

2.) it took me a moment to understand what node/Destroy() is supposed to do.
it looped through its list of spawned weeds and nulls only its own linked_node var.
that could have been done by src.linked_node = null, but i dont think that is the intention of the loop.
for safe GCing the linked_node var of all weeds that got spawned by this node need to be nulled, not only its own.

3.) to be safe, the turf/space check should happen before any list operations are done, also replaced del() with qdel() here.

4.) the linked_node check of weeds/proc/Life() should be one of the first things to happen, which saves a lot of checks.

5.) the layer of weeds being default 3 was quite annoying as the weeds made it hard to click all kinds of layer 3 items and objects.
fixed for weeds, nodes will still be 3 to properly show above things like AI holopads.

6.) i took the liberty of changing the node/node param to node/N ,
rename the spawns list to connected_weeds and move weeds/Destroy() up for better readability.
2014-05-28 08:56:58 -04:00
Zuhayr
055b8ff9b2 Fixes #5035 2014-05-28 08:52:36 -04:00
Zuhayr
02730d515a Fixes #5061 2014-05-28 08:52:24 -04:00
Zuhayr
047f0bdd67 Fixes #4643
Conflicts:
	code/modules/mob/living/simple_animal/hostile/mimic.dm
2014-05-28 08:51:44 -04:00
Chinsky
d37e54bf73 Added new BBCode tags, for tables and NT logo. Removes html support from paper.
Conflicts:
	html/changelog.html
2014-05-28 08:49:24 -04:00
d3athrow
d7b67f6b16 This wasn't needed apparently. 2014-05-28 08:45:44 -04:00
ZomgPonies
0f765fe912 Nations fixes 2014-05-28 08:44:49 -04:00
ZomgPonies
f9281d82c3 Post test #1 bugfixes 2014-05-27 23:35:59 -04:00
ZomgPonies
0d06847eca Yeah this is probably more likely 2014-05-27 21:52:48 -04:00
ZomgPonies
1e988ac2fb Try to fix nations start 2014-05-27 21:50:03 -04:00
ZomgPonies
5f67943f8e Revert "APC bugfix after someone messed with mah areas!"
This reverts commit ceca0ddbe8.
2014-05-27 21:22:53 -04:00
ZomgPonies
84da522be9 Revert "Revert "Refactor get_turf proc.""
This reverts commit c25b41ca5f.
2014-05-27 21:22:19 -04:00
ZomgPonies
c25b41ca5f Revert "Refactor get_turf proc."
This reverts commit 5344e12b25.
2014-05-27 20:53:56 -04:00
ZomgPonies
2383017de1 Merge branch 'master' of https://github.com/ZomgPonies/Paradise 2014-05-27 20:09:39 -04:00
ZomgPonies
06bbfcf150 Final Nations patch before live testing. This is going to be painful. 2014-05-27 20:09:10 -04:00
alex-gh
0fa0a89fa1 Merge pull request #230 from alex-gh/mutiny_fluff
Secret Mutiny Mode backstory easter egg
2014-05-28 00:48:16 +02:00
Jeremy Liberman
7a51eb9f6c Secret Mutiny Mode backstory easter egg 2014-05-28 00:45:59 +02:00
alex-gh
21bd350299 Removed AI lawsync for drones 2014-05-27 23:31:14 +02:00
d3athrow
386618f66b exploit fixes
Conflicts:
	code/game/machinery/Sleeper.dm
	code/game/machinery/cryo.dm
	code/game/mecha/mech_fabricator.dm
2014-05-27 14:30:03 -04:00
ESwordTheCat
5344e12b25 Refactor get_turf proc. 2014-05-27 14:22:21 -04:00
d3athrow
c50eb1217b Tested and Fixed #826
Conflicts:
	code/game/objects/items/stacks/stack.dm
2014-05-27 14:21:57 -04:00
d3athrow
8db91a3273 Image pooling for human unconscious/oxygenloss/fire&bruteloss screen overlays. 2014-05-27 14:20:55 -04:00
d3athrow
f3d3bd620f Should fix #727 for humans and monkeys.
Conflicts:
	code/modules/mob/living/carbon/human/life.dm
2014-05-27 14:16:24 -04:00
d3athrow
4bdf486010 Should fix #702, volume pumps always outputting. 2014-05-27 14:10:16 -04:00
mwerezak
3a2da98639 More sensible oxyloss scaling 2014-05-27 14:07:27 -04:00
mwerezak
ca176b63f5 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 14:07:18 -04:00
ZekeSulastin
19c0352836 Uncomments application of languages to clone
Conflicts:
	code/game/machinery/cloning.dm
2014-05-27 14:04:13 -04:00
ZekeSulastin
b13b4d2392 Adds languages to DNA2 cloning records 2014-05-27 14:03:03 -04:00
Ccomp5950
07bf0822e8 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 14:02:07 -04:00
ZomgPonies
9741799733 More work on nations, got most of the flag procs ready. Really missing the vassalage system. 2014-05-27 10:35:09 -04:00
ZomgPonies
16439fd982 Nations commit 4.1 forgot maybe this I have no idea if I'll need it but probably. 2014-05-27 01:45:31 -04:00
ZomgPonies
9bf41d3405 4th Nations commit, Finished framework. Rest of gameplay code is within the flag object's attackby and dropped procs. 2014-05-27 01:20:20 -04:00
Ccomp5950
ceca0ddbe8 APC bugfix after someone messed with mah areas!
This was probably bound to happen either way the previous version was based upon a faulty understanding of how the areas worked this is much more robust and only messes with the master areas
and master areas needing power updates call power updates for the each of it's child areas.  Also added where messing with SMESes called for an update on all areas power consumption, probably
not required but doing so either way.

We also rebuild the active_areas list every 5 minutes, if you get a engineer that wants to build a new area off of the station with APC's set rebuild_all_areas in the master controller and it will
update instantly, otherwise wait 5 minutes.  The only downside to this 5 minutes is you might get free energy until that area becomes active.

Conflicts:
	code/controllers/master_controller.dm
	code/modules/power/apc.dm
2014-05-27 00:28:31 -04:00
ZomgPonies
9d45361f9b 3rd nations commit, moved nations to datums to make things easier down the line. 2014-05-27 00:20:39 -04:00
ZomgPonies
53090e314d Second commit for nations, respawning is in, splitting in teams is in. Time to get to work on the actual capture mechanics. 2014-05-26 21:33:46 -04:00
ZomgPonies
3c9dbcc822 First commit for nations gamemode, setting up the framework I'll be using. 2014-05-26 20:02:20 -04:00
ZomgPonies
581376e191 Nuke ops fixes 2014-05-26 17:57:39 -04:00
ZomgPonies
b327d3967d More suit fixes 2014-05-26 17:10:28 -04:00
ZomgPonies
f36e5d206c Fix secborg tasers 2014-05-26 16:29:03 -04:00
ZomgPonies
d14b50ba65 Fix preferences menu maybe 2014-05-26 16:24:39 -04:00
ZomgPonies
f347fc55fd Revert "Fix rad alert lighting."
This reverts commit e887dbe9b6.
2014-05-26 15:53:30 -04:00
ZomgPonies
2ce3881ad5 Fix Fat and Skintones 2014-05-26 15:06:11 -04:00
ZomgPonies
b173b0ac3b Fix Unathi hardsuits maybe? 2014-05-26 14:47:52 -04:00
Zuhayr
f97f7cedcc Lots of work on hardsuits, commented out some broken WIP code, did some renaming, deleted now-redundant species-specific hardsuits.
Conflicts:
	code/game/machinery/suit_storage_unit.dm
	code/game/objects/items.dm
	code/game/objects/items/devices/modkit.dm
	code/modules/clothing/masks/breath.dm
	code/modules/clothing/spacesuits/alien.dm
	code/modules/clothing/spacesuits/rig.dm
2014-05-26 13:58:17 -04:00
Zuhayr
05809ec585 Changed by-species icon sheets to by-clothing species-specific icon sheets.
Conflicts:
	code/modules/mob/living/carbon/human/update_icons.dm
	code/modules/mob/living/carbon/species.dm
2014-05-26 13:30:47 -04:00
Zuhayr
29f7200968 Prevented toggling a suit helmet while holding the suit. 2014-05-26 12:49:19 -04:00
Zuhayr
3af5ac76d8 Squashed hardsuit and suit cycler commits:
Basic preliminary breach handling.
Breached spacesuits act more sanely and now result in pressure loss.
Preliminary work for upgrading hardsuits.
Adds suit cycler.
Working on breach data for hardsuits.
More tweaks to the suit cycler.
More rig changes/tweaks.

Conflicts:
	code/modules/mob/living/carbon/human/human_defense.dm
2014-05-26 12:48:58 -04:00