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

AutoTeaBag

Spankee

New Member
Joined
Jul 11, 2010
Messages
2
Reaction score
2
Decided to make a joke plugin. automatically teabags nearby dead players if not in combat
also it will do a /point /lofl emote while running towards target

for some reason I couldn't upload so you'll have to make a new text file called AutoTeabag.cs copy and paste the code below into it and save it in your plugins folder

Code:
using System;
using System.Collections.Generic;
using System.Threading;

using Styx;
using Styx.Plugins.PluginClass;
using Styx.Logic.BehaviorTree;
using Styx.Helpers;
using Styx.WoWInternals;
using Styx.Logic.Pathing;
using Styx.Logic.Combat;
using Styx.WoWInternals.WoWObjects;

namespace Spankee
{
    class AutoTeaBag : HBPlugin
    {
        public override string Name { get { return "AutoTeaBag"; } }
        public override string Author { get { return "spankee"; } }
        private readonly Version _version = new Version(1, 0);
        public override Version Version { get { return _version; } }
        //public override string ButtonText { get { return "AutoTeaBag"; } }
        public override bool WantButton { get { return false; } }

        public override void OnButtonPress()
        {
        }

        public override void Pulse()
        {
            ObjectManager.Update();
            List<WoWPlayer> unitList = ObjectManager.GetObjectsOfType<WoWPlayer>();
            foreach (WoWPlayer p in unitList)
            {
                if (p.Dead && !ObjectManager.Me.Combat && !ObjectManager.Me.IsGhost && ObjectManager.Me.Dead)
                {
                    p.Target();
                    Thread.Sleep(1000);
                    Navigator.MoveTo(p.Location);
                    Lua.DoString("DoEmote(\"point\")");
                    Thread.Sleep(1000);
                    Lua.DoString("DoEmote(\"rofl\")");
                    while (p.Dead && !ObjectManager.Me.Combat &&
                       ObjectManager.Me.Location.Distance(p.Location) > 3)
                    {
                        Navigator.MoveTo(p.Location);
                        Thread.Sleep(100);
                    }
                    for (int i = 0; i < 10; i++)
                    {
                        if (ObjectManager.Me.Combat || ObjectManager.Me.CurrentTarget != null)
                            break;
                        WoWMovement.Move(WoWMovement.MovementDirection.Descend);
                        Thread.Sleep(1000);
                        WoWMovement.Move(WoWMovement.MovementDirection.JumpAscend);
                        Thread.Sleep(1000);
                    }
                }
            }
        }
    }
}
 
Last edited:
If you gave me a step by step instruction on how to make that.. i'll make you an exact one in 5 years dam 5 minutes? >_>
 
Now... Make my Modern Warfare 2 Auto Tea Bag people and we'll be in business! Lol.

Nice Plugin :D
 
Now... Make my Modern Warfare 2 Auto Tea Bag people and we'll be in business! Lol.

Nice Plugin :D

1. If run over read body, hit CTRL

2. Disable forward and hit CTRL repedetly

3. ????

4. PROFIT
 
Here you go OP

one%20free%20internets.jpg


Love it. :)
 
Back
Top