SRL Archive - Help

SRL Compling errors


Markus

2008-01-03 07:00:55

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:

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

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

2008-01-03 07:03:42

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

2008-01-03 10:30:22

I had that error and Ii used n3ss3s's fix.

Thanks for the help.

nielsie95

2008-01-03 11:08:16

I'll sticky this temporary :)

footballjds

2008-01-03 11:38:13

i deleted my whole include file and re-installed srl. worked. BTW
the Wizzyplugin is only comments? wtf:eek:

Markus

2008-01-03 11:39:04

Wizzyplugin.dll in the plugins folder.

Santa_Clause

2008-01-03 11:40:04

Worked for me after I restarted SCAR.

richk1693

2008-01-03 12:48:14

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

2008-01-03 13:21:33

That fixes "Unknown Identifier GetTPABounds" but anyway…

mastaraymond

2008-01-03 13:59:33

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

2008-01-03 15:14:31

From: n3ss3s
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

2008-01-03 19:08:44

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

2008-01-04 12:49:42

From: ducels
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

2008-01-04 13:54:52

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

2008-01-04 14:09:51

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

2008-01-04 14:23:52

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

2008-01-04 16:02:04

Copy the line the error is on so we can see what is wrong ;)

Markus

2008-01-04 16:07:57

From: altec
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

2008-01-04 16:16:35

RunAwayDirection has been updated. Add two vars to the top (x and y), and replace with RunAwayDirection(x, y, CurrentRunDir);

Jason2gs

2008-01-07 16:41:01

…A signature told me to "PLEASE POST HERE"…

Do I get a cookie now?

mastaraymond

2008-01-07 16:47:04

From: Jason2gs
…A signature told me to "PLEASE POST HERE"…

Do I get a cookie now?

Something better…

Jason2gs

2008-01-07 22:14:59

From: mastaraymond
Something better…


Like cake?

Gu3st...

2008-01-08 11:03:53

yea me to pl0x!

EDIT: LOL! i clicked wrong button…

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

Markus

2008-01-08 12:30:00

From: Jason2gs
Like cake?


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

outtamyhouse1

2008-01-10 19:50:41

Replaced it with RunAwayDirection(x,y,'S'); thx :D i just used "//" until now. L0L

jkmaster

2008-01-16 23:06:39

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

2008-01-19 21:48:36

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

2008-01-20 13:52:36

From: link555
help!


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

Markus

2008-01-20 16:18:25

@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

2008-01-21 05:40:13

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

2008-01-21 10:22:10

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

2008-01-29 16:36:50

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

2008-02-04 12:25:15

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

2008-02-04 12:30:46

To anyone who still has this problem: does it help if you change TPointArrayArray to T2DPointArray?

EvilChicken!

2008-02-07 16:17:29

From: Jason2gs
…A signature told me to "PLEASE POST HERE"…

Do I get a cookie now?


From: mastaraymond
Something better…


From: Jason2gs
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

2008-02-26 22:09:30

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

2008-03-20 17:07:51

doessend work, lock please -.-

TheGuyWhoGotOn

2008-03-27 07:43:26

From: zehhacker
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

2008-03-30 18:00:09

From: Heartrange
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

2008-04-05 09:23:56

From: KoKouKo
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

2008-04-13 17:22:01

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

2008-04-14 16:08:11

From: nebule
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.