PDA

View Full Version : Forging - OHE Script, Wehnimer's Landing.



Dintarl
05-22-2009, 01:59 PM
Can be started in the teller, the supply stall, or in the front room of the workshop.

Will cut the bars, buy new bars, buy new glyphs, get silver if you run out, renew rent and stop when you master OHE forging.

I'll work on getting it changed for the other four types of forging as well. Brawling, pole arms and two handed weapons should be quick and easy - just a matter of changing the type of glyph you use/order. One handed blunt will take a little more work, but not much - simply because the cudgel head requires a 4 lb piece instead of a 3 like all the others do.

The script has three variables:

1 - container for uncut bars and glyphs
2 - container for cut bars
3 - amount of silver you want to withdraw when you go to the bank.

It also requires a few things:

1 - obviously, two separate containers to be used for bars
2 - the character needs to be wearing their apron when the script starts
3 - the character needs to be wearing their forging-hammer when the script starts.

Forging - One Handed Edged



echo
echo
echo Variables:
echo 1 - Container for bars - where you stow items.
echo 2 - Container for cut bars - a secondary container.
echo 3 - How much silver you want to withdraw to keep going
echo
echo
echo Can start from the Supply Stall, the Teller,
echo or the Workshops in Wehnimer's Landing
echo
echo Ensure that you are wearing an apron and your forging hammer
echo when starting in any place, and have your bars purchased and
echo stowed if starting in the Supply Stall or the Workshop.
echo The script will withdraw silver and purchase your bars
echo for you if you are starting in the bank.
echo
echo Also ensure you have both of your containers open and
echo ready to have bars placed in them.
echo
echo

BEGIN:
echo Type YES to start or NO to abort.
match START YES
match ABORT NO
matchwait

ABORT:
exit

START:
put stow all
put look
match BANKSTART Teller
match STALLSTART Supply Stall
match WORKSTART Workshop]
matchwait

BANKSTART:
put withdraw %3 silver
put go arch
move out
move e
move e
move e
move e
move n
move e
move n
put go gate
move n
move n
move n
put order 3 of 2
put buy
pause 1
put open my package
put empty my package in my %1
pause 4
put throw my package
goto STALLSTART

STALLSTART:
put go workshop
match NEEDSILVER1 You don't have enough silver, rentals
match WORKSTART the clerk collects 300 silvers
match WORKSTART the clerk directs you to your rented
matchwait

WORKSTART:
match CUTTER1 You remove
match FORGE1 Get what?
put get bar from my %1
matchwait

CUTTER1:
put swap
match CUTTER15 7lb. piece and a 8lb. piece
match CUTTER9 4lb. piece and a 5lb. piece
match CUTTER6 in half.
put poke slab
matchwait

CUTTER15:
put push slab
put pull slab
pause 1
put stow right
put swap
goto CUTTER1

CUTTER9:
put push slab
put pull slab
pause 1
put stow right
put put my bar in my %2
put get bar from my %1
goto CUTTER1

CUTTER6:
put pull slab
pause 1
put put my bar in my %2
put put my bar in my %2
goto WORKSTART

FORGE1:
put go door
goto FORGE2

FORGE2:
match NEEDGLYPH Get what?
match GLYPH1 You remove
put take blade-glyph from my %1
matchwait

GLYPH1:
match GLYPH2 That was fun
match GLYPH2 one handed edged, you are an apprentice
match GLYPH2 one handed edged, you are a novice
match GLYPH2 one handed edged, you are a journeyman
match GLYPH2 one handed edged, you are a skilled
match GLYPH2 one handed edged, you are a highly
match MASTER one handed edged, you are a master
put artisan skill
put jump
matchwait

GLYPH2:
match GETBAR2 Get what?
match GLYPH3 You remove
put get bar from my %2
matchwait

GLYPH3:
match TOOSMALL Before the design is complete
match GLYPH4 Your material is marked with a pattern
put stare my blade
matchwait

GLYPH4:
pause 4
put put my blade in my %1
put remove my forging-hammer
goto TONGS1

TONGS1:
match TONGS2 realizing that there's more
match GLYPH5 safest thing to do now
match DONE With a satisfying
match DONE With a brief
match WATER The tempering trough is empty
match TIME The tongs don't budge
match BREAK With a single, faulty blow
put get tongs
matchwait

TONGS2:
match TONGS3 one handed edged, you are an apprentice
match TONGS3 one handed edged, you are a novice
match TONGS3 one handed edged, you are a journeyman
match TONGS3 one handed edged, you are a skilled
match TONGS3 one handed edged, you are a highly
match MASTER one handed edged, you are a master
put artisan skill
matchwait

TONGS3:
pause 2
goto TONGS1

GLYPH5:
pause 2
put wear my forging
put put my bar in my %2
goto FORGE2

DONE:
pause 2
put go door
put put dagger-blade in bin
put wear my forging
goto FORGE1

WATER:
put wear my forging
put get bucket
waitfor You lift the bucket
goto WATER2

WATER2:
pause 2
put remove my forging
goto TONGS1

BREAK:
pause 2
put wear my forging
goto FORGE2

TIME:
put go door
move out
put go workshop
MATCH NEEDSILVER3 You don't have enough silver, rentals
MATCH FORGE3 the clerk collects 300 silvers
matchwait

FORGE3:
put go door
goto TONGS1

TOOSMALL:
put go door
put put bar in bin
put go door
goto GLYPH2

GETBAR1:
move out
put order 3 of 2
put buy
match NEEDSILVER2 But you do not have enough silver!
match BACKIN I've placed your purchases in this
matchwait

BACKIN:
pause 1
put open my package
put empty my package in my %1
pause 4
put throw my package
put go workshop
match NEEDSILVER1 You don't have enough silver, rentals are
match WORKSTART the clerk directs you to your rented
match WORKSTART the clerk collects 300 silvers
matchwait

NEEDSILVER1:
put stow all
move s
move s
move s
move out
move s
move w
move s
move w
move w
move w
move w
put go bank
put go arch
put withdraw %3 silver
goto GOBACK

