PDA

View Full Version : My first autowoodcutter



Evil_
07-01-2006, 06:44 PM
well, my first script lol, i antirandom added into it, but i used it for like and hour and didnt get a random so i dont know if it works =/ if you see anything i could add on to it, just pm me and i will, thanks, enjoy the script

~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~
UPDATED!, Version 2.0 out now!!!!
~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~
Added A progress report! and added
a If(FindFight); and a Disguise name
to it too!! make sure to redownload!
~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~

FeedBack is much appreciated =/

axel2
09-01-2006, 06:40 PM
ill test it out

Sumilion
09-01-2006, 07:15 PM
Once again an example that you can make a script almost completely based on srl :)
nevertheless, good job :cool:

messi
09-23-2006, 07:18 AM
NICE:(h):

joeyg37
09-23-2006, 11:31 AM
i got an error
Failed when compiling
Line 57: [Error] (15026:1): Unknown identifier 'RunawayDirection' in script C:\DOCUME~1\OF6E2~1\LOCALS~1\Temp\AutoWoodcutter-1.sca

skatty
09-23-2006, 11:57 AM
works fine for me, got 5 lvls with it already :) thanks and good job

WT-Fakawi
09-23-2006, 12:26 PM
Nice Evil_!

But, alas no, the talking-antirandoms wont work, since your script wont recognize the name of your Player (as spoken in yellow by a random event)

The easiest way to do that is to add these line:
NickNameBMP := CreateBitmapMaskFromText('ick', UpChars); where 'ick' = three letters from your Players name (not including the First Letter!!)




Or you might add a complete function with Player Management:

Procedure DeclarePlayers;

begin
HowManyPlayers :=1; // Set Number of Players here.
StartPlayer:=0;
NumberOfPlayers(HowManyPlayers); // Sets the Players Array Length;
Players[0].Name :='Qwertyuiop';
Players[0].Pass :='';
Players[0].Nick :='tyu';
Players[0].Active:=True;
end;

and add in the beginning (after SetupSRL) of your script the following:

DeclarePlayers;
LoginPlayer;


Hope this helps...


P.S. Try to prevent it swapping GameTabs all the time :)

rsch33tah
09-28-2006, 07:50 PM
Include file C:\Program Files\SCAR 2.03\includes\srl/srl.scar does not exist.
Include file C:\Program Files\SCAR 2.03\includes\srl/srl/skill/woodcutting.scar does not exist.
Failed when compiling

i keep getting these messages at all scripts but those files DO exist and ARE in the map:S wtf

invisible
10-02-2006, 09:11 AM
You need to install/re-install SRL

yekcim
10-12-2006, 01:41 AM
i get an error that says this..


Line 57 [Error] (15280 : 1) : Unknows Identifier 'RunAwayDirection' in script C:\ DOCUME~1\Mickey\Locals~1\Temp\AutoWoodCutter.scar

how can i fix that?

Sumilion
10-12-2006, 12:40 PM
By changing it to RunTo([thing that was in the normal RunAwayDirection], true);
You can also add an include for it, but it's not needed, this works fine aswell.

IronTeapot
10-12-2006, 08:59 PM
Very nice, simple and effective. Good job.

Just got a scaperune random and it got stuck. Is there a function to log out if a function is run too long? or it cant find a tree within a certain amount of seconds.

undertaker
10-13-2006, 03:42 AM
how do i install it i cliked install but nothing happened

da_professa
10-14-2006, 01:57 AM
install is just so u noe u have installed the script or not.. The real thing is underinstall where it says attached file

lowskilled
10-25-2006, 12:37 AM
hey well i got an error

Line 57: [Error] (15280:1): Unknown identifier 'RunawayDirection' in script C:\Documents and Settings\User1\Desktop\AutoWoodcutter.scar

lowskilled
10-25-2006, 09:29 PM
ugggh help?

Infantry001
10-25-2006, 10:59 PM
the question already has been answered

m4g3owns
01-08-2007, 05:02 AM
ooo lol :P pretty nice job heh :)

the scar noob
01-08-2007, 05:38 PM
Not bad, not bad at all.
Good job dude, i also made a powerchopper, my first script :p
You wanne check it ou? then go to this http://www.villu-reborn.com/showthread.php?t=5589 or just simply look around the forum :p

oliver1205
01-08-2007, 08:09 PM
looks pretty good, nice job