ScriptUO

Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started by: NObama on January 24, 2015, 07:52:39 AM

Title: Help with vendor menus
Post by: NObama on January 24, 2015, 07:52:39 AM
Quick question:  Once I've got my NPC vendor primed, how do I code in the spiffy "ultra double click that takes the buy quantity from 1 to max?"

I'm watching a buy script do it right now, and it steps into something that has NOTHING to do with clicking yet somehow maxes out the buy amount?!
Title: Re: Help with vendor menus
Post by: gimlet on January 24, 2015, 08:29:23 AM
shift click?
Title: Re: Help with vendor menus
Post by: NObama on January 24, 2015, 09:48:34 AM
EDIT:

Using "f x 300" to rapid click 300 times =P
Also, using math to determine if a buy price isn't worth my time.

Anyone know if/when vendors reset their buy prices anymore?
Title: Re: Help with vendor menus
Post by: Endless Night on April 08, 2015, 08:15:36 AM
Dont do all that clicking just do this....

Code: [Select]
setShopItem #shopItemID #shopItemMax


Line of code extracted from my  "sub Buyitem" located in the library file "ENs-Subs-BodsAndNPCs.txt"  that can be found here...  ENs Script Library (http://www.scriptuo.com/index.php?topic=10609.0)


The shop info stuff is sort of hidden in wiki
http://wiki.easyuo.com/index.php?title=GetShopInfo
http://wiki.easyuo.com/index.php?title=SetShopItem
http://wiki.easyuo.com/index.php?title=ShopCurPos