GOBACK:
pause 1
put go arch
move out
move e
move e
move e
move e
move n
move e
move n
put go gate
move n
move n
move n
goto STALLSTART

NEEDSILVER2:
put stow all
move s
move s
move s
move out
move s
move w
move s
move w
move w
move w
move w
put go bank
put go arch
pause 1
goto BANKSTART

GETBAR2:
put put my blade in my %1
put go door
goto GETBAR1

NEEDSILVER3:
move s
move s
move s
move out
move s
move w
move s
move w
move w
move w
move w
put go bank
put go arch
put withdraw %3 silver
goto GOBACK2

GOBACK2:
pause 1
put go arch
move out
move e
move e
move e
move e
move n
move e
move n
put go gate
move n
move n
move n
goto TONGS4

TONGS4:
put go workshop
MATCH NEEDSILVER3 You don't have enough silver, rentals
MATCH FORGE3 the clerk collects 300 silvers
matchwait

NEEDGLYPH:
put go door
move out
goto NEEDGLYPH2

NEEDGLYPH2:
put order 3 of 14 material wax
put buy
match NEEDSILVER4 But you do not have enough silver!
match GOTGLYPH I've placed your purchases in this
matchwait

GOTGLYPH:
pause 1
put open my package
put empty my package in my %1
pause 4
put throw my package
put go workshop
match NEEDSILVER5 You don't have enough silver, rentals are
match FORGE1 the clerk directs you to your rented
match FORGE1 the clerk collects 300 silvers
matchwait

NEEDSILVER5:
move s
move s
move s
move out
move s
move w
move s
move w
move w
move w
move w
put go bank
put go arch
put withdraw %3 silver
goto GOBACK3

GOBACK3:
pause 1
put go arch
move out
move e
move e
move e
move e
move n
move e
move n
put go gate
move n
move n
move n
goto GOTGLYPH2

GOTGLYPH2:
put go workshop
match NEEDSILVER5 You don't have enough silver, rentals are
match FORGE1 the clerk directs you to your rented
match FORGE1 the clerk collects 300 silvers
matchwait

NEEDSILVER4:
move s
move s
move s
move out
move s
move w
move s
move w
move w
move w
move w
put go bank
put go arch
put withdraw %3 silver
goto GOBACK4

GOBACK4:
pause 1
put go arch
move out
move e
move e
move e
move e
move n
move e
move n
put go gate
move n
move n
move n
goto NEEDGLYPH2

MASTER:
put go door
move out
echo
echo Congratulations, you've mastered One Handed Edged forging!
echo


Forging - Brawling



echo
echo
echo Variables:
echo 1 - Container for bars - where you stow items.
echo 2 - Container for cut bars - a secondary container.
echo 3 - How much silver you want to withdraw to keep going
echo
echo
echo Can start from the Supply Stall, the Teller,
echo or the Workshops in Wehnimer's Landing
echo
echo Ensure that you are wearing an apron and your forging hammer
echo when starting in any place, and have your bars purchased and
echo stowed if starting in the Supply Stall or the Workshop.
echo The script will withdraw silver and purchase your bars
echo for you if you are starting in the bank.
echo
echo Also ensure you have both of your containers open and
echo ready to have bars placed in them.
echo
echo

BEGIN:
echo Type YES to start or NO to abort.
match START YES
match ABORT NO
matchwait

ABORT:
exit

START:
put stow all
put look
match BANKSTART Teller
match STALLSTART Supply Stall
match WORKSTART Workshop]
matchwait

BANKSTART:
put withdraw %3 silver
put go arch
move out
move e
move e
move e
move e
move n
move e
move n
put go gate
move n
move n
move n
put order 3 of 2
put buy
pause 1
put open my package
put empty my package in my %1
pause 4
put throw my package
goto STALLSTART

STALLSTART:
put go workshop
match NEEDSILVER1 You don't have enough silver, rentals
match WORKSTART the clerk collects 300 silvers
match WORKSTART the clerk directs you to your rented
matchwait

WORKSTART:
match CUTTER1 You remove
match FORGE1 Get what?
put get bar from my %1
matchwait

CUTTER1:
put swap
match CUTTER15 7lb. piece and a 8lb. piece
match CUTTER9 4lb. piece and a 5lb. piece
match CUTTER6 in half.
put poke slab
matchwait

CUTTER15:
put push slab
put pull slab
pause 1
put stow right
put swap
goto CUTTER1

CUTTER9:
put push slab
put pull slab
pause 1
put stow right
put put my bar in my %2
put get bar from my %1
goto CUTTER1

CUTTER6:
put pull slab
pause 1
put put my bar in my %2
put put my bar in my %2
goto WORKSTART

FORGE1:
put go door
goto FORGE2

FORGE2:
match NEEDGLYPH Get what?
match GLYPH1 You remove
put take blade-glyph from my %1
matchwait

GLYPH1:
match GLYPH2 That was fun
match GLYPH2 brawling weapons, you are an apprentice
match GLYPH2 brawling weapons, you are a novice
match GLYPH2 brawling weapons, you are a journeyman
match GLYPH2 brawling weapons, you are a skilled
match GLYPH2 brawling weapons, you are a highly
match MASTER brawling weapons, you are a master
put artisan skill
put jump
matchwait

GLYPH2:
match GETBAR2 Get what?
match GLYPH3 You remove
put get bar from my %2
matchwait

GLYPH3:
match TOOSMALL Before the design is complete
match GLYPH4 Your material is marked with a pattern
put stare my blade
matchwait

GLYPH4:
pause 4
put put my blade in my %1
put remove my forging-hammer
goto TONGS1

TONGS1:
match TONGS2 realizing that there's more
match GLYPH5 safest thing to do now
match DONE With a satisfying
match DONE With a brief
match WATER The tempering trough is empty
match TIME The tongs don't budge
match BREAK With a single, faulty blow
put get tongs
matchwait

TONGS2:
match TONGS3 brawling weapons, you are an apprentice
match TONGS3 brawling weapons, you are a novice
match TONGS3 brawling weapons, you are a journeyman
match TONGS3 brawling weapons, you are a skilled
match TONGS3 brawling weapons, you are a highly
match MASTER brawling weapons, you are a master
put artisan skill
matchwait

TONGS3:
pause 2
goto TONGS1

GLYPH5:
pause 2
put wear my forging
put put my bar in my %2
goto FORGE2

DONE:
pause 2
put go door
put put duster in bin
put wear my forging
goto FORGE1

WATER:
put wear my forging
put get bucket
waitfor You lift the bucket
goto WATER2

WATER2:
pause 2
put remove my forging
goto TONGS1

BREAK:
pause 2
put wear my forging
goto FORGE2

TIME:
put go door
move out
put go workshop
MATCH NEEDSILVER3 You don't have enough silver, rentals
MATCH FORGE3 the clerk collects 300 silvers
matchwait

FORGE3:
put go door
goto TONGS1

TOOSMALL:
put go door
put put bar in bin
put go door
goto GLYPH2

GETBAR1:
move out
put order 3 of 2
put buy
match NEEDSILVER2 But you do not have enough silver!
match BACKIN I've placed your purchases in this
matchwait

BACKIN:
pause 1
put open my package
put empty my package in my %1
pause 4
put throw my package
put go workshop
match NEEDSILVER1 You don't have enough silver, rentals are
match WORKSTART the clerk directs you to your rented
match WORKSTART the clerk collects 300 silvers
matchwait

NEEDSILVER1:
put stow all
move s
move s
move s
move out
move s
move w
move s
move w
move w
move w
move w
put go bank
put go arch
put withdraw %3 silver
goto GOBACK

GOBACK:
pause 1
put go arch
move out
move e
move e
move e
move e
move n
move e
move n
put go gate
move n
move n
move n
goto STALLSTART

NEEDSILVER2:
put stow all
move s
move s
move s
move out
move s
move w
move s
move w
move w
move w
move w
put go bank
put go arch
pause 1
goto BANKSTART

GETBAR2:
put put my blade in my %1
put go door
goto GETBAR1

NEEDSILVER3:
move s
move s
move s
move out
move s
move w
move s
move w
move w
move w
move w
put go bank
put go arch
put withdraw %3 silver
goto GOBACK2

GOBACK2:
pause 1
put go arch
move out
move e
move e
move e
move e
move n
move e
move n
put go gate
move n
move n
move n
goto TONGS4

TONGS4:
put go workshop
MATCH NEEDSILVER3 You don't have enough silver, rentals
MATCH FORGE3 the clerk collects 300 silvers
matchwait

NEEDGLYPH:
put go door
move out
goto NEEDGLYPH2

NEEDGLYPH2:
put order 3 of 38 material wax
put buy
match NEEDSILVER4 But you do not have enough silver!
match GOTGLYPH I've placed your purchases in this
matchwait

GOTGLYPH:
pause 1
put open my package
put empty my package in my %1
pause 4
put throw my package
put go workshop
match NEEDSILVER5 You don't have enough silver, rentals are
match FORGE1 the clerk directs you to your rented
match FORGE1 the clerk collects 300 silvers
matchwait

NEEDSILVER5:
move s
move s
move s
move out
move s
move w
move s
move w
move w
move w
move w
put go bank
put go arch
put withdraw %3 silver
goto GOBACK3

GOBACK3:
pause 1
put go arch
move out
move e
move e
move e
move e
move n
move e
move n
put go gate
move n
move n
move n
goto GOTGLYPH2

GOTGLYPH2:
put go workshop
match NEEDSILVER5 You don't have enough silver, rentals are
match FORGE1 the clerk directs you to your rented
match FORGE1 the clerk collects 300 silvers
matchwait

NEEDSILVER4:
move s
move s
move s
move out
move s
move w
move s
move w
move w
move w
move w
put go bank
put go arch
put withdraw %3 silver
goto GOBACK4

GOBACK4:
pause 1
put go arch
move out
move e
move e
move e
move e
move n
move e
move n
put go gate
move n
move n
move n
goto NEEDGLYPH2

MASTER:
put go door
move out
echo
echo Congratulations, you've mastered Brawling Weapon forging!
echo


Forging - Two Handed Weapons



echo
echo
echo Variables:
echo 1 - Container for bars - where you stow items.
echo 2 - Container for cut bars - a secondary container.
echo 3 - How much silver you want to withdraw to keep going
echo
echo
echo Can start from the Supply Stall, the Teller,
echo or the Workshops in Wehnimer's Landing
echo
echo Ensure that you are wearing an apron and your forging hammer
echo when starting in any place, and have your bars purchased and
echo stowed if starting in the Supply Stall or the Workshop.
echo The script will withdraw silver and purchase your bars
echo for you if you are starting in the bank.
echo
echo Also ensure you have both of your containers open and
echo ready to have bars placed in them.
echo
echo

BEGIN:
echo Type YES to start or NO to abort.
match START YES
match ABORT NO
matchwait

ABORT:
exit

START:
put stow all
put look
match BANKSTART Teller
match STALLSTART Supply Stall
match WORKSTART Workshop]
matchwait

BANKSTART:
put withdraw %3 silver
put go arch
move out
move e
move e
move e
move e
move n
move e
move n
put go gate
move n
move n
move n
put order 3 of 2
put buy
pause 1
put open my package
put empty my package in my %1
pause 4
put throw my package
goto STALLSTART

STALLSTART:
put go workshop
match NEEDSILVER1 You don't have enough silver, rentals
match WORKSTART the clerk collects 300 silvers
match WORKSTART the clerk directs you to your rented
matchwait

WORKSTART:
match CUTTER1 You remove
match FORGE1 Get what?
put get bar from my %1
matchwait

