Jump to content

ynphea

Members
  • Posts

    7
  • Joined

  • Last visited

Posts posted by ynphea

  1. Well finaly i coded this one, seems simpler and works well

     

    Quote
        internal WoWPlayer getMainTank()
        {
            List<WoWPlayerpar = new List<WoWPlayer>();
            par = Party.GetParty();
     
            if (par.Count() > 0)
            {
                foreach (WoWPlayer player in par)
                {
                    if (player.WowClass == WoWClass.Warrior)
                        _mainTank = player;
                }
            }
            return _mainTank;
        }

     

    Still have one problem, how to dynamicaly change the target in fight to the _mainTank now ? For exemple the tank changes target mid fight.

    @Ordush you said 

    Quote

     you have to "stop" your current combat and restart it with a new target. It's actually not as easy as it sounds. ?

    So is this even possible after all ? Or how do I stop the current combat

  2. Hello Talamin, thank you for your fast answer,

    I try to build a FC on my own, because I only do party instances of 5, so I use the "Party" Wrobot. And I would like to program our my group teamates works.

    I see that in the code you can do 

    var targetUnit = new WoWUnit(ObjectManager.GetObjectByGuid(ObjectManager.Me.Target).GetBaseAddress);

    to get the current target, or target other monster in the code, but If I put a empty code, the bot still "takes" a target and auto-attack, this is my question. 

    2 - So if I undestand well what you call "product" is the basic wrobot motor and I can overwrite this behavious with .cs, is this correct ?

    3 - Just for the tank question, how do I check in C# that the WoWPlayer is a tank class ? And I can save it in memory and use it like that 

    And furthermore, I use the follow fonctionnality in wowrobot for Parties, it works ok but do you know a more "natural way" so that your party follow you like real player and not like a chain of /follow

  3. Hello,

    I tryed one mouth the robot and it is great !

    I try to undestand better the API and the langage, in have some question please, any help will be greatly apreciated :

    1 - Main Rotations i saw use directly this line 

    if (ObjectManager.Me.Target > 0)

    But in a dongeon with multiple enemy units in fight, with target the bot choose ?

    2 - If the bot choose an ennemy target, sometimes he circle in the party for exemple healing, how do I make sure that he comes back to his last target ?

    3 - How do I manage to select and assist the main tank ?

    4 - The bot seems too be very intelligent and don't attack sheeped enemies for exemple ( very nice ! ) can you tell me more about this mechanics, I don't see it in the code ?

  4. Hello,

    When my bot is in party mode, if I switch to Healer, my caracter just stay and doesn't  heal. If I put healer on "off", he only heal himself.

    How can I do to get my robot to heal party or raid member ? Please help

    I use vanilla version, and defaut priest class mode ( but i tried also on druid, doesn't work either )

    Thank you

×
×
  • Create New...