Author Topic: Superslayers Kwik Restock Ver. 1.2  (Read 11069 times)

0 Members and 1 Guest are viewing this topic.

Offline SuperslayerTopic starter

  • Elite
  • *
  • *
  • Posts: 1006
  • Activity:
    0%
  • Reputation Power: 14
  • Superslayer barely matters.Superslayer barely matters.
  • Gender: Male
  • Well what do you drink? Not tea.
  • Respect: +43
  • Referrals: 0
    • View Profile
Superslayers Kwik Restock Ver. 1.2
« on: March 31, 2009, 01:57:27 PM »
0
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

Code: [Select]
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.

There are 1 attachment(s) in this post. You must register and post an acceptable introduction to download
SuperSlayers_Kwik_Restock_V1.2.txt
« Last Edit: April 23, 2009, 06:20:07 PM by Superslayer »

Offline Xclio

  • Officially "The MAN"
  • Elite
  • *
  • *
  • Posts: 981
  • Activity:
    0%
  • Reputation Power: 9
  • Xclio has no influence.
  • Gender: Male
  • Respect: +56
  • Referrals: 1
    • View Profile
Re: Kwik Reagent Restock for Mage's and Necro's
« Reply #1 on: April 01, 2009, 05:11:50 AM »
0
I use LRC suits on all my chars but this would be nice for those that don't.

Offline SuperslayerTopic starter

  • Elite
  • *
  • *
  • Posts: 1006
  • Activity:
    0%
  • Reputation Power: 14
  • Superslayer barely matters.Superslayer barely matters.
  • Gender: Male
  • Well what do you drink? Not tea.
  • Respect: +43
  • Referrals: 0
    • View Profile
Re: Kwik Reagent Restock for Mage's and Necro's
« Reply #2 on: April 01, 2009, 10:51:58 AM »
0
Thats the idea :)

Offline Scotch_Tape

  • Jr. Member
  • **
  • Posts: 55
  • Activity:
    0%
  • Reputation Power: 1
  • Scotch_Tape has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
Re: Kwik Reagent Restock for Mage's and Necro's
« Reply #3 on: April 02, 2009, 09:20:04 PM »
0
I'll try this out.  I'm still living in the dark ages and use regs. 

Offline TrailMyx

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13302
  • Activity:
    0.2%
  • Reputation Power: 154
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Viper!
  • Respect: +1349
  • Referrals: 33
    • View Profile
    • ScriptUO
Re: Kwik Reagent Restock for Mage's and Necro's
« Reply #4 on: April 02, 2009, 09:35:26 PM »
0
Lol, I thought I was the only one!!
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline SuperslayerTopic starter

  • Elite
  • *
  • *
  • Posts: 1006
  • Activity:
    0%
  • Reputation Power: 14
  • Superslayer barely matters.Superslayer barely matters.
  • Gender: Male
  • Well what do you drink? Not tea.
  • Respect: +43
  • Referrals: 0
    • View Profile
Re: Kwik Reagent Restock for Mage's and Necro's
« Reply #5 on: April 06, 2009, 05:39:42 AM »
0
I'll try this out.  I'm still living in the dark ages and use regs. 

Any issues with this Scotch?

Offline Scotch_Tape

  • Jr. Member
  • **
  • Posts: 55
  • Activity:
    0%
  • Reputation Power: 1
  • Scotch_Tape has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
Re: Kwik Reagent Restock for Mage's and Necro's
« Reply #6 on: April 06, 2009, 03:30:57 PM »
0
hey, sorry about not responding back.  It works great.  I actually started writing my own that will check how many of each you already have and only grab what I need.  I'm still working on it. 

I also plan on making it throw any extra regs back into the box. 

I didn't see anything wrong with what you've made though.  It ran great.

Offline SuperslayerTopic starter

  • Elite
  • *
  • *
  • Posts: 1006
  • Activity:
    0%
  • Reputation Power: 14
  • Superslayer barely matters.Superslayer barely matters.
  • Gender: Male
  • Well what do you drink? Not tea.
  • Respect: +43
  • Referrals: 0
    • View Profile
Re: Kwik Reagent Restock for Mage's and Necro's
« Reply #7 on: April 06, 2009, 05:19:41 PM »
0
Cool, good to know it does what I intended it to do.

Interesting though, did you start your own script prior to dl'ing this one? Reason I ask is because this one already does what you mention. Finds what you already have in your pack, and grabs only what you tell it to. There's no need to put any back in a box given it only gets what it needs.

Offline Scotch_Tape

  • Jr. Member
  • **
  • Posts: 55
  • Activity:
    0%
  • Reputation Power: 1
  • Scotch_Tape has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
Re: Kwik Reagent Restock for Mage's and Necro's
« Reply #8 on: April 06, 2009, 09:43:19 PM »
0
interesting.  The first time I ran this I could have sworn it added the %maxregsneeded on top of what I already had in my pack.  I'll fart around with yours and see if I can make it do the same thing.  I might have just imagined it by looking at the reg count.   

I wanted to make my own for a while so when I noticed this it reminded me.


so I just ran it over and over and it seems like it is solid.  I think I might have imagined it or something.  I like it.




