Game Development Community

TGEA 1.7.0 Beta 2 Bug - GUI Editor

by Stephan Goebels · in Torque Game Engine Advanced · 03/29/2008 (12:20 pm) · 6 replies

Well the GUI - Editor is in the Atlas Demo, Forge Demo and TGE DEMO Advance not ok, look for example to the "Toggle Palette". The GUI Editor in the Stronghold DEMO and T3D DEMO is ok.

Also it is possible to crash the Atlas Demo, Forge Demo and TGE DEMO Advance with open and closing the GUI Editor.

Windows XP. Latest DirectX (WEB March 2008) and Drivers 69.21: Nvidia 7800GS.

console.log ATLAS DEMO

GFXPCD3D9Device::reset - depthstencil 418d260 has 2 ref's
--- Resetting D3D Device ---
ClipMap::texCB - took 16 ms to fill clipmap after zombification.
Win32Window::WindowProc - resetting device due to window size change.
GFXPCD3D9Device::reset - depthstencil 9920de0 has 2 ref's
--- Resetting D3D Device ---
ClipMap::texCB - took 32 ms to fill clipmap after zombification.
Win32Window::WindowProc - resetting device due to window size change.
GFXPCD3D9Device::reset - depthstencil 418d180 has 2 ref's
--- Resetting D3D Device ---
ClipMap::texCB - took 15 ms to fill clipmap after zombification.
Debug render modes only available when running a Debug build.
Win32Window::WindowProc - resetting device due to window size change.
Set::getObject index out of range.
Set::getObject index out of range.
Set::getObject index out of range.
Set::getObject index out of range.
extent is 640 480
Win32Window::WindowProc - resetting device due to window size change.
tools/guiEditor/scripts/guiEditorCanvas.ed.cs (139): MenuBar::removeFromCanvas - wrong number of arguments.
tools/guiEditor/scripts/guiEditorCanvas.ed.cs (139): usage: ()
tools/guiEditor/scripts/guiEditorCanvas.ed.cs (32): Unknown command menuGroup.
Object GuiEditorGui(2061) GuiEditorGui -> GuiControl -> SimGroup -> SimSet -> SimObject
Win32Window::WindowProc - resetting device due to window size change.
Set::getObject index out of range.
Set::getObject index out of range.
Set::getObject index out of range.
Set::getObject index out of range.
extent is 640 480
Win32Window::WindowProc - resetting device due to window size change.
tools/guiEditor/scripts/guiEditorCanvas.ed.cs (139): MenuBar::removeFromCanvas - wrong number of arguments.
tools/guiEditor/scripts/guiEditorCanvas.ed.cs (139): usage: ()
tools/guiEditor/scripts/guiEditorCanvas.ed.cs (32): Unknown command menuGroup.
Object GuiEditorGui(2061) GuiEditorGui -> GuiControl -> SimGroup -> SimSet -> SimObject
Win32Window::WindowProc - resetting device due to window size change.
Set::getObject index out of range.
Set::getObject index out of range.
Set::getObject index out of range.
Set::getObject index out of range.
Win32Window::WindowProc - resetting device due to window size change.
tools/guiEditor/scripts/guiEditorCanvas.ed.cs (139): MenuBar::removeFromCanvas - wrong number of arguments.
tools/guiEditor/scripts/guiEditorCanvas.ed.cs (139): usage: ()
tools/guiEditor/scripts/guiEditorCanvas.ed.cs (32): Unknown command menuGroup.
Object GuiEditorGui(2061) GuiEditorGui -> GuiControl -> SimGroup -> SimSet -> SimObject
Win32Window::WindowProc - resetting device due to window size change.
Set::getObject index out of range.
Set::getObject index out of range.
Set::getObject index out of range.
Set::getObject index out of range.
Win32Window::WindowProc - resetting device due to window size change.
tools/guiEditor/scripts/guiEditorCanvas.ed.cs (139): MenuBar::removeFromCanvas - wrong number of arguments.
tools/guiEditor/scripts/guiEditorCanvas.ed.cs (139): usage: ()
tools/guiEditor/scripts/guiEditorCanvas.ed.cs (32): Unknown command menuGroup.

#1
03/29/2008 (12:20 pm)
Console.log FROG DEMO

