SRL Archive - First Scripts

Seers Maple Cutter (Flawless...I wish)


jakegran

2012-05-17 10:46:03

So i'm still quite new around these forums and it seemed like fun to script something so i did.

Basically you start at seers bank and will cut the maples BELOW the bank (The 2 all the way south) and then attempts to get back to the bank to deposit, it is still a work in progress and i already see things that need fixing. also the further west of the bank you start the better.

Before i uploaded this i changed the mouse speed so not sure how it will react. Prop going to attempt a thieving script next or a cooking one.

partyboyrawr

2012-05-20 21:30:57

it works :) thats for sure.

jakegran

2012-05-21 04:15:12

I've actually made a better version of it if anyone is interested.

partyboyrawr

2012-05-21 05:23:22

From: jakegran
I've actually made a better version of it if anyone is interested.


jake i wouldn't mind testing it out :)

jack why not just post it here so i can use it :D

Omario

2012-07-03 20:45:05

where is the better version?

Based Lord

2012-07-04 09:28:43

Looks great for your first script!


Function Compass:boolean;
begin
case C of
1: begin
case random(4) of
0:makecompass(122);
1:makecompass(118);
2:makecompass(124);
3:makecompass(137);
end
c:=2
end;
2: begin
case random(4) of
0:makecompass(338);
1:makecompass(340);
2:makecompass(332);
3:makecompass(336);
end
C:=1
end;
end
end;
Case Inception! Interesting but I think RandomRange(Min,Max); would probably be the better option (Assuming it is for anti-ban);

Also, try to use Procedures instead of Functions when you do not need to return something such as a Boolean, Integer, Ect.

Overall, Great work keep it up :D