Shady89
2012-01-04 12:01:31
how do you remove it? somehow ive put it on and now my bot wont bank haha.
Shady89
2012-01-04 12:13:10
iam such a noob :S i found banking in script but the code looks way different to what you posted?
Kyle Undefined
2012-01-04 12:21:21
Go to: C:\Simba\Includes\SRL\SRL\core\bank.scar and replace that function with what I posted.
Shady89
2012-01-04 12:22:57
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.
Kyle Undefined
2012-01-04 12:34:52
You have to replace it, not add it.
lostprophetsown
2012-01-04 12:37:15
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 :)
Shady89
2012-01-04 12:37:51
From: Kyle Undefined
You have to replace it, not add it.
thanks its working now and i did replace it but dont think it saved :P thanks alot for your help.
love this community :)
nathan lad
2012-01-05 13:04:32
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
Kyle Undefined
2012-01-05 13:12:05
It's included in the newest SRL, please update.
nathan lad
2012-01-05 13:22:42
hhhhmm i updated srl and have the latest version of simba downloaded and still no fix
Shuttleu
2012-01-05 13:23:47
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
nathan lad
2012-01-05 13:30:29
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.
Shuttleu
2012-01-05 13:39:48
change True to SRL_ANGLE_HIGH
~shut
nathan lad
2012-01-05 13:48:20
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
stinkfist
2012-01-05 15:43:38
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
chelmid
2012-01-06 12:08:49
From: Shuttleu
change True to SRL_ANGLE_HIGH
~shut
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!
Brandon
2012-01-06 20:32:10
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..
xxCortlandxx
2012-01-07 00:00:54
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?
xxCortlandxx
2012-01-07 00:25:49
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
Kresh
2012-01-07 08:20:46
From: Shuttleu
change True to SRL_ANGLE_HIGH
~shut
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
Andr01d721
2012-01-07 09:10:54
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: [email]Latios721@gmail.com[/email]
guitarist10
2012-01-07 15:38:40
So, with Herblore Pro 1.5, I did all this and it simply doesn't do anything. It didn't even log in. Any help?
EDIT: Got it working.