Offline SuperslayerTopic starter

  • Elite
  • *
  • *
  • Posts: 1006
  • Activity:
    0%
  • Reputation Power: 14
  • Superslayer barely matters.Superslayer barely matters.
  • Gender: Male
  • Well what do you drink? Not tea.
  • Respect: +43
  • Referrals: 0
    • View Profile
Re: Kwik Reagent Restock for Mage's and Necro's
« Reply #9 on: April 08, 2009, 11:42:38 AM »
0
Cool Scotch_Tape, I appreciate it a whole lot.  I'm thinking about adding things to it so it'll stock more than just regs. Possibly bandie's, petals, pots, and so forth. Again, just thinking. I do want to make it a callable script and put the namespace's in on it first though.

What would you like to have a Kwik restock of at the press of a Hotkey?

Offline Scotch_Tape

  • Jr. Member
  • **
  • Posts: 55
  • Activity:
    0%
  • Reputation Power: 1
  • Scotch_Tape has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
Re: Kwik Reagent Restock for Mage's and Necro's
« Reply #10 on: April 08, 2009, 02:28:16 PM »
0
-Bola's
-Potions (Strength, Dex, Refresh, Cure)
-Bandages
-Arrows
-Petals (Purple, Orange)
Already does Regs. 

Those are the only thing I could think of.  I personally only play a PvP mage on a freeshard that isn't ML, so I'm not sure what other crap they have added for everyone to keep on them.  I don't really know what you'd need for pvm.  I put mine on a small menu.

I was going more towards a menu driven script.  I never even thought about calling it from other scripts.  So far yours is way better than mine.  I'm learning as I go though.  I'll be using yours until I get some bugs figured out on mine.



Offline TrailMyx

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13302
  • Activity:
    0.2%
  • Reputation Power: 154
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Viper!
  • Respect: +1349
  • Referrals: 33
    • View Profile
    • ScriptUO
Re: Kwik Reagent Restock for Mage's and Necro's
« Reply #11 on: April 08, 2009, 02:41:39 PM »
0
Do you know if they are going to make Lexia ML?
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline SuperslayerTopic starter

  • Elite
  • *
  • *
  • Posts: 1006
  • Activity:
    0%
  • Reputation Power: 14
  • Superslayer barely matters.Superslayer barely matters.
  • Gender: Male
  • Well what do you drink? Not tea.
  • Respect: +43
  • Referrals: 0
    • View Profile
Re: Kwik Reagent Restock for Mage's and Necro's
« Reply #12 on: April 09, 2009, 06:13:23 AM »
0
Do you know if they are going to make Lexia ML?

After a quick look at their forums, it seems the general consensus is against ML except for a few things. So it's not at all implemented there. CEO is now in full control as he had been for a while, so depending on how much time he has, it may never get in far, if at all.

A lot of the posters do however see things in ML that they'd like in their game, mostly mobs and items, but it's the items that are causing 'seemingly' the bulk of discussion. Introducing some may OP(overpower) certain char temps, and not introducing is just bad business.

Back to Scotch, thanks for the quick list there. I'm sure I can have those dropped in the script in just a day or so. Provided I test them enough.  I'll keep the Potions to pots only and not the balms and crap.

Offline SuperslayerTopic starter

  • Elite
  • *
  • *
  • Posts: 1006
  • Activity:
    0%
  • Reputation Power: 14
  • Superslayer barely matters.Superslayer barely matters.
  • Gender: Male
  • Well what do you drink? Not tea.
  • Respect: +43
  • Referrals: 0
    • View Profile
Re: Superslayers Kwik Restock Ver. 1.1
« Reply #13 on: April 23, 2009, 08:57:12 AM »
0
Update to Version 1.1 !

Version 1.1 :
Bolas, orange and purple petals, green thorns, bandaids, bolt & arrows added to restock list. Bank supported. Code consolidation.

Potions yet to be added. It doesn't yet notify you of any stock that is completely empty from the secure, I'll prob put that in later on.

Offline SuperslayerTopic starter

  • Elite
  • *
  • *
  • Posts: 1006
  • Activity:
    0%
  • Reputation Power: 14
  • Superslayer barely matters.Superslayer barely matters.
  • Gender: Male
  • Well what do you drink? Not tea.
  • Respect: +43
  • Referrals: 0
    • View Profile
Re: Kwik Reagent Restock for Mage's and Necro's
« Reply #14 on: April 23, 2009, 09:03:34 AM »
0
-Bola's
-Potions (Strength, Dex, Refresh, Cure)
-Bandages
-Arrows
-Petals (Purple, Orange)
Already does Regs. 

Those are the only thing I could think of.  I personally only play a PvP mage on a freeshard that isn't ML, so I'm not sure what other crap they have added for everyone to keep on them.  I don't really know what you'd need for pvm.  I put mine on a small menu.

I was going more towards a menu driven script.  I never even thought about calling it from other scripts.  So far yours is way better than mine.  I'm learning as I go though.  I'll be using yours until I get some bugs figured out on mine.


Hey Scotch_Tape, since you play a freeshard, do you actually have 'dex' potions or is that Agility? Also, be sure that you change any item types to suit your needs.

Tags: