Holybane
08-12-2009, 06:39 PM
I am working this fletching script to get me ranks in the skill and free xp but something is messing up in the script and I think I know what it is but dont know how to fix it.
start:
put get my dagger from my g pack
put get 1 shaft from my g pack
match noarrows what?
put cut my shaft with my dagger
match fail1 you discard the rough arrow shaft.
match succeed1 you pare away the excess wood
matchwait
succeed1:
pause 1
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 succeed2 You carefully cut a nock into
matchwait
succeed2:
put drop shaft
waitfor You drop a
goto start
fail1:
goto start
fail2:
goto start
noarrows:
put stow all
put out
put s
put out
put s
put s
put s
put s
put s
put e
put e
put e
put e
put e
put e
put e
put n
put n
put go door
put order 10 of 40
put buy
put o
put s
put s
put w
put w
put w
put w
put w
put w
put w
put n
put n
put n
put n
put n
put go inn
put n
put go table
put open package
pause 1
put empty pack into g pack
waitfor everything falls in quite nicely.
put drop package
goto cutwood
cutwood:
put get wood from g pack
match start what?
put get my handaxe
put cut arrows from my wood with my handaxe
match cutwood placed cuts, you split
matchwait
in this section
start:
put get my dagger from my g pack
put get 1 shaft from my g pack
match noarrows what?
put cut my shaft with my dagger
match fail1 you discard the rough arrow shaft.
match succeed1 you pare away the excess wood
matchwait
the 'match noarrows what?' is making try to buy arrows when it cannot get a dagger out of my pack but with my limited scripting skills (juss started the other day) I dont know what to do. Here is a screen shot of it messing up:
>.fletchrankup
[Script fletchrankup is running, Esc to cancel, Shift-Esc to pause]
>get my dagger from my g pack
>get 1 shaft from my g pack
Get what?
>cut my shaft with my dagger
You remove a single rough arrow shaft from a bundle of rough arrow shafts.
>
You begin to pare away the excess wood, but in a moment of carelessness, you shave a bit too much away from one side. Realizing it would never fly straight, you discard the rough arrow shaft.
Roundtime: 28 sec.
R>
[[LNet]-Tillmen]: "You chatted anyway not expecting it to work?"
[[LNet]-Shannivar]: "I'm used to it working on psinet, wasn't really thinking about it. :P"
>get my dagger from my g pack
>get 1 shaft from my g pack
>cut my shaft with my dagger
Get what?
>
You remove a single rough arrow shaft from a bundle of rough arrow shafts.
>stow all
You begin to pare away the excess wood, but in a moment of carelessness, you shave a bit too much away from one side. Realizing it would never fly straight, you discard the rough arrow shaft.
Roundtime: 23 sec.
R>out
...wait 23 seconds.
R>
...wait 23 seconds.
R>
[[LNet]-Tillmen]: "Heh."
>s
>out
>s
You can't go there.
>
[Raging Thrak Inn, Dining Room]
Loud and abusive noises emanate from behind the swinging kitchen doors, much to the laughing delight of some of the customers, and to the chagrin of others. Tapestries hanging from the walls depict soothing idyllic wildlife scenes. Hard wooden tables and chairs are placed evenly, allowing enough space for the cook and wait servants to pass. You also see some inviting tables and a cozy nook.
Obvious exits: south, southwest
>s
[Raging Thrak Inn, Barroom]
A long and polished wooden bar occupies the whole north wall of the tavern here in The Raging Thrak, which is named for the fiery proprietor. Hard wooden chairs, tables and benches are spaced liberally throughout the room. The tavern does good business, and seems to be at least half full, no matter what time of day. You also see a doorway.
Obvious exits: north, south, west, out
>s
>s
[Raging Thrak Inn, Front Desk]
>s
A polished wooden desk sits to the side of the staircase, and bears the placard of the Thrak's proprietor. At the top of the creaky wooden stairs are the establishment's guest rooms. You also see the Arf disk, a freshly-painted sign and a handpainted placard.
Also here: Lord Arf who is kneeling
Obvious exits: north
>
You can't go there.
>
You can't go there.
>e
You can't go there.
>e
>e
You can't go there.
could use a lil help please. :thanx:
EDIT: I fixed it on my own. the answer was right under my nose too....Doh..
start:
put get my dagger from my g pack
put get 1 shaft from my g pack
match noarrows what?
put cut my shaft with my dagger
match fail1 you discard the rough arrow shaft.
match succeed1 you pare away the excess wood
matchwait
succeed1:
pause 1
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 succeed2 You carefully cut a nock into
matchwait
succeed2:
put drop shaft
waitfor You drop a
goto start
fail1:
goto start
fail2:
goto start
noarrows:
put stow all
put out
put s
put out
put s
put s
put s
put s
put s
put e
put e
put e
put e
put e
put e
put e
put n
put n
put go door
put order 10 of 40
put buy
put o
put s
put s
put w
put w
put w
put w
put w
put w
put w
put n
put n
put n
put n
put n
put go inn
put n
put go table
put open package
pause 1
put empty pack into g pack
waitfor everything falls in quite nicely.
put drop package
goto cutwood
cutwood:
put get wood from g pack
match start what?
put get my handaxe
put cut arrows from my wood with my handaxe
match cutwood placed cuts, you split
matchwait
in this section
start:
put get my dagger from my g pack
put get 1 shaft from my g pack
match noarrows what?
put cut my shaft with my dagger
match fail1 you discard the rough arrow shaft.
match succeed1 you pare away the excess wood
matchwait
the 'match noarrows what?' is making try to buy arrows when it cannot get a dagger out of my pack but with my limited scripting skills (juss started the other day) I dont know what to do. Here is a screen shot of it messing up:
>.fletchrankup
[Script fletchrankup is running, Esc to cancel, Shift-Esc to pause]
>get my dagger from my g pack
>get 1 shaft from my g pack
Get what?
>cut my shaft with my dagger
You remove a single rough arrow shaft from a bundle of rough arrow shafts.
>
You begin to pare away the excess wood, but in a moment of carelessness, you shave a bit too much away from one side. Realizing it would never fly straight, you discard the rough arrow shaft.
Roundtime: 28 sec.
R>
[[LNet]-Tillmen]: "You chatted anyway not expecting it to work?"
[[LNet]-Shannivar]: "I'm used to it working on psinet, wasn't really thinking about it. :P"
>get my dagger from my g pack
>get 1 shaft from my g pack
>cut my shaft with my dagger
Get what?
>
You remove a single rough arrow shaft from a bundle of rough arrow shafts.
>stow all
You begin to pare away the excess wood, but in a moment of carelessness, you shave a bit too much away from one side. Realizing it would never fly straight, you discard the rough arrow shaft.
Roundtime: 23 sec.
R>out
...wait 23 seconds.
R>
...wait 23 seconds.
R>
[[LNet]-Tillmen]: "Heh."
>s
>out
>s
You can't go there.
>
[Raging Thrak Inn, Dining Room]
Loud and abusive noises emanate from behind the swinging kitchen doors, much to the laughing delight of some of the customers, and to the chagrin of others. Tapestries hanging from the walls depict soothing idyllic wildlife scenes. Hard wooden tables and chairs are placed evenly, allowing enough space for the cook and wait servants to pass. You also see some inviting tables and a cozy nook.
Obvious exits: south, southwest
>s
[Raging Thrak Inn, Barroom]
A long and polished wooden bar occupies the whole north wall of the tavern here in The Raging Thrak, which is named for the fiery proprietor. Hard wooden chairs, tables and benches are spaced liberally throughout the room. The tavern does good business, and seems to be at least half full, no matter what time of day. You also see a doorway.
Obvious exits: north, south, west, out
>s
>s
[Raging Thrak Inn, Front Desk]
>s
A polished wooden desk sits to the side of the staircase, and bears the placard of the Thrak's proprietor. At the top of the creaky wooden stairs are the establishment's guest rooms. You also see the Arf disk, a freshly-painted sign and a handpainted placard.
Also here: Lord Arf who is kneeling
Obvious exits: north
>
You can't go there.
>
You can't go there.
>e
You can't go there.
>e
>e
You can't go there.
could use a lil help please. :thanx:
EDIT: I fixed it on my own. the answer was right under my nose too....Doh..