random crashes on save load (&random poison damage)
Posted: Thu Sep 27, 2012 3:33 pm
I'm getting desperate. I get these random crashes on one of my dungeon levels when I load my game or sometimes when I enter that particular level. I don't do anything particular to cause the crash, it can happen on the first steps of the dungeon if I load a game or sometimes I can play quite a long in that level for the crash to occur. I get the following error message:
I don't even understand what that error message means. Something to do with torch holders I presume.. but is it some sort of bug or is the cause in my dungeon? There is nothing in that level that is related to torch holders, I mean script or mechanism wise, only torch holders placed to map normally in the editor. Only script that has something to do with torches is one level below it, but this crash occurs even if I remove the whole script, and the crash doesn't never occur anywhere else.
On unrelated other bugging matter: My characters on that dungeon take randomly poison damage here and there. I'm trying to pin point is there some elements that make it happen, but at the moment it seems completely random. Does anyone else had similar problems?
SpoilerShow
[string "TorchHolder.lua"]:0: attempt to compare number with nil stack traceback:
[string "TorchHolder.lua"]: in function 'update'
[string "Map.lua"]: in function 'updateEntities'
[string "Dungeon.lua"]: in function 'updateLevels'
[string "GameMode.lua"]: in function 'update'
[string "Grimrock.lua"]: in function 'display'
[string "Grimrock.lua"]: in main chunk
OS Version 6.1
OEM ID: 0
Number of processors: 4
Page size: 4096
Processor type: 586
Total memory: 3949 MB
Free memory: 1929 MB
Display device 0:
Device name: \\.\DISPLAY1
Device string: NVIDIA GeForce GT 330M
State flags: 00000005
Display device 1:
Device name: \\.\DISPLAY2
Device string: NVIDIA GeForce GT 330M
State flags: 00000000
Display device 2:
Device name: \\.\DISPLAYV1
Device string: RDPDD Chained DD
State flags: 00000008
Display device 3:
Device name: \\.\DISPLAYV2
Device string: RDP Encoder Mirror Driver
State flags: 00200008
Display device 4:
Device name: \\.\DISPLAYV3
Device string: RDP Reflector Display Driver
State flags: 00200008
[string "TorchHolder.lua"]: in function 'update'
[string "Map.lua"]: in function 'updateEntities'
[string "Dungeon.lua"]: in function 'updateLevels'
[string "GameMode.lua"]: in function 'update'
[string "Grimrock.lua"]: in function 'display'
[string "Grimrock.lua"]: in main chunk
OS Version 6.1
OEM ID: 0
Number of processors: 4
Page size: 4096
Processor type: 586
Total memory: 3949 MB
Free memory: 1929 MB
Display device 0:
Device name: \\.\DISPLAY1
Device string: NVIDIA GeForce GT 330M
State flags: 00000005
Display device 1:
Device name: \\.\DISPLAY2
Device string: NVIDIA GeForce GT 330M
State flags: 00000000
Display device 2:
Device name: \\.\DISPLAYV1
Device string: RDPDD Chained DD
State flags: 00000008
Display device 3:
Device name: \\.\DISPLAYV2
Device string: RDP Encoder Mirror Driver
State flags: 00200008
Display device 4:
Device name: \\.\DISPLAYV3
Device string: RDP Reflector Display Driver
State flags: 00200008
On unrelated other bugging matter: My characters on that dungeon take randomly poison damage here and there. I'm trying to pin point is there some elements that make it happen, but at the moment it seems completely random. Does anyone else had similar problems?