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

Drop Brack + teleportation combo tu run out from enemy (Primeval)

Machlan

New Member
Joined
Oct 7, 2014
Messages
25
Reaction score
0
It`s a pluglin where u can drop back, turn 180 and teleport

TO active the combo just hit "1"

If u wana change the hotkey, see here the list of keys:
Key.D1

Code:
using System;
using System.Windows.Forms;
using System.Threading;
using System.Collections.Generic;
using ArcheBuddy.Bot.Classes;

namespace YourNamespace{
    public class YourClass : Core
    {   
        public void UseSkillAndWait(string skillName, bool selfTarget = false)
        {
            while (me.isCasting || me.isGlobalCooldown)
            {
                Thread.Sleep(40);
            }   
            
            if (!UseSkill(skillName, false, selfTarget))
            {
                while (me.isCasting || me.isGlobalCooldown)
                {
                    Thread.Sleep(40);
                }
            }
        }  
        public void keyDown(Keys k, bool isControl, bool isShift, bool isAlt)
        {   
            // change "Keys.D1" if u wana active this macro with other key 
            if (k == Keys.D1)
            {
              // change "10" or remove "dist(me.target) <= 10 &&" if u wana do this combo in any distance
              if(dist(me.target) <= 10 && skillCooldown("Drop Back") == 0 &&  skillCooldown("Teleportation") == 0 )
                    {   
                        TurnDirectly(me.target);
                        Thread.Sleep(30); 
                        UseSkillAndWait("Drop Back");
                        Thread.Sleep(200); 
                        TurnDirectly(me.target); 
                        Thread.Sleep(200);
                        Turn(3.14);
                        UseSkillAndWait("Teleportation");
                    }
            }
        }

        public void PluginRun()
        {
            onKeyDown += keyDown;
            while (true)
                Thread.Sleep(1000);
        }
    } 
}
 
Works out great. Just trying to figure out a different key binding. Can you modify the code to start with you facing forward, turn around, do a drop back and then turn around to face forward again and do a teleport just to use it to move forwards a great distance?
 
R.

Tried doing it myself but didn't work, unfortunately.
 
try
Code:
using System;
using System.Windows.Forms;
using System.Threading;
using System.Collections.Generic;
using ArcheBuddy.Bot.Classes;

namespace YourNamespace{
    public class YourClass : Core
    {   
        public void UseSkillAndWait(string skillName, bool selfTarget = false)
        {
            while (me.isCasting || me.isGlobalCooldown)
            {
                Thread.Sleep(40);
            }   
            
            if (!UseSkill(skillName, false, selfTarget))
            {
                while (me.isCasting || me.isGlobalCooldown)
                {
                    Thread.Sleep(40);
                }
            }
        }  
        public void keyDown(Keys k, bool isControl, bool isShift, bool isAlt)
        {   
            // change "Keys.R" if u wana active this macro with other key 
            if (k == Keys.R)
            {
              // change "10" or remove "dist(me.target) <= 10 &&" if u wana do this combo in any distance
              if(dist(me.target) <= 10 && skillCooldown("Drop Back") == 0 &&  skillCooldown("Teleportation") == 0 )
                    {   
                        TurnDirectly(me.target);
                        Thread.Sleep(30); 
                        UseSkillAndWait("Drop Back");
                        Thread.Sleep(200); 
                        TurnDirectly(me.target); 
                        Thread.Sleep(200);
                        Turn(3.14);
                        UseSkillAndWait("Teleportation");
                    }
            }
        }

        public void PluginRun()
        {
            onKeyDown += keyDown;
            while (true)
                Thread.Sleep(1000);
        }
    } 
}
 
Awesome! Thanks! GOnna tinker around with it to try and make it go forward instead of backward to chase people :P
 
do the same pluglin with other name, and remove change:

TurnDirectly(me.target);
Turn(3.14);
Thread.Sleep(30);
UseSkillAndWait("Drop Back");
Thread.Sleep(200);
TurnDirectly(me.target);
Thread.Sleep(200);
UseSkillAndWait("Teleportation");
 
do the same pluglin with other name, and remove change:

TurnDirectly(me.target);
Turn(3.14);
Thread.Sleep(30);
UseSkillAndWait("Drop Back");
Thread.Sleep(200);
TurnDirectly(me.target);
Thread.Sleep(200);
UseSkillAndWait("Teleportation");
Is there a code to make it so if you don't have a target selected, this chasing mechanic will face forward before teleport?

Like an if statement between the Turn(3.14); and TurnDirectly(me.target);.
 
Last edited:
Back
Top