ScriptUO

Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started by: Cuemif on January 01, 2011, 01:54:39 AM

Title: Bank and move items
Post by: Cuemif on January 01, 2011, 01:54:39 AM
Ok here is what I am trying to do .. I play on a shard that has bankstone. I want double click the stone and then pull 1000 crossbow bolts from my bank I have a stack of about 50-60k in there at a time. I for the life of me can not figure it out I am newb when it comes to easyuo. Maybe someone can shoot me an idea  Thanks to everyone that helps .
Title: Re: Bank and move items
Post by: Kalaka on January 01, 2011, 09:13:25 AM
Start here.

Janus has a good drag/drop script.
http://www.easyuo.com/forum/viewtopic.php?p=30085&sid=0d0cfb3454ef35b11509f49a39c8a20a

Then try to create something at the beginning that opens the stone using the object id, then checks for the gump being open, and if it is proceeds to the drag/drop. Something like this should work, although I'm admittedly not the best coder myself.. I usually just jack around enough with stuff until it works.
Title: Re: Bank and move items
Post by: Cuemif on January 02, 2011, 03:25:59 PM
Start here.

Janus has a good drag/drop script.
http://www.easyuo.com/forum/viewtopic.php?p=30085&sid=0d0cfb3454ef35b11509f49a39c8a20a

Then try to create something at the beginning that opens the stone using the object id, then checks for the gump being open, and if it is proceeds to the drag/drop. Something like this should work, although I'm admittedly not the best coder myself.. I usually just jack around enough with stuff until it works.

This is kinda what I am looking for but not sure it will work . See I am adding a sub in an existing script and when this script notices that there are 0 bolts it halts so instead of doing that I want it to dclick %bankstone then remove 1000 bolts from bank box.
Title: Re: Bank and move items
Post by: Cuemif on January 03, 2011, 11:58:42 PM
I can not believe I forgot to post the codes of the bank stone and what not sorry haha

Bankstone
Code: [Select]
#FINDID:IPKOYMD
#FINDTYPE:SNF

CrossBow Bolts
Code: [Select]
#FINDID:YIEDSMD
#FINDTYPE:LNK

As stated above I am trying to add a Sub into a current script. Here is a link the the script
http://www.scriptuo.com/index.php?board=78.0 (http://www.scriptuo.com/index.php?board=78.0)

Once again sorry for my nooberness and thanks for the help
Title: Re: Bank and move items
Post by: Cuemif on January 05, 2011, 09:57:32 PM
Anyone have any more ideas?