Log in

View Full Version : help!



aran armath
03-19-2007, 04:43 PM
I keep getting this message

Line 871: [Error] (6737:12): Unknown identifier 'FindColorCircleD' in script C:\Program Files\SCAR 2.03\includes\srl\srl\core\Color.scar

here is what line 871 looks like in color.scar

Result := (FindColorCircleD(x, y, color, radius, MidPointx, MidPointy, 0));

Sp0rky
03-19-2007, 04:49 PM
Can you post the script please?

aran armath
03-19-2007, 04:55 PM
this is the script that generates the message

program skullbr00d_tree_finder;
{.include SRL\SRL.Scar}
{.include SRL\SRL\skill\Woodcutting.Scar}
{.include SRL\SRL\extended\xAntiRandoms.Scar}

var
i,invitems: Integer;

const
TreeColor= 1980464;

procedure FCADL; //Find, Chop and Drop Logs.
begin
i:= 0;
repeat
i:= i + 1;
if(FindColorSpiral(x,y,TreeColor,0,0,600,600)) then
ClearDebug;
Writeln('Tried to chop '+IntToStr(i)+' trees');
Mouse(x,y,10,10,True);
wait(100);
invitems:= invcount;
wait(1000);
repeat
wait(100);
AntiBan;
until(invcount > invitems);
invitems:= 0;
until(InvFull);
DropAll;
end;

begin
SetupSRL;
repeat
FCADL;
until(false);
end.

Sp0rky
03-19-2007, 04:59 PM
Compiles fine for me, update your srl.

aran armath
03-19-2007, 05:04 PM
still is generating the error could it be something wrong with my color.scar?

aran armath
03-19-2007, 05:09 PM
I am editing the color of the tree is there something else i should change? Still getting the same error.

tarajunky
03-19-2007, 05:23 PM
You didn't move the plugins when you installed SRL.

There is a 'place in plugins folder' folder in the SRL directory that has all the plugins you need to copy into your SCAR/Plugins folder.

aran armath
03-19-2007, 05:42 PM
still don't understand, what do you mean by SRL directory?

tarajunky
03-19-2007, 05:44 PM
Scar/includes/SRL

aran armath
03-19-2007, 05:47 PM
okay that is helping, should there be names like scarbrowser, charstrade, scss?

tarajunky
03-19-2007, 06:42 PM
Go back and read this sticky, it has pictures and everything.

http://www.villavu.com/forum/showthread.php?t=2632?t=3189&highlight=plugins

aran armath
03-19-2007, 11:09 PM
I did it sort of, it does not give me any errors any more. But what do I edit to make it actually work?

Sp0rky
03-19-2007, 11:17 PM
Color of the tree? :P

aran armath
03-19-2007, 11:25 PM
Im not that dumb i did that but i wont start chopping the tree