CUTTER1:
put swap
match CUTTER15 7lb. piece and a 8lb. piece
match CUTTER9 4lb. piece and a 5lb. piece
match CUTTER6 in half.
put poke slab
matchwait

CUTTER15:
put push slab
put pull slab
pause 1
put stow right
put swap
goto CUTTER1

CUTTER9:
put push slab
put pull slab
pause 1
put stow right
put put my bar in my %2
put get bar from my %1
goto CUTTER1

CUTTER6:
put pull slab
pause 1
put put my bar in my %2
put put my bar in my %2
goto WORKSTART

FORGE1:
put go door
goto FORGE2

FORGE2:
match NEEDGLYPH Get what?
match GLYPH1 You remove
put take endcap-glyph from my %1
matchwait

GLYPH1:
match GLYPH2 That was fun
match GLYPH2 two handed weapons, you are an apprentice
match GLYPH2 two handed weapons, you are a novice
match GLYPH2 two handed weapons, you are a journeyman
match GLYPH2 two handed weapons, you are a skilled
match GLYPH2 two handed weapons, you are a highly
match MASTER two handed weapons, you are a master
put artisan skill
put jump
matchwait

GLYPH2:
match GETBAR2 Get what?
match GLYPH3 You remove
put get bar from my %2
matchwait

GLYPH3:
match TOOSMALL Before the design is complete
match GLYPH4 Your material is marked with a pattern
put stare my endcap-glyph
matchwait

GLYPH4:
pause 4
put put my endcap in my %1
put remove my forging-hammer
goto TONGS1

TONGS1:
match TONGS2 realizing that there's more
match GLYPH5 safest thing to do now
match DONE With a satisfying
match DONE With a brief
match WATER The tempering trough is empty
match TIME The tongs don't budge
match BREAK With a single, faulty blow
put get tongs
matchwait

TONGS2:
match TONGS3 two handed weapons, you are an apprentice
match TONGS3 two handed weapons, you are a novice
match TONGS3 two handed weapons, you are a journeyman
match TONGS3 two handed weapons, you are a skilled
match TONGS3 two handed weapons, you are a highly
match MASTER two handed weapons, you are a master
put artisan skill
matchwait

TONGS3:
pause 2
goto TONGS1

GLYPH5:
pause 2
put wear my forging
put put my bar in my %2
goto FORGE2

DONE:
pause 2
put go door
put put staff-cap in bin
put wear my forging
goto FORGE1

WATER:
put wear my forging
put get bucket
waitfor You lift the bucket
goto WATER2

WATER2:
pause 2
put remove my forging
goto TONGS1

BREAK:
pause 2
put wear my forging
goto FORGE2

TIME:
put go door
move out
put go workshop
MATCH NEEDSILVER3 You don't have enough silver, rentals
MATCH FORGE3 the clerk collects 300 silvers
matchwait

FORGE3:
put go door
goto TONGS1

TOOSMALL:
put go door
put put bar in bin
put go door
goto GLYPH2

GETBAR1:
move out
put order 3 of 2
put buy
match NEEDSILVER2 But you do not have enough silver!
match BACKIN I've placed your purchases in this
matchwait

BACKIN:
pause 1
put open my package
put empty my package in my %1
pause 4
put throw my package
put go workshop
match NEEDSILVER1 You don't have enough silver, rentals are
match WORKSTART the clerk directs you to your rented
match WORKSTART the clerk collects 300 silvers
matchwait

NEEDSILVER1:
put stow all
move s
move s
move s
move out
move s
move w
move s
move w
move w
move w
move w
put go bank
put go arch
put withdraw %3 silver
goto GOBACK

GOBACK:
pause 1
put go arch
move out
move e
move e
move e
move e
move n
move e
move n
put go gate
move n
move n
move n
goto STALLSTART

NEEDSILVER2:
put stow all
move s
move s
move s
move out
move s
move w
move s
move w
move w
move w
move w
put go bank
put go arch
pause 1
goto BANKSTART

GETBAR2:
put put my endcap in my %1
put go door
goto GETBAR1

NEEDSILVER3:
move s
move s
move s
move out
move s
move w
move s
move w
move w
move w
move w
put go bank
put go arch
put withdraw %3 silver
goto GOBACK2

GOBACK2:
pause 1
put go arch
move out
move e
move e
move e
move e
move n
move e
move n
put go gate
move n
move n
move n
goto TONGS4

TONGS4:
put go workshop
MATCH NEEDSILVER3 You don't have enough silver, rentals
MATCH FORGE3 the clerk collects 300 silvers
matchwait

NEEDGLYPH:
put go door
move out
goto NEEDGLYPH2

NEEDGLYPH2:
put order 3 of 26 material wax
put buy
match NEEDSILVER4 But you do not have enough silver!
match GOTGLYPH I've placed your purchases in this
matchwait

GOTGLYPH:
pause 1
put open my package
put empty my package in my %1
pause 4
put throw my package
put go workshop
match NEEDSILVER5 You don't have enough silver, rentals are
match FORGE1 the clerk directs you to your rented
match FORGE1 the clerk collects 300 silvers
matchwait

NEEDSILVER5:
move s
move s
move s
move out
move s
move w
move s
move w
move w
move w
move w
put go bank
put go arch
put withdraw %3 silver
goto GOBACK3

GOBACK3:
pause 1
put go arch
move out
move e
move e
move e
move e
move n
move e
move n
put go gate
move n
move n
move n
goto GOTGLYPH2

GOTGLYPH2:
put go workshop
match NEEDSILVER5 You don't have enough silver, rentals are
match FORGE1 the clerk directs you to your rented
match FORGE1 the clerk collects 300 silvers
matchwait

NEEDSILVER4:
move s
move s
move s
move out
move s
move w
move s
move w
move w
move w
move w
put go bank
put go arch
put withdraw %3 silver
goto GOBACK4

GOBACK4:
pause 1
put go arch
move out
move e
move e
move e
move e
move n
move e
move n
put go gate
move n
move n
move n
goto NEEDGLYPH2

