PDA

View Full Version : My Fletching Script



xao92k
06-05-2008, 10:53 AM
Ok so after looking at other people fletching scripts and them lacking certain things I deceided to write one of my own. This script has been tested fully and works! My friend used it to gain master fletcher from zero in just over 2 days. I do not condone AFK scripting so if you're going to use it for that, use it at your own risk!

Starts in Thrakk Inn Trophy Room, edit the script if you want to change the location!

You will need:

* A bow (worn)
* A heavy backpack (worn)
* A handaxe (in backpack)
* A dagger (in backpack)




Start:
pause 2
put get my dagger
put get 1 shaft from my backpack
match noarrows get what?
put cut my shaft with my dagger
match fail1 you discard the rough arrow shaft.
match pass1 You pare away the excess wood
matchwait

Pass1:
pause 2
put cut nocks in my shaft with my dagger
put cut nocks in my shaft with my dagger
match fail2 might as well toss it.
match pass2 You carefully cut a nock into
matchwait

Pass2:
pause 1
put put my dagger in my backpack
put remove my bow
put swap
put measure my shaft
pause 5
put wear bow
pause 1
put get my dagger
pause 1
put cut my shaft with my dagger
pause 1
goto next

Pass3:
waitfor has dried.
put put my fletch in my backpack
put get my dagger
put cut my shaft with my dagger
put cut my shaft with my dagger
match done you whittle the end
match fail4 so you discard it.
matchwait

Pass4:
pause 2
echo One arrow done!
put put my arrow in my backpack
goto start

Next:
pause 2
put put my dagger in my backpack
goto glue

Glue:
pause 2
put get my glue
match gotglue fletching glue
match noglue get what?
matchwait

GotGlue:
pause 2
put put glue on my shaft
pause 1
put put my glue in my backpack
pause 1
goto fletch

FLetch:
put get my fletch
match newfletch get what?
match nofletch3 a single fletching
match gotfletch you remove a bundle of fletch
matchwait

GotFletch:
pause 2
put put my fletch on my shaft
match nofletch You don't have enough fletchings
match oops you are able to salvage the shaft
match fail3 the glue is now too dry to remove them
match pass3 securely glued.
matchwait

Fail1:
goto start

Fail2:
goto start

Fail3:
put put fletch in my backpack
goto start

Fail4:
put swap
goto start

Nofletch:
put drop fletch
put get my fletching
match nofletch2 get what?
put put my fletch on my shaft
match fail3 the glue is now too dry to remove them
match pass3 securely glued.
matchwait



Nofletch3:
put drop my fletch
goto fletch


Done:
put put my arrow in my backpack
put swap
goto start

noarrows:
put stow dagger
goto noarrows

Oops:
put put my fletch in my backpack
goto next

noglue:
put drop my shaft
goto buyglue

BuyGlue:
move east
move out
move s
move s
move s
move s
move s
move e
move e
move e
move e
move e
move e
move e
move n
move n
put go door
put order 15
put buy
put put glue in backpack
move out
move s
move s
move w
move w
move w
move w
move w
move w
move w
move n
move n
move n
move n
put go inn
move west
goto start

NoArrows:
move e
move o
move s
move s
move s
move s
move s
move e
move e
move e
move e
move e
move e
move e
move n
move n
put go door
put order 9 of 40
put buy
put open package
put get wood from pack
pause 1
put put wood in back
pause 1
put get wood from pack
pause 1
put put wood in back
pause 1
put get wood from pack
pause 1
put put wood in back
pause 1
put get wood from pack
pause 1
put put wood in back
pause 1
put get wood from pack
pause 1
put put wood in back
pause 1
put get wood from pack
pause 1
put put wood in back
pause 1
put get wood from pack
pause 1
put put wood in back
pause 1
put get wood from pack
pause 1
put put wood in back
pause 1
put get wood from pack
pause 1
put put wood in back
pause 1
put drop pack
put get hand
pause 1
put get wood from my backpack
put cut arrows from my wood
pause 2
put put my shafts in my backpack
put get wood from my backpack
put cut arrows from my wood
pause 2
put put my shafts in my backpack
put get wood from my backpack
put cut arrows from my wood
pause 2
put put my shafts in my backpack
put get wood from my backpack
put cut arrows from my wood
pause 2
put put my shafts in my backpack
put get wood from my backpack
put cut arrows from my wood
pause 2
put put my shafts in my backpack
put get wood from my backpack
put cut arrows from my wood
pause 2
put put my shafts in my backpack
put get wood from my backpack
put cut arrows from my wood
pause 2
put put my shafts in my backpack
put get wood from my backpack
put cut arrows from my wood
pause 2
put put my shafts in my backpack
put get wood from my backpack
put cut arrows from my wood
pause 2
put put my shafts in my backpack
put put my handaxe in my backpack
move out
move s
move s
move w
move w
move w
move w
move w
move w
move w
move n
move n
move n
move n
move n
put go inn
move w
goto start

