ScriptUO

Official ScriptUO EasyUO Scripts => Script Library => Character skill advancement => Topic started by: Paulonius on May 03, 2011, 04:06:31 AM

Title: Paulonius Bowcraft Trainer 0-100 + ROT
Post by: Paulonius on May 03, 2011, 04:06:31 AM
I wrote the attached script to train bowcraft/fletching.  This script will train you from 0 skill to 100.  I reviewed the skill training cycle on UOGuide and found it to be flawed.  I deviated from that progression by making bows as soon as possible, and making fukiya darts for longer, from 50 to 60.  I hate to pass up an opportunity to train making something that uses one resource and you still gain well making darts up to 60.  The script rides a lot of the failure curve.  If you want to speed up skill gain at the cost of some resources, use a + fletching bonus talisman.  

Requirements:  Must have enough tinker skill to make Fletcher's Tools, because real crafters make their own tools.

Like all of my other craft scripts, this is a beta release, so please post any feedback, bugs, etc.


Code: [Select]
;=====================================================================
; Script Name:   Bowcraft Skill Trainer from 0 to 120
; Author: Paulonius
; Version: 0.10
; Client Tested with:
; EUO version tested with:
; Shard OSI / FS: OSI
; Initial Release Date:  05/03/2011
; Revision Date: TBD
; Global Variables Used: N/A
; Purpose: Train BC/F
;======================================================================
; TO Do List
; 1. build a skill tracking menu
;
;======================================================================
; Instructions:
; 1. Position yourself with reach of a secured trash barrel
; 2. Be within reach of a secure w/ standard ingots & boards on top level
; 3. Have a tinker kit in your backpack
; 4. Hit Play


UOGUIDE Training Progression
29.0 - 34.9: Shafts
35.0 - 49.9: Bows
50.0 - 55.9: Fukiya Darts
60.0 - 69.9: Crossbows
70.0 - 79.9: Composite Bows
80.0 - 89.9: Heavy Crossbows
90.0 - 100.0: Repeating Crossbows

Paulonius' Training Progression
0.00 - 29.9: Shafts
30.0 - 49.9: Bows
50.0 - 59.9: Fukiya Darts
60.0 - 69.9: Crossbows
70.0 - 79.9: Composite Bows
80.0 - 89.9: Heavy Crossbows
90.0 - 100.0: Repeating Crossbows

Consumption Results:
Approximately 9000 boards from 0 skill to 70 skill
70 skill to gm under ROT should require under 3000 boards for a total of under 12000
Testing to GM from 70 under standard skill increase rule set to be determined when I complete ROT testing.
Title: Re: Paulonius Bowcraft Trainer 0-100 + ROT
Post by: 12TimesOver on May 13, 2011, 06:49:57 AM
Looking for testers!!! Anyone have a chance to give Paulo's Bowcraft Trainer some tester love? Would like to start moving these bad boyz to the official library but 3 downloads and no comments doesn't help!!

X
Title: Re: Paulonius Bowcraft Trainer 0-100 + ROT
Post by: xwardox on May 31, 2011, 07:58:48 PM
using it now with a scroll started at 30 at 59 so far and only been 6 minutes. working good so far on osi
Title: Re: Paulonius Bowcraft Trainer 0-100 + ROT
Post by: Masscre on June 01, 2011, 09:15:41 AM
Thank you for the testing help wardox.
Title: Re: Paulonius Bowcraft Trainer 0-100 + ROT
Post by: gimlet on June 01, 2011, 10:09:30 AM
I used it to GM a gargoyle bower on Siege. Only thing were occasional misses.
Thanks!
Title: Re: Paulonius Bowcraft Trainer 0-100 + ROT
Post by: 12TimesOver on June 01, 2011, 11:37:17 AM
Moved to Script Library.

XII
Title: Re: Paulonius Bowcraft Trainer 0-100 + ROT
Post by: xwardox on June 04, 2011, 12:40:44 PM
ok i've ran in to 1 small problem with the script. once i hit 90 skill it stopped automatically refilling the boards. it just keeps trying to make things with out enough wood. once i put the 4 boards in my pack back in to my secure it starts back up no issues but once its out i have to do it again.