pushDialog(): Invalid control: HelpDlg
Debug render modes only available when running a Debug build.
Win32Window::WindowProc - resetting device due to window size change.
Set::getObject index out of range.
Set::getObject index out of range.
Set::getObject index out of range.
Set::getObject index out of range.
extent is 640 480
sgDRLSurfaceChain::sgPrepChain - allocating 640x480px surface.
sgDRLSurfaceChain::sgPrepChain - allocating 160x120px surface.
sgDRLSurfaceChain::sgPrepChain - allocating 40x30px surface.
sgDRLSurfaceChain::sgPrepChain - allocating 10x7px surface.
sgDRLSurfaceChain::sgPrepChain - allocating 2x1px surface.
sgDRLSurfaceChain::sgPrepChain - allocating 1x1px surface.
GlowBuffer (3e7e8d0) - Resizing glow texture to be 640x480px
sgDRLSurfaceChain::sgPrepChain - allocating 800x600px surface.
sgDRLSurfaceChain::sgPrepChain - allocating 200x150px surface.
sgDRLSurfaceChain::sgPrepChain - allocating 50x37px surface.
sgDRLSurfaceChain::sgPrepChain - allocating 12x9px surface.
sgDRLSurfaceChain::sgPrepChain - allocating 3x2px surface.
sgDRLSurfaceChain::sgPrepChain - allocating 1x1px surface.
GlowBuffer (3e7e8d0) - Resizing glow texture to be 800x600px
sgDRLSurfaceChain::sgPrepChain - allocating 1024x768px surface.
sgDRLSurfaceChain::sgPrepChain - allocating 256x192px surface.
sgDRLSurfaceChain::sgPrepChain - allocating 64x48px surface.
sgDRLSurfaceChain::sgPrepChain - allocating 16x12px surface.
sgDRLSurfaceChain::sgPrepChain - allocating 4x3px surface.
sgDRLSurfaceChain::sgPrepChain - allocating 1x1px surface.
GlowBuffer (3e7e8d0) - Resizing glow texture to be 1024x768px
GuiListBoxCtrl::getItemText - index out of range!
parse error
Win32Window::WindowProc - resetting device due to window size change.
tools/guiEditor/scripts/guiEditorCanvas.ed.cs (139): MenuBar::removeFromCanvas - wrong number of arguments.
tools/guiEditor/scripts/guiEditorCanvas.ed.cs (139): usage: ()
tools/guiEditor/scripts/guiEditorCanvas.ed.cs (32): Unknown command menuGroup.
Object GuiEditorGui(2167) GuiEditorGui -> GuiControl -> SimGroup -> SimSet -> SimObject
sgDRLSurfaceChain::sgPrepChain - allocating 1280x1024px surface.
sgDRLSurfaceChain::sgPrepChain - allocating 320x256px surface.
sgDRLSurfaceChain::sgPrepChain - allocating 80x64px surface.
sgDRLSurfaceChain::sgPrepChain - allocating 20x16px surface.
sgDRLSurfaceChain::sgPrepChain - allocating 5x4px surface.
sgDRLSurfaceChain::sgPrepChain - allocating 1x1px surface.
#2
03/30/2008 (7:09 pm)
The "Toggle Palette" button problem is a minor thing that is caused by the custom default GUI profiles (in game/scriptsAndAssets/client/ui/customProfiles.cs) that ForgeDemo and the others are using. For some reason, they are setting the bitmap property to "./demoWindow" instead of leaving it empty. Simply change that to the empty string to correct the problem.

As for the crash thing when toggling the GUI editor, I couldn't replicate the problem. Works fine for me even if toggling in and out like mad.
#3
04/02/2008 (12:15 pm)
I looked into the game/scriptsAndAssets/client/ui/customProfiles.cs of the Stronghold DEMO and T3D DEMO, the setting of the bitmap is also ./demoWindow, but
the "Toggle Palette" button works in the GUI editor?

But when this is only a minor problem, why is it then not cleared?

What shall we learn from a faulty example, the faults to clear?
#4
04/02/2008 (12:18 pm)
Quote:
But when this is only a minor problem, why is it then not cleared?

What shall we learn from a faulty example, the faults to clear?

I don't mean to be disrespectful, but we're still in beta. I'm sure this is logged, and either being looked at, or will be documented. As you noted, it's a very trivial fix, and will probably be fixed before the final.
#5
04/02/2008 (12:30 pm)
Didn't mean to offend you, Stephan. Sorry.

You sure Stronghold has this problem? Doesn't for me.

The reason for the different behavior seems to be the nature of the different "demoWindow.png" images. Those demos that show the problem lack the necessary transparent areas.
#6
04/02/2008 (1:12 pm)
No problem in the Stronghold DEMO and T3D DEMO, with the GUI editor and the "Toggle Palette" button.

Quote:Didn't mean to offend you, Stephan. Sorry.

No problem, I have a thick fur. ;-)

I find the examples are good to the study suitably.