[b20] Crash due to nil target and Gravity Well
Posted: Sun Feb 06, 2011 6:43 pm
I did a quick search for nil target but didn't see anything so I'm posting this here. I had a crash in Briagh's lair, first level. The last bit of stdout is pasted below. Looks a damage effect didn't have a target.
Edit: This is repeatable, and seems to happen only in Briagh's lair. I don't remember this problem in the sandworm lair for example. I'm adding another stdout snippet with similar information.
Edit 2: Seems to always occur after the Gravity well graphic occurs (3 for 3 so far), so my guess its related to that projected effect. Unfortunately this basically makes there and back again nearly impossible since Gravity well likes to be spammed in that particular zone.
Edit 3: So I cheated slightly and removed the Gravity well talent from the Gigantic Gravity worm and then went into the sandpit and defeated Briagh. No crashes that time, and I definitely killed a few gravity worms, so its definitely something to do with that talent and its effects. I also realized I may have been confusing the Gravity Spike graphic and the Gravity well graphic (or are they the same?).
Edit: This is repeatable, and seems to happen only in Briagh's lair. I don't remember this problem in the sandworm lair for example. I'm adding another stdout snippet with similar information.
Edit 2: Seems to always occur after the Gravity well graphic occurs (3 for 3 so far), so my guess its related to that projected effect. Unfortunately this basically makes there and back again nearly impossible since Gravity well likes to be spammed in that particular zone.
Edit 3: So I cheated slightly and removed the Gravity well talent from the Gigantic Gravity worm and then went into the sandpit and defeated Briagh. No crashes that time, and I definitely killed a few gravity worms, so its definitely something to do with that talent and its effects. I also realized I may have been confusing the Gravity Spike graphic and the Gravity well graphic (or are they the same?).
Code: Select all
[LOG] Hiruma Kage hits sandworm for #DARK_GREY#15.82 darkness damage#LAST#.
[ATTACK] attacking with innate combat
[COMBAT DAMAGE] power(1.585641) totstat(55.300000) talent_mod(1.000000)
[ATTACK] to Hiruma Kage :: 43.842963863424 0 48.54 :: 1
checkHit 68 16.8
=> chance to hit 95
[ATTACK] raw dam 43.842963863424 versus 48.54 with APR 0
[ATTACK] after range 0
[PHYS CRIT %] 0
[ATTACK] after crit 0
[ATTACK] after mult 0
[PROJECTOR] starting dam 0
[PROJECTOR] after difficulty dam 0
[PROJECTOR] res 34.550657806474 0.65449342193526 on dam 0
[PROJECTOR] after resists dam 0
[PROJECTOR] final dam 0
[LOG] Sandworm hits Hiruma Kage for #aaaaaa#0.00 physical damage#LAST#.
[PROJECTOR] starting dam 7.8966777399552
[PROJECTOR] after difficulty dam 7.8966777399552
[PROJECTOR] res 0 1 on dam 7.8966777399552
[PROJECTOR] after resists dam 7.8966777399552
[PROJECTOR] final dam 7.8966777399552
[LOG] Hiruma Kage hits sandworm for #YELLOW#7.90 light damage#LAST#.
[PROJECTOR] starting dam 15.820532307162
[PROJECTOR] after difficulty dam 15.820532307162
[PROJECTOR] res 0 1 on dam 15.820532307162
[PROJECTOR] after resists dam 15.820532307162
[PROJECTOR] final dam 15.820532307162
[LOG] Hiruma Kage hits sandworm for #DARK_GREY#15.82 darkness damage#LAST#.
============================== TACTICAL AI Briagh, Great Sand Wyrm
Briagh, Great Sand Wyrm 21326 tactical ai talents can use Infusion: Healing T_INFUSION:_HEALING_3 heal
Briagh, Great Sand Wyrm 21326 tactical ai talents can use Infusion: Wild T_INFUSION:_WILD_2 defend
Briagh, Great Sand Wyrm 21326 tactical ai talents can use Infusion: Heroism T_INFUSION:_HEROISM_1 buff
Tactical ai report for Briagh, Great Sand Wyrm
21 frames in 1.001 seconds = 20.979 FPS (26 keyframes)
[LOG] Hiruma Kage uses Stunning Blow.
USING table: 03D04A80 Stunning Blow
22 frames in 1.04 seconds = 21.1538 FPS (32 keyframes)
[TALENT WEAPON MULT] 5.5 1 1.5 0 1.5244044240851
[COMBAT DAMAGE] power(3.149778) totstat(97.200000) talent_mod(2.048809)
[ATTACK] to sand-drake :: 313.63005610377 11 1 :: 1.5244044240851
checkHit 113 15.35
=> chance to hit 95
[ATTACK] raw dam 313.63005610377 versus 1 with APR 11
[ATTACK] after range 449
[PHYS CRIT %] 14.4
[ATTACK] after crit 449
[ATTACK] after mult 684.4575864142
[PROJECTOR] starting dam 684.4575864142
[PROJECTOR] after difficulty dam 684.4575864142
[PROJECTOR] res 0 1 on dam 787.12622437633
[PROJECTOR] after resists dam 787.12622437633
[PROJECTOR] final dam 787.12622437633
[LOG] Hiruma Kage hits sand-drake for #aaaaaa#787.13 physical damage#LAST#.
[LOG] #{bold}#Hiruma Kage killed sand-drake!#{normal}#
checkHit 135 28.35
=> chance to hit 95
[LOG] Sand-drake is stunned!
addTmpVal table: 1195F598 stunned 1 :=: 1 1
Effect duration reduction < 7
Effect duration reduction > 5
88 ticks in 10.53 seconds = 8.35708 TPS
============================== TACTICAL AI sand-drake
============================== TACTICAL AI sand-drake
============================== TACTICAL AI sand-drake
============================== TACTICAL AI sand-drake
============================== TACTICAL AI sand-drake
============================== TACTICAL AI sand-drake
AI took for target 21298 sandworm :: 2485 Hiruma Kage 2 < 400
[ATTACK] attacking with innate combat
[COMBAT DAMAGE] power(1.608545) totstat(54.600000) talent_mod(1.000000)
[ATTACK] to Hiruma Kage :: 43.913288025863 0 48.54 :: 1
checkHit 67 16.8
=> chance to hit 95
[ATTACK] raw dam 43.913288025863 versus 48.54 with APR 0
[ATTACK] after range 0
[PHYS CRIT %] 0
[ATTACK] after crit 0
[ATTACK] after mult 0
[PROJECTOR] starting dam 0
[PROJECTOR] after difficulty dam 0
[PROJECTOR] res 34.550657806474 0.65449342193526 on dam 0
[PROJECTOR] after resists dam 0
[PROJECTOR] final dam 0
[LOG] Sandworm hits Hiruma Kage for #aaaaaa#0.00 physical damage#LAST#.
[PROJECTOR] starting dam 7.8966777399552
[PROJECTOR] after difficulty dam 7.8966777399552
[PROJECTOR] res 0 1 on dam 7.8966777399552
[PROJECTOR] after resists dam 7.8966777399552
[PROJECTOR] final dam 7.8966777399552
[LOG] Hiruma Kage hits sandworm for #YELLOW#7.90 light damage#LAST#.
[PROJECTOR] starting dam 15.820532307162
[PROJECTOR] after difficulty dam 15.820532307162
[PROJECTOR] res 0 1 on dam 15.820532307162
[PROJECTOR] after resists dam 15.820532307162
[PROJECTOR] final dam 15.820532307162
[LOG] Hiruma Kage hits sandworm for #DARK_GREY#15.82 darkness damage#LAST#.
[ATTACK] attacking with innate combat
[COMBAT DAMAGE] power(1.585641) totstat(55.300000) talent_mod(1.000000)
[ATTACK] to Hiruma Kage :: 43.842963863424 0 48.54 :: 1
checkHit 68 16.8
=> chance to hit 95
[ATTACK] raw dam 43.842963863424 versus 48.54 with APR 0
[ATTACK] after range 0
[PHYS CRIT %] 0
[ATTACK] after crit 0
[ATTACK] after mult 0
[PROJECTOR] starting dam 0
[PROJECTOR] after difficulty dam 0
[PROJECTOR] res 34.550657806474 0.65449342193526 on dam 0
[PROJECTOR] after resists dam 0
[PROJECTOR] final dam 0
[LOG] Sandworm hits Hiruma Kage for #aaaaaa#0.00 physical damage#LAST#.
[PROJECTOR] starting dam 7.8966777399552
[PROJECTOR] after difficulty dam 7.8966777399552
[PROJECTOR] res 0 1 on dam 7.8966777399552
[PROJECTOR] after resists dam 7.8966777399552
[PROJECTOR] final dam 7.8966777399552
[LOG] Hiruma Kage hits sandworm for #YELLOW#7.90 light damage#LAST#.
[PROJECTOR] starting dam 15.820532307162
[PROJECTOR] after difficulty dam 15.820532307162
[PROJECTOR] res 0 1 on dam 15.820532307162
[PROJECTOR] after resists dam 15.820532307162
[PROJECTOR] final dam 15.820532307162
[LOG] Hiruma Kage hits sandworm for #DARK_GREY#15.82 darkness damage#LAST#.
AI took for target 21313 gigantic gravity worm :: 2485 Hiruma Kage 25 < 400
gigantic gravity worm 21313 dumb ai talents can use Gravity Well T_GRAVITY_WELL
gigantic gravity worm 21313 dumb ai talents can use Gravity Spike T_GRAVITY_SPIKE
dumb ai uses T_GRAVITY_WELL
USING table: 09FA92C8 Gravity Well
[SPELL] friendly fire chance 0
============================== TACTICAL AI Briagh, Great Sand Wyrm
Briagh, Great Sand Wyrm 21326 tactical ai talents can use Infusion: Healing T_INFUSION:_HEALING_3 heal
Briagh, Great Sand Wyrm 21326 tactical ai talents can use Infusion: Wild T_INFUSION:_WILD_2 defend
Briagh, Great Sand Wyrm 21326 tactical ai talents can use Infusion: Heroism T_INFUSION:_HEROISM_1 buff
Tactical ai report for Briagh, Great Sand Wyrm
Lua Error: /data/damage_types.lua:1085: attempt to index local 'target' (a nil value)
At [C]:-1
At /data/damage_types.lua:1085 projector
At /engine/Map.lua:847 processEffects
At /mod/class/Game.lua:713 onTurn
At /engine/GameEnergyBased.lua:95 tick
At /engine/GameTurnBased.lua:44 tick
At /mod/class/Game.lua:635
---------------- Stack Dump ----------------
--------------- Stack Dump Finished ---------------
25 frames in 1.145 seconds = 21.8341 FPS (36 keyframes)
---------------- Stack Dump ----------------
Code: Select all
[LOG] Hiruma Kage hits sandworm for #DARK_GREY#12.82 darkness damage#LAST#.
============================== TACTICAL AI sand-drake
============================== TACTICAL AI sand-drake
============================== TACTICAL AI Briagh, Great Sand Wyrm
Briagh, Great Sand Wyrm 4684 tactical ai talents can use Infusion: Healing T_INFUSION:_HEALING_3 heal
Briagh, Great Sand Wyrm 4684 tactical ai talents can use Infusion: Wild T_INFUSION:_WILD_2 defend
Briagh, Great Sand Wyrm 4684 tactical ai talents can use Infusion: Heroism T_INFUSION:_HEROISM_1 buff
Tactical ai report for Briagh, Great Sand Wyrm
22 frames in 1.006 seconds = 21.8688 FPS (31 keyframes)
Loaded texture for particles: /data/gfx/attacks/attack_white_16.png => 258
Loaded texture for particles: /data/gfx/attacks/attack_white_19.png => 259
[ATTACK] attacking with shocking voratun greatsword of rage
[COMBAT DAMAGE] power(3.149778) totstat(97.200000) talent_mod(2.048809)
[ATTACK] to gigantic sandworm tunneler :: 313.63005610377 11 1 :: 1
checkHit 113 12.6
=> chance to hit 95
[ATTACK] raw dam 313.63005610377 versus 1 with APR 11
[ATTACK] after range 457
[PHYS CRIT %] 14.4
[ATTACK] after crit 457
[ATTACK] after mult 457
[PROJECTOR] starting dam 457
[PROJECTOR] after difficulty dam 457
[PROJECTOR] res 20 0.8 on dam 525.55
[PROJECTOR] after resists dam 420.44
[PROJECTOR] final dam 420.44
[LOG] Hiruma Kage hits gigantic sandworm tunneler for #aaaaaa#420.44 physical damage#LAST#.
[LOG] #{bold}#Hiruma Kage killed gigantic sandworm tunneler!#{normal}#
AI took for target 4553 gigantic gravity worm :: 748 Hiruma Kage 20 < 400
============================== TACTICAL AI sand-drake
AI took for target 4621 sandworm :: 748 Hiruma Kage 101 < 400
[ATTACK] attacking with innate combat
[COMBAT DAMAGE] power(1.608545) totstat(55.300000) talent_mod(1.000000)
[ATTACK] to Hiruma Kage :: 44.47627889799 0 48.54 :: 1
checkHit 67 16.8
=> chance to hit 95
[LOG] Sandworm misses Hiruma Kage.
============================== TACTICAL AI Briagh, Great Sand Wyrm
Briagh, Great Sand Wyrm 4684 tactical ai talents can use Infusion: Healing T_INFUSION:_HEALING_3 heal
Briagh, Great Sand Wyrm 4684 tactical ai talents can use Infusion: Wild T_INFUSION:_WILD_2 defend
Briagh, Great Sand Wyrm 4684 tactical ai talents can use Infusion: Heroism T_INFUSION:_HEROISM_1 buff
Tactical ai report for Briagh, Great Sand Wyrm
24 frames in 1.019 seconds = 23.5525 FPS (33 keyframes)
163 ticks in 10.726 seconds = 15.1967 TPS
gigantic gravity worm 4553 dumb ai talents can use Gravity Well T_GRAVITY_WELL
gigantic gravity worm 4553 dumb ai talents can use Gravity Spike T_GRAVITY_SPIKE
dumb ai uses T_GRAVITY_WELL
USING table: 09FBC8B8 Gravity Well
[SPELL] friendly fire chance 0
============================== TACTICAL AI sand-drake
============================== TACTICAL AI Briagh, Great Sand Wyrm
Briagh, Great Sand Wyrm 4684 tactical ai talents can use Infusion: Healing T_INFUSION:_HEALING_3 heal
Briagh, Great Sand Wyrm 4684 tactical ai talents can use Infusion: Wild T_INFUSION:_WILD_2 defend
Briagh, Great Sand Wyrm 4684 tactical ai talents can use Infusion: Heroism T_INFUSION:_HEROISM_1 buff
Tactical ai report for Briagh, Great Sand Wyrm
Lua Error: /data/damage_types.lua:1085: attempt to index local 'target' (a nil value)
At [C]:-1
At /data/damage_types.lua:1085 projector
At /engine/Map.lua:847 processEffects
At /mod/class/Game.lua:713 onTurn
At /engine/GameEnergyBased.lua:95 tick
At /engine/GameTurnBased.lua:44 tick
At /mod/class/Game.lua:635
---------------- Stack Dump ----------------
--------------- Stack Dump Finished ---------------
---------------- Stack Dump ----------------