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

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Transform the СС in Russian client

dimsil if you want the CC to work in RuRu client than you need to translate all the Spell names from english to Crylic
 
Yeah not to hard. A simple replaceAll in notepad. Just make sure to include quotation marks
 
Could change all spell names into spell id's, but this needs a bit more work. castspellname must be changed into casspellid etc. I think.

But this is the reason behind Singular i guess.
 
oh and I think crylic uses some different punctation than English code does like instead of . it is a , or some shit....
 
I'm currently working on a client neutral SpellMachine.

I'll release it to the public when I tested more.
Testing so far works good but I'll build my next standalone Death Knight CC
with it and until this isn't finished it won't be available.

ETA 1 - 2 Weeks.

Just to give you something.
 
If Singular does support all client languages, why do you want titan arms? If you have issues with singular post about them in the singular topic in classes\allinone , raphus is currently working on improving singular for all classes.
 
If Singular does support all client languages, why do you want titan arms? If you have issues with singular post about them in the singular topic in classes\allinone , raphus is currently working on improving singular for all classes.
Don't think it's singular itself that is the issue, but the CC's delivered with it.
The performance of some user created CC's to work with singular are simply alot better suited to the needs.

To the OP:

Go trough the CC and replace the English with Russian spell and aura names between quotationmarks.
You can change the CastSpell by CastSpellByID and use the spell ID's for that.
Very well might be that you only need to change the spells cast (HB might tranlate the aura's because WoW's API should translate em to english. Someone with more experience in that field should shine his light over that part as I can't be 100% sure).
Example:
Code:
       if (Me.HasAura("Victorious") /*&& Me.HealthPercent < 35*/)
                {
                    if (CastSpell("Victory Rush") == true)
                    {
                        Logging.Write(Color.FloralWhite, ">> Victory Rush <<");
                    }
                }
to either (this is only usable on RuRu clients):
Code:
       if (Me.HasAura("[FONT=arial][SIZE=2]Победа[/SIZE][/FONT]") /*&& Me.HealthPercent < 35*/)
                {
                    if (CastSpell("[FONT=Arial][SIZE=2]Победный раж[/SIZE][/FONT]") == true)
                    {
                        Logging.Write(Color.FloralWhite, ">> [FONT=Arial][SIZE=2]Победный раж[/SIZE][/FONT] <<");
                    }
                }
or change to SpellID's like this:
Code:
       if (Me.HasAura("[FONT=arial][SIZE=2]Победа[/SIZE][/FONT]") /*&& Me.HealthPercent < 35*/)
                {
                    if (CastSpellById("34428") == true)
                    {
                        Logging.Write(Color.FloralWhite, ">> [FONT=Arial][SIZE=2]Победный раж[/SIZE][/FONT] <<");
                    }
                }
It's some work, but then you can compare changes made every revision and just localize whatever is added.
 
Last edited:
still does not work
File: Titan Arms v2.4 an Arms CC.r Line: 273 Error: Name 'CastSpellById' does not exist in the current context
 
also gives this error
if (Me.HasAura("Победа") /*&& Me.HealthPercent < 35*/)
{
if (CastSpellById("34428") == true)
{
Logging.Write(Color.FloralWhite, ">> Победный раж <<");
}
}
 
Titan Arms also uses a Lua to return values for determining if the target is a boss. Idk if you would have to change any of those. For you to properly debug and find out what is working an what isn't, I suggest adding Logging.Write(" ") statements throughout. You need to know if the macros are running properly as they are a big part of this CC.
 
first:
it should be:
PHP:
if (Me.HasAura("Победа") /*&& Me.HealthPercent < 35*/)
{
if (CastSpellById(34428) == true)
{
Logging.Write(Color.FloralWhite, ">> Победный раж <<");
}
}
without quotations around the id

Second, you need to implement a function CastSpellById
PHP:
        public bool CastSpellById(int spellId)
        {
            if (SpellManager.CanCast(spellId))
            {
                SpellManager.Cast(spellId;
                // We managed to cast the spell, so return true, saying we were able to cast it.
                return true;
            }
            // Can't cast the spell right now, so return false.
            return false;
        }

this should be added before or after the CastSpell-Method ... (line128 or line139) after adding this and changing your snippet, you should be able to perform the cast by id

but there are some LUA-Calls done by the CC (casting berserking and / or blood fury), dunno if they are working in ruru client, if not, u need to replace them by
CastSpellById(BerserkingID)
 
I think that the main problem is not with CastSpell but getting information about the current auras. Is it possible to change the Me.HasAura to ID of it?
 
I think that the main problem is not with CastSpell but getting information about the current auras. Is it possible to change the Me.HasAura to ID of it?

this could be done / worked around by

PHP:
if (StyxWoW.Me.Auras.Values.Any(a => a.SpellId == spellId) /*&& Me.HealthPercent < 35*/)
{
if (CastSpellById(34428) == true)
{
Logging.Write(Color.FloralWhite, ">> Победный раж <<");
}
}
 
it's all good, but I did not realize I would have a sample ... Thanks to all who responded.
 
Back
Top