[b27] infinite lua error

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
yufra
Perspiring Physicist
Posts: 1332
Joined: Tue Jul 13, 2010 2:53 pm

[b27] infinite lua error

#1 Post by yufra »

Fighting a farportal boss and got this:

Code: Select all

Tactical ai report for	Xerora the fire drake
 * escape	4.406437936207	(mult)	nil
 * disable	19.076337297709	(mult)	nil
 * attack	9.7117739951691	(mult)	nil
Tactical choice:	disable	T_SWITCH_PLACE
USING	table: 0x19c83f90	Switch Place
[ATTACK] attacking with	shadow yew staff of power
[COMBAT DAMAGE] power(1.288118) totstat(73.000000) talent_mod(1.000000)
[ATTACK] to 	turtle	 :: 	43.897840805893	4	10	0	::	0
checkHit	55.5	0
=> chance to hit	95
[ATTACK] raw dam	43.897840805893	versus	10	0.3	with APR	4
[ATTACK] after armor	37.897840805893
[ATTACK] after range	39
[PHYS CRIT %]	27.3
[ATTACK] after crit	39
[ATTACK] after mult	0
[PROJECTOR] starting dam	0
[PROJECTOR] after difficulty dam	0
[PROJECTOR] res	41	0.59	 on dam	0
[PROJECTOR] after resists dam	0
[PROJECTOR] final dam	0
removeTempVal	evasion	25	 :=: 	28
delTmpVal	evasion	25	add
addTmpVal	table: 0x20a939c0	evasion	50	 :=: 	13	29	add
[ATTACK] attacking with innate combat
[COMBAT DAMAGE] power(0.452982) totstat(0.600000) talent_mod(1.000000)
[ATTACK] to 	turtle	 :: 	0.19260360708563	5	10	0	::	1
checkHit	-3	0
=> chance to hit	69.723375638971
[ATTACK] raw dam	0.19260360708563	versus	10	0.3	with APR	5
[ATTACK] after armor	0.13482252495994
[ATTACK] after range	0
[PHYS CRIT %]	0
[ATTACK] after crit	0
[ATTACK] after mult	0
stack traceback:
	/engine/Map.lua:439: in function 'map'
	/data/damage_types.lua:22: in function 'projector'
	/mod/class/interface/Combat.lua:258: in function 'attackTargetWith'
	/mod/class/interface/Combat.lua:148: in function 'attackTarget'
	/mod/class/Actor.lua:501: in function 'move'
	/data/talents/cunning/dirty.lua:98: in function 'action'
	/engine/interface/ActorTalents.lua:131: in function </engine/interface/ActorTalents.lua:125>
Lua Error: /engine/interface/ActorTalents.lua:141: /engine/Map.lua:439: attempt to compare nil with number
	At [C]:-1 
	At [C]:-1 error
	At /engine/interface/ActorTalents.lua:141 useTalent
	At /mod/ai//tactical.lua:341 
	At (tail call):-1 
	At /mod/ai//tactical.lua:366 
	At (tail call):-1 
	At (tail call):-1 
	At /mod/class/NPC.lua:47 act
	At /engine/GameEnergyBased.lua:109 tickLevel
	At /engine/GameEnergyBased.lua:62 tick
	At /engine/GameTurnBased.lua:44 tick
	At /mod/class/Game.lua:733 
<DarkGod> lets say it's intended

Post Reply