• Visit Rebornbuddy
  • [Plugin] AlwaysHere - Because I'm AFK

    Discussion in 'Uncataloged' started by Giwin, Feb 14, 2012.

    1. Giwin

      Giwin Well-Known Member Buddy Store Developer

      Joined:
      Dec 3, 2011
      Messages:
      3,431
      Likes Received:
      49
      Trophy Points:
      48
      SVN Link: https://alwayshere.googlecode.com/svn

      Known Bugs: Will not work if you're on a textbox, like mailing to someone but never have problems when fully 24/7.


      [​IMG]


      Without AlwaysHere Plugin

      As you can see, we are using the same path but the difference is that I'm using the AlwaysHere Plugin which gets rid of the <Away> tag which may be some anti-CTM Bot detection thing. (since bots only use CTM and don't use keyboard, if you only use CTM then you get flagged afk after a while, this happened in PiroxBots and they fixed it too).



      [​IMG]

      Code:
      Changelog (dd/mm/yyyy);
      
      1.3 | 12/10/2012 | Updated - Updated API for MoP, will press spacebar when Not in Combat and Not Moving and AFK flagged. 
      
      1.2 | 15/03/2012 | Updated - Removed code for timed interval and replace with a IsAFKFlagged, simple Forward movement used instead of ForwardBackward movement (which didnt work), tested and screenshot provided... bot has been running for a couple of days without any issues, as the 1.1 version would have problems and wouldn't automatic flush movement (so for 1-2 seconds it didn't do anything).
      
      1.1 | 15/02/2012 | Updated [B]while[/B] loop and [B]if[/B] statement so it wouldn't lock the bot while [B]incombat[/B], [B]ismoving[/B] and [B]isfalling[/B] (important if finding Aeonaxx or similar)
      
      1.0 | 14/02/2012 | Released
      
       
      Last edited: Feb 24, 2013
      BaturalNoobs likes this.
    2. Giwin

      Giwin Well-Known Member Buddy Store Developer

      Joined:
      Dec 3, 2011
      Messages:
      3,431
      Likes Received:
      49
      Trophy Points:
      48
      Update for MoP, 1.3 Release

      Sometimes the bot goes <Away> but isn't shown on the character itself (maybe some anti-bot thing) and this should clear that Away tag be using spacebar.
       
    3. Giwin

      Giwin Well-Known Member Buddy Store Developer

      Joined:
      Dec 3, 2011
      Messages:
      3,431
      Likes Received:
      49
      Trophy Points:
      48
      Updated with Picture and reason to use the plugin :) vs Anti-CTM detection
       
    4. BaturalNoobs

      BaturalNoobs Member

      Joined:
      Feb 10, 2012
      Messages:
      511
      Likes Received:
      4
      Trophy Points:
      18
      Works perfectly - thank you Giwin.
       
    5. kulkun

      kulkun New Member

      Joined:
      Dec 10, 2011
      Messages:
      26
      Likes Received:
      0
      Trophy Points:
      0
      I guess Jumpy is doing the same right? Thanks for sharing anyways!
       
    6. ace0195

      ace0195 New Member

      Joined:
      May 2, 2012
      Messages:
      15
      Likes Received:
      0
      Trophy Points:
      0
      Does this use injection to jump? Basically all I wanna know is will this reduce the security/undetectability of Honorbuddy?
       
    7. Giwin

      Giwin Well-Known Member Buddy Store Developer

      Joined:
      Dec 3, 2011
      Messages:
      3,431
      Likes Received:
      49
      Trophy Points:
      48
      This uses Honorbuddy API.
       
    8. Giwin

      Giwin Well-Known Member Buddy Store Developer

      Joined:
      Dec 3, 2011
      Messages:
      3,431
      Likes Received:
      49
      Trophy Points:
      48
      Updated with SVN Link
       
    9. superconnard

      superconnard New Member

      Joined:
      Apr 17, 2013
      Messages:
      77
      Likes Received:
      0
      Trophy Points:
      0
      ok always here is buggy, up and down next to mountain, whatever zone, i detect that in Vot4W and Jade forest...
       
    10. superconnard

      superconnard New Member

      Joined:
      Apr 17, 2013
      Messages:
      77
      Likes Received:
      0
      Trophy Points:
      0
      if u need a log go check my log in randombuddy post
       
    11. KissMe4711

      KissMe4711 New Member

      Joined:
      Jun 18, 2013
      Messages:
      96
      Likes Received:
      0
      Trophy Points:
      0
      So its not working, is there anybody who can help ?
       
    12. Proto

      Proto New Member

      Joined:
      Jan 8, 2012
      Messages:
      219
      Likes Received:
      6
      Trophy Points:
      0
      Hi Giwin,
      I've always used this plugin for anti-AFK. Thank you for it.

      I've made the following modification to it so that it does not use jump when mounted. It instead uses very rapid A & D key strokes. These are bound to turn left & right by default. So instead of jumping on a flying mount where you take flight and/or slowly gain altitude over time, or cause /mountspecial where your ground mount will become animated in some special way, this will instead slightly turn your mount. If you're not mounted it will jump as before.

      You may wish to incorporate this change for your next revision. Thanks again.

      Code:
              public override void Pulse()
              {
                  if (StyxWoW.IsInGame)
                  {
                      //to call a setting its 
                      if (StyxWoW.Me.IsAlive)
                      {
                          if (StyxWoW.Me.IsAFKFlagged && !StyxWoW.Me.Mounted && !StyxWoW.Me.IsOnTransport && !StyxWoW.Me.OnTaxi && !StyxWoW.Me.IsCasting && !StyxWoW.Me.IsMoving && !StyxWoW.Me.Combat)
                          {
                              KeyboardManager.KeyUpDown((char)KeyboardManager.eVirtualKeyMessages.VK_SPACE);
                              Logging.Write("[AlwaysHere] I'm AFK flagged, jumping at " + DateTime.Now.ToString());
                          }
                          else if (StyxWoW.Me.IsAFKFlagged && !StyxWoW.Me.IsCasting && !StyxWoW.Me.IsMoving && !StyxWoW.Me.Combat)
                          {
      			KeyboardManager.PressKey('A');
      			KeyboardManager.PressKey('D');
      			Thread.Sleep(1);
      			KeyboardManager.ReleaseKey('A');
      			KeyboardManager.ReleaseKey('D');
      			Thread.Sleep(2);
                              Logging.Write("[AlwaysHere] I'm AFK flagged, nudging at " + DateTime.Now.ToString());
                          }
                      }
                  }
              }
      
       
    13. Verosumatic

      Verosumatic New Member

      Joined:
      Jun 9, 2014
      Messages:
      14
      Likes Received:
      1
      Trophy Points:
      0
      Whenever I try and use this plugin, as soon as I AFK it just spams:
      But it doesn't actually move the character or anything. I'm not sure what the issue is.


      EDIT: With the latest Honorbuddy update it seems to be working again. It must have just been a bug.
       

      Attached Files:

      Last edited: Aug 25, 2014
    14. Joeri

      Joeri New Member

      Joined:
      Mar 11, 2014
      Messages:
      86
      Likes Received:
      0
      Trophy Points:
      0
      Thx, working as intended!
       
    15. thugluvin

      thugluvin Member

      Joined:
      Mar 21, 2013
      Messages:
      55
      Likes Received:
      2
      Trophy Points:
      8
      not working with 6.0.2
       
    16. Proto

      Proto New Member

      Joined:
      Jan 8, 2012
      Messages:
      219
      Likes Received:
      6
      Trophy Points:
      0
      Here's your 1.5 update Giwin. Removed your template notes and updated your OnEnable/OnDisable overrides for post 6.0.2 Honorbuddy.
       

      Attached Files:

    Share This Page