Official ScriptUO EasyUO Scripts > Crafting

Blacksmith Trainer

(1/12) > >>

Paulonius:
I was not having luck with CEO's smith trainer, so I wrote one yesterday.  I have only worked up one smith with it so far, so it could use some tire kicking.  I set it up to run through the most efficient ingot/skill use possible.  It stays between 50 and 60% success for the entire range until it hits about 110.  I left it running with boomerangs all the way to 120 as the items that increase difficulty from there increase the ingots per attempt by five times and don't seem worth making.  The code is in there to make decorative plate kabutos' though if you want to tinker with it.

Setup:

1. Be standing within range of a forge and anvil
2. Have a tinker kit in your backpack
3. Be able to reach a secure with your ingots in it
4. Have only iron ingots on the top layer of the secure as there is no check for other ingots
5. Don't have any of the item types that the script makes in your pack

Recommend you GM mining before training blacksmith to maximize recovery on smelting.
Don't have a newbie dagger in your pack.

Update 1 March 2011 - Version .30 (In Testing)

Added code to account for multiple ingot stacks/ types in secure
Added code to apply Siege Perilous RoT timer waits when the script is run in Siege
Modification to account for menu change from High Seas (Thanks SW!)


Script makes the following in this order:
Dagger
Mace
Cutlass
Scimitar
Broadsword
Kryss
Katana
Shuriken
Wakizashi
Plate Gorget
Circlet
Royal Circlet
Boomerang


Testing Notes:
I am seeing some hangups where the script makes the wrong item for a while and then they sit in your pack.  I am going to put in a failsafe for this and a couple of other issues and put in a menu for tracking when I have time to look at this again next month.  

I have been unable to reproduce Ultima's tinker kit error.  not sure what happened there.

I just ran it from 40 to 100 smithy on a gargoyle with 100 mining and a 120 blacksmithing skill cap: 18,000 ingots and 2.5 hours.
The total for 40 to 120 smithy on that gargoyle was: 41,250 ingots and approximately 12 hours.

Paulonius:
Updated the craft gumps for publish 65

Scrripty:
Paul.  Do a FINDITEM for daggers at the start of the script and ignore any in pack.  So people don't get upset that you killed their newbie dagger. :)

Paulonius:
I thought about that. I seem to remember not being able to smelt a blessed item recently and wanted to test it before I decided what to do with a blessed dagger. Seemed more generally applicable to have folks take it out of their bag until I sort that out. I suppose I could have it inventory your bag and ignore everything that you don't need for the script.

Scrripty:

--- Quote from: Paulonius on May 24, 2010, 07:03:40 AM ---I thought about that. I seem to remember not being able to smelt a blessed item recently and wanted to test it before I decided what to do with a blessed dagger. Seemed more generally applicable to have folks take it out of their bag until I sort that out. I suppose I could have it inventory your bag and ignore everything that you don't need for the script.

--- End quote ---

Finditem * C_ , #backpackid
For #findindex 1 #findcnt
{
  ignoreitem #findid
}

:)

Navigation

[0] Message Index

[#] Next page

Go to full version