I've been starting scripting in scar but sometimes i get stupid errors,what is that all about?
Line 8:Line 8: [Error] (17:1): Identifier expected in script C:\Program Files\SCAR 2.03\includes\srl\srl\core\Globals.scar
if (FindFight = true) then
I've been starting scripting in scar but sometimes i get stupid errors,what is that all about?
Line 8:Line 8: [Error] (17:1): Identifier expected in script C:\Program Files\SCAR 2.03\includes\srl\srl\core\Globals.scar
if (FindFight = true) then
Dormcheck is a scam,i've posted 1000 messages and i never got paid my 10 bucks.
http://www.fenjer.com/adnan/SRLStats/348.png
the error is probably in the line above it or below it, or mabe u didnt set ure constants and what not?
Then what i set like constant lol?
Dormcheck is a scam,i've posted 1000 messages and i never got paid my 10 bucks.
http://www.fenjer.com/adnan/SRLStats/348.png
may i see the rest of the code?
Sure
Im trying to make a auto bowl maker in crafting guild.program PaidToWarezCrafterGuildBooster;
begin
{.include SRL/SRL.scar}
Procedure DeclarePlayers;
Begin
HowManyPlayers := 1;
NumberOfPlayers( HowManyPlayers );
CurrentPlayer := 0;
Players[0].Name :=''; //Runescape Username
Players[0].Pass :=''; //Runescape Password
Players[0].Nick :=''; //The 3 letters following the first of your Runescape username
Players[0].Active:=True;
procedure DoAntiRandoms;
begin
FindTalk;
FindNormalRandoms;
if (FindFight = true) then
begin
RunAwayDirection('N');
Wait(10000 + random(2000));
RunBack;
end;
end;
procedure Domining;
begin
MakeCompass('S');
repeat
if(FindColor(x,y,7712975,7449031,6328489,8172755,8 369876))then
wait(100+random(50));
MMouse(x,y,0,0);
wait(1000+random(50));
Mouse(x,y,0,0,true);
wait(100+random(50));
until(InvFull);
end;
end.
Dormcheck is a scam,i've posted 1000 messages and i never got paid my 10 bucks.
http://www.fenjer.com/adnan/SRLStats/348.png
im not sure if thisll help, but under begin, dont u need to asign those 3 values as vars or consts?



There fixed, with standards.SCAR Code:program PaidToWarezCrafterGuildBooster;
{.include SRL/SRL.scar}
Procedure DeclarePlayers;
Begin
HowManyPlayers := 1;
NumberOfPlayers( HowManyPlayers );
CurrentPlayer := 0;
Players[0].Name :=''; //Runescape Username
Players[0].Pass :=''; //Runescape Password
Players[0].Nick :=''; //The 3 letters following the first of your Runescape username
Players[0].Active:=True;
end;
procedure DoAntiRandoms;
begin
FindTalk;
FindNormalRandoms;
if (FindFight = true) then
begin
RunAwayDirection('N');
Wait(10000 + random(2000));
RunBack;
end;
end;
procedure Domining;
begin
MakeCompass('S');
repeat
if(FindColor(x,y,7712975,7449031,6328489,8172755,8369876))then
begin
wait(100+random(50));
MMouse(x,y,0,0);
wait(1000+random(50));
Mouse(x,y,0,0,true);
wait(100+random(50));
end;
until(InvFull);
end;
begin
end.
By the way, fix that findcolor part. It's all fucked up.
All fucked up?hmm,maybe...
EDIT:Yea i should use something else then 'if'
Dormcheck is a scam,i've posted 1000 messages and i never got paid my 10 bucks.
http://www.fenjer.com/adnan/SRLStats/348.png
it lacked one End; to close the proc DeclarePlayers;
SRL is a Library of routines made by the SRL community written for the Program Simba.We produce Scripts for the game Runescape.
Yay another error again lol,i'm starting to really want to crush my lcd screen because the stupid script always error![]()
Failed when compiling
Line 38: [Error] (18665:1): Identifier expected in script C:\Program Files\SCAR 2.03\Scripts\KingofptwCrafter.scarprogram PaidToWarezCrafterGuildBooster;
{.include SRL/SRL.scar}
{.include SRL/SRL/Skill/Mining.scar}
const
RockColor = 8369876; //the color of the clay
Procedure DeclarePlayers;
Begin
HowManyPlayers := 1;
NumberOfPlayers( HowManyPlayers );
CurrentPlayer := 0;
Players[0].Name :='Kingofptw'; //Runescape Username
Players[0].Pass :=''; //Runescape Password
Players[0].Nick :='ing'; //The 3 letters following the first of your Runescape username
Players[0].Active:=True;
end;
procedure DoAntiRandoms;
begin
FindTalk;
FindNormalRandoms;
if (FindFight = true) then
begin
RunAwayDirection('N');
Wait(10000 + random(2000));
RunBack;
end;
end;
procedure mining;
var J, M, Tol: Integer;
begin
function GetTolerance: Integer;
var i: Integer;
i := 0;
repeat
i := i + 1;
if (FindColorSpiralTolerance(J, M, RockColor, 0, 0, 249, 179, i)) then
begin
MMouse(J, M, 0, 0)
if (IsUpText('ocks')) then
Result := Tol;
end;
until (i > 2600);
Result := Tol;
end;
Procedure stupidmining;
function WhileMining: Boolean;
begin
if (not (LoggedIn)) then
Exit;
Result := False
Tol := 3;
if (FindColorSpiralTolerance(x, y, RockColor, 0, 0, 0, 0, Tol)) then
begin
MMouse(x, y, 2, 2);
if (IsUpText('ocks')) then
Result := True;
end;
repeat
MMouse(x, y, 0, 0);
Wait(50 + random(150));
if (IsUpText('ocks')) then
begin
GetMousePos(x,y);
Mouse(x, y, 2, 2, true);
Wait(500 + random(250));
Result := True;
Exit;
end;
if (not (Result)) then
begin
Tol := GetTolerance;
end;
until
(InvFull);
end;
begin
end.
Dormcheck is a scam,i've posted 1000 messages and i never got paid my 10 bucks.
http://www.fenjer.com/adnan/SRLStats/348.png
king, you need to give me credits for using things from my script.. Its kind of obvious, because for your variables in the tolerance changer, you used J,M (Jad Macro) please do not copy my script without permission/credits. almost all of this is from my power miner, and I never gave, and probably never will give you permission to use this because like 90% of it is my script. please make your own script.
Hey,do you think i don't give credit?I know it's nearly all from your script,afterwards of that i need to make the clay turn into soft clay,then make bowl with them,then fire them,then drop them.
i don't give credits until it's finished,i'm just using your powermining script base because it's GOOD.
Dormcheck is a scam,i've posted 1000 messages and i never got paid my 10 bucks.
http://www.fenjer.com/adnan/SRLStats/348.png
You aren't allowed to use any part of the script though without asking me firstwhich I would/still probably will say yes, but you must ask first and give credits
![]()
Well..I didn't knew that i had to ask because the script is public
But can i use it,but theres a thing i don't understand there,why does it dosen't work?
Dormcheck is a scam,i've posted 1000 messages and i never got paid my 10 bucks.
http://www.fenjer.com/adnan/SRLStats/348.png
There are currently 1 users browsing this thread. (0 members and 1 guests)