What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Procs, Buffs Localizations..

nokdu

New Member
Joined
Aug 16, 2010
Messages
208
Reaction score
3
I know that most CC's don't matter but i've recently been running a Ret pal..
and it was sooooooooo weak!
i watched the bot play.. and found it wasn't using the "Art of war" proc..
so i looked in the CC .. and all the other available ret ccs .. and they all had the Art of war proc in them..

after doing some research i found out that it was because my WoW client was a non english client and therefore the buff names were different..

i tried a few things in the cc.. and couldn't figure out a generic way to use english names for local spell names.

so why not use spellids?

Code:
string GetSpellNameByID(int iSpellID)
{
return Lua.GetReturnVal<string>("return GetSpellInfo(" + iSpellID + ")", 0);
}

and then use this code to search for like
Code:
unit.ActiveAuras.ContainsKey(GetSpellNameByID(59578))

dunno.. it was just an idea i had after looking through singular

any feedback?
 
I know that most CC's don't matter but i've recently been running a Ret pal..
and it was sooooooooo weak!
i watched the bot play.. and found it wasn't using the "Art of war" proc..
so i looked in the CC .. and all the other available ret ccs .. and they all had the Art of war proc in them..

after doing some research i found out that it was because my WoW client was a non english client and therefore the buff names were different..

i tried a few things in the cc.. and couldn't figure out a generic way to use english names for local spell names.

so why not use spellids?

Code:
string GetSpellNameByID(int iSpellID)
{
return Lua.GetReturnVal<string>("return GetSpellInfo(" + iSpellID + ")", 0);
}

and then use this code to search for like
Code:
unit.ActiveAuras.ContainsKey(GetSpellNameByID(59578))

dunno.. it was just an idea i had after looking through singular

any feedback?
theres a lot easyer and faster ways then resorting to raw lua,
for example

Code:
unit.ActiveAuras.ContainsValue(59578)

</pre>However, i urge you if your having issues to consult your CC developer, or if using a default CC, to report it as a bug, and make sure to include what language your in, as well as a log, if you can find one.
 
i would.. but most of the times it just gets ignored.. in a pile of other posts in the cc thread :P
thanks anyway CnG
 
Back
Top