[widget collection]fix for unit heights prebuffering

[widget collection]fix for unit heights prebuffering

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

Moderator: Moderators

Post Reply
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

[widget collection]fix for unit heights prebuffering

Post by jK »

For all those ppl, who's spring is loading too slow if they use the HealthBars, DisplayDPS, BuildETA or XP widgets.

Image
Last edited by jK on 17 Nov 2007, 22:39, edited 5 times in total.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Post by Forboding Angel »

Kick ass! Thanks JK!
User avatar
TheFatController
Balanced Annihilation Developer
Posts: 1177
Joined: 10 Dec 2006, 18:46

Post by TheFatController »

Nice one :)

Edit: Just a to let you know it's missing images/gradient_alpha_2.png for Display_DPS :P
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Post by jK »

:oops:
User avatar
Neddie
Community Lead
Posts: 9406
Joined: 10 Apr 2006, 05:05

Post by Neddie »

With all these LUA creations, you had to make a mistake eventually.
ZellSF
Posts: 1187
Joined: 08 Jul 2006, 19:07

Post by ZellSF »

I just watched a game where lots of experienced units didn't have rank icons at all. Two HLTs with similar experience too, only one showing rank icon.

Edit: hmm spectacting confusing it, any way to fix that?
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Post by jK »

neddiedrow wrote:With all these LUA creations, you had to make a mistake eventually.
No, the corresponding widget (DisplayDPS) isn't by me. It is TheFatController's work (and we like it him for this ^^). I only forgot to include this file. That's why I hope, no one thinks TFC can't program, no it was me who was too stupid to put some files into a package >_<
ZellSF wrote:I just watched a game where lots of experienced units didn't have rank icons at all. Two HLTs with similar experience too, only one showing rank icon.

Edit: hmm spectacting confusing it, any way to fix that?
It shows the ranks only for the units of that team/ally you are watching.
ZellSF
Posts: 1187
Joined: 08 Jul 2006, 19:07

Post by ZellSF »

I figured that, but it also shows ranks from teams you aren't watching, they're just not being updated.
User avatar
BrainDamage
Lobby Developer
Posts: 1164
Joined: 25 Sep 2006, 13:56

Post by BrainDamage »

the height cacher has a small glitch under linux, you used the path separator '\' wich is windows-only, with the result that in linux it creates files in the Lua folder in the form:
Caches\ca-beta2.2.sdz.tmp
that is the filename, not the file path

could you switch to the '/' path separator instead?
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

Windows has supported the / path seperator since dos 2.0, and onyl ever used \ because IBM used it for command lien parameters and wouldnt switch to the unix method.

So microsoft added support for unix style - param flags and made a program SWITCHAR to swap \ for / or any other letter behind IBMs back, then integrated both into windows when IBM lost control.

So always use forward slash.
Post Reply

Return to “Lua Scripts”