• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • AutoTeaBag

    Discussion in 'Archives' started by Spankee, Jul 11, 2010.

    1. Spankee

      Spankee New Member

      Joined:
      Jul 11, 2010
      Messages:
      2
      Likes Received:
      2
      Trophy Points:
      0
      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: Jul 11, 2010
      wpuk and wired420 like this.
    2. aricias

      aricias Member

      Joined:
      Mar 31, 2010
      Messages:
      225
      Likes Received:
      1
      Trophy Points:
      18
      Seriously, FTW.
       
    3. deltasniper3

      deltasniper3 New Member

      Joined:
      Jan 15, 2010
      Messages:
      492
      Likes Received:
      14
      Trophy Points:
      0
      someone has to much time on his hands lol
       
    4. Spankee

      Spankee New Member

      Joined:
      Jul 11, 2010
      Messages:
      2
      Likes Received:
      2
      Trophy Points:
      0
      only took 5 mins :)
       
    5. cawpet

      cawpet Member

      Joined:
      Jan 23, 2010
      Messages:
      876
      Likes Received:
      2
      Trophy Points:
      18
      Pro coding at it's best xD
       
    6. Natfoth

      Natfoth Community Developer

      Joined:
      Jan 15, 2010
      Messages:
      1,446
      Likes Received:
      37
      Trophy Points:
      0
      I have to say this is Win right here.
       
    7. theholyone

      theholyone New Member

      Joined:
      Jan 30, 2010
      Messages:
      505
      Likes Received:
      0
      Trophy Points:
      0
      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? >_>
       
    8. lolwtfmyname2

      lolwtfmyname2 New Member

      Joined:
      Jul 5, 2010
      Messages:
      3
      Likes Received:
      0
      Trophy Points:
      0
      I vote one of the best addons ever, maybe not useful but one of the best xD
       
    9. Lt.Leon

      Lt.Leon New Member

      Joined:
      May 19, 2010
      Messages:
      1,022
      Likes Received:
      4
      Trophy Points:
      0
      Legit.

      Nuff said.
       
    10. wired420

      wired420 Banned

      Joined:
      Mar 13, 2010
      Messages:
      684
      Likes Received:
      29
      Trophy Points:
      28
      Now... Make my Modern Warfare 2 Auto Tea Bag people and we'll be in business! Lol.

      Nice Plugin :D
       
    11. Lt.Leon

      Lt.Leon New Member

      Joined:
      May 19, 2010
      Messages:
      1,022
      Likes Received:
      4
      Trophy Points:
      0
      1. If run over read body, hit CTRL

      2. Disable forward and hit CTRL repedetly

      3. ????

      4. PROFIT
       
    12. highvoltz

      highvoltz Well-Known Member

      Joined:
      Mar 22, 2010
      Messages:
      1,729
      Likes Received:
      141
      Trophy Points:
      63
      tea bagged by a bot! mahahahahaha
       
    13. Samlock

      Samlock Member

      Joined:
      Jun 26, 2010
      Messages:
      257
      Likes Received:
      2
      Trophy Points:
      18
      Here you go OP

      [​IMG]

      Love it. :)
       
    14. nuggat

      nuggat Member

      Joined:
      Jan 19, 2010
      Messages:
      496
      Likes Received:
      1
      Trophy Points:
      18
      ahhahhahah teabag plugin thats great dude
       

    Share This Page