NewFletch:

move e
move o
move s
move s
move s
move s
move s
move e
move e
move e
move e
move e
move e
move e
move n
move n
put go door
put order 9 of 16
put buy
put open package
put get fletch from pack
put put fletch in backpack
pause 1
put get fletch from pack
put put fletch in backpack
pause 1
put get fletch from pack
put put fletch in backpack
pause 1
put get fletch from pack
put put fletch in backpack
pause 1
put get fletch from pack
put put fletch in backpack
pause 1
put get fletch from pack
put put fletch in backpack
pause 1
put get fletch from pack
put put fletch in backpack
pause 1
put get fletch from pack
put put fletch in backpack
pause 1
put get fletch from pack
put put fletch in backpack
put drop pack
move out
move s
move s
move w
move w
move w
move w
move w
move w
move w
move n
move n
move n
move n
move n
put go inn
move west
goto start

Deathravin
06-05-2008, 11:05 AM
if it's just for mastering, I just load up on rough arrow shafts (maybe 1-2000 or so) using this script:


goto "start"

startp:
pause("1s")
waitrt?
start:
match "fireit", "That's too short to cut into"
match "dropit", "isn't really big enough to bother splitting, so you just decide to use it as-is."
match "dropit", "With carefully placed cuts, you split a"
match "startp", "...wait"
waitrt?
put "get wood"
put "cut arrow shaft"
matchwait

dropitp:
pause("1s")
waitrt?
dropit:
match "start", "You put a"
match "dropitp", "...wait"
waitrt?
put "put shaft in my backpack"
matchwait

fireit:
match "dropit", "isn't really big enough to bother splitting, so you just decide to use it as-is."
match "dropit", "With carefully placed cuts, you split a"
match "startp", "...wait"
waitrt?
put "cut arrow shaft"
matchwait

Then I fletch all day using this script: In fact, I'm doing it right now... great way to get from 5 to 11.5 without killing a single critter. 0-5 with beers, 5-11.5 with fletching.
If you're bored at work (like I am) you can make 5 characters, and only use them on the days they have their gift. You can get to level 17-18 (depending on your xp per pulse) with just fletching on your 3 and 2x gifts.


goto "checkxp"

getshaftp:
pause("1s")
waitrt?
getshaft:
match "getshaftp", "Sorry, you may only type ahead 1 command."
match "getshaftp", "...wait"
match "cutshaft", "You remove a single"
match "stop", "Get what?"
waitrt?
put "get 1 shaft from my backpack"
matchwait

cutshaftp:
pause("1s")
waitrt?
cutshaft:
match "cutshaftp", "Sorry, you may only type ahead 1 command."
match "cutshaftp", "...wait"
match "checkxp", "Realizing it would never fly straight, you discard"
match "cutnocks", "You pare away the excess"
match "cutnocks", "Generally, you should paint or crest"
match "cutnocks", "Do you mean to CUT NOCKS"
waitrt?
put "cut my shaft with my knife"
matchwait

cutnocksp:
pause("1s")
waitrt?
cutnocks:
match "cutnocks", "Sorry, you may only type ahead 1 command."
match "cutnocks", "...wait"
match "cutnocksp", "Generally, you should paint or crest"
match "checkxp", "That'll never fire... might as well toss it."
match "dropshaft", "You carefully cut a nock into the end of the arrow shaft."
waitrt?
put "cut nock in my shaft with my knife"
matchwait

dropshaftp:
pause("1s")
waitrt?
dropshaft:
match "dropshaftp", "Sorry, you may only type ahead 1 command."
match "dropshaftp", "...wait"
match "checkxp", "You put"
match "checkxp", "As you place"
match "checkxp", "You drop"
waitrt?
put "put shaft in wastebasket"
matchwait

checkxp:
if checkmind(4) == true then echo "Waiting for mind" end
while checkmind(4) == true
pause("5s")
end
pause("1s")
goto "getshaft"

stop:
exit

It only fletches when you're clear or below. So you end up getting a lot of XP in the process that you don't want to lose while you're fried.