any ideas?
Title: Re: Paulonius Bowcraft Trainer 0-100 + ROT
Post by: Khadez on August 08, 2011, 09:35:27 AM
Ive ran into small thing i have the trash barrel right next to me and it says there isnt one... when i restart the script starts fine just when it reach max it doenst dump it in the right place!!!
Title: Re: Paulonius Bowcraft Trainer 0-100 + ROT
Post by: Goliath on August 08, 2011, 10:02:29 AM
Once I finish up my imbuer I will give it a run.
Title: Re: Paulonius Bowcraft Trainer 0-100 + ROT
Post by: Crome969 on August 08, 2011, 10:36:11 PM
I will give it today a try. Have some HW Kits to Burn, so my Imbuer getting finally Bowcraft.
I will post my results
Title: Re: Paulonius Bowcraft Trainer 0-100 + ROT
Post by: slyone on September 06, 2011, 06:29:45 PM
I gave it a try today starting at 0.  It ran the entire day but got stuck in a funky state.  It kept trying to make assasins bows instead of more fletcher's tools.  I guess it could be my connection since no one else has mentioned this happening.  For now I just filled my pack up with a ton of fletcher kits and then press play. 

The script works fast and great otherwise!  Thanks for the contribution!
Title: Re: Paulonius Bowcraft Trainer 0-100 + ROT
Post by: slyone on September 07, 2011, 04:06:36 AM
I have the same problem as wardox. 

I debugged through and found that the repeater xbow's %itemboards is set to 7 when the repeater takes 10 wood to make.  I changed the value from 7 to 10 on line 516 in the sub item7 sub-routine.  Doing that fixed the problem with not refilling after 90 skill.
Title: Re: Paulonius Bowcraft Trainer 0-100 + ROT
Post by: Neo on September 12, 2011, 05:45:39 PM
I'm going to try this out with my new bowcrafter...

cheers

neo
Title: Re: Paulonius Bowcraft Trainer 0-100 + ROT
Post by: SolidSnake on October 15, 2011, 06:11:06 AM
After making the change to the amount of boards for the repeater..this has worked flawlessly. 0-GM in under 12 hours. Outstanding!!
Title: Re: Paulonius Bowcraft Trainer 0-100 + ROT
Post by: bfs on June 02, 2013, 12:53:01 AM
I will give it a try and post result!
Title: Re: Paulonius Bowcraft Trainer 0-100 + ROT
Post by: Spankin on June 02, 2013, 02:21:21 PM
Hello, I am having an issue with the trash barrel. I've tried to move around the barrel in all directions.

- Display A secure trash barrel was not found within reach.  Correct this and restart

(http://i876.photobucket.com/albums/ab328/HillOhio/snippit_zps8e4476fc.png)
Title: Re: Paulonius Bowcraft Trainer 0-100 + ROT
Post by: Bookwyrm on June 02, 2013, 02:26:51 PM
Can you access the trash barrel from that spot manually? Also I would recommend dismounting from beetle and stabling it if you intend to macro. Bad things can happen.
Title: Re: Paulonius Bowcraft Trainer 0-100 + ROT
Post by: Spankin on June 02, 2013, 02:58:10 PM
Yes, I am able to access it. I also tried moving the trash barrel with no luck.

I am running Windows 7.

Thanks for the advice ;] Beetle is gone!
Title: Re: Paulonius Bowcraft Trainer 0-100 + ROT
Post by: bfs on June 03, 2013, 04:22:12 PM
I have the same problem as wardox. 

I debugged through and found that the repeater xbow's %itemboards is set to 7 when the repeater takes 10 wood to make.  I changed the value from 7 to 10 on line 516 in the sub item7 sub-routine.  Doing that fixed the problem with not refilling after 90 skill.

yup after switching number there working flawlessly!
Title: Re: Paulonius Bowcraft Trainer 0-100 + ROT
Post by: Crisis on December 27, 2013, 06:06:15 AM
I am having the same problem as Spankin.

