Page 1 of 1

[Beta29 - SVN3839]Triggered error

Posted: Thu Jul 14, 2011 9:30 am
by madmonk
Got this from triggering a trap I assume.

Code: Select all

[LOG]	A bolt of lightning fires onto Bascha!
Lua Error: /engine/Trap.lua:137: attempt to call method 'triggered' (a nil value)
	At [C]:-1 triggered
	At /engine/Trap.lua:137 trigger
	At /engine/Trap.lua:150 check
	At [string "return function(self, x, y, what, ...) local ..."]:1 checkAllEntities
	At /engine/Actor.lua:185 move
	At /mod/class/Actor.lua:538 move
	At /mod/class/Player.lua:179 move
	At /engine/interface/PlayerRun.lua:137 runStep
	At /mod/class/Player.lua:234 act
	At /engine/GameEnergyBased.lua:118 tickLevel
	At /engine/GameEnergyBased.lua:62 tick
	At /engine/GameTurnBased.lua:44 tick
	At /mod/class/Game.lua:778 
 ----------------  Stack Dump ----------------
2: table // b5715de8
1: table // b5715de8
--------------- Stack Dump Finished ---------------
Game recovered and carried on.

Re: [Beta29 - SVN3839]Triggered error

Posted: Thu Jul 14, 2011 9:38 am
by darkgod
Did you copy the savefile from a computer to an other, or at least save & reload before that happened ?
Did you compile it yourself ? using luajit2 or the default vm ?

Re: [Beta29 - SVN3839]Triggered error

Posted: Thu Jul 14, 2011 9:47 am
by madmonk
I compiled myself, posted about compiling under luajit so looking at that too.

This was an existing previous save game (SVN 3828), loaded OK and got this...

Re: [Beta29 - SVN3839]Triggered error

Posted: Thu Jul 14, 2011 12:31 pm
by darkgod
Ah yes switching VMs and loading savefiles *will* break