Problems adding widgets

Problems adding widgets

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

Post Reply
LtTrog
Posts: 12
Joined: 16 Feb 2015, 15:20

Problems adding widgets

Post by LtTrog »

Ive downloaded some widgets and put them in the lua folder but i cant find the option in springlobby to enable them.

ive looked at spring settings but can find nothing about enable lua widgets as the website gude said to do any help?
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Problems adding widgets

Post by smoth »

f11 in game to see if they are in your widgets list and you merely click them to enable/disable them.
LtTrog
Posts: 12
Joined: 16 Feb 2015, 15:20

Re: Problems adding widgets

Post by LtTrog »

thanks but already tried that the standard ones that come with BA or what ever game Im using are there but not the ones ive down loaded
User avatar
qray
Posts: 377
Joined: 02 Feb 2009, 18:49

Re: Problems adding widgets

Post by qray »

Did you put them in the folder: ~/.spring/LuaUI/Widgets (meaning specifically in the subfolder "Widgets" of "LuaUI")?
If you're using a static binary (Linux) then you can try to put them in the "LuaUI/Widgets" of the static binary rather than in the standard spring dir in your home folder.
Just to exclude problems with the folder.
LtTrog
Posts: 12
Joined: 16 Feb 2015, 15:20

Re: Problems adding widgets

Post by LtTrog »

your right I didnt have it in the right folder.

that said I still cant get nestled build menus to work the widget has loaded and i have a box in game that says move menu but build menu looks the same and im not getting the categories the widget promised
User avatar
Funkencool
Posts: 542
Joined: 02 Dec 2011, 22:31

Re: Problems adding widgets

Post by Funkencool »

Which widget is this?
User avatar
qray
Posts: 377
Joined: 02 Feb 2009, 18:49

Re: Problems adding widgets

Post by qray »

also: infolog.txt would most probably be helpful (scan for errors when loading widgets etc...)
LtTrog
Posts: 12
Joined: 16 Feb 2015, 15:20

Re: Problems adding widgets

Post by LtTrog »

Nested Buildmenu
LtTrog
Posts: 12
Joined: 16 Feb 2015, 15:20

Re: Problems adding widgets

Post by LtTrog »

how do I generate the txt file for you?

sorry this is all very new to me
User avatar
Funkencool
Posts: 542
Joined: 02 Dec 2011, 22:31

Re: Problems adding widgets

Post by Funkencool »

Where did you get it, would you by any chance have a link to it?

I ask, because I'd need to open the widget myself to give you any more info on why it might not be working. Also all kinds of different versions of widgets are floating around so it's hard to know which version you have; even if you give us the name and we find the widget ourselves.

Edit: You can also get the infolog in springs root folder so it should be /Spring/infolog.txt.
It's automatically generated on each run.
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: Problems adding widgets

Post by Jools »

It's probably not where you expect it to be: look in C:\Users\<User>\Documents\My Games\Spring if using windows, or in home/.spring/ if using linux.
LtTrog
Posts: 12
Joined: 16 Feb 2015, 15:20

Re: Problems adding widgets

Post by LtTrog »

LtTrog
Posts: 12
Joined: 16 Feb 2015, 15:20

Re: Problems adding widgets

Post by LtTrog »

this is the lates infolog
Attachments
infolog.txt
(89.79 KiB) Downloaded 6 times
User avatar
nixtux
TechA Developer
Posts: 100
Joined: 01 Mar 2009, 15:36

Re: Problems adding widgets

Post by nixtux »

Here is updated version http://pastebin.com/JutDsMPC

not fully test just pm if there are anymore problem
LtTrog
Posts: 12
Joined: 16 Feb 2015, 15:20

Re: Problems adding widgets

Post by LtTrog »

yup thats working now thanks a lot for the help
Post Reply

Return to “Lua Scripts”