• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • AutoEquip2 instant rolling in dungeons

    Discussion in 'Honorbuddy Support' started by brampower, Apr 29, 2012.

    1. brampower

      brampower New Member

      Joined:
      Jul 18, 2010
      Messages:
      286
      Likes Received:
      0
      Trophy Points:
      0
      Hey guys,

      I've been using InstanceBuddy for a while with AutoEquip2 now. Rolling works like a charm, but it's instant and this might give the bot away.
      Is there any way to add a delay of, say 3-5 seconds to looting?

      I didn't see any in the options of AutoEquip.

      Thanks a bunch!
       
    2. AutomaticCoding

      AutomaticCoding Banned

      Joined:
      Dec 20, 2011
      Messages:
      1,091
      Likes Received:
      1
      Trophy Points:
      0
      Not tested because I'm lazy, didn't even load up Visual Studies so not sure if it compiles, but, here:
      -Removed due to the fact it's my fault you don't know how to edit text files. Just wait for someone else to reply, it was poorly coded anyway, worked, but poorly coded.-

      Basically just added Thread.Sleep(Random()); before every RollOnLoot(durp);, so, pulses will die for up to 10 seconds.
      EDIT: This is only the modified part of AutoEquip, not all of it, make sure you don't replace it all for this.
       
      Last edited: Apr 30, 2012
    3. brampower

      brampower New Member

      Joined:
      Jul 18, 2010
      Messages:
      286
      Likes Received:
      0
      Trophy Points:
      0
      Thank you so much! I'm new though, and not sure what to do with this?

      Thanks again.
       
    4. AutomaticCoding

      AutomaticCoding Banned

      Joined:
      Dec 20, 2011
      Messages:
      1,091
      Likes Received:
      1
      Trophy Points:
      0
      Eh, wait for someone else to reply, hopefully tony. I'm too lazy to be going the "How to use a computer 101" support. Least I tried :/
       
    5. brampower

      brampower New Member

      Joined:
      Jul 18, 2010
      Messages:
      286
      Likes Received:
      0
      Trophy Points:
      0
      Eh.. wow. Thanks for the help, sorry for the fact that I don't know 100% how to use this bot and edit all those files. My bad.
       
    6. AutomaticCoding

      AutomaticCoding Banned

      Joined:
      Dec 20, 2011
      Messages:
      1,091
      Likes Received:
      1
      Trophy Points:
      0
      I'm not trying to offend you, I simply said I'm not in the mood to take you through how to edit a text based file, however, I'll tell you (just in case your whole issue is finding the file):
      Honorbuddy\plugins\AutoEquip2\AutoEquip.cs

      However, if you could do it I think the 'plugins' folder would be the first place to look, then AutoEquip2. Anyway, I'm off this thread, UP, UP AND AWAY!
       
    7. brampower

      brampower New Member

      Joined:
      Jul 18, 2010
      Messages:
      286
      Likes Received:
      0
      Trophy Points:
      0
      Thanks. Could you perhaps please post the code again so I can do it?

      Thank you.

      **EDIT:
      I found your code back in my history, and added it to the file.
      However, it doesn't compile for me:
      Code:
      Plugin from C:\Users\USERs\Downloads\Honorbuddy_2.0.0.5883\Plugins\AutoEquip2 could not be compiled! Compiler errors:
      File: AutoEquip.cs Line: 181 Error: 'System.Random' does not contain a definition for 'NextInt' and no extension method 'NextInt' accepting a first argument of type 'System.Random' could be found (are you missing a using directive or an assembly reference?)
      File: AutoEquip.cs Line: 236 Error: 'System.Random' does not contain a definition for 'NextInt' and no extension method 'NextInt' accepting a first argument of type 'System.Random' could be found (are you missing a using directive or an assembly reference?)
      File: AutoEquip.cs Line: 243 Error: 'System.Random' does not contain a definition for 'NextInt' and no extension method 'NextInt' accepting a first argument of type 'System.Random' could be found (are you missing a using directive or an assembly reference?)
      
      Could you please tell me what's wrong? Thanks.
       
      Last edited: Apr 30, 2012
    8. AutomaticCoding

      AutomaticCoding Banned

      Joined:
      Dec 20, 2011
      Messages:
      1,091
      Likes Received:
      1
      Trophy Points:
      0
      Replace NextInt(10000); with Next(10000);

      Sorry, I code java then I got confused between java and C#.
       
    9. brampower

      brampower New Member

      Joined:
      Jul 18, 2010
      Messages:
      286
      Likes Received:
      0
      Trophy Points:
      0
      Great! Works like a charm, thank you so much!
       
      Last edited: Apr 30, 2012
    10. Tony

      Tony "The Bee" Staff Member Moderator

      Joined:
      Jan 15, 2010
      Messages:
      128,834
      Likes Received:
      571
      Trophy Points:
      113
      never had issues with that :)
       

    Share This Page