healthbars widget (v7) *Jan. 4 08* - Page 4

healthbars widget (v7) *Jan. 4 08*

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

Moderator: Moderators

User avatar
TechnoTone
Posts: 165
Joined: 23 Aug 2005, 22:02

Post by TechnoTone »

For nubs like me who are often stalling the ETA is very erratic. Perhaps if it wasn't so sensitive to small fluctuations I would like it but as it stands I personally prefer the % indicator.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

Adding a variable at the top of the lua file is fine for lua coders or those code orientated people but its not something the average user will do.
User avatar
Dihi
Posts: 24
Joined: 13 Feb 2007, 23:01

Post by Dihi »

Not sure what is going on with healthbars since my last install of spring, but this widget now only seems to display healthbars for stuff that is being built and not for normal units . :s

I have reverted to using the standard healthbars, which is a shame because I really liked these shineh new LUA ones :roll:
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post by rattle »

Get rid of the config file where widget settings are stored and it should work again.
User avatar
Dihi
Posts: 24
Joined: 13 Feb 2007, 23:01

Post by Dihi »

Thanks for the reply. I reinstalled spring and it didn't work :( Maybe I will try an older version

EDIT: I am running under linux, that shouldn't make a difference, should it?
MelTraX
Posts: 470
Joined: 02 Jan 2007, 16:18

Post by MelTraX »

Are you talking about the fact that only damaged units get a health bar now?
User avatar
Dihi
Posts: 24
Joined: 13 Feb 2007, 23:01

Post by Dihi »

DOH! I just realised that about 1 minute ago. I'm sure it used to show them all the time lol.

Please ignore my ramblings :roll:
MelTraX
Posts: 470
Joined: 02 Jan 2007, 16:18

Post by MelTraX »

It did.. Not since last update though.. And I really like it :)
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post by rattle »

S44's russian units make it crash quite a lot. Or the germans. Not sure really.
User avatar
Neddie
Community Lead
Posts: 9406
Joined: 10 Apr 2006, 05:05

Post by Neddie »

rattle wrote:S44's russian units make it crash quite a lot. Or the germans. Not sure really.
It seems like it appears with all sides, which probably means it is an issue with the number of instances rather than a particular formulation of unit, hence an issue with the widget rather than the game content.
User avatar
Neddie
Community Lead
Posts: 9406
Joined: 10 Apr 2006, 05:05

Post by Neddie »

Of course, I have yet to test it with this version, jK, so you may not need to frantically look over your scripting yet...
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post by rattle »

It was happening in a replay you posted which eventually crashed. Didn't happen again, not sure if it's totally gone now though. Did a quick .give all on the latest S44 version and it was fine again.
User avatar
Pressure Line
Posts: 2283
Joined: 21 May 2007, 02:09

Post by Pressure Line »

Code: Select all

[string "LuaUI\Widgets\unit_healthbars.lua"]:414: attempt to perform arithmetic on field 'height' (a nil value)
BOTA 1.3. i didnt even think that was possible for 3do units, since the height is autogenerated iirc...
User avatar
NOiZE
Balanced Annihilation Developer
Posts: 3984
Joined: 28 Apr 2005, 19:29

Post by NOiZE »

This widget is broken in the SVN version of Spring, I tested with 4933.
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Re: healthbars widget (v6.1)

Post by LordMatt »

User avatar
Peet
Malcontent
Posts: 4384
Joined: 27 Feb 2006, 22:04

Re: healthbars widget (v6.1)

Post by Peet »

Yes, new version for new spring plx
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Re: healthbars widget (v6.1)

Post by KDR_11k »

I always had it die with a complaint about "col2". Already did that when I was testing in SVN.
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: healthbars widget (v7) *Jan. 4 08*

Post by jK »

meh, hates `new` unknown-files and i dislike to upload anything to there.
The widget was updated in CA several times during the last uf-update.

So the best way is to delete any local copy and playing CA :twisted:
User avatar
LOrDo
Posts: 1154
Joined: 27 Feb 2006, 00:21

Re: healthbars widget (v7) *Jan. 4 08*

Post by LOrDo »

So the only way we can get a new version is through CA? Thats rather silly...
User avatar
KingRaptor
Zero-K Developer
Posts: 838
Joined: 14 Mar 2007, 03:44

Re: healthbars widget (v7) *Jan. 4 08*

Post by KingRaptor »

You can get the file from the CA source without having to download CA.

http://caspring.org/browser/trunk/mods/ ... thbars.lua
Post Reply

Return to “Lua Scripts”