Hey guys, this is just a simple tutorial to help people who are struggling to auto due to the recent update which has placed the deposit money pouch button in place of the deposit all button.
EDIT: I've uploaded the updated bank.scar file to replace the original one with. Feel free to check through the code, as there isn't anything malicious about it
To fix this, follow this guide I have quickly created:
The code you will need to replace the depositAll feature with is this:
Code:function DepositAll: Boolean; var T, X, Y: Integer; BScreen, DScreen: Boolean; begin Result := false; BScreen := BankScreen; if (not(BScreen)) then DScreen := DepositScreen; if (BScreen) or (DScreen) then if (InvCount > 0) or (FindColor(X, Y, srl_outline_black, 98, 68, 436, 257) and (DSCreen)) then begin Mouse(360 - 50 * Integer(DScreen), 305 - 30 * Integer(DScreen), 15, 10, True); Wait(200 + Random(300)); T := GetSystemTime; while (InvCount > 0) or (FindColor(X, Y, srl_outline_black, 98, 68, 436, 257) and (DSCreen)) and (GetSystemTime - T < 2000) do Wait(100); Result := (InvEmpty) or (not(FindColor(X, Y, srl_outline_black, 98, 68, 436, 257)) and (DScreen)); end else begin srl_Warn('DepositAll', 'No items to deposit ', warn_AllVersions); result := true; end; end;
EDIT: Some people are struggling with following the tutorial so I've uploaded the updated bank.scar file. Can someone scan through it to confirm it's fine? Thank you.
I hope I helped, thanks again![]()






Reply With Quote











This will help a lot!




