Page 1 of 1

[Bug] Picking up scrolls crashes editor

Posted: Sun Sep 30, 2012 5:33 pm
by Ixnatifual
If I put the item scroll_poison_shield in and test the dungeon through the editor, it crashes when I open the inventory and attempt to place the item there.

The crash can also occur when removing a spell scroll from a container. It's not restricted to the Poison Shield scroll, either. This seems a relatively new bug as it didn't used to be a problem.

Code: Select all

[string "ToolTip.lua"]:0: attempt to index field 'recipe' (a nil value)
stack traceback:
	[string "ToolTip.lua"]: in function 'drawToolTip'
	[string "ToolTip.lua"]: in function 'update'
	[string "Gui.lua"]: in function 'draw'
	[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: 8
Page size: 4096
Processor type: 586

Total memory: 4078 MB
Free memory: 867 MB

Display device 0:
  Device name: \\.\DISPLAY1
  Device string: NVIDIA GeForce GTX 560 
  State flags: 00000005

Display device 1:
  Device name: \\.\DISPLAY2
  Device string: NVIDIA GeForce GTX 560 
  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


Re: [Bug] Picking up scrolls crashes editor

Posted: Sun Sep 30, 2012 5:37 pm
by Neikun
This is a known bug.

Re: [Bug] Picking up scrolls crashes editor

Posted: Sun Sep 30, 2012 5:58 pm
by Ixnatifual
Yet I don't see it listed?
petri wrote: Known Issues:
- textures & sound are not reloaded even if the project is reloaded (the editor has to be restarted)
- Steam think grimrock process is still running if web browser was launched by selecting Help from menu before shutting down the game
- clicking "resume" from the pause menu throws away the item on the mouse cursor
- if you give setMouseItem() an item that's placed already somewhere on the level, and then player tries to place that item on the ground, the game crashes "item is already placed".
- cloned Orb of Radiance does not glow
- cloned Uggardian does not have the flame effect
- cloned cube crashes the editor
- setMouseItem(spawn("dagger")) and variants do not work from console (scripts work ok)

Re: [Bug] Picking up scrolls crashes editor

Posted: Sun Sep 30, 2012 6:04 pm
by Neikun
They took the weekend off lol

Here's Petri's acknoledgement of it.
viewtopic.php?f=14&t=3407

Re: [Bug] Picking up scrolls crashes editor

Posted: Sun Sep 30, 2012 6:52 pm
by Ixnatifual
Neikun wrote:They took the weekend off lol
I don't recall them asking our permission? :mrgreen: