[1.4.8][orcs] Nimbus of Enlighenment causes many LUA errors

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
Zeyphor
Archmage
Posts: 400
Joined: Fri Jan 04, 2013 3:20 am

[1.4.8][orcs] Nimbus of Enlighenment causes many LUA errors

#1 Post by Zeyphor »

when wearing this hat, i seen to be getting this lua error probably over 5 times every turn
Lua Error: /engine/interface/ActorAI.lua:188: attempt to perform arithmetic on local 'tx' (a nil value)
At [C]:-1 __add
At /engine/interface/ActorAI.lua:188 aiSeeTargetPos
At /mod/ai//tactical.lua:431 doAI
At /mod/class/NPC.lua:72 act
At /engine/GameEnergyBased.lua:129 tickLevel
At /engine/GameEnergyBased.lua:64 tick
At /engine/GameTurnBased.lua:51 tick
At /mod/class/Game.lua:1271
---------------- Stack Dump ----------------
--------------- Stack Dump Finished ---------------
the first time i got it 2 shadows despawned and/or were killed

that error has been reported ingame, and its always the same particular error, as such that it says ive already reported it for all of them
a little bit of ingame time passes inbetween each LUA error

upon further investigation, it turns out that many of the enemies are literally targeting the Nimbus of Enlightenment, rather than targeting me, the one wearing the hat

thats right, they're targeting an item, it literally said Nimbus of Enlightenment in the Target: field when I mouse over them ingame

the LUA errors seem to go away after they target me instead of the hat

Post Reply