Jump to content

Fableonian

Members
  • Posts

    16
  • Joined

  • Last visited

Posts posted by Fableonian

  1. 22 hours ago, kekmeup said:

    Simply 3 spells, but even with or without healer bottom the healer simply looks at. :(

    healer.xml

    Ok i checked your file and i see why it is not casting.

    What i prefer to use is the option "Combat Only" on False. Just so they top off the party also out of combat. (This is not the problem)

    For the settings of your heal spells:

    You are using "For friends (party)" together with "Cast spell on self" so both on true won't work. You should split them, i explain futher down.

    The setting "Is buff" should be on true with friendly spells otherwise your healer won't cast.

    Now to have your healer cast on party and on himself you should make 2 spells of the same with different settings.

    Party:

    - For friends (party) = True
    - Is buff = True
    - Cast spell on self = false
    - Combat only = false
    As condition for Party you should use a condition like:
    - Target Health Percent

    Self:

    - For friends (party) = False
    - Is buff = True
    - Cast spell on = Player
    - Cast spell on self = true
    As condition for Self you should use a condition like:
    - Health Percent

    I added your healer profile
    Where i adjust the Renew en Flash Heal spell

    Those should work now for you healer
     

    healer.xml

  2. 11 hours ago, iMod said:

    You also could use this code:
     

    
    // Wait
    while (MovementManager.InMovement && Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause && ObjectManager.Me.Position.DistanceTo(position) > 1)
    {
      // Wait follow path                                                                                                                                         
      Thread.Sleep(100);
    }
    
    // Still moving?
    if (MovementManager.InMovement)
    {
      // Stop
      MovementManager.StopMove();
    }

    Edit: Oh nvm the problem is that you are using an event.

    You could also could check if you are still at the right position with:
     

    
    // Do we need to move?
    if(ObjectManager.Me.Position.DistanceTo(position) > 1)
    {
      // Move
    }

     

    Is it possible to add an condition for a specific mob or boss

    if (me.IsAlive && target.IsAlive && !me.IsCast && me.HaveBuff("Buff name"))

    i want to add in this line a condition to only execute if fighting target (id) or (name)

  3. Got it working now

    This is how my code looks like.

     

    wManager.Events.FightEvents.OnFightLoop += (unit, cancelable) =>
            {
               var pos = 1;
                var me = wManager.Wow.ObjectManager.ObjectManager.Me;
                var target = wManager.Wow.ObjectManager.ObjectManager.Target;
                if (me.IsAlive && target.IsAlive && pos == 1)
                {
    Vector3 position = new Vector3(3073.848f, -3116.693f, 294.0692f);

    // Move to the given position
    MovementManager.Go(PathFinder.FindPath(position), false);

    // Wait
    while (MovementManager.InMovement && Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause)
    {
      // Wait follow path
      Thread.Sleep(3000);
    pos = 0;
    }
                }
            };

    Char runs in position and when in position it kept on trying to keep that position while in combat.

    So to let it run once i added an extra var to it called 'pos' which i set to 1

    After the 3sec he gets in position i change it to 0 so the if condition returns false.

  4. How to use the condition on this. I want it to work with a self created quest which is not in my questlog and has a complete condition. I tried to use Quest.HasQuest(nameofquest) but did didnt do anything. Any suggestions?

  5. On 8-11-2016 at 5:56 PM, Droidz said:

    Hello, like this:

    
     wManager.Events.FightEvents.OnFightLoop += (unit, cancelable) =>
            {
                var me = wManager.Wow.ObjectManager.ObjectManager.Me;
                var target = wManager.Wow.ObjectManager.ObjectManager.Target;
                if (me.IsAlive && target.IsAlive && !me.IsCast && me.HaveBuff("Buff name"))
                {
                    wManager.Wow.Helpers.Keybindings.PressKeybindings(wManager.Wow.Enums.Keybindings.STRAFELEFT, 1000 * 3); // strage left during 3 secondes
                }
            };

    (run this code only one time by wrobot session)

    How to let this code run once and how to let it move to a position xyz?

  6. 4 hours ago, iMod said:

    Sure just use the condition if you are in fight or not
    pseudo code:

    while not in combat
    ...
    if in combat
    move to xyz

    If you want more informations please explain us what botbase you want to use.

    Edit:
    If you just want ignore mobs if your are at a mount while moving to a place, take a look at this post.

    Ignore fighting if in ground mount is the option you'r looking for.

    Not looking for the mount/dismount in combat.

    What i am looking for is if i am fighting a certain mob or dungeon boss where i need to move out of stuff, i want it to move to location x after x seconds for example.

    The conditions you gave in your example like if in combat, move to xyz. Where can i put those commands?

    Is it in fightclass profile or questprofile?

  7. Hi,

    I am having the following problem.

    Setting up quests seem to be a problem where there are 2 or more objectives for killing x amount of mobs. (example: blood elves quests: Aggression, Felendren the Banished)

    The problem is that it only tracks if the full quest is completed and not a certain objective of the quest. This causes the character to come in a loop where he/she goes killing every mob that is needed for the quest even if it is already completed.

    For Felendren the Banished for example: This can take very long before it will be completed because it keeps on going up and down the ramps to kill the mobs (since i play on a private wotlk server where the spawnrates of these mobs are high).

    How can i make the quest work that it will skip on killing a certain questmob if that objective of the quest is completed?

     

    Tnx

×
×
  • Create New...