Page 1 of 1

In game User Interface / menus malfuntion.

Posted: 14 Mar 2013, 22:48
by BloodOnIce
So yesterday I opened up Spring Lobby and I installed the update. I then tried to get into an online game with my friend. His connection is a bit slower than mine so I have to wait for him to connect. At this point, I remember reading the keyboard layout thing on the Spring Website when I got the update. So I pressed F5 and ctrl+F5 several times looking at the "cool camera mode." (ctrl+F5 = different camera mode. F5= interface disappears while held down).

The game started and I noticed the menus and user interface was completely messed up. I cannot see unit ETA times, or health bars. The menus are transparent except for the words and the build menus look chunky and (this is the worst part) there are no arrows to shift through the menus. As a result, I cannot build Anti Air Towers or Point defense. I have attatched 2 pictures, one while my friend is connecting, and one in game.

Yes, I have tried pressing F5 and ctrl+F5 again. They did not solve the problem. I have restarted both my computer and the Spring Lobby. I have not found any forums reporting a similar problem.

ALSO, I have installed the update on my laptop, which was previously unable to run BA in a playable manner, but now it works fine. The interface/menus on my laptop are fine.

This issue occurs in both singleplayer and multiplayer.
I am running BA on spring lobby. See the 3rd post for inflolog.txt

Thank you.

Re: In game User Interface / menus malfuntion.

Posted: 14 Mar 2013, 22:53
by gajop
It's usually important to mention the exact game that you are having issues with, and it's crucial to post your infolog.txt.
Judging from your screenshots, it seems that you are using BA, and it's likely that you tweaked the lua interface or something like that, however we need the infolog for further assistance.

You can always reset your lua config by deleting the cache and other configuration files...

Re: In game User Interface / menus malfuntion.

Posted: 14 Mar 2013, 23:10
by BloodOnIce
gajop wrote:It's usually important to mention the exact game that you are having issues with, and it's crucial to post your infolog.txt.
Judging from your screenshots, it seems that you are using BA, and it's likely that you tweaked the lua interface or something like that, however we need the infolog for further assistance.

You can always reset your lua config by deleting the cache and other configuration files...
Yes. BA from the Spring Lobby.
Thank you for the constructive critisicsm. This is my first post.

The info log is attatched.

Re: In game User Interface / menus malfuntion.

Posted: 14 Mar 2013, 23:12
by BloodOnIce
I am such a dunce. I should have just attatched the infolog.txt as an attatchment.
I will be sure to avoid that mistake in the future.

Re: In game User Interface / menus malfuntion.

Posted: 14 Mar 2013, 23:25
by gajop
BloodOnIce wrote:I am such a dunce. I should have just attatched the infolog.txt as an attatchment.
I will be sure to avoid that mistake in the future.
or do it in the present by editing your post and linking to a pastebin or sth

Re: In game User Interface / menus malfuntion.

Posted: 15 Mar 2013, 00:43
by BloodOnIce
gajop wrote:
BloodOnIce wrote:I am such a dunce. I should have just attatched the infolog.txt as an attatchment.
I will be sure to avoid that mistake in the future.
or do it in the present by editing your post and linking to a pastebin or sth
Thank you for your patience. I have editted and attatched it to my previous post.

Re: In game User Interface / menus malfuntion.

Posted: 15 Mar 2013, 00:59
by SpliFF
The error is here:

Code: Select all

[f=0000000] Using LUAUI_DIRNAME = LuaUI/
[f=0000000] Reloaded ctrlpanel from file: LuaUI/ctrlpanel.txt
[f=0000000] LuaUI: bound F11 to the widget selector
[f=0000000] LuaUI: bound CTRL+F11 to tweak mode
[f=0000000] Error: Lua LoadCode pcall error = 0, luaui.lua, error = 2, LuaUI/bawidgets.lua, [string "LuaUI/bawidgets.lua"]:240: attempt to index a nil value
Line 240 of bawidgets is where widget files are being loaded (parsed/compiled).

