Lua errors targeting sandworm burrowers
Posted: Mon May 24, 2010 1:11 pm
When my hobbit slinger was in the sandworm hole, he often pressed '2' or '3' to target something. If the nearest monster happened to be a sandworm burrower, this caused Lua errors to spew to stdout/stderr (I combined them, so I don't know which).
The burrowers, when targeted in this way, never popped up an information bubble. I could use the keyboard to move the targeting selection to a different monster, and shoot that, apparently normally.
The burrowers, when targeted in this way, never popped up an information bubble. I could use the keyboard to move the targeting selection to a different monster, and shoot that, apparently normally.
Code: Select all
[LOG] Bruzz shoots!
USING table: 0x84c9510 Shoot
[SHOOT WITH] hardened leather sling steel shot
Lua Error: /mod/class/NPC.lua:67: attempt to index field '?' (a nil value)
At [C]:-1
At /mod/class/NPC.lua:67
At (tail call):-1
At /engine/Map.lua:543 checkEntity
At /engine/Tooltip.lua:90 displayAtMap
At /mod/class/Game.lua:369
Lua Error: /mod/class/NPC.lua:67: attempt to index field '?' (a nil value)
At [C]:-1
At /mod/class/NPC.lua:67
At (tail call):-1
At /engine/Map.lua:543 checkEntity
At /engine/Tooltip.lua:90 displayAtMap
At /mod/class/Game.lua:369
Lua Error: /mod/class/NPC.lua:67: attempt to index field '?' (a nil value)
At [C]:-1
At /mod/class/NPC.lua:67
At (tail call):-1
At /engine/Map.lua:543 checkEntity
At /engine/Tooltip.lua:90 displayAtMap
At /mod/class/Game.lua:369
Lua Error: /mod/class/NPC.lua:67: attempt to index field '?' (a nil value)
At [C]:-1
At /mod/class/NPC.lua:67
At (tail call):-1
At /engine/Map.lua:543 checkEntity
At /engine/Tooltip.lua:90 displayAtMap
At /mod/class/Game.lua:369
Code: Select all
[LOG] Bruzz uses Steady Shot.
USING table: 0x84cb1b0 Steady Shot
[SHOOT WITH] hardened leather sling steel shot
Lua Error: /mod/class/NPC.lua:67: attempt to index field '?' (a nil value)
At [C]:-1
At /mod/class/NPC.lua:67
At (tail call):-1
At /engine/Map.lua:543 checkEntity
At /engine/Tooltip.lua:90 displayAtMap
At /mod/class/Game.lua:369
92 ticks in 10.685 seconds = 8.6102 TPS
Lua Error: /mod/class/NPC.lua:67: attempt to index field '?' (a nil value)
At [C]:-1
At /mod/class/NPC.lua:67
At (tail call):-1
At /engine/Map.lua:543 checkEntity
At /engine/Tooltip.lua:90 displayAtMap
At /mod/class/Game.lua:369
Lua Error: /mod/class/NPC.lua:67: attempt to index field '?' (a nil value)
At [C]:-1
At /mod/class/NPC.lua:67
At (tail call):-1
At /engine/Map.lua:543 checkEntity
At /engine/Tooltip.lua:90 displayAtMap
At /mod/class/Game.lua:369
Lua Error: /mod/class/NPC.lua:67: attempt to index field '?' (a nil value)
At [C]:-1
At /mod/class/NPC.lua:67
At (tail call):-1
At /engine/Map.lua:543 checkEntity
At /engine/Tooltip.lua:90 displayAtMap
At /mod/class/Game.lua:369
Lua Error: /mod/class/NPC.lua:67: attempt to index field '?' (a nil value)
At [C]:-1
At /mod/class/NPC.lua:67
At (tail call):-1
At /engine/Map.lua:543 checkEntity
At /engine/Tooltip.lua:90 displayAtMap
At /mod/class/Game.lua:369
Lua Error: /mod/class/NPC.lua:67: attempt to index field '?' (a nil value)
At [C]:-1
At /mod/class/NPC.lua:67
At (tail call):-1
At /engine/Map.lua:543 checkEntity
At /engine/Tooltip.lua:90 displayAtMap
At /mod/class/Game.lua:369
... and so on