how do you remove it? somehow ive put it on and now my bot wont bank haha.
Printable View
how do you remove it? somehow ive put it on and now my bot wont bank haha.
iam such a noob :S i found banking in script but the code looks way different to what you posted?
Go to: C:\Simba\Includes\SRL\SRL\core\bank.scar and replace that function with what I posted.
lol thanks kyle iam such a noob but ill get there :)
[Error] C:\Simba\Includes\SRL/SRL/core/bank.scar(440:10): Duplicate identifier 'DEPOSITALL' at line 439
Compiling failed.
You have to replace it, not add it.
Cheers Kyle, works a treat.
If anyone's struggling at replacing it, Just tell me what script it is and I'll help you out :)
Glad it's working! :D
im using herblore pro and have tried my damdest to figure out where to put the fix kyle provided, could some1 tell me what line or better yet show me it included properly into herblore pro.
apolagies for my incompatence
It's included in the newest SRL, please update.
hhhhmm i updated srl and have the latest version of simba downloaded and still no fix
make sure the script uses SRL 5
so at the top, if it says
{$i srl/srl.scar}
change it to
{$i srl/srl.simba}
~shut
ahh right it was using scar as apposed to simba but now im gettin an error on the following line
SetAngle(True);
[Error] (999:17): Type mismatch at line 998
Compiling failed.
change True to SRL_ANGLE_HIGH
~shut
aaahh thank u sirs that seems to have done the job. thanks for ure patience though i really need to learn how to do this stuff for myself as i dont wanna be a leech
replacing the paragraph in the script i was using for some reason didn't work, but replacing it in bank.scar did?
idk strange to me
I was trying to use iCleaner.when i added that SRL/SRL.simba thing.then this came:[Error] type mismatch at line 113.
on line 113 was:Angle(True) I changed the 'True' to SRL_ANGLE_HIGH
then this came:[Error] type mismatch at line 149.
on line 149 was:MouseItem(Pattern[ISlot], True);
I changed the 'True' to SRL_ANGLE_HIGH
Then SRL compiled succesfully and deposited my inventory perfectly.
BUT when it tried to clean herbs it seemed that it wasn't able to click them.
what was wrong?help!
Umm wow? Why would u do that? Mouse does not take the parameters "SRL_Angle_High".. I'd think that the Angle is a dead give away but meh.. Uhh don't worry though, just change it to 1 to left click, 2 for right click, 3 to move mouse only..Quote:
on line 149 was:MouseItem(Pattern[ISlot], True);
I changed the 'True' to SRL_ANGLE_HIGH
Then SRL compiled succesfully and deposited my inventory perfectly.
BUT when it tried to clean herbs it seemed that it wasn't able to click them.
what was wrong?help!
ok so ive replaced the old bank.scar file code to:
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;
but i keep getting errors everywhere when i try compiling it. Now what, ive updated my stuff but i already have SRL5?
i did all of that and it said this:
Exception in Script: Unable to find file 'SRL/SRL.scar' used from ''
i think you have to update the srl5 or something cuz i compiled it and everything but it still hasn't worked out, help?
im getting an error after replacing the code in the bank.scar file but it says in line 62:
if (CountColor(0, MSX1, MSY1, MSX2, MSY2) > 113000) then
do i have to replace something there, its the bankscreen function part, im using herblore pro1.5
Thankyou! i have sorted the bank problem.. but now on some scripts
such as icleaner
i run and it says: Exception in Script: Unable to find file 'SRL/SRL.scar' used from ''
does this mean the creator hasnt made it usable with SRL5? or is this something i could fix? thankyou
ok can someone please help me with this herblore pro 1.5 and bank.scar scripts? just send me the new files of what ever they are that fix it to my email: Latios721@gmail.com