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!
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.
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 :/
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.
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!
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.
Replace NextInt(10000); with Next(10000); Sorry, I code java then I got confused between java and C#.