It's really only in lich because I hate 'exp' checks constantly. Thats plenty of reason for me.

CrystalTears
06-05-2008, 11:07 AM
I've found that not fletching the entire arrow and only focusing on the first two cuts will help you master faster.

And it would probably be better to get the wood from the kobold mine rather than buying it. The whole mastering process can be done without spending a single silver.

TheEschaton
06-05-2008, 11:10 AM
There's something wrong with me. Every time I see the field "cutnocks", I invert the n and the c.

Deathravin
06-05-2008, 11:11 AM
Not a big deal to buy the limbs. It comes out to less than 1 silver per shaft... 2500 silver aint a big deal to anybody really LOL.

CrystalTears
06-05-2008, 11:12 AM
It's not, but why spend the silver when you don't have to, especially when you're in the landing.

xao92k
06-05-2008, 11:14 AM
Yeah I forgot to add, make sure you have like 2000 silvers on you if you're going to leave it on overnight. And to be honest, scrwe to kob mine lol, what's 2000 silvers when you can make that a hundred fold when you start selling your master fletched arrows.

Deathravin
06-05-2008, 11:15 AM
If you can make it past the vereri or frost giants, I used to fletch in the library in the abby or that cave in with the fire pit... free wood there too.

But that was before you got any xp from it and fletching shops didn't sell wood yet. And I had to walk up hill both ways... Back then we didn't have water, we just suked the fluid out of mud... and we were GRATEFUL for that fluid!

Bobmuhthol
06-05-2008, 11:15 AM
<<It's not, but why spend the silver when you don't have to>>

Because it's less than the amount of silver in a decent box and because getting the wood for free wastes time?

Gan
06-05-2008, 11:25 AM
Free sticks in the basket past the curtain where the tables are in the Hanging (abandoned) Inn.

;)

Also free sticks (basket) in the silvergate remote lockers...

McWhanger
08-05-2008, 03:34 AM
Uh, by the way, this script doesn't work right now.

Line 5: match noarrows get what?

noarrows:
put stow dagger
goto noarrows

I'll try my patchwork on it and see if I fix anything

McWhanger
08-05-2008, 05:08 AM
I made a bunch of changes to this script, and it is currently running for me now, I found many missing wait's and pauses that would cause it to hang. There may be more, I haven't been running it very long yet, and its almost pass out time, but here is my updated version of graciously provided original, courtesy of OP:


#fletching

mainstart:
put get my dagger
pause 1
put get 1 shaft from my backpack
match noarrows what?
put cut my shaft with my dagger
match fail1 you discard the rough arrow shaft.
match pass1 You pare away the excess wood
matchwait

Start:
pause 2
put get my dagger
pause 1
put get 1 shaft from my backpack
match noarrows what?
put cut my shaft with my dagger
match fail1 you discard the rough arrow shaft.
match pass1 You pare away the excess wood
matchwait

Pass1:
pause 2
put cut nocks in my shaft with my dagger
put cut nocks in my shaft with my dagger
match fail2 might as well toss it.
match pass2 You carefully cut a nock into
matchwait

Pass2:
pause 1
put put my dagger in my backpack
put remove my bow
pause 1
put swap
put measure my shaft
pause 5
put wear bow
pause 1
put get my dagger
pause 1
put cut my shaft with my dagger
pause 1
goto next

Pass3:
waitfor has dried.
put put my fletch in my backpack
put get my dagger
pause 1
put cut my shaft with my dagger
put cut my shaft with my dagger
match done you whittle the end
match fail4 so you discard it.
matchwait

Pass4:
pause 2
echo One arrow done!
put put my arrow in my backpack
goto start

Next:
pause 2
put put my dagger in my backpack
goto glue

Glue:
pause 2
put get my glue
match gotglue fletching glue
match noglue get what?
matchwait

GotGlue:
pause 2
put put glue on my shaft
pause 1
put put my glue in my backpack
pause 1
goto fletch

FLetch:
put get my fletch
match newfletch get what?
match nofletch3 a single fletching
match gotfletch you remove a bundle of fletch
matchwait

GotFletch:
pause 2
put put my fletch on my shaft
match nofletch You don't have enough fletchings
match oops you are able to salvage the shaft
match fail3 the glue is now too dry to remove them
match pass3 securely glued.
matchwait

Fail1:
goto start

Fail2:
goto start

Fail3:
put put fletch in my backpack
goto start

Fail4:
put swap
goto start

