Author Topic: [OpenEUO] Automated Runic Reforging  (Read 14634 times)

0 Members and 1 Guest are viewing this topic.

Offline xeticTopic starter

  • Newbie
  • *
  • Posts: 6
  • Activity:
    0%
  • Reputation Power: 1
  • xetic has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
[OpenEUO] Automated Runic Reforging
« on: November 25, 2012, 10:22:50 PM »
0
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: [Select]
     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.
 
Code: [Select]
   
     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!
Code: [Select]
 
     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}                
             }  


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

There are 1 attachment(s) in this post. You must register and post an acceptable introduction to download
reforged.lua
« Last Edit: November 26, 2012, 12:08:57 PM by xetic »

Offline Endless Night

  • Global Moderator
  • *
  • *
  • Posts: 5254
  • Activity:
    0.4%
  • Reputation Power: 59
  • Endless Night is leading the good life!Endless Night is leading the good life!Endless Night is leading the good life!Endless Night is leading the good life!Endless Night is leading the good life!Endless Night is leading the good life!Endless Night is leading the good life!Endless Night is leading the good life!Endless Night is leading the good life!Endless Night is leading the good life!Endless Night is leading the good life!
  • Respect: +1
  • Referrals: 1
    • View Profile
Re: [OpenEUO] Automated Runic Reforging
« Reply #1 on: November 26, 2012, 10:17:31 AM »
0
u can post your script now... unrestricted.
Outlaw Josey Wales - "Manwink, A Long Gone Scripty, and Endless are always teasing us with their private sections lol. What there realy saying is scripters rule and users drool."
Briza - "Your a living breathing vortex of usefulness."

Offline xeticTopic starter

  • Newbie
  • *
  • Posts: 6
  • Activity:
    0%
  • Reputation Power: 1
  • xetic has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
Re: [OpenEUO] Automated Runic Reforging
« Reply #2 on: November 26, 2012, 12:08:27 PM »
0
Thanks, script uploaded.

Offline Ultima

  • Insane Scripter
  • *
  • Posts: 1580
  • Activity:
    0%
  • Reputation Power: 26
  • Ultima is on the verge of being accepted.Ultima is on the verge of being accepted.Ultima is on the verge of being accepted.Ultima is on the verge of being accepted.Ultima is on the verge of being accepted.
  • Gender: Male
  • Respect: 0
  • Referrals: 4
    • View Profile
Re: [OpenEUO] Automated Runic Reforging
« Reply #3 on: November 26, 2012, 04:32:52 PM »
0
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.


Offline xeticTopic starter

  • Newbie
  • *
  • Posts: 6
  • Activity:
    0%
  • Reputation Power: 1
  • xetic has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
Re: [OpenEUO] Automated Runic Reforging
« Reply #4 on: November 26, 2012, 05:47:14 PM »
0
Two thumbs up Xetic!
Thankyou very much for sharing this will come in very handy. 8)
[..]
Very nice indeed!

Thanks.

This was the first OEUO script I've used.
[..]
Now I can see what all the hubbub was about regarding OEUO.

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.
« Last Edit: November 26, 2012, 05:49:26 PM by xetic »

Offline TrailMyx

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 12884
  • Activity:
    0.8%
  • Reputation Power: 149
  • 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
  • Jesse
  • Respect: +21
  • Referrals: 30
    • View Profile
    • ScriptUO
Re: [OpenEUO] Automated Runic Reforging
« Reply #5 on: November 26, 2012, 05:50:50 PM »
0
That's the problem; most of the mega-scripters are very heavy into GUIs, and OEUO just hasn't panned out very well for us chickens.  ;)

I can't deny the lure of OEUO; I was once enchanted with it as well.   But I uncovered serious issues with it and those issues prevented me from really feeling comfortable with it.  I needs my UIs.

