Page 1 of 1

Where'd my stuff go?

Posted: 18 Apr 2007, 01:10
by Zoy64
When i turn the widgets on, i lose my Resource Bar and my messages. Where'd they go?
And how do i make the things i want work, i.e. i'll get the Ice stuff, but it's not there.

Posted: 18 Apr 2007, 08:22
by KDR_11k
I've had those disappear in midgame in Gundam twice, some widget crashed out with a nullpointer exception and killed the whole Lua UI.

Posted: 18 Apr 2007, 14:58
by Zoy64
no, i mean that they were gone at the beginning of the game

Posted: 18 Apr 2007, 15:20
by chlue
The usual reason for that, I encounterd during scripting on the idlebuilder2 widget was, that a widget has an error and creates a lot of error messages.

I you encounter this problem, open the file infolog.txt in your spring directory after the game. Look for lines like this:

Code: Select all

LuaUI: error = 1, DrawScreenItems, [string "LuaUI\Widgets\UnitGroups3.lua"]:659: attempt to call field `UnitDef' (a nil value)
(this error happends if your use the current widget with an svn build)

You can see the widget with the filename UnitGroups3.lua caused an error in line 659. Usually this errors ocour multiple times a second and the file infolog.txt can be very big.

You should disable the widget (either ingame or if you have trouble with that change the file \LuaUI\Config\widget_order.lua. A Zero means the widget is disabled) AND contact the author of the widget by either writing a post in this Forum or at least leaving a note on uf. This way the widget can be fixed. Don't forget to include a short descrition how to reproduce the error or, if you understand it, tell what is wrong.

Posted: 18 Apr 2007, 15:26
by Zoy64
i just dont know what widget is causing this, it just happened. Like it's a part of the LUA thing in general

Posted: 18 Apr 2007, 16:32
by chlue
chlue wrote:I you encounter this problem, open the file infolog.txt in your spring directory after the game. Look for lines like this: ...
Did you tried this?

Posted: 19 Apr 2007, 01:33
by Zoy64

Code: Select all

Using script GlobalAI test (AAI.dll)
Map: SpeedMetal.smf
Mod: "XTA v8.1" from XTAPE.sd7
You are missing an OpenGL extension needed to use shadowmaps (fragment_program_shadow)
Number of damage types: 5
Spring 0.74b3
Reloaded ctrlpanel with: LuaUI/ctrlpanel.txt
LuaUI: bound F11 to the widget selector
LuaUI: bound CTRL+F11 to tweak mode
LuaUI v0.1
Player no name joined as 0
AI\Bot-libs\AAI.dll has C++ interface
GlobalAI1: land map detected
GlobalAI1: AAI loaded
User exited
Path cache hits 0 0%
Path cache hits 0 0%
all i got was this
(dont mind the AI :wink: )