Page 2 of 2

Posted: 09 May 2007, 18:54
by jackalope
FEATURE REQUEST:

can you make it so that if a builder is idle more than 5 seconds a marker is placed on him that says "lol, nice micro (playername)" or "gg idlebuilder" etc?

Posted: 09 May 2007, 19:34
by KDR_11k
trepan wrote:How about feeding those stacktraces to the devs? ;-)
(especially if you have already run them through the converter)
I actually can't remember why I didn't.

Posted: 10 May 2007, 02:04
by chlue
I changed a lot of the internal behavior. No new features, but if this widget really could cause spring to crash, then the chance should be a lot lower now.

There are possible some bugs left, so I need player who try it out and post the eventual errors here.

Image

jackalope your request is a joke? Or do you really wan't a widget that insults the player??

Posted: 10 May 2007, 19:21
by NOiZE
chlue wrote:jackalope your request is a joke? Or do you really wan't a widget that insults the player??
yes please.

Posted: 23 May 2007, 20:08
by ginekolog
chlue wrote:
ginekolog wrote:This one does not work for me, so i still use rays script. When i deactivate rays and turn on yours, it just does nothing. No indication of idlers.

Doing sth wrong here?
If there is something wrong with your config, you can try deleting the file '\LuaUI\Config\widget_data.lua'. If you do this you will lose at least the configuration of the widgets 'FPS' and 'Message Separator', too. So you should make a backup of this file if you use a lot of other widgets.
ty, deleting \LuaUI\Config\widget_data.lua' made it working. Its nice... is it heavier on cpu than ray's?

Posted: 17 Jul 2007, 12:55
by Dihi
This does not seem to work in .75 for me. Is anyone else experiencing this? Any chance of an update? :)

Posted: 17 Jul 2007, 13:21
by chlue
Dihi wrote:This does not seem to work in .75 for me. Is anyone else experiencing this? Any chance of an update? :)
I didn't find the nerve to try to get spring working under linux since I switched to it. I have a version that worked with the svn build from april. You can try if it works with the current release, too. I will look into it the next days.

version that worked in april

Posted: 17 Jul 2007, 21:52
by vital
nop, this version don't load. I hope you'll find time to update that very usefull widget

Posted: 18 Jul 2007, 14:51
by chlue
Ok I tried to fix the problems.

So far the main part of the widgets seem to be working again.

What does not work:
- select nearst unit of this category
- the autobuild stuff is broken (guarding of factories works)

I didn't understand what happend to "Spring.GetCameraPos()". It is still in the api.txt, but does not work anymore. When anyone tell me how to replace this command the "select nearst unit of this category" will work again.

You can download IdleBuilder 2.3 BETA here.

I didn't test it in a real game, so there a probalby more errors. If you encounter one, please post the linenumber (if you are nice with a short description why and when) here. The errormessages can be found in the file "infolog.txt". As mentionend about, I am currently aware of this error.

Code: Select all

[string "LuaUI\Widgets\gui_idle_builders2.lua"]:480: attempt to call field 'GetCameraPos' (a nil value)

Posted: 18 Jul 2007, 15:09
by Kloot
That function was renamed to GetCameraPosition() IIRC.

Posted: 18 Jul 2007, 15:44
by Dragon45
have it insult player plz.

Posted: 22 Jul 2007, 16:08
by ZellSF
Make it moveable, that'd be much more interesting than insults.

edit: also fix right click? or just disable it?

Posted: 23 Jul 2007, 02:22
by chlue
Ok I uploaded the last version as 2.3 to uf. The autobuild stuff is still broken, but I doubt it is usefull anyway. I changed the widget name, so it will create a new config. If you wan't to use your old config, you have to change "widget_data.lua", but we warned if your old config include some autobuild stuff, strange things might occur.

@ Kloot: Yes GetCameraPosition() works, thanks.
@ Dragon45: request reviewed and denied 8)
@ ZellSF > "Make it moveable":
The widget centers itself horizontal on the screen (If you want to mess with the centering, you currently need to change line 186). If you want to change the vertical placement, this is allready possible. Just enter: /luaui v_pos <new spacing from bottom>. So if you enter "/luaui 100" ingame, the widget will start 100px from the bottom of the screen. Making it freely moveable will be a bit tricky, because the widget changes its dimensions dynamical. Do you need more controll?

Image

Posted: 23 Jul 2007, 08:03
by KDR_11k
Your goal should be tweakmode support.

Posted: 23 Jul 2007, 15:31
by ZellSF
chlue wrote:Ok I uploaded the last version as 2.3 to uf. The autobuild stuff is still broken, but I doubt it is usefull anyway. I changed the widget name, so it will create a new config. If you wan't to use your old config, you have to change "widget_data.lua", but we warned if your old config include some autobuild stuff, strange things might occur.

@ Kloot: Yes GetCameraPosition() works, thanks.
@ Dragon45: request reviewed and denied 8)
@ ZellSF > "Make it moveable":
The widget centers itself horizontal on the screen (If you want to mess with the centering, you currently need to change line 186). If you want to change the vertical placement, this is allready possible. Just enter: /luaui v_pos <new spacing from bottom>. So if you enter "/luaui 100" ingame, the widget will start 100px from the bottom of the screen. Making it freely moveable will be a bit tricky, because the widget changes its dimensions dynamical. Do you need more controll?

Image
Moving would still work, look at the (buggy) buildbar widget. Though, changing vertical position is good enough for me atm.

I would like a way to change alignment though (choose if new icons appear on the right, left or as they do now)

Re: Widget: IdleBuilder 2

Posted: 01 Aug 2009, 15:06
by el_matarife
Can anyone take a look at this widget to figure out why it crashes sometimes?