[RC4] Lua error loop in Dark Crypt
Posted: Sat Dec 29, 2012 12:01 pm
While this did occur in the Dark Crypt, I don't think it's to do with the old Dark Portal errors.
Anyway, I was playing as a Yeek Necromancer, just turned Lich. After climbing down the stairs, I had a nasty battle with the cultists in which I:
Summoned undead (twice)
Summoned Mindslayer allies
Mind-controlled a cultist.
AFTER the battle had completed, I got a lua error. I then rested, and started getting a loop of lua errors, which eventually stopped, replacing with my screen alternating between black and normal, and being uncontrollable. It was at this point I used the task manager to quit out of the game.
What I think happened is one of the Mindslayers failed to leave after he was supposed to (since he was still around after I'd fully rested.) I tried to check his description to verify, but that ended up causing more errors.
These two errors were in my game log. The first one was repeated maybe 8 times or so, the second more like 30 or 40 times.
Lua Error: /mod/class/Actor.lua:4257: bad argument #1 to 'distance' (number expected, got nil)
At [C]:-1
At [C]:-1 distance
At /mod/class/Actor.lua:4257 hasLOS
At /mod/class/Grid.lua:143 check
At /engine/Map.lua:703 checkEntity
At /mod/class/Tooltip.lua:36 check
At /mod/class/Tooltip.lua:53 getTooltipAtMap
At /engine/Tooltip.lua:269 displayAtMap
At /engine/interface/GameTargeting.lua:65 targetDisplayTooltip
At /mod/class/Game.lua:1227
Lua Error: /engine/utils.lua
bad argument #1 to 'line_base' (number expected, got nil)
At [C]:-1
At [C]:-1 line_base
At /engine/utils.lua:1751 lineFOV
At /engine/Target.lua:112 display
At /mod/class/Game.lua:1154 displayMap
At /mod/class/uiset/Minimalist.lua:1887 display
At /mod/class/Game.lua:1208
Anyway, I was playing as a Yeek Necromancer, just turned Lich. After climbing down the stairs, I had a nasty battle with the cultists in which I:
Summoned undead (twice)
Summoned Mindslayer allies
Mind-controlled a cultist.
AFTER the battle had completed, I got a lua error. I then rested, and started getting a loop of lua errors, which eventually stopped, replacing with my screen alternating between black and normal, and being uncontrollable. It was at this point I used the task manager to quit out of the game.
What I think happened is one of the Mindslayers failed to leave after he was supposed to (since he was still around after I'd fully rested.) I tried to check his description to verify, but that ended up causing more errors.
These two errors were in my game log. The first one was repeated maybe 8 times or so, the second more like 30 or 40 times.
Lua Error: /mod/class/Actor.lua:4257: bad argument #1 to 'distance' (number expected, got nil)
At [C]:-1
At [C]:-1 distance
At /mod/class/Actor.lua:4257 hasLOS
At /mod/class/Grid.lua:143 check
At /engine/Map.lua:703 checkEntity
At /mod/class/Tooltip.lua:36 check
At /mod/class/Tooltip.lua:53 getTooltipAtMap
At /engine/Tooltip.lua:269 displayAtMap
At /engine/interface/GameTargeting.lua:65 targetDisplayTooltip
At /mod/class/Game.lua:1227
Lua Error: /engine/utils.lua
At [C]:-1
At [C]:-1 line_base
At /engine/utils.lua:1751 lineFOV
At /engine/Target.lua:112 display
At /mod/class/Game.lua:1154 displayMap
At /mod/class/uiset/Minimalist.lua:1887 display
At /mod/class/Game.lua:1208