• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • alwayshere插件无效啊,角色暂离了也不会跳跃,谁能帮我看下代码对不对

    Discussion in 'Honorbuddy 援助区' started by superxiong, Jun 22, 2013.

    1. superxiong

      superxiong New Member

      Joined:
      Jun 12, 2013
      Messages:
      5
      Likes Received:
      0
      Trophy Points:
      0
      alwayshere插件无效啊,角色暂离了也不会跳跃,谁能帮我看下代码对不对,角色站着不动时,HB 窗口能看到loggin.write的输出信息,但是角色就是不会跳,正确的代码是啥呢?

      Code:
      if (!StyxWoW.Me.IsCasting && !StyxWoW.Me.IsMoving && !StyxWoW.Me.Combat)
                          {
                              
      Styx.Helpers.KeyboardManager.PressKey((char)KeyboardManager.eVirtualKeyMessages.VK_SPACE);
                              Logging.Write("[防暂离111] 得到暂离标记, 清除标记 " + DateTime.Now.ToString());
                          }
      
       
    2. EricPhone

      EricPhone Moderator Moderator

      Joined:
      Feb 17, 2013
      Messages:
      5,665
      Likes Received:
      3
      Trophy Points:
      38
      if (StyxWoW.Me.IsAFKFlagged && !StyxWoW.Me.IsCasting && !StyxWoW.Me.IsMoving && !StyxWoW.Me.Combat)
      {
      KeyboardManager.KeyUpDown((char)KeyboardManager.eVirtualKeyMessages.VK_SPACE);
      Logging.Write("[AlwaysHere] I'm AFK flagged, Anti-Afking at " + DateTime.Now.ToString());
      }
      你可以试下这样改
      代码出自最新版本的alwayshere,里面的SVN有最新版本
      http://www.thebuddyforum.com/honorb...d/76383-plugin-alwayshere-because-im-afk.html
       
    3. superxiong

      superxiong New Member

      Joined:
      Jun 12, 2013
      Messages:
      5
      Likes Received:
      0
      Trophy Points:
      0
      额,我试了一下,还是没有用.....不过还是谢谢了啊。
       
    4. EricPhone

      EricPhone Moderator Moderator

      Joined:
      Feb 17, 2013
      Messages:
      5,665
      Likes Received:
      3
      Trophy Points:
      38
    5. csl5707

      csl5707 New Member

      Joined:
      Sep 1, 2012
      Messages:
      284
      Likes Received:
      0
      Trophy Points:
      0
      這個插件不會自動跳躍來防止AFK吧,他做的只是移除你的暫離tag
       
    6. Meiam

      Meiam Member

      Joined:
      Sep 8, 2012
      Messages:
      54
      Likes Received:
      0
      Trophy Points:
      6
      Code:
      using Styx.Helpers;
      
      KeyboardManager.KeyUpDown((char)KeyboardManager.eVirtualKeyMessages.VK_SPACE);
       

    Share This Page