Page 1 of 1

[widget collection]fix for unit heights prebuffering

Posted: 17 Sep 2007, 10:27
by jK
For all those ppl, who's spring is loading too slow if they use the HealthBars, DisplayDPS, BuildETA or XP widgets.

Image

Posted: 17 Sep 2007, 16:11
by Forboding Angel
Kick ass! Thanks JK!

Posted: 17 Sep 2007, 19:28
by TheFatController
Nice one :)

Edit: Just a to let you know it's missing images/gradient_alpha_2.png for Display_DPS :P

Posted: 17 Sep 2007, 19:52
by jK
:oops:

Posted: 17 Sep 2007, 20:00
by Neddie
With all these LUA creations, you had to make a mistake eventually.

Posted: 17 Sep 2007, 20:18
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?

Posted: 17 Sep 2007, 22:42
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.

Posted: 17 Sep 2007, 23:51
by ZellSF
I figured that, but it also shows ranks from teams you aren't watching, they're just not being updated.

Posted: 18 Sep 2007, 13:50
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?

Posted: 18 Sep 2007, 17:59
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.