Page 2 of 4

Re: Beta-1.2.10 now available!

Posted: Tue Sep 25, 2012 5:29 pm
by petri
Komag wrote:
petri wrote:Loading shouldn't be any slower.. Are you sure? (first time start is always slower because the disk cache is empty)
when I start Grimrock and see the menu, when I click Dungeon Editor it used to instantly start the editor. Now it waits approximately 5 seconds with nothing on my Windows desktop, then it starts. When it starts, I see "Loading" (and the gear pic) for less than a second, then the editor is fully loaded, so that part hasn't changed. But I never used to have to wait the 5 seconds.

This happens every time so far, even when I do File-Exit(F4) to go straight back to the game and click Dungeon Editor again. (by the way, I think "Exit" should say "back to Grimrock game" and there should be a "Quit" that does the same as closing the window with red x)

EDIT - well, I tried a full computer restart, and now I don't have the delay anymore!
Ok, one of these things :) let's keep an eye on it in case it returns.

Re: Beta-1.2.10 now available!

Posted: Tue Sep 25, 2012 5:40 pm
by Sol_HSA
petri wrote: - bug fix: editor crashes randomly after about 15 minutes (XAudio2_7.dll_unloaded)
Can you elaborate on this, as it seems to be a recurring bug on other projects; people finding their way here through google would appreciate it.. =)

Re: Beta-1.2.10 now available!

Posted: Tue Sep 25, 2012 5:41 pm
by Montis
Sol_HSA wrote:
petri wrote: - bug fix: editor crashes randomly after about 15 minutes (XAudio2_7.dll_unloaded)
Can you elaborate on this, as it seems to be a recurring bug on other projects; people finding their way here through google would appreciate it.. =)
See here: viewtopic.php?p=33915#p33915

Re: Beta-1.2.10 now available!

Posted: Tue Sep 25, 2012 6:00 pm
by Lilltiger
still no new hooks or "fixes" to the "onPickUpItem" hook :/ not being able to prevent player picking up item from the inventory is a total showstopper for me.

Re: Beta-1.2.10 now available!

Posted: Tue Sep 25, 2012 6:46 pm
by SpacialKatana
Scorcher24 wrote:Woo, destroy() :).
Damn!! We needed that so bad....coolness ahead:D

Thanks guys ;)

Re: Beta-1.2.10 now available!

Posted: Tue Sep 25, 2012 7:02 pm
by Lmaoboat
Lilltiger wrote:still no new hooks or "fixes" to the "onPickUpItem" hook :/ not being able to prevent player picking up item from the inventory is a total showstopper for me.
Have you tried something like this:

Code: Select all

spawn("skull", self.level, self.x, self.y, 3, "skull")
party:getChampion(1):insertItem(31, skull)
function slotcheck()
	if getMouseItem() == skull then
		setMouseItem(null)
		party:getChampion(1):insertItem(31, skull)
	end
	
	if party:getChampion(1):getItem(31) ~= skull then
		setMouseItem(party:getChampion(1):getItem(31))
		party:getChampion(1):removeItem(31)
		party:getChampion(1):insertItem(31, skull)
	end
end
Replace skull with whatever you need to keep, and put the script on a very short timer.

Re: Beta-1.2.10 now available!

Posted: Tue Sep 25, 2012 7:12 pm
by Lmaoboat
Question: how are the torches inside torch holders named? Because I'm not sure how to target them with a script.

Re: Beta-1.2.10 now available!

Posted: Tue Sep 25, 2012 7:27 pm
by SpacialKatana
Editor has crashed twice now when stopping the preview:-

[string "Map.lua"]:0: table index is nil
stack traceback:
[string "Map.lua"]: in function 'registerNode'
[string "Blockage.lua"]: in function 'entityRemovedFromMap'
[string "Map.lua"]: in function 'removeEntity'
[string "Map.lua"]: in function 'destroy'
[string "Dungeon.lua"]: in function 'unload'
[string "DungeonEditor.lua"]: in function 'stopPreview'
[string "DungeonEditor.lua"]: in function 'previewButtons'
[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: 8147 MB
Free memory: 5719 MB

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

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

EDIT : I've tracked down the bug to something I'm testing at the moment...an entity spawned to a closed square :)

Re: Beta-1.2.10 now available!

Posted: Tue Sep 25, 2012 7:41 pm
by Lilltiger
Lmaoboat: i know about that, but that is an realy insanly ugly hack that i refuse to use

Re: Beta-1.2.10 now available!

Posted: Tue Sep 25, 2012 7:44 pm
by petri
SpacialKatana wrote:Editor has crashed twice now when stopping the preview:-
[string "Map.lua"]:0: table index is nil
EDIT : I've tracked down the bug to something I'm testing at the moment...an entity spawned to a closed square :)
This is related to the new destroy() stuff. Will be fixed in next version. Thank you for the bug report!