Jump to content
alphadawg

Help making an antiban!

Recommended Posts

I am making a gunning bot for puzzle pirates.

I have everything working fine, I just need to set up a anti ban function to randomize the procedures call list.

 

Begin
   wait(RandomRange(1000,1500));
   //gunning algo
   1;      
   2;
   3;
   4;  
   5;
   6;
   7;
   8;
   9;
   0;
   11;
   12;
   13;
   14;
   15;
   16;
end.;

 

I would like to randomize between 1-16 in different sequences each time.

 

Thanks for all your help.

Link to comment
Share on other sites

Could you give up some more proper piece of code?

 

Wall, I guess I can try to understand what you are after.. if I get it correctly you want something like this:

 

procedure AntiBan;
begin
 case RandomRange(1,16) of
   1: DoSomethingRandom1;
   2: DoSomethingRandom2;
   3: DoSomethingRandom3;
   4: DoSomethingRandom4;
   5: DoSomethingRandom5;
   6: DoSomethingRandom6;
   //... (you get the point)
 end;  
end;

Edited by slacky
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
  • Create New...