I think Ximan has figured out some of those issues, but it would be nice for the core to be fixed and not have to rely on patches from outside.
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline addicted

  • Jr. Member
  • **
  • Posts: 19
  • Activity:
    0%
  • Reputation Power: 1
  • addicted has no influence.
  • Respect: 0
  • Referrals: 1
    • View Profile
Re: [OpenEUO] Automated Runic Reforging
« Reply #6 on: December 12, 2012, 01:51:51 PM »
0
Thank you, very usefull script.

Offline KaliOfLS

  • That's "Dr." Kali to you!
  • Sr. Member
  • *
  • Posts: 406
  • Activity:
    0%
  • Reputation Power: 6
  • KaliOfLS has no influence.
  • Gender: Male
  • Respect: 0
  • Referrals: 2
    • View Profile
Re: [OpenEUO] Automated Runic Reforging
« Reply #7 on: December 12, 2012, 02:14:18 PM »
0
That's the problem; most of the mega-scripters are very heavy into GUIs, and OEUO just hasn't panned out very well for us chickens.  ;)

I can't deny the lure of OEUO; I was once enchanted with it as well.   But I uncovered serious issues with it and those issues prevented me from really feeling comfortable with it.  I needs my UIs.

I think Ximan has figured out some of those issues, but it would be nice for the core to be fixed and not have to rely on patches from outside.

Ximan has been an incredible help for me in learning openEUO.  I am starting a new approach to script menus. 
One script simply is a set up script that creates a parameter file.  The second script is the actual guts that loads the save file.  I've written incredibly stable scripts that the menus work for hours and hours, and then I randomly get an overflow even though the menu has been closed and Freed appropriately.  This way, the actual running script never created a delphi TObject.  The last I read though, Cheffe was actively trying to hunt down solutions to the instability of the Object.dll
R~~~~ B~~~~~~~~ 
^ real life signature for sure

Offline Endless Night

  • Global Moderator
  • *
  • *
  • Posts: 5254
  • Activity:
    0.4%
  • Reputation Power: 59
  • Endless Night is leading the good life!Endless Night is leading the good life!Endless Night is leading the good life!Endless Night is leading the good life!Endless Night is leading the good life!Endless Night is leading the good life!Endless Night is leading the good life!Endless Night is leading the good life!Endless Night is leading the good life!Endless Night is leading the good life!Endless Night is leading the good life!
  • Respect: +1
  • Referrals: 1
    • View Profile
Re: [OpenEUO] Automated Runic Reforging
« Reply #8 on: January 24, 2013, 08:32:33 AM »
0
Script move to approved library
Thank you for your submission.


If you feel the script is in the wrong section please send me a pm.
Outlaw Josey Wales - "Manwink, A Long Gone Scripty, and Endless are always teasing us with their private sections lol. What there realy saying is scripters rule and users drool."
Briza - "Your a living breathing vortex of usefulness."

Offline madatu

  • Full Member
  • ***
  • Posts: 146
  • Activity:
    0%
  • Reputation Power: 2
  • madatu has no influence.
  • Respect: 0
  • Referrals: 1
    • View Profile
Re: [OpenEUO] Automated Runic Reforging
« Reply #9 on: February 11, 2013, 06:18:24 AM »
0
This worked great, saved me alot of clicking.  TY

Offline childery

  • Newbie
  • *
  • Posts: 3
  • Activity:
    0%
  • Reputation Power: 1
  • childery has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
Re: [OpenEUO] Automated Runic Reforging
« Reply #10 on: March 02, 2016, 05:57:43 AM »
0
This script is exactly what I have been looking for! It almost worked perfectly right out of the bag. I'm able to get it to go through the motions right up until it actually needs to reforge. It will open the reforge menu, but it won't reforge the item. I've tried adjusting the 'click' location of the gump, but can't seem to get it to work. If I manually click the reforge button, it will reforge the item, but the script will go no further. Any help would be greatly appreciated.

Tags: reforge  reforging