MASTER:
put go door
move out
echo
echo Congratulations, you've mastered Two Handed Weapon forging!
echo

Donquix
05-22-2009, 02:14 PM
Coulda helped you with that a month ago, i had scripts for all forging types. Unfortunately, simu servers devoured my scripts and i didn't have them all backed up like an idjit :\

Oh well, i mastered them all...made my perfect sais and haven't made anything since. it was clearly an efficient use of time.

Dintarl
05-22-2009, 03:58 PM
Well, at least you got lots of free experience out of it? And really, it wasn't all that hard to write this - a lot of the code came from my pre-existing Forging - Crafting one.

Donquix
05-22-2009, 04:23 PM
Yeah, which i'm pretty sure i used when I leveled up crafting so thanks for that :)

Dintarl
05-23-2009, 10:28 AM
I've started testing this (well, my brawling version) and I've made a few minor changes to get it running right. Will post the others as soon as I'm sure the code works correctly so I don't have to go through and fix five instead of just one.

Dintarl
05-23-2009, 03:19 PM
Moved to first post - will update that post with the others as I get them completely debugged.

Dintarl
05-26-2009, 11:04 AM
Forging - Polearms



echo
echo
echo Variables:
echo 1 - Container for bars - where you stow items.
echo 2 - Container for cut bars - a secondary container.
echo 3 - How much silver you want to withdraw to keep going
echo
echo
echo Can start from the Supply Stall, the Teller,
echo or the Workshops in Wehnimer's Landing
echo
echo Ensure that you are wearing an apron and your forging hammer
echo when starting in any place, and have your bars purchased and
echo stowed if starting in the Supply Stall or the Workshop.
echo The script will withdraw silver and purchase your bars
echo for you if you are starting in the bank.
echo
echo Also ensure you have both of your containers open and
echo ready to have bars placed in them.
echo
echo

BEGIN:
echo Type YES to start or NO to abort.
match START YES
match ABORT NO
matchwait

ABORT:
exit

START:
put stow all
put look
match BANKSTART Teller
match STALLSTART Supply Stall
match WORKSTART Workshop]
matchwait

BANKSTART:
put withdraw %3 silver
put go arch
move out
move e
move e
move e
move e
move n
move e
move n
put go gate
move n
move n
move n
put order 3 of 2
put buy
pause 1
put open my package
put empty my package in my %1
pause 4
put throw my package
goto STALLSTART

STALLSTART:
put go workshop
match NEEDSILVER1 You don't have enough silver, rentals
match WORKSTART the clerk collects 300 silvers
match WORKSTART the clerk directs you to your rented
matchwait

WORKSTART:
match CUTTER1 You remove
match FORGE1 Get what?
put get bar from my %1
matchwait

CUTTER1:
put swap
match CUTTER15 7lb. piece and a 8lb. piece
match CUTTER9 4lb. piece and a 5lb. piece
match CUTTER6 in half.
put poke slab
matchwait

CUTTER15:
put push slab
put pull slab
pause 1
put stow right
put swap
goto CUTTER1

CUTTER9:
put push slab
put pull slab
pause 1
put stow right
put put my bar in my %2
put get bar from my %1
goto CUTTER1

CUTTER6:
put pull slab
pause 1
put put my bar in my %2
put put my bar in my %2
goto WORKSTART

FORGE1:
put go door
goto FORGE2

FORGE2:
match NEEDGLYPH Get what?
match GLYPH1 You remove
put take head-glyph from my %1
matchwait

GLYPH1:
match GLYPH2 That was fun
match GLYPH2 pole arms, you are an apprentice
match GLYPH2 pole arms, you are a novice
match GLYPH2 pole arms, you are a journeyman
match GLYPH2 pole arms, you are a skilled
match GLYPH2 pole arms, you are a highly
match MASTER pole arms, you are a master
put artisan skill
put jump
matchwait

GLYPH2:
match GETBAR2 Get what?
match GLYPH3 You remove
put get bar from my %2
matchwait

GLYPH3:
match TOOSMALL Before the design is complete
match GLYPH4 Your material is marked with a pattern
put stare my head-glyph
matchwait

GLYPH4:
pause 4
put put my head in my %1
put remove my forging-hammer
goto TONGS1

TONGS1:
match TONGS2 realizing that there's more
match GLYPH5 safest thing to do now
match DONE With a satisfying
match DONE With a brief
match WATER The tempering trough is empty
match TIME The tongs don't budge
match BREAK With a single, faulty blow
put get tongs
matchwait

TONGS2:
match TONGS3 pole arms, you are an apprentice
match TONGS3 pole arms, you are a novice
match TONGS3 pole arms, you are a journeyman
match TONGS3 pole arms, you are a skilled
match TONGS3 pole arms, you are a highly
match MASTER pole arms, you are a master
put artisan skill
matchwait

TONGS3:
pause 2
goto TONGS1

GLYPH5:
pause 2
put wear my forging
put put my bar in my %2
goto FORGE2

DONE:
pause 2
put go door
put put spearhead in bin
put wear my forging
goto FORGE1

WATER:
put wear my forging
put get bucket
waitfor You lift the bucket
goto WATER2

WATER2:
pause 2
put remove my forging
goto TONGS1

BREAK:
pause 2
put wear my forging
goto FORGE2

TIME:
put go door
move out
put go workshop
MATCH NEEDSILVER3 You don't have enough silver, rentals
MATCH FORGE3 the clerk collects 300 silvers
matchwait

FORGE3:
put go door
goto TONGS1

TOOSMALL:
put go door
put put bar in bin
put go door
goto GLYPH2

GETBAR1:
move out
put order 3 of 2
put buy
match NEEDSILVER2 But you do not have enough silver!
match BACKIN I've placed your purchases in this
matchwait

BACKIN:
pause 1
put open my package
put empty my package in my %1
pause 4
put throw my package
put go workshop
match NEEDSILVER1 You don't have enough silver, rentals are
match WORKSTART the clerk directs you to your rented
match WORKSTART the clerk collects 300 silvers
matchwait

