Commit Graph

12968 Commits

Author SHA1 Message Date
Ccomp5950
75116bfd53 Runtime fix: Someone using a gas mask with no tank...IN SPACE
runtime error: Cannot read null.oxygen
proc name: copy from (/datum/gas_mixture/proc/copy_from)
  source file: FEA_gas_mixture.dm,480
  usr: null
  src: /datum/gas_mixture (/datum/gas_mixture)
  call stack:
/datum/gas_mixture (/datum/gas_mixture): copy from(null)
Basileus (/mob/living/carbon/human): breathe()
Basileus (/mob/living/carbon/human): Life()
/datum/controller/game_control... (/datum/controller/game_controller): process mobs()
/datum/controller/game_control... (/datum/controller/game_controller): process()
runtime error: Cannot read null.toxins
proc name: breathe (/mob/living/carbon/human/proc/breathe)
  source file: life.dm,339
  usr: null
  src: Basileus (/mob/living/carbon/human)
  call stack:
Basileus (/mob/living/carbon/human): breathe()
Basileus (/mob/living/carbon/human): Life()
/datum/controller/game_control... (/datum/controller/game_controller): process mobs()
/datum/controller/game_control... (/datum/controller/game_controller): process()
2014-02-24 01:16:19 -06:00
Ccomp5950
0bcd89360a Runtime fix: I have no UI, and I must close it.
runtime error: Cannot execute null.close().
proc name: Topic (/obj/item/device/pda/Topic)
  source file: PDA.dm,485
  usr: Garry Myers (/mob/living/carbon/human)
  src: PDA-Garry Myers (Station Engin... (/obj/item/device/pda/engineering)
  call stack:
PDA-Garry Myers (Station Engin... (/obj/item/device/pda/engineering): Topic("src=\[0x2003e95];choice=Messag...", /list (/list))
NeroHarry (/client): Topic("src=\[0x2003e95];choice=Messag...", /list (/list), PDA-Garry Myers (Station Engin... (/obj/item/device/pda/engineering))
NeroHarry (/client): Topic("src=\[0x2003e95];choice=Messag...", /list (/list), PDA-Garry Myers (Station Engin... (/obj/item/device/pda/engineering))
2014-02-24 00:51:57 -06:00
Ccomp5950
1eb66f1f78 Runtime fix blood_DNA length checks when it's possibly null.
runtime error: Cannot read null.len
proc name: attack self (/obj/item/weapon/melee/telebaton/attack_self)
  source file: swords_axes_etc.dm,156
2014-02-24 00:47:55 -06:00
Ccomp5950
cea151813e Runtime fix: Dirt in SPAAAAACCEEEEEEE
ndefined variable /turf/space/var/dirt
proc name: reaction turf (/datum/reagent/space_cleaner/reaction_turf)
source file: Chemistry-Reagents.dm,939
2014-02-24 00:44:00 -06:00
Mloc
faa1dd38ba Merge pull request #4473 from Ccomp5950/dev_power
DEV EMPOWERMENT  Gives people with R_DEBUG access to runtimelogs.
2014-02-23 15:03:02 +00:00
suethecake
32de00eed8 Fix to cloned gun issue - now your holster is located on your tactical armor. 2014-02-22 21:50:21 -06:00
Ccomp5950
65b8215ec7 Merge pull request #4465 from Loganbacca/chemsmoke
Chemsmoke rewrite
2014-02-22 18:33:43 -06:00
Aryn
bb6f030f84 Added Reboot ZAS as a debug verb.
Replaces the air controller, marks all old zones invalid,
 and adds every turf to the update list. Results are the same as on a
 server start.
2014-02-22 09:09:48 -07:00
Aryn
e3b87b4c4d Removed a leftover generally-accessible debug verb. 2014-02-22 08:47:54 -07:00
Aryn
6c91d220b8 Added code protecting against obscure merges of invalid zones.
- Usually happened when welding fuel tanks caused secondary explosions.
2014-02-22 08:45:31 -07:00
Aryn
d6b275ca73 Fixed walls not splitting zones. 2014-02-22 08:16:35 -07:00
Aryn
dcc7ad33c9 Zones didn't split when a full window was placed. 2014-02-22 08:02:10 -07:00
Ccomp5950
e72c584ac8 Reapplys this runtime fix when dead /mob/living would not have a client. 2014-02-22 03:47:46 -06:00
Ccomp5950
8ef2e10237 This reverts commit all the say code changes over the last couple of days.
Except for the removal of the redundant get_mobs_in_view used for bolding ghosts text.
2014-02-22 03:46:10 -06:00
Ccomp5950
92e0c60126 Remove clients removal derp. 2014-02-22 02:50:49 -06:00
Vetinari
cb1c247767 Updates
Medicine Cabinet(s), Acute Doors
2014-02-22 19:26:42 +11:00
Ccomp5950
d95caffecb DEV EMPOWERMENT Gives people with R_DEBUG access to runtimelogs.
Also moves make_everyone_random to R_FUN where it belongs, gets rid of that dumb panel from my awesome dev screen.
2014-02-22 01:45:43 -06:00
Segrain
86c73e242b Fix for embedding. 2014-02-22 10:16:55 +03:00
Segrain
05c82c970b Tiny fix. 2014-02-22 06:56:51 +03:00
Segrain
2b9842c113 Smallfix. 2014-02-22 06:56:12 +03:00
Segrain
fd738a5767 Smallfix. 2014-02-22 06:54:48 +03:00
Segrain
b04d00ff7b Typo fix. 2014-02-22 06:54:11 +03:00
Segrain
ef3b565f64 Fix for #4458. 2014-02-22 06:53:37 +03:00
Segrain
c6d39deac0 Fix for #4445. 2014-02-22 06:49:57 +03:00
Ccomp5950
6dc330a398 Bugfix: get_mobs_in_view won't allow AIeyes to hear chat.
Also:  Added a client check to saycode for now that stops runtimes when you have a dead body with no client and removed colons from it.
herp derp.
2014-02-21 21:29:34 -06:00
Aryn
f511ac20c2 Fixed some debug verbs, removed ZASDBG define. 2014-02-21 08:46:56 -07:00
Aryn
d0c0315d53 Added documentation, split ConnectionManager.dm, removed some unused procs.
Added a proc to find the other zone in an edge for future procs.
Fixed the stupid .int again.
2014-02-21 08:39:04 -07:00
Aryn
0089ae6282 Fixed some weird bugs concerning space and the creation thereof. 2014-02-21 08:39:04 -07:00
Aryn
f95d0f9a98 Fixed some zone.remove() bugs:
Turf should be set back to no gas overlays.
Debug mode checks if zone actually contains turf
(might be useful in turf replacement.)
2014-02-21 08:39:03 -07:00
Aryn
f0e4e27821 Fixed a special case with simulated turfs being replaced by space.
Actually any unsimulated turf, but mostly space.
2014-02-21 08:39:02 -07:00
Aryn
bae9fad90b Added Z-level support for ZAS, disabled by default to save CPU.
- Use #define ZLEVELS or uncomment it in _docs.dm to turn it on.
2014-02-21 08:38:51 -07:00
Aryn
4c27af0bb9 Added Z-level support. 2014-02-21 08:38:44 -07:00
Loganbacca
a204a46f4b Runtime fix
- Fixed a runtime caused by effects bumping disposal chutes.
2014-02-22 01:07:45 +13:00
Loganbacca
f593232aa5 Reagent reaction_mob/turf tweaks
- Adds an if() check to reaction_mob for catching a very rare runtime related to mobs inhaling smoke reagents from just deleted smoke.
- Carbons reaction_turf proc now modifies a single dirt overlay layer, instead of just adding more decal objects to the turf.
- Added some checks to the radium and uranium reaction_turf proc so it doesn't stack multiple greenglow decals.
- Performed colon removal surgery on thermites reaction_turf proc, also tweaked it's overlay operation to correctly overlay a chemical puddle effect, instead of a melted wall effect.
- Removed space_cleaners overlays.Cut() code, since it was removing decals from turfs.
2014-02-22 00:56:12 +13:00
Loganbacca
864e097e91 Chemsmoke rewrite
- Complete rewrite of the chemsmoke spawning code (everything that happens after the reaction to create the smoke).
- Moved it into it's own file since it's a little longer than the old one code-wise.
- Tweaked the smoke sprites; gave chemsmoke directions for more randomization, and tweaked the timing of their animations so they are smooth now.

Most of the code is documented, so you should be able to follow what's going on just reading through it. In short though:
- Chemsmoke now affects a circular area with a variable range depending on the total amount of chemsmoke created (no more 1-of-each-ingredient smoke grenades - sorry).
- The carried reagent volume in the cloud balances itself according to how big the affected area is (larger area, less carried reagent per turf).
- The carried reagent has more volume the closer you are to the centre of the cloud.
- The visual smoke effect scales with how big the affected area is.
2014-02-22 00:47:08 +13:00
Vetinari
28b84ce8b8 Merge remote-tracking branch 'upstream/dev' into dev 2014-02-21 20:01:33 +11:00
Ccomp5950
440f784c70 Bugfix: People unable to hear while in certain locations. (And some debug verbs)
...hopefully
2014-02-21 02:11:11 -06:00
Vetinari
db76f164fe Revert "derp"
This reverts commit 77072625dd.
2014-02-21 18:17:15 +11:00
Vetinari
77072625dd derp 2014-02-21 18:17:09 +11:00
Vetinari
67ec7739c5 Tweaks 2014-02-21 18:06:05 +11:00
Ccomp5950
b6eacfe385 Merge branch 'dev-freeze' of github.com:Baystation12/Baystation12 into dev
Conflicts:
	code/modules/admin/verbs/mapping.dm
2014-02-20 19:23:16 -06:00
Ccomp5950
63a0f1185e Merge branch 'master' of github.com:Baystation12/Baystation12 into dev-freeze
Conflicts:
	code/ATMOSPHERICS/pipes.dm
	code/game/dna/genes/powers.dm
	code/game/objects/items/devices/PDA/PDA.dm
2014-02-20 19:16:23 -06:00
Loganbacca
da3d82c1de Closet fixes
- Fixed a few closets not adding items to their contents at round start (wardrobes have the same issue, but I've already fixed them on master)
2014-02-20 17:54:27 +13:00
Loganbacca
e140998f86 Pipe painter bad-fix revert
Oops. Thanks Segrain.
2014-02-20 16:46:43 +13:00
Loganbacca
8fd037820b Map fixes
- Fixed lighting issues in dorms (added APC to bedroom area, also gave cryo storage and dorm bedrooms their own area subtypes so light switches don't conflict anymore)
- Fixed 0-2 cable "pixel_y = 1" offset (it was making a 1 pixel gap between south-to-end cables on the map)
- Replaced research outpost piping with new subtypes
- Fixed a broken air supply pipe running to the research outpost auxiliary storage area
- Replaced a few plating turfs in space with airless platings
2014-02-20 15:59:10 +13:00
Loganbacca
f451fd42c1 Pipe tweaks
- updated update_icon() for pipes and manifolds to change the color instead of the sprite
- updated subtypes to use global defines for colors instead of hard coded html refs
- added an alpha tweak to hidden pipes for the sake of mapping (DM doesn't render semi-transparent icons correctly, but it does handle var/alpha tweaks) - this is overridden when the pipe is spawned in the game world with New()
(Thinking about it, we could potentially do away with the transparent pipe sprites by just using the alpha variable. May do this later.)
- fixed pipe painter
- unwrenched pipes now inherit their source pipe color, and also inherit it when reattached to a pipe network again
2014-02-20 15:50:12 +13:00
Aryn
c9b9b18807 Removed debugging flag. 2014-02-19 18:28:32 -07:00
Aryn
6fbe320f88 Fixed bugs pertaining to connection updates.
- Unanchored windows did not split zones.
 - Phantom connections left behind by closed doors.
2014-02-19 18:26:04 -07:00
Aryn
0814bdb36f Added some documentation. 2014-02-19 18:24:37 -07:00
Aryn
a2d992ef5c Fixed inexplicable reversions. 2014-02-19 17:11:09 -07:00