SRL Archive - RS has been updated.

Banking


Moni

2012-01-04 15:41:37

I know that theres a solution BUT WHERE DO I PUT THIS CODE Because i use a msi fishing script


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;

Moni

2012-01-04 15:42:37

I dont know where 2 place this in the bot

wardy1100

2012-01-04 15:44:21

/simba/includes/srl/srl/core/banking.scar

just open that file up in simba … ctrl+f … type depositall … enter till you find the old code which looks very similar then replace it with the new code

PatDuffy

2012-01-04 15:48:42

From: wardy1100
/simba/includes/srl/srl/core/banking.scar


That is not what he asked.

You place that code inside of your script under a procedure titled something related to Banking preferably. You then would have to call that procedure if you wanted to bank.


I'm sure there are tutorials on how to bank.

Moni

2012-01-04 16:04:52

Theres no tuturiols I CANT FIND IT :{:{

[Nathan]

2012-01-04 16:46:02

From: PatDuffy
That is not what he asked.

You place that code inside of your script under a procedure titled something related to Banking preferably. You then would have to call that procedure if you wanted to bank.


I'm sure there are tutorials on how to bank.


I'm pretty sure that is what he asked, he said he is using MSI and wants to update the banking code (with the rs update today, SRL broke.) with what he posted, the fixed version. Open up the file wardy1100 said and replace the old version of depositall with that and it will be fixed

Kyle Undefined

2012-01-04 17:37:28

DepositAll is a function that's part of SRL :p wardy1100 had it right :)

Moni

2012-01-04 17:42:32

From: wardy1100
/simba/includes/srl/srl/core/banking.scar

just open that file up in simba … ctrl+f … type depositall … enter till you find the old code which looks very similar then replace it with the new code


I dont know where 2 type /simba/includes/srl/srl/core/banking.scar

Brandon

2012-01-04 17:45:35

Click
start.. My computer..
Local Disk C..
Simba.. Includes.. SRL.. SRL.. Core.. Banking.Scar.

Kyle Undefined

2012-01-04 17:55:10

That's the folders you have to do.

EDIT: :ninja:'d

lostprophetsown

2012-01-04 17:58:20

My guide: http://villavu.com/forum/showthread.php?t=71066

Follow it.