Log in

View Full Version : SRL Compling errors



Markus
01-03-2008, 12:00 PM
Seems that LOTS of people are having problems with my evil bob solver, all because Wizzyplugin is old/isn't functioning correctly.
So I want to know, do you have a problem with the Evil Bob solver?
Please only post if you get one of these errors:


Line 57: [Error] (10376:24): Type mismatch in script C:\Program Files\SCAR 3.12\includes\SRL/SRL/Core/AntiRandoms/EvilBob.scar"

Please post what you've done so far, and if it solved the problem. Also post your current SRL Revision, Scar version and the filesize of your Wizzyplugin.dll:
Example:
Revision: #9
Scar version: 3.13 redownloaded
Filesize Wizzyplugin.dll: 55.0kb
Things done to fix: nothing, no problems at all
Thank you

Markus

Ways to fix
1. File, update srl svn, restart SRL.
2. Copy includes\place inside plugins folder\ to the plugins folder.
3. Check the post below from n3ss3s

n3ss3s
01-03-2008, 12:03 PM
Also, if nothing seems to work, make the function look like this:

{************************************************* ******************************
function FindBobsServant: Boolean;
by: MastaRaymond
Description: Finds Evil Bob's servant
************************************************** *****************************}
function FindBobsServant: Boolean;
var
TPA: TPointArray;
ATPA: Array of TPointArray;
I, cts ,x ,y, k: Integer;
begin
if (not LoggedIn) then Exit;
cts := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorspeed2Modifiers(0.10, 25);
FindColorsSpiralTolerance(MSCX, MSCY, TPA, 5143728, MSX1, MSY1, MSX2, MSY2, 20);
ATPA := TPAtoATPAEx(TPA, 50, 50);
k := High(atpa);
For I:= 0 to k do
begin
MiddleTPAEx(ATPA[i], x, y);
MMouse(x, y, 1, 1);
Wait(150 + Random(70));
GetMousePos(x, y);
if (Pos('ervan', rs_GetUpText) <= 0) then
Continue;
Mouse(x, y, 0, 0, True);
FFlag(0);
ColorToleranceSpeed(cts);
Result := True;
Exit;
end;
end;


Pseudostickified.

Kosaki
01-03-2008, 03:30 PM
I had that error and Ii used n3ss3s's fix.

Thanks for the help.

nielsie95
01-03-2008, 04:08 PM
I'll sticky this temporary :)

footballjds
01-03-2008, 04:38 PM
i deleted my whole include file and re-installed srl. worked. BTW
the Wizzyplugin is only comments? wtf:eek:

Markus
01-03-2008, 04:39 PM
Wizzyplugin.dll in the plugins folder.

Santa_Clause
01-03-2008, 04:40 PM
Worked for me after I restarted SCAR.

richk1693
01-03-2008, 05:48 PM
I got that error. Copy everything in the 'place inside plugins folder' folder and paste it into the plugins folder. That fixed it for me.

n3ss3s
01-03-2008, 06:21 PM
That fixes "Unknown Identifier GetTPABounds" but anyway...

mastaraymond
01-03-2008, 06:59 PM
Just do this
1) Close scar.. (All the scars)
2) Delete All your plugins insinde your plugin folder..
3) Delete your include\srl..
4) Open scar
5) Press update, File > Update SRL SvN.
6) Close scar
7) Goto include\srl\place inside plugins folder\
8) Copy the plugins in that folder
9) Goto \plugins\
10) Paste the plugins here.
11) Your done! Fixed the bug =]

TheGuyWhoGotOn
01-03-2008, 08:14 PM
Also, if nothing seems to work, make the function look like this:

