SRL Archive - First Scripts

[SRL 4] Another Power Chopper [EA]


Economic Advancement

2007-09-27 20:03:11

I haven't even visited this site in several months but recently I thought, I wonder how far along SCAR and SRL are. Seeing a new version I thought I would try my hand at programming. Feel free to give me feedback; in fact please do.

CURRENTLY:
1st version, 1 hour, and only cuts regular trees, sorry.

Having some issues with keys not being sent when the script tries to log me in so I do not know if it works well when switching players, if you have the same issue just log in before hand with one account.

Unfortunately its a click, wait a few seconds, click again type of script. I am trying to change it so it will wait until the tree is down before going to another tree.I will probably try using bitmaps or DTMs to do this by checking for the stump, if this won't work or you have something better please tell me. Despite how primitive the chopping procedure is, I found the script suprisingly effective for what it does.

Right now I am going for something that works well before expanding the types of trees and such so if see anything that could be optimized or if you notice bad coding practices please post that as well.

Any other constructive criticism would also be appreciated. (I guess some negative if you really must)

Thanks for looking and thank you more if have suggestions for future improvements :) .


BTW: my end goal is probably to make an auto tutorial runner so i'll probably be putting up a few more scripts, like mining and smithing, so any general scripting tips for SRL 4 would also be apreciated.


[EDIT] I just realized that I have NumberOfUsers set to 1 in the constants when in fact it tries to set up several players, change that to 3 or delete the 2nd and 3rd player declarations. my b.

jiltedog

2007-09-27 20:55:39

sounds good ill check it out

link555

2007-10-18 10:56:44

it is an okay script but it got 5 min in and i got a random it didnt resond and it teled me to wizzy tower
PS: sorry for double post comp is screwing up

king_killer

2007-10-18 11:56:02

sounds good ill check it out

tdr

2007-10-21 10:12:15

doesnt work

mental osx

2007-10-21 17:12:49

it said it had trouble detecting compass angle and logged out after bout 6-7 min. otherwise very nice script

Pwnz0r

2007-10-30 22:57:53

works great welldone

Pwnz0r

2007-10-30 23:00:07

it trys to cut down the oak?
PS: this is not a message as a post for higher rank

pwnaz0r

2007-10-30 23:09:57

Hah, you don't need to post that. Go to you post and click EDIT, then copy the text you had in you last post in there, and click save. Don't do it again :D.

EDIT: nice name by the way :D

scott19911

2007-11-26 17:02:07

good script works gerat for me