• Log in or sign up for an account here: https://www.sythe.org/login

Need help

  • Thread starter Thread starter Simpee
  • Start date Start date
S

Simpee

Guest
Ive been trying to use scar for the last few days and havent had any luck at all
im running a air rune crafter script but im not sure how to use it properly
i was using it in scar 3.15 with srl installed and and all the includes installed
but it still comes up with an error
could anyone tell me what im doing wrong here?

the error message is:
Include file C:\Program Files\SCAR 3.15\includes\squig.txt does not exist.
Include file C:\Program Files\SCAR 3.15\includes\rswalker.txt does not exist.
Failed when compiling

////////////////////////////////////////////////////////////////////////////////
//REPORT ALL BUGS TO [email protected] OR COWMAN ON SYTHE //
//scarscape only //
//start by fally bank //
//use tally in first inv slot //
//start with inventory full of ess //
//ess in first bank slot //
//if using tally, put in last inv slot //
//DO NOT use the logout button, click the x in the corner of the screen //
//Tested in scar 2.02 //
//Thanks to bego and DArippy9324 for help! //
//Tally in 2nd bank slot //
//////////////////////////////////////////////////////////////////////////////// //
//BY COWMAN!!! //
////////////////////////////////////////////////////////////////////////////////
//Version 2.0...seems to work good now...not flawless...more to come //
//tested a little...comment on everything wrong and I will try my best to fix //
//Version 2.1 Banking fixed by DArippy and me //
//Next thing to get fixed is the walking //
////////////////////////////////////////////////////////////////////////////////
//Known Bugs: //
//Only Uses Cords //
//Maybe will misclick the altar, tell me if this is a problem for you //
////////////////////////////////////////////////////////////////////////////////
program cowmanaircraft2;
{.include squig.txt}
{.include rswalker.txt}

var
trips,x,y: integer;
{SETUP}
const
bankicon=3060683;
usetiara=0; //0 for false 1 for true
tripstodo=99; //Trips to complete, this will log you out using the logout button
{END SETUP}

procedure PrintProgressReport;
begin
WriteLn('Thanks for choosing my script. Please report all bugs.');
WriteLn('Cowman Air Crafter');
WriteLn('---');
WriteLn('Completed ' + inttostr(trips) + ' trips.');
WriteLn('---');
end;

procedure clickbankicon;
var x,y : integer;
begin
findrandoms;
if(findcolorspiral(x,y,bankicon,m1,m2,m3,m4)) Then
Wait (5+random(500))
movemousesmooth(x,y)
clickmouse(x,y,True)
ssflag;
end;

procedure walktoaltar;
begin
setrunon;
findrandoms;
MouseC(638,113,1)
ssflag;
findrandoms;
MouseC(648,149,1)
ssflag;
findrandoms;
MouseC(634,143,1)
ssflag;
findrandoms;
MouseC(641,145,1)
ssflag;
findrandoms;
MouseC(606,114,1)
ssflag;
findrandoms;
MouseC(635,108,1)
ssflag;
end;

procedure clickaltar;
begin
findrandoms;
if (usetiara=0)
then MouseC(708,443,1)
wait(1000)
MouseC(63,71,1)
wait(3000)
ssflag;
end;

procedure makerunes;
begin
findrandoms;
MouseC(361+random(5),33+random(5),1)
wait(5000+random(100))
end;

procedure leavealtar;
begin
findrandoms;
MouseC(182+random(5),321+random(5),1)
wait(3500+random(100))
end;

procedure walkback;
begin
findrandoms;
MouseC(699,54,1)
ssflag;
findrandoms;
MouseC(685,40,1)
ssflag;
findrandoms;
MouseC(655,28,1)
ssflag;
findrandoms;
MouseC(648,21,1)
ssflag;
findrandoms;
MouseC(654,24,1)
ssflag;
end;