{************************************************* ******************************
function FindBobsServant: Boolean;
by: MastaRaymond
Description: Finds Evil Bob's servant
************************************************** *****************************}
function FindBobsServant: Boolean;
var
TPA: TPointArray;
ATPA: Array of TPointArray;
I, cts ,x ,y, k: Integer;
begin
if (not LoggedIn) then Exit;
cts := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorspeed2Modifiers(0.10, 25);
FindColorsSpiralTolerance(MSCX, MSCY, TPA, 5143728, MSX1, MSY1, MSX2, MSY2, 20);
ATPA := TPAtoATPAEx(TPA, 50, 50);
k := High(atpa);
For I:= 0 to k do
begin
MiddleTPAEx(ATPA[i], x, y);
MMouse(x, y, 1, 1);
Wait(150 + Random(70));
GetMousePos(x, y);
if (Pos('ervan', rs_GetUpText) <= 0) then
Continue;
Mouse(x, y, 0, 0, True);
FFlag(0);
ColorToleranceSpeed(cts);
Result := True;
Exit;
end;
end;


Pseudostickified.

Thanks a lot it really helped a lot...Now to fix this RunBack error...It's different now and I'm not sure how to use it.

ducels
01-04-2008, 12:08 AM
Voted yes like the idiot I am, but I just forgot to move the plugins into the plugins folder and it's worked fine since.

TheGuyWhoGotOn
01-04-2008, 05:49 PM
Voted yes like the idiot I am, but I just forgot to move the plugins into the plugins folder and it's worked fine since.

I moved the plugins, the wizzy plugin was the right size and everything yet it still didn't work.

Kasi
01-04-2008, 06:54 PM
well i havent voted yet but all the randoms give me problems like when im power cutting trees something attacks me so i run of then it doesnt come back but the script is still working hasn't stoped standing still trying to look 4 trees or evil bob it just logs me out im having trouble starting a script even more trouble trying not to get ban and getting my lv up

n3ss3s
01-04-2008, 07:09 PM
Hey, Ray's fix works, tested it :)

Anyway's if you have done lot fixes for your liking to SRL, or added lot stuff there etc, don't hesitate to use my fix :p

gerauchert
01-04-2008, 07:23 PM
I just switched from 3.12c to 3.13 and it fixed it, although i did have this problem at first.

BTW ran the solver on one of my guys while playing legit, worked 100% perfect nice work markus :D

n3ss3s
01-04-2008, 09:02 PM
Copy the line the error is on so we can see what is wrong ;)

Markus
01-04-2008, 09:07 PM
that script was perfect until i download rev 9 :/

Line 619: [Error] (17774:32): Type mismatch in script C:\Documents and Settings\vartotojas\Desktop\Narcles Fast Fighter v2[1].2.scar
i think its simmilar error what should i do ?


edit: i did as masteraymond said but still i get same error

Script error, not SRL error. Please ask Narcle for a fix.

Markus
01-04-2008, 09:16 PM
RunAwayDirection has been updated. Add two vars to the top (x and y), and replace with RunAwayDirection(x, y, CurrentRunDir);

Jason2gs
01-07-2008, 09:41 PM
...A signature told me to "PLEASE POST HERE"...

Do I get a cookie now?

mastaraymond
01-07-2008, 09:47 PM
...A signature told me to "PLEASE POST HERE"...

Do I get a cookie now?
Something better...

Jason2gs
01-08-2008, 03:14 AM
Something better...

Like cake?

Zyt3x
01-08-2008, 04:03 PM
yea me to pl0x!

EDIT: LOL! i clicked wrong button...

I got this error before, i reopened scar and it worked Ø_o

Markus
01-08-2008, 05:30 PM
Like cake?

No, a slap in the face for not telling me if you got SRL errors ;)

outtamyhouse1
01-11-2008, 12:50 AM
Replaced it with RunAwayDirection(x,y,'S'); thx :D i just used "//" until now. L0L

jkmaster
01-17-2008, 04:06 AM
Well I have gotten this error recently. Since the new runescape update, the compass got screwed up and my scripts would turn the camera view for around 30 secs before it stopped. So i decided to update my SRL. I was using Mick's pest controller (nice script btw) and once i finished the update this would happen. I could just reinstall Scar or restart my Scar and everything will be normal. Hope i helped =p

link555
01-20-2008, 02:48 AM
Result := ScanExactMinimapD(x, y, color, 0);
Line 247: [Error] (1082:11): Unknown identifier 'ScanExactMinimapD' in script C:\Program Files\SCAR 3.13\includes\SRL/SRL/Core/Color.scar

mick's pestcontroler v1.41

help!

Jackrawl
01-20-2008, 06:52 PM
help!

LOL. Nice, wrong place. This is about the Evil Bob random.

Markus
01-20-2008, 09:18 PM
@Jkmaster: thnak you for your help :)
@link555: Only post here if you get type mismatch errors on line 57 from core/antirandoms/evil bob.scar

yanix
01-21-2008, 10:40 AM
Why do people get randoms? well, I myself havent used Scar in about 3 months.. I dont even have it installed :D (sry u admins/mods ) but I dont auto anymore (so much..) but still why do people get errors? something wrong with Rev#10?

n3ss3s
01-21-2008, 03:22 PM
Why do people get randoms? well, I myself havent used Scar in about 3 months.. I dont even have it installed (sry u admins/mods ) but I dont auto anymore (so much..) but still why do people get errors? something wrong with Rev#10?

People with errors ignore stickies.

Richard
01-29-2008, 09:36 PM
I haven't had any problems with that in my own script which has anti-randoms, but I don't think it has Evil Bob in it. I'll have a look now

EDIT: Found I don't have an Evil Bob anti-random in my script so that probally why then :P

Sorry for posting as this didn't include me

Pure1993
02-04-2008, 05:25 PM
I posted this two times already, lol:
I had the same issue, i solved it by deleting the includes folder, downloading srl again, moving the includes, closing all scar windows, and starting scar again, now it is working fine. :D

nielsie95
02-04-2008, 05:30 PM
To anyone who still has this problem: does it help if you change TPointArrayArray to T2DPointArray?

EvilChicken!
02-07-2008, 09:17 PM
...A signature told me to "PLEASE POST HERE"...

Do I get a cookie now?


Something better...


Like cake?

Thats going in my sig.
Not SO funny, but made me happy.
Ontopic: I'm really glad you made a big difference for SRL.
Thanks.

I don't know what to say.
I'v never tested it.

Neils, don't kill me..?
I'm sorry, I just. Had to.

Jethr0x
02-27-2008, 03:09 AM
Using: SCAR 3.14, SRL #14...

Error:
Line 31: [Error] (12706:35): Type mismatch in script C:\Program Files\SCAR 3.14\includes\srl/srl/skill/Runecrafting.scar

Line:
SortATPAFromSize(TPAA, 8000, True);

IIm not 100% noob, I tried looking in other includes for the same command, to see if this was missing anything special.... but I didnt find it >_>.

zehhacker
03-20-2008, 09:07 PM
doessend work, lock please -.-

TheGuyWhoGotOn
03-27-2008, 11:43 AM
doessend work, lock please -.-

This is a useful post that helps people solve their issues with the evil bob random. Now why would anybody lock this?

@Jethr0x:

Wrong place, this is for the Evil Bob random



Only post here if you get type mismatch errors on line 57 from core/antirandoms/evil bob.scar

KoKouKo
03-30-2008, 10:00 PM
I dont know lol :P
If your not just trying to get 10 posts then PM me or talk to me on msn.

All you really need is to close all your SCAR windows,
Delete the SRL folder in your includes
Go back to SCAR and redownload SRL

Hope I helped :D

TheGuyWhoGotOn
04-05-2008, 01:23 PM
If your not just trying to get 10 posts then PM me or talk to me on msn.

All you really need is to close all your SCAR windows,
Delete the SRL folder in your includes
Go back to SCAR and redownload SRL

Hope I helped :D

Lol you would think that would work but it doesn't work at all for me that way, I even reformatted my computer and had issues ^_^.

nebule
04-13-2008, 09:22 PM
I'm sorry for posting this here but bug report mechanism does not work and I thought someone should know...
Deposit procedure in Bank.scar does not respect from/to input and just deposits from all inv slots. This has started in ver 15.

TheGuyWhoGotOn
04-14-2008, 08:08 PM
I'm sorry for posting this here but bug report mechanism does not work and I thought someone should know...
Deposit procedure in Bank.scar does not respect from/to input and just deposits from all inv slots. This has started in ver 15.

Last I checked the bug system worked and even so you should post in a topic make a new one. Please read before posting this area is for the Evil Bob random bugs.