This indicates a broken widget, possibly one that isn't returning a correct table for GetInfo() or that's doing something bad during loading. I suggest going into your LuaUI/ folder and removing ALL widgets, then add them back one by one until you find the problem widget.

The error is happening during widget loading so it's stopping all the other widgets from loading (hence your missing/broken layout).

Re: In game User Interface / menus malfuntion.

Posted: 15 Mar 2013, 01:02
by abma
[f=0000000] Error: Lua LoadCode pcall error = 0, luaui.lua, error = 2, LuaUI/bawidgets.lua, [string "LuaUI/bawidgets.lua"]:240: attempt to index a nil value
no clue why this happens, but it looks like a game bug for me...

Re: In game User Interface / menus malfuntion.

Posted: 15 Mar 2013, 01:07
by BloodOnIce
abma wrote:
[f=0000000] Error: Lua LoadCode pcall error = 0, luaui.lua, error = 2, LuaUI/bawidgets.lua, [string "LuaUI/bawidgets.lua"]:240: attempt to index a nil value
no clue why this happens, but it looks like a game bug for me...
What do you suggest I do?

Re: In game User Interface / menus malfuntion.

Posted: 15 Mar 2013, 01:08
by SpliFF
I agree, highly unlikely to be an issue with Spring 93.0 per-se. The real issue (other than the broken widget) is that widgetHandler:LoadConfigData() has poor error handling. It should be reporting which widget file failed load or provide valid data and why.

@BloodOnIce: I just told you, clear out all your old widgets in:

C:\Program Files\Spring\LuaUI\
C:\Users\Tristan\Documents\My Games\Spring\LuaUI\
C:\ProgramData\Spring\LuaUI\

Re: In game User Interface / menus malfuntion.

Posted: 15 Mar 2013, 01:42
by BloodOnIce
SpliFF wrote:I agree, highly unlikely to be an issue with Spring 93.0 per-se. The real issue (other than the broken widget) is that widgetHandler:LoadConfigData() has poor error handling. It should be reporting which widget file failed load or provide valid data and why.

@BloodOnIce: I just told you, clear out all your old widgets in:

C:\Program Files\Spring\LuaUI\
C:\Users\Tristan\Documents\My Games\Spring\LuaUI\
C:\ProgramData\Spring\LuaUI\
Ok. I went an removed all Lua files from the first 2 selections, and i even went into the subfolders to look for more.
There was NOTHING in the ProgramData\Spring file, even when i enabled the ability to see hidden files.
I started the game up and there was some improvement. Some. I was able to move through the menu, and it was no longer transparent. That was the only visible difference. I still lack most of the other features.
infolog + screenshot attatched

Thank you all for your help! :-)

Re: In game User Interface / menus malfuntion.

Posted: 15 Mar 2013, 03:37
by SpliFF
Sorry, I gave you bad instructions. I wanted you to remove widgets but not all files under LuaUI/ are widgets. What I meant for you to remove was everything under LuaUI/Widgets/ !

To restore your LuaUI to the right state please reinstall Spring.

Thye C:\ProgramData path is listed as one of your "data directories" (see top of infolog). If it doesn't exist there's no harm but if you have that hardcoded into your spring config you could remove it. If it isn't there it must be an automatic thing but it isn't a problem either way.

Re: In game User Interface / menus malfuntion.

Posted: 16 Mar 2013, 21:33
by BloodOnIce
I unistalled spring. Then reinstalled it. And that magically fixed it. And even though i uninstalled all my maps, it brought them back!
I should have tried this first.

Thank you for your help. :o

Re: In game User Interface / menus malfuntion.

Posted: 17 Mar 2013, 03:51
by Forboding Angel
No, the fact that you deleted your widgets fixed it, not reinstalling spring. You had to reinstall spring because you nuked your entire luaui folder, which would cause no end of issues.