Scripting Resources & Utilities > OpenEUO Scripts

[OpenEUO] Automated Runic Reforging

(1/3) > >>

xetic:
Didn't see anything like this anywhere so wrote it. Should work fine. I've tested it as many ways as I can think of.

NOTE: I was drunk while debugging this script so I make no guarantees.

After crafting whatever you want reforged, use your runic and target an item and set up the reforging properties as you want and close the menu then hit play.

Script will attempt to merge all runics of low charge. This process is a bit slow but works great.
If you have a salvage bag, it will sort the junk items into it based on the filters / filter method you specify.
Read below or look at the code if you want to know more.


--- Code: ---      About:
      Script Name: Reforged
      Author: xetic
      Version: 1.0
      Shard: OSI Compatible - Free Shards Status Unknown
      Revision Date: 11/26/2012
      Purpose: Automatically reforge all items of selected type.

--- End code ---
 

--- Code: ---    
     Setup:
      1. Craft some items and leave them inside your backpack, (no sub containers)
      2. Use the runic tool(s) you will be using for reforging and set the options however you like.
           NOTE: If using more than one type of runic, you must set this up on each.
      3. Close the reforge gump.
      4. Press play!

--- End code ---

--- Code: ---  
     Settings:
      1. craftSkill =  "Carpenter", "Fletching", "Smithing" or "Tailoring"
           Only one skill may be chosen.
      2. reforgeUses = How many charges each reforge attempt costs.
      3. reforgeType = ItemType to be reforged
           If you know the itemType enter the number in place of nil.
           If you don't know the type, you will be prompted to target it.
      4. requirementsAllOrNothing = Item Filter All or Nothing Settings
           The following setting can be: 'true', 'false' or 'nil'
             true  = All conditions in itemRequirements must be met or item gets moved to salvage bag
             false = If any of the properties in itemRequirements are found, the item is left in backpack
             nil   = No items are moved from character backpack  
           NOTES:
                 If no salvage bag is found, items aren't moved.
                 Salvage bag is must be used manually, the script won't salvage items in it.    
      5. itemRequirements = Required mods and values needed to keep an item.
           Example:
             itemRequirements = {
                 {["Name"] = "Luck", ["Value"] = 130},
                 {["Name"] = "Mana Increase", ["Value"] = 10},                    
                 {["Name"] = "Stamina Increase", ["Value"] = 8}                
             }  

--- End code ---


Let me know if you have any problems or suggestions for improvements.

Endless Night:
u can post your script now... unrestricted.

xetic:
Thanks, script uploaded.

Ultima:
Two thumbs up Xetic!

Thankyou very much for sharing this will come in very handy. 8)

This was the first OEUO script I've used.

Very nice indeed!

Now I can see what all the hubbub was about regarding OEUO.

xetic:

--- Quote from: Ultima on November 26, 2012, 04:32:52 PM ---Two thumbs up Xetic!
Thankyou very much for sharing this will come in very handy. 8)
[..]
Very nice indeed!

--- End quote ---

Thanks.


--- Quote from: Ultima on November 26, 2012, 04:32:52 PM ---This was the first OEUO script I've used.
[..]
Now I can see what all the hubbub was about regarding OEUO.

--- End quote ---

I'm surprised more scripters haven't moved over to oeuo yet considering how much more powerful Lua really is. It does take some time to get used to, and I'm still trying to figure out multi-threading with GUIs but it still stomps EUOX.

Navigation

[0] Message Index

[#] Next page

Go to full version