ScriptUO

Official ScriptUO EasyUO Scripts => Script Library => Crafting => Topic started by: NObama on December 25, 2010, 11:40:39 AM

Title: Commodity Deeder
Post by: NObama on December 25, 2010, 11:40:39 AM
Code: [Select]
; ##########################################
; Script Name:  NObama's Deeder
; Author: NObama
; Version: 1.0
; Client Tested with: EA 7.0.11.1 (Patch 80)
; EUO version tested with: 1.5 Version 182
; Shard OSI / FS: OSI Servers
; Revision Date: N/A
; Public Release: 25 Dec 2010.  Ho Ho Ho.
; Purpose: To Fill Commodity Deeds with a set number of items.
; Thanks to: TrailMyx, for SUO and for posting so many snippets.
; ##########################################

Code: [Select]
; INSTRUCTIONS:
; You will need
; 1 - A Commodity deed box locked down w/in 2 tiles
; 2 - A Secure Bag, also w/in 2.  Inside the Bag you need...
; 3 - A Storage Bag.  This is where you put the stack of items you want to convert into deeds
; 4 - A bag in your backpack with as many empty deeds as you want to fill.
;     NOTE: The script will fill ALL of them.
; 5 - Don't forget to set one user-defined variable below
; 6 - Press Play

First Public Release: 25 Dec 2010

CURRENT VERSION: 1.1; 27 Dec 2010

Future Updates:
- Change hardcoded waits to user defined variable to account for various connection speeds

KNOWN ISSUES:
- 26 Dec: Endless loop when it runs out of deeds.  Just hit stop button for now - Fixed
- 27 Dec: Weird issues where if you run it once, it works fine.  Run it a second time without closing EUO and reloading, it misidentifies the item you want to deed.

Enjoy.

Title: Re: Commodity Deeder
Post by: NObama on December 25, 2010, 11:41:56 AM
*reserved*
Title: Re: Commodity Deeder
Post by: MeWonUo on December 25, 2010, 04:05:36 PM
Thank you kindly NObama!  This will come in extremely handy for me.  Really appreciate you putting it out there for those un-green's such as myself. :)
Title: Re: Commodity Deeder
Post by: gimlet on December 26, 2010, 07:48:09 AM
Thanks! It looks useful!
Title: Re: Commodity Deeder
Post by: NObama on December 27, 2010, 10:44:57 AM
Version 1.1 posted.
Title: Re: Commodity Deeder
Post by: Endless Night on November 02, 2011, 05:51:55 PM
Script move to script library (if you dont think the section is appropriate please pm me)
Thank you for your submission


Comments/improvements/suggestions
(1) You dont fill a deed if the exact number of items is present but not more ... change > to >=
  if #findstack >= %number
(2) Your delay times are excessive even for low pings (4 seconds to perform a move) .  I would recommend you make this a customizable variable at the top of the script and default it to a lower value maybe 2 seconds.
(3) When i buy commodity deeds they just drop into my backpack.. it seems unnecessary and extra work to make the user move those deeds into a backpack in their bag.