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

Russian CC

F1sher

New Member
Joined
Dec 29, 2011
Messages
46
Reaction score
0
Hi,

I would like to translate this CC to work with russian client. I've translated the spell/buff names, it still doesn't work. Is there anything else I'm suppose to do?

Thanks
 
Okay, I would assume your issue would be translation. Not that your vocabulary is bad, but that you may not be getting the correct string values.

I made you this plugin that will dump your spell list to a text file. Run it and see what you get. I am hoping it will give you a list of how your spells are named for your russian client.

Put the folder in your plugins folder. Click "Open GUI" and hit button. The list will be dumped to that folder. Hope this helps.
 

Attachments

Okay, I would assume your issue would be translation. Not that your vocabulary is bad, but that you may not be getting the correct string values.

I made you this plugin that will dump your spell list to a text file. Run it and see what you get. I am hoping it will give you a list of how your spells are named for your russian client.

Put the folder in your plugins folder. Click "Open GUI" and hit button. The list will be dumped to that folder. Hope this helps.

That might be true, thank you so much! I'll run this asap and get back to you with results :)
 
All spellnames will always be in english in HB no matter what language client you use. So don't translate the names.
 
If the spell names stay the same what is it that breaks "English" written CC's on a "Foreign" HB Client? would like to know, interested in translating my PvP compilation.
 
I put a version in the plugins section that also outputs spell ID. But it the string names are the same, I would also like to know what breaks it.
 
I would dare say any good coded CC would work with any language client. But only spell names are translated to English in HB. So Aura names and everything else than spells should be given by ID instead of names.
 
ok nvm what I said about spellnames. For some reason he uses lua for just about everything? It should cause your wow to lag more and well, I'd edit lots of his methods to not use lua if I was to edit his CC ^^
 
Aura's are just wrappers around spells FYI.

The only way to break HB on non-english clients, is to use Lua specifically, and english spell names inside Lua. For example, when people do things such as:
Code:
Lua.DoString("RunMacroText('/cast Blade Flurry')");
The above will only work on an English client, as it bypasses our handling of the spell name. However, if you do:
Code:
SpellManager.Cast("Blade Flurry");
(with proper API usage) it will work on all clients, as we localize spell names to English in our bot itself. (We have a list of Spell ID <-> Spell Name maps, to allow this, which is loaded behind the scenes so developers only ever have to deal with 1 language, instead of up to 10)

This is why we suggest people to stay away from using Lua to cast things, and if they absolutely must do so, use the spell ID to cast it.
 
And the developer of the CC you linked does exactly what Apoc advised against.. He uses Lua with English spell names.
 
Aura's are just wrappers around spells FYI.

The only way to break HB on non-english clients, is to use Lua specifically, and english spell names inside Lua. For example, when people do things such as:
Code:
Lua.DoString("RunMacroText('/cast Blade Flurry')");
The above will only work on an English client, as it bypasses our handling of the spell name. However, if you do:
Code:
SpellManager.Cast("Blade Flurry");
(with proper API usage) it will work on all clients, as we localize spell names to English in our bot itself. (We have a list of Spell ID <-> Spell Name maps, to allow this, which is loaded behind the scenes so developers only ever have to deal with 1 language, instead of up to 10)

This is why we suggest people to stay away from using Lua to cast things, and if they absolutely must do so, use the spell ID to cast it.

Hey, awesome, I'll give it a go and see how it works. :) Thank you!
 
Hey, so after doing the SpellManager.Cast replace instead of SC.CastSpell I get this error : Error: The name 'SpellManager' does not exist in the current context

Am I doing something wrong?
 
@F1sher,

Do you have "using Styx.Logic.Combat;" in the declaration area?
 
@F1sher,

Do you have "using Styx.Logic.Combat;" in the declaration area?

Nope, is that all I'm missing? Lol.
Also, can I use SpellManager for buffs/items (mana gem, mage armor) or is there a different syntax? Thanks <3
 
@F1sher,

I am sure you could, but I have never tried. I tend to use the following for buffs:

{
if (!StyxWoW.Me.Auras.ContainsKey("Insert Spell Here"))
{
if (CastSpell("Insert Same Spell Here"))
{
Logging.Write(Color.White, ">> Insert Same Spell Here <<");
return true;
}
}
return false;
}


As for Mana Gems, I've never touched that code.
 
Back
Top