Crash and Error log

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
Post Reply
Fistchandeles
Posts: 23
Joined: Wed Sep 12, 2012 10:02 pm

Crash and Error log

Post by Fistchandeles »

I was trying to make a trap where you flip a switch to send a monster plummeting to their deaths and it worked, but immediatly the game crashed and gave this error log:

[string "Monster.lua"]:0: attempt to index a nil value
stack traceback:
[string "Monster.lua"]: in function 'update'
[string "Monster.lua"]: in function 'update'
[string "Map.lua"]: in function 'updateEntities'
[string "Dungeon.lua"]: in function 'updateLevels'
[string "GameMode.lua"]: in function 'update'
[string "DungeonEditor.lua"]: in main chunk
[C]: in function 'xpcall'
[string "DungeonEditor.lua"]: in function 'preview'
[string "DungeonEditor.lua"]: in function 'update'
[string "Grimrock.lua"]: in main chunk
stack traceback:
[C]: in function 'error'
[string "DungeonEditor.lua"]: in function 'handleError'
[string "DungeonEditor.lua"]: in function 'preview'
[string "DungeonEditor.lua"]: in function 'update'
[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: 3956 MB
Free memory: 936 MB

Display device 0:
Device name: \\.\DISPLAY1
Device string: AMD Radeon HD 6500M/5600/5700 Series
State flags: 00000005

Display device 1:
Device name: \\.\DISPLAY2
Device string: AMD Radeon HD 6500M/5600/5700 Series
State flags: 08000000

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

Display device 5:
Device name: \\.\DISPLAYV4
Device string: LogMeIn Mirror Driver
State flags: 00000008
User avatar
antti
Posts: 688
Joined: Thu Feb 23, 2012 1:43 pm
Location: Espoo, Finland
Contact:

Re: Crash and Error log

Post by antti »

I managed to reproduce the crash by placing a pit to a dungeon with a single floor only (the user needs to add an extra level below for the monster to fall into). The editor needs to be able to handle the erroneous situation better (eg. no crashing! ;) ).

Thank you for the report!
Steven Seagal of gaming industry
Fistchandeles
Posts: 23
Joined: Wed Sep 12, 2012 10:02 pm

Re: Crash and Error log

Post by Fistchandeles »

Thank you for the quick response. :D

So it should be fixed if I add another floor? Does it need to have a room for the beast to fall into?
User avatar
antti
Posts: 688
Joined: Thu Feb 23, 2012 1:43 pm
Location: Espoo, Finland
Contact:

Re: Crash and Error log

Post by antti »

Fistchandeles wrote:Thank you for the quick response. :D

So it should be fixed if I add another floor? Does it need to have a room for the beast to fall into?
Adding a floor fixes it. A room is not absolutely necessary but recommended.
Steven Seagal of gaming industry
Post Reply