Jump to content

79135

WRobot user
  • Posts

    336
  • Joined

  • Last visited

Posts posted by 79135

  1. 14 minutes ago, Droidz said:

    Hello, where is your list<string>? and you want use it is quest type (overidepulsecsharpcode)?

    how to save this list so all my bots can see it? 

          //For example:
            string myNameIs = ObjectManager.Me.Name;
            List<string> nameOtherPlayer = new List<string>(){};
            if (myNameIs == "Putin")
            {
                nameOtherPlayer.Add("Trump");
            }
            //save the list in order to another chars can use the list

            //OR
            string myNameIs = ObjectManager.Me.Name;
            List<string> nameAllMyBots = new List<string>(){};
            if (!nameAllMyBots.Contains(myNameIs))
            {
                nameAllMyBots.Add(myNameIs);
            }

    quest type (overidepulsecsharpcode)? - yes.

  2.         bool need = true;
            wManager.Events.FightEvents.OnFightLoop += (unit, cancelable) =>
            {
                if (ObjectManager.GetWoWUnitAttackables().Any(o => o.IsTargetingPartyMember) && need)
                {
                    WoWUnit unitWhichAttackMyPartyMember = ObjectManager.GetWoWUnitAttackables().Where(o => o.IsTargetingPartyMember).FirstOrDefault();
                    if (unitWhichAttackMyPartyMember != null)
                    {
                        cancelable.Cancel = true;
                        Interact.InteractGameObject(unitWhichAttackMyPartyMember.GetBaseAddress);
                        Fight.StartFight(unitWhichAttackMyPartyMember.GetBaseAddress);
                    }
                    else
                        need = false;
                }
            };

    Write pls code how to force tank attack unit which Attack My Party Member. The code dont work

  3. On 2/15/2019 at 8:56 PM, artur.k said:

    if anyone ask here for help and Droidz  or anyone help and in next this person hide answer its a @#$$% i see many good people here and im happy only few $^#@ers if you are good enought you can make $ in any method any place,but if ask help  get answer on public forum and hide this after get answer, its bad realy bad we are all here in one purpose and when we start be a selfish it will end in only one way.

     

    arturn, nu 4to podelat, s volkami jit' po vol4'i vit'

  4. Hello, why bot dont see the unit when i use CreatureTypeTarget? Without CreatureTypeTarget work is good. Unit is 100% Humanoid.

    var unit = ObjectManager.GetWoWUnitAttackables()
                         .Where(o =>
                             o.GetDistance < 6 &&
                             o.CreatureTypeTarget == "Humanoid" &&
                             o.IsAlive).OrderBy(o => o.GetDistance).FirstOrDefault();

  5. 1 hour ago, Droidz said:

    you need to run this code one time per session no more, try with plugin for now, you can also try to disable option in advanced general settings "Helping Group Members" (reactive it if your problem is not resolved)

    mb i wrong wrote.. I need what healer after heal helping tank attack him target (/assist) and ignore caster unit. Now healer is healing but nothing to do more

  6. 1 hour ago, Droidz said:

    to ignore fight you can try this plugins: Ignore all combat fight.cs

     

    19:05:28 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:28 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:28 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:28 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:28 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:29 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:29 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:29 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:29 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:29 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:29 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:29 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:29 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:29 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:29 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:29 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:29 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:29 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:29 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:29 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:29 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:29 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:29 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:29 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:29 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:29 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:29 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:29 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:29 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:30 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:30 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:30 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:30 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:30 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:30 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:30 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:30 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:30 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:30 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:30 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:30 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:30 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:30 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:30 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:30 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:30 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:30 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:30 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:30 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:30 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:30 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:30 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:30 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:31 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:31 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:31 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:31 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:31 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:31 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:31 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:31 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:31 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:31 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:31 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:31 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:31 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:31 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:31 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:31 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:31 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:31 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
    19:05:31 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)

     

    Ive this in log, and bot just stay when tank fighting with unit

  7. Hello, I use quester profile. I use FC from "Fight Class Editor". My bots running together. When tank pull new stack mobs and at this time healer start heals tank, some unit start attack healer's after healing cast and healer running to the unit, if unit is caster, for attack this unit. How to force healer's ignore fight with the unit and start attack tank's target?

  8. 16 hours ago, Droidz said:

    Hello, I am not sure to understand, but you can add code like in "Additional C# code" 

    
    static bool Condi1 
    {
      get
      {
          return (ObjectManager.Me.PositionCorpse.DistanceTo2D(new Vector3(-3908,1130,0)) < 5 || 
                  ObjectManager.Me.PositionCorpse.DistanceTo2D(new Vector3(-6790, -2891, 9)) < 5 || 
                  ObjectManager.Me.PositionCorpse.DistanceTo2D(new Vector3(2892,-811,199)) < 5 || 
                  ObjectManager.Me.PositionCorpse.DistanceTo2D(new Vector3(6708,-4654, 0)) < 5 || 
                  ObjectManager.Me.PositionCorpse.DistanceTo2D(new Vector3(1211, -4868, 188)) < 5 || 
                  ObjectManager.Me.PositionCorpse.DistanceTo2D(new Vector3(3865, 6983, 0)) < 5 || 
                  ObjectManager.Me.PositionCorpse.DistanceTo2D(new Vector3(3641,2032,0)) < 5 || 
                  ObjectManager.Me.PositionCorpse.DistanceTo2D(new Vector3(-4459, -1660, 127)) < 5 || 
                  ObjectManager.Me.PositionCorpse.DistanceTo2D(new Vector3(3392,-3378,134)) < 5 || 
                  ObjectManager.Me.PositionCorpse.DistanceTo2D(new Vector3(-3520,1065,0)) < 50 || 
                  ObjectManager.Me.PositionCorpse.DistanceTo2D(new Vector3(-6060, -2955, 434)) < 5) && ObjectManager.Me.IsDead;
      }
    }

    and in "Csharp conditon" use code like " Condi1  "

    I mean which is less costly in using computer resources 1 spells with a large condition or 2 spells with a small condition. In fight class editor.

  9. Do use 1 script with many args or 2 script with small args? Example: CSharp condition 

    A big script:

    (ObjectManager.Me.PositionCorpse.DistanceTo2D(new Vector3(-3908,1130,0)) < 5 || 
    ObjectManager.Me.PositionCorpse.DistanceTo2D(new Vector3(-6790, -2891, 9)) < 5 || 
    ObjectManager.Me.PositionCorpse.DistanceTo2D(new Vector3(2892,-811,199)) < 5 || 
    ObjectManager.Me.PositionCorpse.DistanceTo2D(new Vector3(6708,-4654, 0)) < 5 || 
    ObjectManager.Me.PositionCorpse.DistanceTo2D(new Vector3(1211, -4868, 188)) < 5 || 
    ObjectManager.Me.PositionCorpse.DistanceTo2D(new Vector3(3865, 6983, 0)) < 5 || 
    ObjectManager.Me.PositionCorpse.DistanceTo2D(new Vector3(3641,2032,0)) < 5 || 
    ObjectManager.Me.PositionCorpse.DistanceTo2D(new Vector3(-4459, -1660, 127)) < 5 || 
    ObjectManager.Me.PositionCorpse.DistanceTo2D(new Vector3(3392,-3378,134)) < 5 || 
    ObjectManager.Me.PositionCorpse.DistanceTo2D(new Vector3(-3520,1065,0)) < 50 || 
    ObjectManager.Me.PositionCorpse.DistanceTo2D(new Vector3(-6060, -2955, 434)) < 5) && ObjectManager.Me.IsDead

    1st small script:

    (ObjectManager.Me.PositionCorpse.DistanceTo2D(new Vector3(-3908,1130,0)) < 5 || 
    ObjectManager.Me.PositionCorpse.DistanceTo2D(new Vector3(-6790, -2891, 9)) < 5 || 
    ObjectManager.Me.PositionCorpse.DistanceTo2D(new Vector3(2892,-811,199)) < 5 || 
    ObjectManager.Me.PositionCorpse.DistanceTo2D(new Vector3(6708,-4654, 0)) < 5 || 
    ObjectManager.Me.PositionCorpse.DistanceTo2D(new Vector3(1211, -4868, 188)) < 5) && ObjectManager.Me.IsDead 

    2nd small script:

    (ObjectManager.Me.PositionCorpse.DistanceTo2D(new Vector3(3865, 6983, 0)) < 5 || 
    ObjectManager.Me.PositionCorpse.DistanceTo2D(new Vector3(3641,2032,0)) < 5 || 
    ObjectManager.Me.PositionCorpse.DistanceTo2D(new Vector3(-4459, -1660, 127)) < 5 || 
    ObjectManager.Me.PositionCorpse.DistanceTo2D(new Vector3(3392,-3378,134)) < 5 || 
    ObjectManager.Me.PositionCorpse.DistanceTo2D(new Vector3(-3520,1065,0)) < 50 || 
    ObjectManager.Me.PositionCorpse.DistanceTo2D(new Vector3(-6060, -2955, 434)) < 5) && ObjectManager.Me.IsDead

  10. 13 minutes ago, Bambo said:

    So is the Spell name the exact same name as the mount? or is there any addition like "Summon: Mountname"

    "So is the Spell name the exact same name as the mount?" - yes. If you use macro /cast Warhorse char is mount on warhorse

×
×
  • Create New...