WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Released AddOns (https://www.wowinterface.com/forums/forumdisplay.php?f=9)
-   -   Spells Left Omni - OK, Not Quite Omnipotent (https://www.wowinterface.com/forums/showthread.php?t=2736)

JIM the Inventor 12-27-05 07:11 AM

Spells Left Omni - OK, Not Quite Omnipotent
 
Perhaps you, the reader, have met my latest creation already ...
http://www.wowinterface.com/download...fo.php?id=4432

I have received my first bit of real feedback - from Europe! Unfortunately, it is bad news.

http://www.curse-gaming.com/mod.php?addid=2888

Apparently the AddOn is doing nothing at all on French computers. I suppose it's a string variable issue ... a likely candidate, right? ... but not being in Europe myself, I'm at a distinct disadvantage. :D I ask for help.

Quote:

Originally Posted by the_nuru
is not working on Fr loc
nothing change when I clic on spell
what should I do?

It is a puzzle! As far as I know, the only 'simple' strings Omni has are:

XML names, like NameOfButton .. "Count"
event names, like "UNIT_MANA"
target names, like "player" / "pet"
playerClass == "DRUID"

The vital piece of the AddOn, mana cost accounting, is string dependent as well, but I am using the localized string MANA_COST, and its other power variants ..

I wouldn't ask anyone to solve this for me, but this is a show-stopper, and I am so far clueless. :(

JIM the Inventor 12-27-05 07:47 AM

There's Also This
 
In another vital part of my code, I'm checking to see if button count text is white. (Spell Reagent Count turns numbers yellow or red to show that it is working.)

if ( string.format( "%.0f", r*10000 + g*10000 + b*10000 ) ~= "30000" ) then return end

I'm using "format" because I liked the way it rounds numbers - I could find no round math function in the language otherwise. This statement could mess up in French versions if the 30,000 returned with a space in it ... or maybe the count text is off-white, or something?

*returns to thinking*

Guillotine 12-27-05 05:03 PM

Just a guess, but I'm guessing that the problem would be in the class names. The french class names are not the same as they are in the English version.

JIM the Inventor 12-28-05 02:59 AM

http://www.wowwiki.com/API_UnitClass

WoWWiki confirms that. I was / am actually using the "englishclass" return from that function, so I am relieved to say that the class angle at least can be eliminated as the source of the problem. (Relief is itself valuable, so hopefully you don't consider your suggestion wasted.)

What else serves as a possiblility for error?

---

<< I'm tempted to download ABInfo again since it's the only other mod that's ever attempted to do what Spells Left does. I never did see it work, though, and deleted it after a few months ... >>


All times are GMT -6. The time now is 08:45 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI