SRL Archive - First Scripts

Woodcut and Arrow Shaft


FrontLine

2007-09-03 02:22:00

Name: Woodcutter and Arrow Shaft!

Version: 1.0

SRL/SCAR 4.0 / 3.11

Comments:

This is my first script and I'm happy with the way it has turned out. I haven't had a chance to test it extensively so use at your own risk. It does what I wanted it to do however. Any comments and criticisms are much appreciated :)

Useage: Ensure your wood cutting axe is EQUIPPED and your knife is in THE FIRST SLOT.

king tut

2007-09-03 03:01:22

cool ill try it right away and give you some feedback if u want!!!

king tut

2007-09-03 03:23:47

it works quite well… but there is a problem with the login it just serches down the bttom of the screen. and also im not sure if u meant it to do this o not but when it cant find a tree it logs out but overall great job.
keep it up.
:sasmokin:

FrontLine

2007-09-03 04:33:06

From: king tut
it works quite well… but there is a problem with the login it just serches down the bttom of the screen. and also im not sure if u meant it to do this o not but when it cant find a tree it logs out but overall great job.
keep it up.
:sasmokin:


I don't think there is anything I can do about the login as that is a part of Scar/SRL. I didn't mean for the 'No-Tree-Logout' thing but I suppose it is a decent 'feature' despite being an accident :)

From: king tut
cool ill try it right away and give you some feedback if u want!!!


That would be much appreciated. I'd be really interested in how it does when it comes to Randoms and how it works out over a longer period of time (1h+).

pandaunion

2007-09-03 05:18:49

thanx ill go try this and do best to get a proggy back soon keep them up :D

FrontLine

2007-09-03 05:26:46

Version 1.1 uploaded. It fixes the log in problem and nothing else :)

ShowerThoughts

2007-09-03 05:51:31

good work

tomd741

2007-09-03 11:59:56

doesnt work for me!

i get this: Line 17: [Error] (14466:1): Unknown identifier 'SetupPlayers' in script C:\DOCUME~1\Tom\LOCALS~1\Temp\WoodchopAndShaft1.1.scar

sorry if im not meant to post this on your post

FrontLine

2007-09-03 19:18:25

From: tomd741
doesnt work for me!

i get this: Line 17: [Error] (14466:1): Unknown identifier 'SetupPlayers' in script C:\DOCUME~1\Tom\LOCALS~1\Temp\WoodchopAndShaft1.1.scar

sorry if im not meant to post this on your post


That sounds like an SRL error to me. Make sure you're running SRL 4.0 and SCAR 3.11 :)

ryu88

2007-09-03 19:23:56

Works pretty nicely TY XD

otis147

2007-09-03 20:21:48

will test and could u possibly add SRL STATS?

owned1112

2007-09-07 13:29:00

Thanks, now I can get my skillers lvl up :)

n3ss3s

2007-09-07 13:40:36

Good job, but you should read more about standards. Its 2 spaces, not one tab.

Example:


program New;
var
I: Integer; // Its 2 spaces here also.
begin
begin
Writeln('Begin');
repeat
Writeln(' Repeat');
Inc(I);
Writeln(' Stuff to repeat');
Writeln(' Until(Statement True);');
until(I = 1);
if(I = 1)then
Writeln(' If (Statement True) Then');
Writeln(' without begin and end is also 2 spaces');
if(I = 1)then
begin
Writeln(' If (Statement True) Then');
Writeln(' begin ');
Writeln(' This is an if()then with begin and end!');
Writeln(' end; ');
end;
Writeln('End;');
end;
end.

Yami Tim

2007-09-07 17:50:36

I'm using script atm and it works great :)
Only to bad that you need to wield the axe :P
Mine skiller only has lvl1 Cb stats ..hehe

FrontLine

2007-09-09 07:23:52

From: n3ss3s
Good job, but you should read more about standards. Its 2 spaces, not one tab.

Example:


program New;
var
I: Integer; // Its 2 spaces here also.
begin
begin
Writeln('Begin');
repeat
Writeln(' Repeat');
Inc(I);
Writeln(' Stuff to repeat');
Writeln(' Until(Statement True);');
until(I = 1);
if(I = 1)then
Writeln(' If (Statement True) Then');
Writeln(' without begin and end is also 2 spaces');
if(I = 1)then
begin
Writeln(' If (Statement True) Then');
Writeln(' begin ');
Writeln(' This is an if()then with begin and end!');
Writeln(' end; ');
end;
Writeln('End;');
end;
end.


Oops.. It's just one of those bad habits I picked up from doing Java :duh:

KoKouKo

2007-09-11 23:51:57

Doesn't work but that might just be me, here's the error I encountered:
out of range in line 123 in script

kevmanetti

2007-09-21 20:53:26

From: KoKouKo
Doesn't work but that might just be me, here's the error I encountered:
out of range in line 123 in script


i getting the same thing

damaster

2007-09-22 20:41:13

nice job keep it up

mal1t1a

2007-09-23 02:43:06

From: damaster
nice job keep it up


lol you can tell he's just a leecher,he probaly didn't even try it out, and ya, i get the same error, out of range on line 123, seems like it would work tho :)

so i say GOODJOB :D