JAD u helped us all lol
JAD u helped us all lol
Ummm... I kind of got another error with a progress report. Error is
And line 72 isLine 72: [Error] (18113:1): Invalid number of parameters in script C:\WINDOWS\...
Thanks.Writeln('+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+')
Tazzie
Are YOU into things to do with gaming consoles, glitches, mods or just meeting new people?
Join Se7ensins and learn how to do the above!
http://www.fenjer.com/adnan/SRLStats/824.png
idk what to do with this error:
Line 14: [Error] (14:4): period ('.') expected in script
this is my entire script:
program KingOfButtons;
var x,y:Integer;
const ButtonColor=3158271;
Procedure StartGame;
begin
MoveMouse(595,68);
ClickMouse(595,68,true);
MoveMouse(543,29);
ClickMouse(543,29,true);
end;
begin
StartGame;
end;
begin
if(FindColor(x,y,ButtonColor,416,-387,965,12))then
begin
MoveMouse(x,y);
ClickMouse(x,y,true);
end;
end.
It's one of my first scripts and idk wut to do. plz help!
EDIT: ok ty
this here:
begin
StartGame;
end;
isn't a procedure. You make it look like it's your main loop starting with a begin and it's supposed to end with a "end.". Change your loop around or make extra procedures to try to fix that.
Hope you get what I mean
Thanks I fixed soooooo many scripts now ZOMG i can't express my gratitude. LOL i sound corny.
i was so lost and fighting with Error 5, until yuor tut. thanks youve saved my day twice (first with that shop inventory full thingy)
If I see you autoing with level 3/default clothes/crap name I WILL report you. Auto Correctly. - put this in your sig
http://www.fenjer.com/adnan/SRL/20/33/BucketX.png
http://www.fenjer.com/adnan/SRLStats/742.png
thank you very much sir
These are some of the errors i find
which means yoru missing a commacomma (',') expected in script
which means that you didnt type 'then' after an if statement...or you put a'THEN' expected in script
semicolon ";" in the sentence before you typed then.
which means that you left a ' out when using them ex.String error in script
Writeln('I am happy)Which I think means that you didnt use the command or function parameters right. ex. typing a number value where there should be a stringSyntax error in script
Thank you very much! This has helped me a lot in improving my tutorial. I never get many errors like that anymore because I know how things should be, but I got them all the time when I was new to scripting and forgot about them
But this has added lots of new errors to my tutorial, thanks!
Jad I just finished my new cow hide script. But i have an identifier error, and i checked through all the repeats begins untils and ends like 10 times, but nothing is wrong. Here is the procedure.SCAR Code:Procedure BankingHides; //this is the line that the identifier error is.
begin
CowHideDTM := DTMFromString('78DA6314626060E06740013BD7AD63F80FA41' +
'981F83F10304A0119AC0C6880118904D2D240428A801A903D3204' +
'D4B0030971026AD880040F7E35009E8D07F2');
wait(100 + random(135))
for A:= 3 to 8 do
begin
FindBitmapToleranceIn(BankBMP(x,y,MMX1,MMY1,MMX2,MMY2,A);
If(FindBitmapToleranceIn(BankBMP(x,y,MMX1,MMY1,MMX2,MMY2,A))) then
begin
break;
end;
end;
MMouse(x,y-17,0,0);
Mouse(x,y-17,0,0,true);
flag;
wait(387 + random(154));
repeat
FindColorTolerance(x,y,8096403,MSX1,MSY1,MSX2,MSY2,3);
if(not(FindColorTolerance(x,y,8096403,MSX1,MSY1,MSX2,MSY2,3)))then
begin
Tries:=0;
repeat
Wait(400 + random(50));
Tries := Tries + 1;
If Tries=20 then
Begin
Writeln('Cant find Bank...next player');
NextPlayer(false);
end;
until FindColorTolerance(x,y,8096403,MSX1,MSY1,MSX2,MSY2,3);
end;
until FindColorTolerance(x,y,8096403,MSX1,MSY1,MSX2,MSY2,3);
MMouse(x,y,2,2,true);
if(not(IsUpText('ank booth')))
begin
repeat
FindColorTolerance(x,y,8096403,MSX1,MSY1,MSX2,MSY2,3);
if(not(FindColorTolerance(x,y,8096403,MSX1,MSY1,MSX2,MSY2,3))) then
begin
Tries:=0;
repeat
Wait(400 + random(50));
Tries := Tries + 1;
If Tries=20 then
Begin
Writeln('Cant find Bank');
NextPlayer(false);
end;
until FindColorTolerance(x,y,8096403,MSX1,MSY1,MSX2,MSY2,3);
end;
until IsUpText('ank booth',true)
end;
MMouse(x,y,2,2);
Mouse(x,y,2,2,false);
ChooseOption(x,y,'Use-quickly');
if (FindDTM(CowHideDTM,x,y,558,308,740,463));
begin
Mouse(x,y,2,2,false);
ChooseOption(x,y,'All');
end;
CloseBank;
Loads2:= Loads2 + 1
end;
The previous procedure is very long, and i don't feel like exposing most o fmy script, so im gona send it to you in a message.
Edit: Nvm i read through the procedure and I found alot of errors, i screwed up on some standards and thought i had ended the begin before going on cause i was already at the same spaces from the end. and ty for the help
Can't sleep Clowns will eat me
Can't eat Clowns will sleep with me
i m using the willow chopper and it keeps saying error detecting compas angle how do i solve it at what bank booth do i need to stand?
what willow chopper? My edgevil willow chopper? If your talking about that, this is the wrong section...
But that script hasn't been updated by me in forever, and I was pretty new to scripting when I made that.. And I don't plan on updating it, but I may
If that wasn't what you were talking about, please tell me what you meant by your post.
nice guide jad, lol this helped me with like 5 errors in my script except for one that i cant figure out i think it should work but it says "line 422: [Error] (14832:10): 'THEN' expected in script" heres part of the script if u wanna help
Procedure loginme1;
begin;
DeclarePlayers;
wait(500 - random(250))
LoginPlayer;
wait(19000 + random(4000) - random(4000));
if NoNet :=true then
FindNet;
end;
what did i do wrong ( besides the functions and procedures wouldnt work cause there before that in whole script)
You have a ":" in your NoNet = thing
If your checking a result, like if This = this then or whatever, then you just use a "=" sign. If your changing a variable, like if(InChat('JAD is awesome!'))then OurVariable := 10293765; you'd use a ":" like so
So just take out that ":" and you should be good.
And thanks a lot
oh ok thanks w00t jad is rad
omg! thanks
i was wondering why i was getting a ERROR
SCAR Code:Program New;
begin
Writeln( hello World);
end;
didnt know there was spose to be 'hello world' and "end."
thanks Jad...
lol jk im bored.. nice tut maybe people will stop buging me... gah..
edit : although i dont think that will happen lol...
There are currently 1 users browsing this thread. (0 members and 1 guests)