[1.2.3] Player cloned, then bad Lua -> unplayable

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
Snowflake
Wayist
Posts: 26
Joined: Fri Sep 13, 2013 11:29 am

[1.2.3] Player cloned, then bad Lua -> unplayable

#1 Post by Snowflake »

So... not even starting to figure out how this happened, but:

Character (oozemancer) playing in Ruined Dungeon. Suddenly I notice there's a clone of my character standing immobile in a corridor, can't move through him (he's "friendly" but won't budge) so I dig my way around him. Exit to worldmap, come back - it's still there. Try to shoot it dead. Goes into "unknown" health (only ooze spit hits it not oozebeam or acid splash) but won't die. I shrug and leave, kill other stuff.

Come back with autoexplore - BOOM, piles of lua errors as I try to move, and both my icon and the other icon gone. Nothing updates on map when I try to move, 'cepts errors.

Code: Select all

error = "Lua Error: /mod/class/interface/PlayerExplore.lua:926: attempt to perform arithmetic on field 'x' (a nil value)\
  At [C]:-1 __sub\
  At /mod/class/interface/PlayerExplore.lua:926 checkAmbush\
  At /mod/class/interface/PlayerExplore.lua:2643 checkAutoExplore\
  At /engine/interface/PlayerRun.lua:126 runStep\
  At /mod/class/Player.lua:373 act\
  At /engine/GameEnergyBased.lua:126 tickLevel\
  At /engine/GameEnergyBased.lua:62 tick\
  At /engine/GameTurnBased.lua:46 tick\
  At /mod/class/Game.lua:1184 "
seen = true
reported = true
and

Code: Select all

error = "Lua Error: /engine/Actor.lua:238: attempt to perform arithmetic on field 'x' (a nil value)\
  At [C]:-1 __add\
  At /engine/Actor.lua:238 moveDir\
  At /mod/class/Game.lua:1650 \
  At /engine/KeyBind.lua:229 "
seen = true
reported = false
I kill the game, come back, can control my character again, but the other "me" is still there. Looted the place and got the hell out.

I have a copy of the save file folder, if you want some file from it.

Marson
Uruivellas
Posts: 645
Joined: Thu Jan 16, 2014 4:56 am

Re: [1.2.3] Player cloned, then bad Lua -> unplayable

#2 Post by Marson »

My AWOL addon can remove clones. They are often not copies, but actually your character standing in two places, so attacking them can kill you.

Post Reply