ScriptUO

Official ScriptUO EasyUO Scripts => Script Library => Crafting => Topic started by: Tidus on October 07, 2010, 05:04:34 PM

Title: Snow's Bolt Maker
Post by: Tidus on October 07, 2010, 05:04:34 PM
Just a quick do-up of a bolt maker i made for a friend.

INSTRUCTIONS:
Clear your pack before starting.
1 Resource container in your house with Regular boards, feathers, and Fletching Tools only.
Title: Re: Snow's Bolt Maker
Post by: Tidus on October 08, 2010, 10:24:41 AM
Updated to V2.0.
Title: Re: Snow's Bolt Maker
Post by: NObama on October 08, 2010, 05:38:50 PM
What changed? 
Title: Re: Snow's Bolt Maker
Post by: Tidus on October 11, 2010, 07:19:19 AM
it was having a hard time detecting boards and such and so i changed how it crafted and searched the boards.
Title: Re: Snow's Bolt Maker
Post by: LordAmitlu on February 09, 2013, 02:33:24 AM
Awesome script man! I was wondering if you were thinking about implementing an option where you can choose either making bolts or arrows or a certain number of both depending on the resources you have in your res. container?

Just a suggestion,

Great script. :)
Title: Re: Snow's Bolt Maker
Post by: Tidus on February 15, 2013, 07:18:18 AM
I will look into it and let you know.  Thanks for the suggestion
Title: Re: Snow's Bolt and Arrow Maker
Post by: Tidus on February 16, 2013, 10:31:25 AM
Here is the new version. It needs tested to make sure it does arrows.
Title: Re: Snow's Bolt and Arrow Maker
Post by: Neo on February 21, 2013, 08:37:54 PM
Here is the new version. It needs tested to make sure it does arrows.

I'm gonna have to try this once I get my miner back to work. Hate having to buy arrows, so this will come in handy!

Thanks for sharing this!
Title: Re: Snow's Bolt Maker
Post by: ladyyvonne on March 21, 2013, 03:48:43 PM
So how do you choose what you want it to make?
Title: Re: Snow's Bolt Maker
Post by: daveturner35 on March 21, 2013, 05:19:31 PM
I dont see the actual script of this post.  Does it have something to do with me still being "restricted" or is it just screwin up on my end? Can someone please explain what "restricted" status affects on this site?

Title: Re: Snow's Bolt Maker
Post by: Tidus on March 21, 2013, 06:45:19 PM
So how do you choose what you want it to make?

Should be in the first part of the script.
Title: Re: Snow's Bolt Maker
Post by: vanzelus on January 01, 2014, 06:08:26 PM
Hi, am testing this out and it's only making one shaft at a time?  Seems time consuming to do so...is there anyway to adjust where it'll drag, say 200 boards at a time, and make them all?  I know the craft menu allows to turn a stack of board into shafts so i don't know if this is an oversight?
Title: Re: Snow's Bolt Maker
Post by: Crisis on January 01, 2014, 07:11:45 PM
Hi, am testing this out and it's only making one shaft at a time?  Seems time consuming to do so...is there anyway to adjust where it'll drag, say 200 boards at a time, and make them all?  I know the craft menu allows to turn a stack of board into shafts so i don't know if this is an oversight?

By looking at the code, it is going to take boards to equal your max weight -80. I.E. if your max weight is 400 stones, and you have 100 stones in your pack, it will take 220 boards. 300 stone difference - 80 stones = 220 boards to take (220 stones) So best practice for this script is to have an empty backpack to get max quantity of boards each pull.

Code: [Select]
sub boardcheck
finditem %boards C_ , #backpackid
if #findkind >= 0
return
finditem %boards C_ , %box
if #findkind >= 0
{
set %move #maxweight - #weight - 80
wait 10
Exevent drag #findid %move
wait 10
Exevent dropc #backpackid
wait 20
return
Title: Re: Snow's Bolt Maker
Post by: 12TimesOver on January 02, 2014, 05:08:15 AM
Also, #maxweight is broken, if you're human you can take 60 stones more than what #maxweight displays. Between this and the 80 stones the script is giving you as a buffer you are missing out on a lot of potential per load (140 boards). If you have 60000 boards to turn into bolts this difference of 140 stones can add 100+/- loads and unloads to your run.
Title: Re: Snow's Bolt Maker
Post by: vanzelus on January 02, 2014, 10:02:47 AM
Ah I see what I have to do now, thank you Crisis and 12X for your inputs  :)
Title: Re: Snow's Bolt Maker
Post by: Nuscheltier on January 29, 2014, 08:57:17 AM
Hi there,

I tried your script... but somehow it always just drags one board, then tries to make shafts and then stops... any idea?
Title: Re: Snow's Bolt Maker
Post by: Tidus on January 29, 2014, 05:36:47 PM
I will have to look into it. I haven't done anything with this script in a long time.  Give me a few days. Working on a final for English.
Title: Re: Snow's Bolt Maker
Post by: Tidus on February 05, 2014, 10:57:53 AM
Hi there,

I tried your script... but somehow it always just drags one board, then tries to make shafts and then stops... any idea?

Posted a new version with minor changes. Let me know if it fixes your problems.  I will do a whole new version with all new coding after my english class is finished.
Title: Re: Snow's Bolt Maker
Post by: Nuscheltier on February 11, 2014, 02:47:47 AM
Cool, works perfectly, cheers for fixing it! Is it possibel to get the same script for arrows?

greetings,
Title: Re: Snow's Bolt Maker
Post by: Tidus on February 11, 2014, 12:16:28 PM
I will look into it.  I will have to find the click positions for arrows and all will be good. Just haven't opened UO in about 2 months.
Title: Re: Snow's Bolt Maker
Post by: Nalco on March 29, 2014, 05:05:12 AM
Works perfectly on my RunUO shard.

Starting making bolts manually and realized that was gonna suck.

My fingers and the potential mind numbing boredom thank you.
Title: Re: Snow's Bolt Maker
Post by: Tidus on March 29, 2014, 07:07:31 AM
No problem.  I made this initially for a friend who stocked 4 vendors with bolts.  They were doing Millions of Bolts.
Title: Re: Snow's Bolt Maker
Post by: Chops on April 19, 2014, 02:30:53 PM
Works perfectly, thank you for your time and effort!
Title: Re: Snow's Bolt Maker
Post by: The Ghost on March 21, 2015, 05:51:14 PM
Ver 2.1 still  drag 1 board at the time event with nothing in backpack.   Gonna take days to make 60k arrows