Woo Hoo ! First post in the new forum !! AND my first completed script that I've decided to release to the public AND working !!
Anyhow, this little script will (as quickly as I possibly can atm) restock any and all needed reagents into your backpack and many other items. I suppose you can use it in pvp or general use. Open this in another tab and keep it running. Anytime you need to restock, get within 2 tiles of your secure, and press the hotkey to restock. I guess it'll work in your bank, provided the targeted container is in your bank box and not the bank box itself, didn't bother testing that part.
For Freeshard users, simply replace the item type for what's in the script. If anyone has some insight into how to better off search and stock the %petal section, by all means enlighten me and I'll get on it asap. That part is quite a mess at the moment.
Edit Update ! :
Revision History
Version 1.2 :
Fixed an error with continued reagent check when no reagents were being used.
Removed need to 'comment' out lines under the "User Config" section.
Included all potions and smoke bombs.
FYI about potions. Since a few potions use the same item type, this script will not look for Conflagration, Confusion, Invisibility, Parasitic and Darkglow. A later version will address this issue.
FYI about bandaids. This script will not differentiate between enhanced bandaids and regular one. A later version will address this issue.
Version 1.1 :
Bolas, orange and purple petals, green thorns, bandaids, bolt & arrows added to restock list. Bank supported. Code consolidation.
Version 1.0 :
Initial release
Superslayers Kwik Restock
Version 1.2
Purpose: Quickly restock your supplies from your targeted secure to your backpack via hotkey.
Supports mage and necro reagents, petals, bolas, green thorns, bandaids, bolts & arrows, potions
and smoke bombs.
Client Tested with: 6.0.13
EUO version tested with: 1.5 Ver 148
Shard: OSI
Revision Date: 04-23-09
Public Release: 03-31-09
Instructions for use:
Have in your backpack at start up, the supported items you want to have continuously stocked.
If it's not in your pack the first time the script is ran, it will not be stocked. When restocking,
be sure your character is within 2 tiles of the secure and the resources are in the MAIN level
of the container. There are no error checks for mis-targeted secures, no char movement, and no checks
for out of stock items from the secure EXCEPT for reagents. In the 'User Config' below,
change the amounts of each item to what you want in your backpack.
The Hotkey is currently set to 'Alt-F12'. Feel free to change it on line 58.