Re: got a crash in the dungeon editor....
Posted: Mon Oct 08, 2012 11:23 pm
crashing yet again:
ok i have a basically same puzzle in another place in the map that uses the torches and it works without crashing anything...
its code is
any clue beside an editor bug/glitch?
Code: Select all
Problem Event Name: BEX
Application Name: grimrock.exe
Application Version: 0.0.0.0
Application Timestamp: 506c1b28
Fault Module Name: StackHash_299d
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 00000000
Exception Offset: 6c2e6b63
Exception Code: c0000005
Exception Data: 00000008
OS Version: 6.1.7600.2.0.0.256.1
Locale ID: 1040
Additional Information 1: 299d
Additional Information 2: 299d263a4f84577b498f58d992641933
Additional Information 3: 4779
Additional Information 4: 4779cbbbf708b212c0cecee30879567d
its code is
Code: Select all
function portaduomo1open()
if torch_holder_1:hasTorch() == false and
torch_holder_2:hasTorch() == false and
torch_holder_3:hasTorch() == false and
torch_holder_4:hasTorch() == false
then
portaduomo1:open()
else
portaduomo1:close()
end
end