NEEDSILVER1:
put stow all
move s
move s
move s
move out
move s
move w
move s
move w
move w
move w
move w
put go bank
put go arch
put withdraw %3 silver
goto GOBACK

GOBACK:
pause 1
put go arch
move out
move e
move e
move e
move e
move n
move e
move n
put go gate
move n
move n
move n
goto STALLSTART

NEEDSILVER2:
put stow all
move s
move s
move s
move out
move s
move w
move s
move w
move w
move w
move w
put go bank
put go arch
pause 1
goto BANKSTART

GETBAR2:
put put my head in my %1
put go door
goto GETBAR1

NEEDSILVER3:
move s
move s
move s
move out
move s
move w
move s
move w
move w
move w
move w
put go bank
put go arch
put withdraw %3 silver
goto GOBACK2

GOBACK2:
pause 1
put go arch
move out
move e
move e
move e
move e
move n
move e
move n
put go gate
move n
move n
move n
goto TONGS4

TONGS4:
put go workshop
MATCH NEEDSILVER3 You don't have enough silver, rentals
MATCH FORGE3 the clerk collects 300 silvers
matchwait

NEEDGLYPH:
put go door
move out
goto NEEDGLYPH2

NEEDGLYPH2:
put order 3 of 32 material wax
put buy
match NEEDSILVER4 But you do not have enough silver!
match GOTGLYPH I've placed your purchases in this
matchwait

GOTGLYPH:
pause 1
put open my package
put empty my package in my %1
pause 4
put throw my package
put go workshop
match NEEDSILVER5 You don't have enough silver, rentals are
match FORGE1 the clerk directs you to your rented
match FORGE1 the clerk collects 300 silvers
matchwait

NEEDSILVER5:
move s
move s
move s
move out
move s
move w
move s
move w
move w
move w
move w
put go bank
put go arch
put withdraw %3 silver
goto GOBACK3

GOBACK3:
pause 1
put go arch
move out
move e
move e
move e
move e
move n
move e
move n
put go gate
move n
move n
move n
goto GOTGLYPH2

GOTGLYPH2:
put go workshop
match NEEDSILVER5 You don't have enough silver, rentals are
match FORGE1 the clerk directs you to your rented
match FORGE1 the clerk collects 300 silvers
matchwait

NEEDSILVER4:
move s
move s
move s
move out
move s
move w
move s
move w
move w
move w
move w
put go bank
put go arch
put withdraw %3 silver
goto GOBACK4

GOBACK4:
pause 1
put go arch
move out
move e
move e
move e
move e
move n
move e
move n
put go gate
move n
move n
move n
goto NEEDGLYPH2

MASTER:
put go door
move out
echo
echo Congratulations, you've mastered Polearm Weapon forging!
echo


Forging - One Handed Blunt



echo
echo
echo Variables:
echo 1 - Container for bars - where you stow items.
echo 2 - Container for cut bars - a secondary container.
echo 3 - How much silver you want to withdraw to keep going
echo
echo
echo Can start from the Supply Stall, the Teller,
echo or the Workshops in Wehnimer's Landing
echo
echo Ensure that you are wearing an apron and your forging hammer
echo when starting in any place, and have your bars purchased and
echo stowed if starting in the Supply Stall or the Workshop.
echo The script will withdraw silver and purchase your bars
echo for you if you are starting in the bank.
echo
echo Also ensure you have both of your containers open and
echo ready to have bars placed in them.
echo
echo

BEGIN:
echo Type YES to start or NO to abort.
match START YES
match ABORT NO
matchwait

ABORT:
exit

START:
put stow all
put look
match BANKSTART Teller
match STALLSTART Supply Stall
match WORKSTART Workshop]
matchwait

BANKSTART:
put withdraw %3 silver
put go arch
move out
move e
move e
move e
move e
move n
move e
move n
put go gate
move n
move n
move n
put order 3 of 2
put buy
pause 1
put open my package
put empty my package in my %1
pause 4
put throw my package
goto STALLSTART

STALLSTART:
put go workshop
match NEEDSILVER1 You don't have enough silver, rentals
match WORKSTART the clerk collects 300 silvers
match WORKSTART the clerk directs you to your rented
matchwait

WORKSTART:
match CUTTER1 You remove
match FORGE1 Get what?
put get bar from my %1
matchwait

CUTTER1:
put swap
match CUTTER15 7lb. piece and a 8lb. piece
match CUTTER7 3lb. piece and a 4lb. piece
match CUTTER8 in half.
put poke slab
matchwait

CUTTER15:
put pull slab
pause 1
put stow right
put swap
goto CUTTER1

CUTTER7:
put pull slab
pause 1
put put my bar in my %2
put put my bar in bin
put take bar from my %1
goto CUTTER1

CUTTER8:
put pull slab
pause 1
put put my bar in my %2
put put my bar in my %2
goto WORKSTART

FORGE1:
put go door
goto FORGE2

FORGE2:
match NEEDGLYPH Get what?
match GLYPH1 You remove
put take head-glyph from my %1
matchwait

GLYPH1:
match GLYPH2 That was fun
match GLYPH2 one handed blunt, you are an apprentice
match GLYPH2 one handed blunt, you are a novice
match GLYPH2 one handed blunt, you are a journeyman
match GLYPH2 one handed blunt, you are a skilled
match GLYPH2 one handed blunt, you are a highly
match MASTER one handed blunt, you are a master
put artisan skill
put jump
matchwait

GLYPH2:
match GETBAR2 Get what?
match GLYPH3 You remove
put get bar from my %2
matchwait

GLYPH3:
match TOOSMALL Before the design is complete
match GLYPH4 Your material is marked with a pattern
put stare my head-glyph
matchwait

GLYPH4:
pause 4
put put my head in my %1
put remove my forging-hammer
goto TONGS1

TONGS1:
match TONGS2 realizing that there's more
match GLYPH5 safest thing to do now
match DONE With a satisfying
match DONE With a brief
match WATER The tempering trough is empty
match TIME The tongs don't budge
match BREAK With a single, faulty blow
put get tongs
matchwait

TONGS2:
match TONGS3 one handed blunt, you are an apprentice
match TONGS3 one handed blunt, you are a novice
match TONGS3 one handed blunt, you are a journeyman
match TONGS3 one handed blunt, you are a skilled
match TONGS3 one handed blunt, you are a highly
match MASTER one handed blunt, you are a master
put artisan skill
matchwait

TONGS3:
pause 2
goto TONGS1

GLYPH5:
pause 2
put wear my forging
put put my bar in my %2
goto FORGE2

DONE:
pause 2
put go door
put put cudgel-head in bin
put wear my forging
goto FORGE1

WATER:
put wear my forging
put get bucket
waitfor You lift the bucket
goto WATER2

WATER2:
pause 2
put remove my forging
goto TONGS1

BREAK:
pause 2
put wear my forging
goto FORGE2

TIME:
put go door
move out
put go workshop
MATCH NEEDSILVER3 You don't have enough silver, rentals
MATCH FORGE3 the clerk collects 300 silvers
matchwait

FORGE3:
put go door
goto TONGS1

TOOSMALL:
put go door
put put bar in bin
put go door
goto GLYPH2

GETBAR1:
move out
put order 3 of 2
put buy
match NEEDSILVER2 But you do not have enough silver!
match BACKIN I've placed your purchases in this
matchwait

BACKIN:
pause 1
put open my package
put empty my package in my %1
pause 4
put throw my package
put go workshop
match NEEDSILVER1 You don't have enough silver, rentals are
match WORKSTART the clerk directs you to your rented
match WORKSTART the clerk collects 300 silvers
matchwait

NEEDSILVER1:
put stow all
move s
move s
move s
move out
move s
move w
move s
move w
move w
move w
move w
put go bank
put go arch
put withdraw %3 silver
goto GOBACK

GOBACK:
pause 1
put go arch
move out
move e
move e
move e
move e
move n
move e
move n
put go gate
move n
move n
move n
goto STALLSTART

NEEDSILVER2:
put stow all
move s
move s
move s
move out
move s
move w
move s
move w
move w
move w
move w
put go bank
put go arch
pause 1
goto BANKSTART

GETBAR2:
put put my head in my %1
put go door
goto GETBAR1

NEEDSILVER3:
move s
move s
move s
move out
move s
move w
move s
move w
move w
move w
move w
put go bank
put go arch
put withdraw %3 silver
goto GOBACK2

GOBACK2:
pause 1
put go arch
move out
move e
move e
move e
move e
move n
move e
move n
put go gate
move n
move n
move n
goto TONGS4

TONGS4:
put go workshop
MATCH NEEDSILVER3 You don't have enough silver, rentals
MATCH FORGE3 the clerk collects 300 silvers
matchwait

NEEDGLYPH:
put go door
move out
goto NEEDGLYPH2

NEEDGLYPH2:
put order 3 of 20 material wax
put buy
match NEEDSILVER4 But you do not have enough silver!
match GOTGLYPH I've placed your purchases in this
matchwait

GOTGLYPH:
pause 1
put open my package
put empty my package in my %1
pause 4
put throw my package
put go workshop
match NEEDSILVER5 You don't have enough silver, rentals are
match FORGE1 the clerk directs you to your rented
match FORGE1 the clerk collects 300 silvers
matchwait

NEEDSILVER5:
move s
move s
move s
move out
move s
move w
move s
move w
move w
move w
move w
put go bank
put go arch
put withdraw %3 silver
goto GOBACK3

GOBACK3:
pause 1
put go arch
move out
move e
move e
move e
move e
move n
move e
move n
put go gate
move n
move n
move n
goto GOTGLYPH2

GOTGLYPH2:
put go workshop
match NEEDSILVER5 You don't have enough silver, rentals are
match FORGE1 the clerk directs you to your rented
match FORGE1 the clerk collects 300 silvers
matchwait

NEEDSILVER4:
move s
move s
move s
move out
move s
move w
move s
move w
move w
move w
move w
put go bank
put go arch
put withdraw %3 silver
goto GOBACK4

GOBACK4:
pause 1
put go arch
move out
move e
move e
move e
move e
move n
move e
move n
put go gate
move n
move n
move n
goto NEEDGLYPH2

MASTER:
put go door
move out
echo
echo Congratulations, you've mastered One Handed Blunt forging!
echo


Two-Handed Weapon script added. Will get the OHB and Polearms scripts added within the next couple days as well.

Dintarl
05-27-2009, 12:20 PM
Since the initial post didn't want to let me add the two scripts there, I've placed them in the post just before this one.

All of the scripts work without hangup for me now, but if you find anything I miss, please let me know.

Inspire
05-27-2009, 01:20 PM
Just wanted to share my thanks. I've been at 495 ranks for awhile now and I think I may just finish it.


Have any scripts for forging perfects?

Dintarl
05-27-2009, 01:25 PM
I do not - I usually do that part by hand with the forging hammer.

With weapons, I may make adjustments to the scripts so they work at master and keep the best pieces. Will see when I get there across the board.

Gibreficul
05-27-2009, 06:00 PM
One of my characters just mastered forging OHE. My other is at 498 ranks (and has been for 12+ hours of solid forging.) My scripts are for Lich, and are available on the repository. ;repo info autoforge if you're a Lich user.

Currently, it ONLY does rankup forging, however since I've recently reached mastery, and I do not have a perfect forging hammer, I will be modifying the scripts to not only make a perfect hammer, but to forge and keep perfect weapon parts with the magical metals. Hopefully I get the time to tinker around with that stuff in the near future... For those of you non-lich people... well, have fun with those SF scripts.


Gibreficul

nichelas
10-08-2009, 09:50 PM
nevermind.

Jace Solo
10-09-2009, 12:40 AM
What's a proper amount of silver to start with from the bank...at rank 0?