Nofletch:
put drop fletch
put get my fletching
match nofletch2 get what?
put put my fletch on my shaft
match fail3 the glue is now too dry to remove them
match pass3 securely glued.
matchwait



Nofletch3:
put drop my fletch
goto fletch


Done:
put put my arrow in my backpack
put swap
goto start

noarrows:
put put dagger in my backpack
goto buyarrows

Oops:
put put my fletch in my backpack
goto next

noglue:
put drop my shaft
goto buyglue

BuyGlue:
move out
move s
move out
move s
move s
move s
move s
move s
move e
move e
move e
move e
move e
move e
move e
move n
move n
put go door
put order 15
pause 1
put buy
put put glue in backpack
pause 1
move out
move s
move s
move w
move w
move w
move w
move w
move w
move w
move n
move n
move n
move n
put go inn
move n
put go table
goto start

BuyArrows:
move out
move s
move o
move s
move s
move s
move s
move s
move e
move e
move e
move e
move e
move e
move e
move n
move n
put go door
put order 9 of 40
pause 1
put buy
pause 1
move out
move s
move s
move w
move w
move w
move w
move w
move w
move w
move n
move n
move n
move n
move n
put go inn
move n
put go table
pause 1
put open package
put get wood from pack
pause 1
put put wood in back
pause 1
put get wood from pack
pause 1
put put wood in back
pause 1
put get wood from pack
pause 1
put put wood in back
pause 1
put get wood from pack
pause 1
put put wood in back
pause 1
put get wood from pack
pause 1
put put wood in back
pause 1
put get wood from pack
pause 1
put put wood in back
pause 1
put get wood from pack
pause 1
put put wood in back
pause 1
put get wood from pack
pause 1
put put wood in back
pause 1
put get wood from pack
pause 1
put put wood in back
pause 1
put drop pack
put get hand
pause 1
put get wood from my backpack
put cut arrows from my wood
wait
pause 2
put put my shafts in my backpack
put get wood from my backpack
pause 1
put cut arrows from my wood
wait
pause 2
put put my shafts in my backpack
put get wood from my backpack
pause 1
put cut arrows from my wood
wait
pause 2
put put my shafts in my backpack
put get wood from my backpack
pause 1
put cut arrows from my wood
wait
pause 2
put put my shafts in my backpack
put get wood from my backpack
pause 1
put cut arrows from my wood
wait
pause 2
put put my shafts in my backpack
put get wood from my backpack
pause 1
put cut arrows from my wood
wait
pause 2
put put my shafts in my backpack
put get wood from my backpack
pause 1
put cut arrows from my wood
wait
pause 2
put put my shafts in my backpack
put get wood from my backpack
pause 1
put cut arrows from my wood
wait
pause 2
put put my shafts in my backpack
put get wood from my backpack
pause 1
put cut arrows from my wood
wait
pause 2
put put my shafts in my backpack
put put my handaxe in my backpack
pause 1
goto start

NewFletch:
move out
move s
move o
move s
move s
move s
move s
move s
move e
move e
move e
move e
move e
move e
move e
move n
move n
put go door
put order 9 of 16
pause 1
put buy
put open package
put get fletch from pack
pause 1
put put fletch in backpack
pause 1
put get fletch from pack
put put fletch in backpack
pause 1
put get fletch from pack
put put fletch in backpack
pause 1
put get fletch from pack
put put fletch in backpack
pause 1
put get fletch from pack
put put fletch in backpack
pause 1
put get fletch from pack
put put fletch in backpack
pause 1
put get fletch from pack
put put fletch in backpack
pause 1
put get fletch from pack
put put fletch in backpack
pause 1
put get fletch from pack
put put fletch in backpack
put drop pack
move out
move s
move s
move w
move w
move w
move w
move w
move w
move w
move n
move n
move n
move n
move n
put go inn
move n
put go table
goto start


Still need a bow, backpack, handaxe, dagger, and silvers. And I changed the location to a table, supposedly bad for afk fletching scripting, but I'm not doing that, so oh well.

xao92k
10-08-2008, 10:35 AM
Actually my script works perfectly, there is no need to add any more waits or pauses, the only thing that makes the script hang is when your client lags out.

Durgrimst
10-08-2008, 04:12 PM
I can upload a couple scripts that Durfin gave me for this, it checks your mind to stop when you are fried and then starts up again when you are clear so that you can learn the most from it. It works really well. PM me if you want it, or I could put it on here sometime... I just need to find the emails.