ScriptUO
Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started by: KilroyIsDead on June 24, 2009, 08:08:59 AM
-
Not that we don't already have too many mining scripts, but I have another Work-in-progress.
I basically want it to be useable for both UA and semi-UA (running in a VM or running on a computer across the room)
At start up it detects what kind of pets you have in tow.
If you have a fire beetle it presumes you want to smelt in the field. If you don't want to smelt in the field then put the fire beetle away.
If you have a giant beetle, It presumes you want to load up the pack with your ore and it must be ore because you can't have a fire and giant at the same time.
The same for Pack Horse and Pack Llama, but here it assesses whether or not you have a fire as well. With a fire it will smelt and pack the ingots on the pack animal.
If you have none of the above pets then it just mines ore and returnes when you are full.
I allow you to have as many runebooks as you want and then cycle through them
I think the advantage here is that it allows you to mine the way you want to mine.
If you are fully AFK then you likely want to limit your time in the field and reduce the exposure to PKs, Narcs and GMs. Most fully AFKs are not looking to peak their resources/hour but are trying to assure avoidance of capture. So you probably don't want a pet; you want to get to a mine spot dig until full and move on. Allowing for more books also helps you increase the time between locations so that bad folk can't stalk you for timing of when to pounce.
If you are semi-AFK, then I believe you are looking for resources/hour, and I want to limit the time wasted travelling back and forth to the secure, so I want to allow you to have as much storage as you can get.
Now the difference between field smelting and not smelting is that the ingots are lighter, so you trade the time it takes to smelt for being able to store more resources before unloading. I do not have good statistics for this but I want to allow both so you can decide.
The script does have some health checking (Poison and hits) resolved through magery. Adding other methods is trivial.
It also has fleeing capablities, so it flees when harmed, or if there is a human type with a abad reputation.
All that said, is this anything of interest, since there are already enough mining scripts? And is my theory sound?
-
I use MWinc's Miner right now. It works pretty good for me the features I like are the multiples runebooks, use prospector's tools, logging out at set time. The escape/evasion sub works sometimes but the script will go back to that same spot on the next cycle. It will also keep mining even when you taking damage from a monster/PK. I also can't get the Log in part of the script to work right. I wouldn't exspect a mining script to kill a pk but it would be cool if it could at least cast mind blast on a monster. I am using a mage weapon bow on my miner atm.
-
I like those ideas.
Similar to the old papua miner, I allow a list of mobile types that I'll stand and fight
Papua had the pet dispatch them by setting them to guard mode. I don't like that because the pet wanders more than I like.
Why do you use the prospector tool? to turn verite into valorite for one cycle of resource refreshes? That seems wastefull but I could add that, and in that case would you always use the prospector tool or just the first swing at the mine site then revert to a shovel? As you can tell I'm not sure how the prospector tool works.
Whenever I go home, I register why I went home and if it's anything other than I was full, I move to the next rune. I'm playing with setting a timer to delay before revisiting the rune so that you can allow for the PK to get bored or the mob to de-pop.
The magery weapon and a bow is slick, but how do you account for the arrows? I think I'll add offensive casting as well, depending on what's in the area. I don't wish to fight 4 brigands or an orc camp, but I may take on a single ettin.
Is it useful to have a script that is both streamlined for the AFK and resource hogging for the semi-AFK?
-
I use the quiver of infinity with 500 arrows and I don't have runes in high spawn areas. It only uses about 60-80 arrows per hour. I never run more than about 5-6 hours at a time. On Atlantic most of the pks that hit miners camp in the caves(I took out my cave spots). The prospector tools I get for free from friend who runs that bod filler script and it does up the value per hour of my mining. I only end up using like 2 tools for every 3 hours of run time. I only run my miner when friends need ingots or tally from the master of trades.
-
I'm a mage weapon person as well, I find that the Staff of Pyros is an excellent option for my miner. I never die to low-level spawn anymore.
As for the PK thing, it's par for the course IMO. If I mine in Fel I just keep my fingers crossed LOL. I am choosy about where I mark my runes and I've only been killed twice so far out of several million ingots.
I would be curious to see a breakdown of Fel AFK mining results verse Tram AFK mining results to get an hourly average of resources taken in over the course of a day. On a busier shard such as Atlantic I'm not convinced that the additional resources gathered in Fel are worth the added risk. Definitely on a lower-populated shard, but Atl I'm not so sure.
Talking about this brings up all of the items I've planned on working into the XIIxOver miner but not had the time to do for so long. Definitely need to get back to that one although there really is no need to hurry since there are so many more options now.
Quick question on the Prospector tool, if I remember correctly you have to mine a spot once before you can prospect it successfully, has anyone noticed this?
X
-
Ok, then I want to pick brains.
Do I have to be aware that you are using a mage weapon, or does it make more sense to allow you to ignore more mobs.
Out of the box, I am ignoring the sewer rat, headless, mongbats etc...
But if you have a mage weapon you also ignore Ettins and Ogres
And I still need info on what a Prospectors tool does. I thought it just elevated the color being mined.
-
Well, if you get attacked you can simply rely on the autodefend to kill of the small mobs so essentially you could just keep up the ignore list for most things. I would throw, perhaps, Gargoyles, Harpies, Spiders, Scorpions, Ogres, Snakes, Giant Serpents, Trolls, Ettins, others(?) on the list you've already started. On the other hand, I've noticed autodefend not always working correctly, especially when multiple mobs are concerned. I've sat there taking a beating by a Mongbat and never swinging back once. Not sure what causes that. If you are going to have some kind of reaction to a mob regardless of the ignore/autodefend thing than identifying the mage weapon could be important otherwise you can leave that entire chunk of logic out, tell people to use a mage weapon, and only scan for specific mobs requiring an action rather than scanning for mobs to ignore - could make for more efficient code.
You are right on the Prosp tools - it simply raises the ore by one. I personally don't care about them however I know a lot of people do, it has been requested for the XIIxOver Miner many times and I started working on it for 3.0. If we did an economical analysis however I think we would find that prospecting all color types isn't necessarily a good thing. For example, I can unload WAY more Iron than I can Dull Copper so I wouldn't want to prospect Iron. Also, Verite sells almost as high as Valorite so I may not want to prospect Verite either. Manwhile, Copper is worthless in comparison to Bronze. With all this in mind, I was working out an option that allowed customization of the Prospect process whereby you could check which colors you would like to prospect. For example, I might decide I need Val more than I need Verite because I just got all the BOD's I need for a Val hammer or I run out of Val stock on my vendor thus I check the Verite box. Might be something to consider.
If I remember correctly the logic for prospecting is something like:
Dig X/Y/Z
If !ToProspect=#TRUE && dig is successful then head to the prospect sub
Evaluate ore color
If ore color in !YesProspect use Prospect Tool
If "You find that xxx can be mined here" or whatever the message is thne you are successful
Return to dig loop
You get the idea...
There are a series of messages associated with the tool that you would want to be aware of, a couple of fail type messages and a success type message, these would be necessary for whatever journal scan logic you are running. I have the list however not at work, I'd be happy to post them up here later if you want.
XII
-
Hi,
I just thought why don't you two team up and bring up a new advanced miner script.... ?
cu
-
Ohh, tag-team scirpting! I like that rana! hehe.
That's how we got some of our senior projects done in college. One guy would program until he wilted, then the next dude would take over. Crazy stuff.
-
LOL,
That's how we got some of our senior projects done in college. One guy would program until he wilted, the rest of us drank beer.
C
-
Collaboration makes the world go round; if you agree that anti-matter and matter collaborate.
More Ideas in no particular order. I think this would be the cadillac miner and overkill for most.
Check box to allow for User to Keep Protection up (I think we recently came to the conclusion that a talisman could drop that)
Drop down to select Defense
--None--
Flee
Fight til death
Fight til xx%
For Flee, I'll present an option screen to allow you to include and exclude mob types, set the reputation of humans to flee from, max mobs
For both fights You'll get just about the same options screen
For the fight till XX% you'll also have to state what percentage
Drop down to select fighting still
--AutoDefend--
Pet? GM Miner with a Greater Dragon? <-- and I think you should hide the dragon when you get to the mine
Archery *maybe we'd check to keep your bow equipped although we encourage a spell casting weapon
Melee *maybe we'd check to keep your bow equipped although we encourage a spell casting weapon, I personally don't like this because it probably wrecks your armor
Fireball
Curse - Fireball
Evil Omen - Fireball
Corpse Skin - FireBall
Mind Blast
Curse - Mind Blast
Evil Omen - Mind Blast
...etc
Maybe we just list all the offensive spells and provide an option for pre-casting other spells like (Curse, Evil Omen, Corpse Skin, maybe poison)
-
Hmmm, why not sub up that Autodefend arrangement and I'll put it in my miner too LOL!!
X
-
He KilroyIsDead,
make sure to have a thumb on the dispaly size ...
x12 ... hsa a monster monitor .. .so is menues tent
to go get as big asmy 19" screen ... so no UO client
will be seen ;)
-
Bah, Dual Monitor Baby!
12x, So you just want me to make an AutoDefend Engine?
-
LOL Rana - I made the menu on my little 14" POS laptop and it was only about 2.5" x 3" so I have no idea WTF you're talking about! ;)
I've been shopping for a while and think I'm going to jump on board with a 24" Samsumg ToC but I need to hit the "Submit your order" button still, been in my Cart for three days now.
But back to the real topic, nah don't worry about me on the autodefend thing. I like keeping things simple for now, I may think about something like that down the road.
-
For the Menu I have a min/max button so you can run it in status only mode.
I have it fighting some MOBs, and I think I want to use inclusion to determine what you want to fight. Corpsers are a bit tricky since they are not mobile. I don't have a UI for selecting MOBs yet.
I asked a question in Shout and Rana was uber helpful, but I wanted to see if my numbers were good or not.
In Trammel (1/2 resources) I ran for 3 hours last night and averaged 3000 ingots / hour. IIRC, the papua Miner and MWInc would average about 1200 ore / hour. If those numbers for ore are correct, then I think this is 3 times faster. Based upon the time it would take to smelt that ore and the shrinkage of the higher ores. Speaking of smelting I smelt in the field when I trigger the overweight flag so that I smelt lareger stacks of ore at once, except for Agapite, Verite and Valorite. I smelt those as I mine them to minimize the losses, a failure will only lose that single ore instead of a stack. I made these ore choices based upon a 100(105 w/ gloves) miner. I presume I have to lower the color for folks who mine with lesser chars and i may even need to not smelt some colors based upon color and mining level, but in my mind that miner should be using the giant beetle or pack animal instead of a fire beetle.
I did some tests with one of my chars that has a Giant beetle and that worked pretty well too.
-
Coming along nicely :)
I would urge analysis of the high level ore smelt in large verse small piles. Numbers that I've run show clearly that, over time, you stand to smelt more ingots successfully in larger piles than in smaller piles. When smelting one ore at a time you stand to lose only a single ingot when you fail, however you only stand to gain 1 or 2 ingots if you succeed. When you start factoring percentages and statistics over time I believe the larger piles of ore ring supreme!
Although I do know for a fact that I'm in the minority on this ;)
On the other hand, if smelting in the field I wouldn't really think about it anyhow but instead I would always opt to smelt as I go. Smelting all colors in the field means fewer recalls to the secure which means more resources per hour.
XII
-
For the Menu I have a min/max button so you can run it in status only mode.
I have it fighting some MOBs, and I think I want to use inclusion to determine what you want to fight. Corpsers are a bit tricky since they are not mobile. I don't have a UI for selecting MOBs yet.
I asked a question in Shout and Rana was uber helpful, but I wanted to see if my numbers were good or not.
In Trammel (1/2 resources) I ran for 3 hours last night and averaged 3000 ingots / hour. IIRC, the papua Miner and MWInc would average about 1200 ore / hour. If those numbers for ore are correct, then I think this is 3 times faster. Based upon the time it would take to smelt that ore and the shrinkage of the higher ores. Speaking of smelting I smelt in the field when I trigger the overweight flag so that I smelt lareger stacks of ore at once, except for Agapite, Verite and Valorite. I smelt those as I mine them to minimize the losses, a failure will only lose that single ore instead of a stack. I made these ore choices based upon a 100(105 w/ gloves) miner. I presume I have to lower the color for folks who mine with lesser chars and i may even need to not smelt some colors based upon color and mining level, but in my mind that miner should be using the giant beetle or pack animal instead of a fire beetle.
I did some tests with one of my chars that has a Giant beetle and that worked pretty well too.
Hi,
as I see you are thinking of smelting routines
I spend some thought on this and if you like have a look into my OSA Ore Smelt Assistant.
I have added a few smeltplans
I figured out a plan for expert miners with 105 skill
a plan that is skill based
and a third one for those who like differend aproaches like X12
cu
-
Screen shots of what I have so far
The big screen is setup mode I left you choose which monsters you will fight
I'll add a column for prospecting that will run straight across from the metal colors table with check boxes
the other two shots are the default mode and the minimized mode
-
wow dude, that looks amazing... that already makes me want to pull my miner back out :)
-
ok, I'm up to 3300 / her and here's a pic with the prospecting in place
-
alright you can stop teasing us and Post that Pre-Beta Version. :)
Im'a Gonna start a new character just for testing this script....
-
Change your swing speed (delay between digs) on the fly
I'm having trouble with Crafting (leaves window open)
Still not sure how I want to manage MOBs (Casting, Pet, etc) But I am now correctly ignoring the mobs in the right side of the list.
You can show and hide the options panel on the fly
Once I build in settig up secures and saving the settings, I'll probably post
-
Question - delay "dig speed" to accomodate for lag? If so that's a great idea.
Looking very nice KiD! I'm feeling an inferiority complex kicking in on my side!! ;)
-
That's exactly why I have that in there. I tap it down until I start seeing the you must wait to perform...
It's nice that it looks pretty, but if it doesn't do the work then it's like tits on a bull (useless)
-
Its looking good I will glad to help you test it out.
-
Ok, we're looking for beta testers on the mining script. My guess is that Kham and PetKiller are interested but if there are more please let me know I'll have TM grant you access to the project. We'll be tentatively using the "D" Project in special projects.
Let me know if you want to be included.
-
ok, I opened up special projects section "D" for you. Lemme know when you have a final list of individuals and I'll add them. In the mean time, you can get in there and fung sui it.
-
Now the difference between field smelting and not smelting is that the ingots are lighter, so you trade the time it takes to smelt for being able to store more resources before unloading. I do not have good statistics for this but I want to allow both so you can decide.
I wouldnt want to field smelt for the reason that I mine in fel and a pack animal can hold 16k on ingots or 1600 ore. I rather lose the ore then all those ingots
I smelted 25 Valorite ore all at once and 1 pile at a time with 105 mining and the results are.
Single smelt 42 Inogts
Whole Pile 50 Ingots
I would like to help test also and help with any information you need
Also I thought I heard that if you mine or lumberjack in a dangerous areas the better chance to get higher leaves of wood or ore
-
I agree with all you are saying. My first post in the thread describes some of the different philosophies on why to smelt or not. In Fel I think smelting is silly, because you put yourself at too much risk. In Trammel if you pick relatively safe locations it's less of a concern. Also I'm trying to make this miner so it works the way the user wants. If you don't want to smelt, don't bring a fire, bring a giant.
As to smelting Valorite, you got lucky I think. Had the check failed on the big pile of ore, you have lost it all in one fell swoop.
-
I wouldnt want to field smelt for the reason that I mine in fel and a pack animal can hold 16k on ingots or 1600 ore. I rather lose the ore then all those ingots
I smelted 25 Valorite ore all at once and 1 pile at a time with 105 mining and the results are.
Single smelt 42 Inogts
Whole Pile 50 Ingots
I would like to help test also and help with any information you need
Also I thought I heard that if you mine or lumberjack in a dangerous areas the better chance to get higher leaves of wood or ore
Hi,
with my findings and the debug help from others with my OSA smelter
I can say I would never do uneven ore amounts.
Because you usually loose 50% if it is going wrong.....
and if you smelt uneven numbers you will end up loosing
stuff by "rounding" numbers 1,5 left over -> leads to 1 ore
even with my Lvl of 105 ..
I still do the two expensive Ore types in piles of 4.
but finally it is all about opinion and so I think KiD's approach
is the best way to do it.... provide a user config mode
so everyone can do it in his own style ;)
cu
-
Good info rana,
Currently I smelt V-n-V as I find it, so I might be doing it as 1s or 2s. I'll try to write a sub that will do it in 4s. I do know I avoid the small sparse ores, unless I have more than 4.
-
I do agree have everything as an option so the user can choose.
I dont know if anyone has said it yet but someone will bring up mining sand and granite.
-
It already handles granite I use Granite and Stone interchangeably. It also provides you the option to mine ore only ore ore and granite/stone.
Sand should be easy enough, I'll put in on the future list
Thanks