Jace Solo
10-10-2009, 11:03 AM
2k seems to work fine, I'm guessing 1k would have too

Endlin
10-10-2009, 05:32 PM
Has anyone modified any of these to keep the good pieces and/or assemble anything?

Flessen
10-11-2009, 11:00 AM
Could not find autoforge on repository.

rangent
11-06-2009, 12:36 AM
I couldn't even get lich to connect to the repository. All I got was this:

;repo info autoforge
--- Lich: repository active.
Contacting the Lich server... if it's busy, this will take awhile...

Edit: fixed the problem, changed "lich.sudolife.com" to "sudolife.com". Problem is, now I cant find autoforge... :(

Eoghain
04-29-2010, 01:45 AM
Anyone have Gib's autforge lich script? Or one for making a perfect hammer?

caelric
05-01-2010, 10:55 PM
yes, anyone have the autoforge script they could send me?

Loagan
05-10-2010, 11:34 AM
^^This please, or is autoforge.lic back up?

Anebriated
05-10-2010, 11:58 AM
ugh I will have to put the work in to get my PC up and running tonight. I have autoforge and a few other older lich scripts id love to recover.

Loagan
05-11-2010, 01:35 AM
Thanks!

Endlin
05-17-2010, 03:12 PM
Did anyone turn up autoforge.lic?

Buckwheet
05-17-2010, 04:01 PM
I believe even if people did have it they would be going against Gibs wishes in publicly posting it or making it available.

I spoke with him about it, and he confirmed that he pulled it down from the repository, and that he was no longer helping people out with it.

Buckwheet
06-13-2010, 09:00 PM
Looks like autoforge is back online.

Anyone want to review it to create something that will forge magical perfects?

Makkah
06-13-2010, 09:21 PM
Doesn't look online to me.

Buckwheet
06-13-2010, 10:39 PM
There appears to be two copies. One that says Deleted by Gib and the other says autoforgegood.

Makkah
06-13-2010, 10:42 PM
gracias

Wiseguy
06-29-2010, 09:59 AM
To anyone using forging scripts: About 20 minutes ago I recieved a message in game that paraphrased went something like this, "In the biggest blue letters you've ever seen in your life you read, The Forging Gods request that you answer this question 5+2=?." I responded saying 7 at first, nothing happend. I responded saying seven and I got a reply. The Gods thank you for being attentive and uhh...solving simple math!"

I take this as a bullshit script checking device. 'Nuff Said. Anyone seen this? What is it?

Tordane
06-29-2010, 10:08 AM
To anyone using forging scripts: About 20 minutes ago I recieved a message in game that paraphrased went something like this, "In the biggest blue letters you've ever seen in your life you read, The Forging Gods request that you answer this question 5+2=?." I responded saying 7 at first, nothing happend. I responded saying seven and I got a reply. The Gods thank you for being attentive and uhh...solving simple math!"

I take this as a bullshit script checking device. 'Nuff Said. Anyone seen this? What is it?

Yep, was a GM checking to see if you were at the computer. Be glad they made it easy for you to see, have heard some horror stories. Good GM, Nice GM...

AnticorRifling
06-29-2010, 10:10 AM
I thought you were allowed to script forging since it's so fun and all...

Wiseguy
06-29-2010, 01:25 PM
Haha. Tordane, what sort of horror stories have you heard if you don't mind sharing a little?

Liagala
06-29-2010, 02:33 PM
I thought you were allowed to script forging since it's so fun and all...
Script yes, afk no.

Tordane
06-29-2010, 02:48 PM
Haha. Tordane, what sort of horror stories have you heard if you don't mind sharing a little?

Mice stealing socks, pulling plug from trough, saying things like "hi"(small and hard to see), writing out a long emote line that ends up blending in with artisan scroll. I'm sure some folks on here have some things that were tried against them. I know the big uproar not too long ago was Keith getting caught.

Xeromist
06-30-2010, 11:21 AM
Script yes, afk no.

I just picked back up on my old efforts to forge a perfect weapon for myself. Mithril roundtime is pretty long in the forge...two 4-minute sessions of hammering. I know while scripting you're required to be ready and available to respond at the drop of a dime, but what about during those 4 minute roundtimes if you're not scripting? Can people get in trouble for non-responsiveness during those ridiculous RTs without a script?

Tordane
06-30-2010, 11:39 AM
I just picked back up on my old efforts to forge a perfect weapon for myself. Mithril roundtime is pretty long in the forge...two 4-minute sessions of hammering. I know while scripting you're required to be ready and available to respond at the drop of a dime, but what about during those 4 minute roundtimes if you're not scripting? Can people get in trouble for non-responsiveness during those ridiculous RTs without a script?


According to a recent policy change, you are not required to be observant DURING rt, but you had better be paying attention for those few seconds after commands are issued.

Wiseguy
07-01-2010, 01:54 PM
Would assembling hammers from handles and heads give a better chance of gaining ranks than just forging handles and heads?

TY

Wrathbringer
09-25-2010, 09:05 PM
Attempted to use the script for mastering THW that is posted here. For whatever reason, it runs too quickly and I don't have enough type ahead lines. I'm using the Wizard FE. If anyone is currently using this script for Wizard FE and can tell me what the problem is, or suggest alterations I'd need to make (tried putting "pause 1" after every line, that didn't do it either), I'd appreciate it. Or if someone has a different THW mastering script for wizard and wouldn't mind pm'ing it to me, that'd be great too. Appreciate any help.

Anebriated
09-25-2010, 09:14 PM
try adding a "waitfor You" after the put's...

Wrathbringer
09-25-2010, 09:17 PM
Awesome. Will do. Thank you.

Wrathbringer
09-27-2010, 08:22 AM
Didn't work. It appears the script is for stormfront. No one have one for wizard?

Anebriated
09-27-2010, 01:46 PM
forging is not something you do for quick exp gain...

And its most definitely a wizFE script and not a stormfront script.