Procedure bankanddeposit;
begin
if usetiara=0 then
openbank;
deposit(1,1,27);
withdraw(1,1,27)
closebank;
if usetiara=1 then
openbank;
depositall;
withdraw(1,1,28)
closebank;
trips:=trips+1
End;

begin
setupsquig;
repeat
clickbankicon;
walktoaltar;
clickaltar;
makerunes;
leavealtar;
walkback;
clickbankicon;
bankanddeposit;
printprogressreport;
until(trips=tripstodo)
logout;
end.


thx in advance
 
That script is very old and will get you banned. it uses movemouse and clickmouse which are not human like at all. you get those errors because those includes don't exist.
 
oh
thx for the help
i guess im gunna have to find anotha one :D

well i found a recent one but now it comes up with this:
Failed when compiling
Line 432: [Hint] (10395:1): Variable 'OLDMS' never used in script C:\Program Files\SCAR 3.15\includes\SRL/SRL/Core/AntiRandoms/AntiRandoms.scar
Line 87: [Error] (12273:1): Unknown identifier 'SetMouseMode' in script C:\Program Files\SCAR 3.15\includes\SRL/SRL.scar

I then tried a few more scripts but they also came up with the same error :@

the first script:

{
Time usage recomendation: Check on it ocasionaly.
Class of script: Auto-leveler
Complexity 1-10: 2
Bugs: Make sure after you run it you click on the top internet explorer bar so it turns blue. Otherwise its typer wont work.
Notes: Works best with regular trees, but will find any tree. Sorry theres no antirandoms, look for them in V 2.0
you may need to change the color of the tree in line 44. But try the defualt color
first.
-----------------------------------------------------------
WORKS BEST IN VARROCK BY THE 3 TREES NEAR THE GEN. STORE

{.Script Info:
# ScriptName = Basicut
# Author = GMK
# Description = A simple tree cutter.
# Version = 2.0
# Date = January 9th 2008
# Comments = You will love the simplicity.
/Script Info}
program Basicut;
{.include SRL/SRL.scar}

const
Waitt= 4000;//the time between cutting

var
x,y:integer;
l,lo:integer;

procedure comp;
begin
l:=0
lo:=0
ActivateClient;
cleardebug;
wait(10)
perfectnorth;
writeln('Basicut made by GMK')
ActivateClient;
end;


procedure chop;
begin
if FindColorSpiralTolerance(x,y,994343,52,26,468,260,3) then
Mouse(x,y,2,2,true)
l:=l+1
wait(waitt + random(10))
end;

procedure drop;
begin
if l=27 then
begin
DropToPosition(2,28)
l:=0
end;
end;

procedure antiban;
begin
if lo=10 then
PickUpMouse; // An interesting litle addin
if lo=15 then
SayCurrentLevels('woodcutting') // just says your wc level
if lo=25 then
typesend('white:')// looks like your bored;
if lo=40 then
AlmostLogout;// hmmmm to logg or not to logg
if lo=50 then
movemousesplineex(x+20,y+20,1,1,10,35,65)// moves mouse over a bit
if lo=50 then
lo:=0
end;

Procedure Randomss;
Begin
wait(10)
Wait(13);
FindTalk;
UseCerterSolver := True
UseSandwichSolver :=True
FindMaze;
wait(10)
Solvepinball;
Wait(10)
begin
if (FindFight) then
begin
RunAwayDirection('N');
Wait(8500 + random(3500));
RunBack;
end;
end;
end;




begin
SetupSRL;
comp;
repeat
lo:= lo+1
wait(10 + random(1))
chop;
wait(10 + random(1))
Randomss;
wait(10 + random(1))
drop;
wait(10 + random(1))
antiban;
until(false)
end.
 
SCAR went to look for your include of the function setmousemode in this path:

Code:
C:\Program Files\SCAR 3.15\includes\SRL/SRL.scar

If that include is not there, than it means the script is too old because SRL updated and didn't keep that function.

However, i don't see your script calling on that so if i were you, i would go tools -> options -> download -> cleanup, and then hit checkout. It just redl's SRL, which for some people including me has been a solution for these errors.

Also, the hint in line 432 doesn't matter. it just means that there was a variable declared, 'OLDMS', but it was never used so it's just saying you can take it out if you want.

You should probably check out www.srl-forums.com. They always have up to date scripts.
 
oh
thx for the help
i guess im gunna have to find anotha one :D

well i found a recent one but now it comes up with this:
Failed when compiling
Line 432: [Hint] (10395:1): Variable 'OLDMS' never used in script C:\Program Files\SCAR 3.15\includes\SRL/SRL/Core/AntiRandoms/AntiRandoms.scar
Line 87: [Error] (12273:1): Unknown identifier 'SetMouseMode' in script C:\Program Files\SCAR 3.15\includes\SRL/SRL.scar

I then tried a few more scripts but they also came up with the same error :@

the first script:

{
Time usage recomendation: Check on it ocasionaly.
Class of script: Auto-leveler
Complexity 1-10: 2
Bugs: Make sure after you run it you click on the top internet explorer bar so it turns blue. Otherwise its typer wont work.
Notes: Works best with regular trees, but will find any tree. Sorry theres no antirandoms, look for them in V 2.0
you may need to change the color of the tree in line 44. But try the defualt color
first.
-----------------------------------------------------------
WORKS BEST IN VARROCK BY THE 3 TREES NEAR THE GEN. STORE

{.Script Info:
# ScriptName = Basicut
# Author = GMK
# Description = A simple tree cutter.
# Version = 2.0
# Date = January 9th 2008
# Comments = You will love the simplicity.
/Script Info}
program Basicut;
{.include SRL/SRL.scar}

const
Waitt= 4000;//the time between cutting

var
x,y:integer;
l,lo:integer;

procedure comp;
begin
l:=0
lo:=0
ActivateClient;
cleardebug;
wait(10)
perfectnorth;
writeln('Basicut made by GMK')
ActivateClient;
end;


procedure chop;
begin
if FindColorSpiralTolerance(x,y,994343,52,26,468,260,3) then
Mouse(x,y,2,2,true)
l:=l+1
wait(waitt + random(10))
end;

procedure drop;
begin
if l=27 then
begin
DropToPosition(2,28)
l:=0
end;
end;

procedure antiban;
begin
if lo=10 then
PickUpMouse; // An interesting litle addin
if lo=15 then
SayCurrentLevels('woodcutting') // just says your wc level
if lo=25 then
typesend('white:')// looks like your bored;
if lo=40 then
AlmostLogout;// hmmmm to logg or not to logg
if lo=50 then
movemousesplineex(x+20,y+20,1,1,10,35,65)// moves mouse over a bit
if lo=50 then
lo:=0
end;

Procedure Randomss;
Begin
wait(10)
Wait(13);
FindTalk;
UseCerterSolver := True
UseSandwichSolver :=True
FindMaze;
wait(10)
Solvepinball;
Wait(10)
begin
if (FindFight) then
begin
RunAwayDirection('N');
Wait(8500 + random(3500));
RunBack;
end;
end;
end;




begin
SetupSRL;
comp;
repeat
lo:= lo+1
wait(10 + random(1))
chop;
wait(10 + random(1))
Randomss;
wait(10 + random(1))
drop;
wait(10 + random(1))
antiban;
until(false)
end.

LOL my script. Hey theres a WORKING version of this scirpt its called basicut revolution. Go to runescape scripts to get it. ALSO please comment on it = )
 
yea i will comment once i get everything working :D

edit: okay i havent managed to get yours working but i have got a few others working :)
does anyone know where i can get a up-to-date air runecrafting one? i cant find one here or on the srl forums.
thx
 
duelarena.gg
Back
Top