Hey, I dont know if anybody's mentioned this yet, but if you can tell me how to fix it that'd be cool =)...What do you do when it says "Type mismatch in script"? Thanks
Hey, I dont know if anybody's mentioned this yet, but if you can tell me how to fix it that'd be cool =)...What do you do when it says "Type mismatch in script"? Thanks
Sorry, double post =O
always get this error Line 48: [Error] (13122:8): Unknown identifier 'FindMime' in script
please help
ok but what about the scripts i want tuse but have that in it
I came across a different comma exptected in script error (again), and I don't know if it has been posted before, but if it hasn't, here is the problem and how to solve it:
Problem:
Solution:SCAR Code:Writeln('Hi, I am 'IntToStr(age)' years old');
Explanation: The pluses are missing...SCAR Code:Writeln('Hi, I am '+IntToStr(age)+' years old');![]()
It is because of the simplicity of the error that it appears almost every time I write a script
Edit: To The Person who posted above me:
Question:Answer: Select the entire "FindFastRandoms" and delete it. after that you schould get an error like: "unknown identifier" a couple of times, jumping to the lines in which the procedure is still called for. just delete all of those, too. btw: scripts using FindFastRandoms are probably way outdated, so the probability that they should work for someone with little Scar knowledge is at about 0%. Get an up-to-date script, or maybe kindly ask the person if he/she could update it. Easy solution to an easy problem.ok but what about the scripts i want tuse but have that in it
(I'm really in the mood today to help, I'd better shut my pc off now, or I might get annoying)
There is nothing right in my left brain and there is nothing left in my right brain.
im getting this come up
[Runtime Error] : Out Of Range in line 1211 in script C:\Program Files\SCAR 3.15\includes\SRL/SRL/Core/AntiRandoms/AntiRandoms.scar
is this like yourbecause if it is im confuse because im sure i have my players setup right and i dont have 1211 lines to my script and it popped up with anti randomsError 10: Out of range error.
Solution:
This is most commonly caused by not setting your players right in the player arrays. When you set the number of players, you are setting the number of slots that there are players for, ACTIVE OR NOT! so if you have 2 users active, but there are 6 slots, then you still have the how many players as 6.
rep++ for help
how you fix this?
Line 61: [Error] (12724:20): colon (':') expected in script D:\Documents and Settings\kids\Desktop\powerminner.scar
edit: nvm got help on irc
thats very helpful
Please help, i made this procedure and keep getting this error on script below.
Line 26: [Error] (12680:112): Type mismatch in script C:\Users\----\Desktop\A Work In Progress.scar
SCAR Code:procedure locatebanksign;
var
x, y :integer;
acc :string;
angle :string;
begin
Writeln('Finding Bank Symbol');
FindDeformedBitmapToleranceRotationIn(BankSymbol, x, y, 536, 12, 711, 158, 30, 2, acc, PI/10, 0, 2 * PI, angle)true; // line 26
Result : acc;
end;
And this error for script below.
Line 75: [Error] (12729:69): Type mismatch in script C:\Users\-----\Desktop\A Work In Progress.scar
SCAR Code:procedure open bank;
Var
Points :integer;
x, y :integer;
a, b :integer;
begin;
MakeCompass('n');
FindColorsSpiralTolerance(x, y, Points, 4679037, 5, 5, 514, 336, 70)true; //Line 75
FindBitmapToleranceIn(BankBooth, a, b, 536, 12, 711, 158, 25);
ClickMouseSpline(X, Y, 4, 4, True);
Wait(1000+Random(500));
ClickMouseSpline(a, b, 4, 4, true);
end;
http://img511.imageshack.us/img511/3...2bannerlx0.gifhttp://img367.imageshack.us/img367/5641/mybannerst2.gif
انا عربي حتى لا تكون عنصرية!
If you have a PSP and you are bored with it go here and look around.
so I keep getting this invalid number of parameters in script. Does this mean that mean I have to check my entire script for where it could be?
Thank You, great thread by the way
I wish I knew about this before I started messing with random stuff lol
Thank you i <3 you! Helped me!
thanks this will help...
ty... helped out alot much love![]()
Sometimes i get this error "Line XX: [Error] (13122:8): Unknown identifier 'RunBack' in script/// or instead of RunBack is DropTo :\
any ideas?
Anyways Great Tutorial, clarified a few things for me)
Hey,I get this error:
From this part of my script that I am trying to make:Code:Line 79: [Error] (12741:20): colon (':') expected in script D:\Program Files\SCAR 3.15\Scripts\mysecond script.scar
Please reply ASAP.Code:1: Mouse(x, y, 4, 4, False); ChooseOption('ine'); 2: Mouse(x, y, 4, 4, True);
Thanks,
Richard.
<3
Originally Posted by Eminem
i'm a beginner at scripting and kept getting loads of these errors
Having read this though I am finding it much easier to script and fix other peoples scripts.
Thanks!!!!!!!
Thanks JAD please make more!
Very useful Tutorial, i learned how to fix like 3 or 4 errors that i used to have :P, here.
I hope other noobs have the 'inteligence' to read this post before triple posting the same thread with the same error.
Wow Ty Jad this was extremely helpful.
i got this error, it isnt mentioned on your guide
'Line 2570: [Error] (15224:44): Type mismatch in script C:\Documents and Settings\ur mum\anal rape\1337 pwn4g3\Runescape\Scar\GuildMiner 30 Release.scar
Code:http://img147.imageshack.us/img147/9...trycopyyh0.png Siggy made by me using Photoshop CS3. Willing to test any script that isn't member or pointless.
There are currently 1 users browsing this thread. (0 members and 1 guests)