From: Mat
All in one not sure if it works give it a try :)
Your script gives me this error:
[Hint] D:\Installed Programs\Simba\Includes\SRL/SRL/core/mapwalk.simba(1353:3): Variable 'BOX' never used at line 1352
[Error] D:\Installed Programs\Simba\Includes\SRL/SRL/core/antirandoms/antirandoms.simba(459:19): Invalid number of parameters at line 458
From: TotalKillz
Then it would be FindNPCChatTextMulti(['All', 'Yes']); or something along those lines. His gives you a choice if you want to destroy it or not, so it would be like FindSpinTicket(True) to use it or FindSpinTicket(False) to destroy it.
Awesome. I am now using this and it works with both destroying all tickets and a single ticket:
function FindSpinTicket(): Boolean;
var
oneFreeSpin, x, y: Integer;
begin
oneFreeSpin := DTMFromString('mrAAAAHic42BgYMhlYmBIBuJyIC4F4hQgLgPiaiAuAeInQDWvgfg+ED8D4vdQDBK/BcS9BloMHXHWYMzLwwMUYULB/EASH2ZCw4xoGAYA/y4OqA==');
if (FindDTM(oneFreeSpin, x, y, MIX1, MIY1, MIX2, MIY2)) then
begin
Mouse(x, y, 5, 5, mouse_Move);
if (WaitUptext('laim', 300)) then
begin
ClickMouse2(mouse_Right);
Wait(RandomRange(100, 200));
ChooseOption('estroy');
Wait(RandomRange(300, 400));
FindNPCChatTextMulti(['All', 'Yes'], ClickLeft);
Result := True;
end;
end;
end;
Thanks again for the help. + rep
From: Imanoobbot
By the way why you want to destroy them? Isn´t it better just clicking them and gaining the free spin? I mean if you don´t want to roll it just let it be where it is. Don´t get the reason for destroying them.
Because on f2p accounts you can have a max of 11 free spins and when you reach that it gives you an error, so after you reach that it continues to try to claim spins and an error comes up and screws up all my resource goldfarmers. So, after reaching 11 I have to manually go through every account and use up the spins so the bot can be actually run again without spamming the claim button. It's just to save me a bit of hassle lol.