Congratz on the release. Few things:
Simba Code:
procedure northDirection();
var
directionBox: TBox; //declare TBox variable
begin
directionBox := intToBox(584, 22, 610, 45); //top left, bottom right points
mouseBox(directionBox, MOUSE_LEFT); //left click
smallRandomMouse();
end;
Stuff like that is great. It shows understanding of the fundamental concepts of SRL/Simba. But you don't always need to do that. Instead, you could use:
Simba Code:
mainScreen.clickCompass();
---
Simba Code:
procedure acceptButton();
var
x, y: integer;
begin
wait(randomRange(1113,2546));
while not productionScreen.isOpen() do wait(1);
KeyDown(VK_SPACE);
wait(randomRange(123,936));
KeyUp(VK_SPACE);
sleepAndMoveMouse(1000 + random(2000));
mouseOffClient(OFF_CLIENT_RANDOM);
wait(randomRange(168325, 198512));
end;
That will also work fine, but the huge random wait is kind of nasty. You could try something like:
Simba Code:
repeat
wait(100);
until not productionScreen.isOpen();
Make sure to add a timeout failsafe so you don't and up sitting there forever.
---
Maybe add a progress report? Clarity has a simply amazing tutorial on it here: https://villavu.com/forum/showthread.php?t=110720
It'd be sweet for tracking the amazing profit this script would bring in.
---
My final suggestion is to create an entire procedure dedicated to antiban, using case(random). That way, you wouldn't need to worry about calling specific antibans a billion times in your script. You could just call antiBan();.