I have moved the trash barrel many times and it cannot find it. I made sure that it had the same ID as what the script was looking for which matched. I really don't know why it isn't seeing it.

(http://thedemigod.com/pics/bowcrafter.jpg)
Title: Re: Paulonius Bowcraft Trainer 0-100 + ROT
Post by: 12TimesOver on December 27, 2013, 06:31:51 AM
I see that Paulo is searching for any container within a 2-tile radius that has a type value of BKF. Are you saying that your trash barrel has a type of BKF when you mention the "ID" being the same that the script is looking for?

I would do something like this -

Replace:

Code: [Select]
Finditem BKF G_2
For %TrashSearch 1 #FindCnt
   {
   Set #Findindex %TrashSearch
   Event Property #FindID
   If Trash in #Property && Secure in #Property
      {
      Set %TrashBarrel #FindID
      Set %TrashSearchSuccess Yes
      }
   }
If %TrashSearchSuccess <> Yes
   {
   Display A secure trash barrel was not found within reach.  Correct this and restart
   pause
   }

with:

Code: [Select]
Display Ok Select the trash barrel.
  set #targcurs 1
      while #targcurs = 1
         wait 1
      set %Trashbarrel #ltargetID

Then it will specifically use your targeted container instead of automatically looking for all containers and checking #property to see if its a trash barrel. Just another way to do the same thing without the automation.

X
Title: Re: Paulonius Bowcraft Trainer 0-100 + ROT
Post by: Crisis on December 27, 2013, 07:11:46 AM
I see that Paulo is searching for any container within a 2-tile radius that has a type value of BKF. Are you saying that your trash barrel has a type of BKF when you mention the "ID" being the same that the script is looking for?

I would do something like this -

Replace:

Code: [Select]
Finditem BKF G_2
For %TrashSearch 1 #FindCnt
   {
   Set #Findindex %TrashSearch
   Event Property #FindID
   If Trash in #Property && Secure in #Property
      {
      Set %TrashBarrel #FindID
      Set %TrashSearchSuccess Yes
      }
   }
If %TrashSearchSuccess <> Yes
   {
   Display A secure trash barrel was not found within reach.  Correct this and restart
   pause
   }

with:

Code: [Select]
Display Ok Select the trash barrel.
  set #targcurs 1
      while #targcurs = 1
         wait 1
      set %Trashbarrel #ltargetID

Then it will specifically use your targeted container instead of automatically looking for all containers and checking #property to see if its a trash barrel. Just another way to do the same thing without the automation.

X

That's exactly what I ended up doing so I could use the script. I mainly posted so that the author knows that it is still happening so he can edit his script. A year ago I wouldn't have known how to fix it. I added this to it.

Code: [Select]
Display Ok Select your trash barrel.
  set #targcurs 1
      while #targcurs = 1
         wait 1
      set %trashbarrel #ltargetID
      set #lobjectID #ltargetID
      set #nextcposx 800
      set #nextcposy 0
      event macro 17
      wait 20
Title: Re: Paulonius Bowcraft Trainer 0-100 + ROT
Post by: 12TimesOver on December 27, 2013, 09:10:10 AM
Well done then! :)

I ditched everything after "set %trashbarrel #ltargetID" simply because you don't need to open the trashcan to use it but either way, problem solved!
Title: Re: Paulonius Bowcraft Trainer 0-100 + ROT
Post by: Crisis on December 27, 2013, 09:49:22 AM
Well done then! :)

I ditched everything after "set %trashbarrel #ltargetID" simply because you don't need to open the trashcan to use it but either way, problem solved!

I never thought about that, I am so use to needing containers open lol.
Title: Re: Paulonius Bowcraft Trainer 0-100 + ROT
Post by: Gemviper on October 01, 2015, 12:59:08 AM
I needed to set the number of boards used by a repeating crossbow to 10 from 7(Set %ItemBoards 10) and, also, the problem with the trash barrel is that the script is looking for the words trash AND "secured" on your barrel. When you place a barrel now they are no longer secured by default but you CAN secure it after creating it. Just secure the barrel and the problem is solved.