ScriptUO

Official ScriptUO EasyUO Scripts => Script Library => Resource Farming => Topic started by: UoLugnutz on May 10, 2011, 01:03:57 PM

Title: Lugz Barb Leather Getter
Post by: UoLugnutz on May 10, 2011, 01:03:57 PM
Just a quick script I wrote to collect Barbed Leather and Gold. It can be easily modified to hunt other monsters and other items to loot. It is currently set to hunt White Wyrms in Ice Dungeon and loot leather and gold. Just walk to the location you want to start at and hit play. Script will remember the start location and return to the same spot after every kill. I find it handy this way to stop from wandering off. Script is written for a Sampire template and has a basic healer but no cure poison option. This is my first script posted so be gentle :)
The BOS sub will now recharge if powder in pack. I find it takes about an hour to burn 30 charges on a BOS and should get you around 100k and 4-5k in Barbed leather. This is based on hunting in FEL. Script will now use Sacred Journey and bank loot.
If people find this script helpful I can modify it to be more user friendly. Just post suggestions and Ill see what I can do

Instructions:

- Bag of sending needed or Sacred Journey and Bank dump option now
- Must use Butcher War Cleaver as a bladed weapon. No other balde set
- Run to hunt spot and hit play and begin ownage (again pre set to Ice Dungeon spawn and farm White Wryms). MUST START SCRIPT AT HUNTING LOCATION!
- Must do some minor set up to use now. Set rune book id, rune locations in book and Bos_option true or false
- Updated to Version 2.5 Sept 7/11
Code: [Select]
;============================================
; Script Name: One Spot Hunter
; Author: Lugnut
; Version: 2.5
; Client Tested with:
; EUO version tested with: 1.50 (199)
; Shard: EAMythic
; Revision Date: Sept 5/2011
; Purpose: To hunt an area with out leaving a defined location. Current set up to farm Barbed Leather
; and gold only hunting White Wyrms in Ice Dungeon sending loot by BOS
;============================================
; Thanks to Twinkle McNugget for his Buff Bar Scanner used in this script! Its awesome!
; Thanks to TM and the whole SUO Crew for suggestions to get me started, tutorials and being helpful to the Newbs!
; Thanks to Cheffe and EasyUo
; Thanks to TM and his ScriptUo Utility. Its awesome!
; Thanks to TM and his TM's Runebook, Adv Journal Scan & Persistent Variable Subs
;============================================
;
;UPDATES
;
;============================================
;Aug 30/11 - Version 2.3 released
;
;-updated buff scanner with timers for better efficiency with the help of Twinkle McNugget
;-cleaned up healing sub a little. Still more clean up to do in later versions
;
;Sept 1/11 - Version 2.4 released
;
;-adjusted timers to be more efficient.
;-added a quick evade to heal sub. Cleaned up some more code
;-updated BOS sub to recharge with powder of translocation
;
;Sept 5/11 - Version 2.5 released
;
;-all timers should be working now (I hope)
;-still cleaning up more code. And yes will choose a standard font.
;-added a drop sub for spined leather. Looting the odd snake would mess up the weight and not
;worth burning a BOS charge on the few spined leather looted
;
;Sept 15/11 - version 2.6 released
;
;- added a banking option in set up thanks to TM's Runebook, Adv Journal Scan & Persistent Variable Subs
;- added a user set up section to be edited before starting
;============================================
;
;USER MUST SET UP BEFORE STARTING
;
;============================================
Set %Bos_Option xxxxx   ; #true for using BOS and #false for Bank
Set %Rune_Book xxxxxx   ; set id of rune book with hunting spot and bank inside here
Set %Travel SJ
Set %Hunt_Rune1 x       ;Set the rune number in book of hunting spot to return to
Set %Bank_Rune1 x       ;Set the rune number in book of the bank. Must land withen reach of a banker
SET %KILLS QE_DJ_TE_OJ_JB_TH_IB_SB_KD_RE_BJ_NE_IE_BI_HE_IAB_VI_TZ ; add other monsters to hunt here
SET %LOOT JJG_EEG_POF_LZF_YCHB_KZGB_AXS_TWS_UWS_VWS_ZWS_GXS_BVJ_GVF_EVF_VUF_FVF_RVF_HVF_OVF_BVF_UVF ; add aditional items to loot here. Set to Hides/Gems/Gold
SET %CAST_HEAL ( #MAXHITS - 25 ) ; adjust when to heal here
SET %HIDE_AMOUNT 300 ; total amount of hides to send via BOS
SET %GOLD_AMOUNT 15000  ; total amount of gold to send via BOS
Set %Bank_Bag xxxxxxx   ; set to id of container in bank
=============================================

Posted an updated BETA version!
Please posts problems. Also looking on feedback on the healing sub on when to use what.
Title: Re: Lugz Barb Leather Getter
Post by: b@ndito on May 11, 2011, 07:36:14 AM
as a first script, nice work.

i started learning euo writing a script like  this too ^.^
since it's not a complex script failsafes are not much needed, you could develop the script on casting sampire spells and item evaluating (you could pick BM's item evaluator as it needs a simple call #finditem).
Title: Re: Lugz Barb Leather Getter
Post by: UoLugnutz on May 12, 2011, 01:02:22 PM
as a first script, nice work.

Thanks you!
My next update will be to rip out a lot of my subs and add ones already posted since they are a lot more stable. And as you said ill add more generic fighting stuff in so it is not so specific to one fighting style or monster.
Title: Re: Lugz Barb Leather Getter
Post by: 12TimesOver on May 13, 2011, 06:28:35 AM
So, 9 downloads - anyone have an opportunity to test this yet that can give some feedback?

Thanks!

X
Title: Re: Lugz Barb Leather Getter
Post by: UoLugnutz on September 07, 2011, 05:06:21 PM
Updated to Version 2.5
Title: Re: Lugz Barb Leather Getter
Post by: Goliath on September 08, 2011, 07:39:39 AM
Any suggestions on a good location to run this?  I just completed a new sampire build and have no troubles giving it a shot to test it out.
Title: Re: Lugz Barb Leather Getter
Post by: UoLugnutz on September 08, 2011, 08:53:59 AM
Any suggestions on a good location to run this?  I just completed a new sampire build and have no troubles giving it a shot to test it out.

It is set up to run in Ice Dungeon at White Wyrm Spawn by default. I always run it Fel on my shard for double resources. Far NE corner is location in there. Let me know how it works

Title: Re: Lugz Barb Leather Getter
Post by: Goliath on September 12, 2011, 06:17:24 PM
Very nice work.  I set up and ran this in Ice Dungeon Tram versus Fel.  I didn't keep track of the exact amount of gold it collected but in 1 hour it collected 1260 barber leather (Trammel).  The script itself ran flawlessly.  

I am going to run this in Destard to see how it performs next.

Oh... You might want to mention in the setup of the script that it requires the Butcher's War Cleave.  I couldn't figure out what blade it needed until I made one and got the ID from it to confirm.  Just a thought.
Title: Re: Lugz Barb Leather Getter
Post by: UoLugnutz on September 12, 2011, 06:40:46 PM
Very nice work.  I set up and ran this in Ice Dungeon Tram versus Fel.  I didn't keep track of the exact amount of gold it collected but in 1 hour it collected 1260 barber leather (Trammel).  The script itself ran flawlessly.  

I am going to run this in Destard to see how it performs next.

Oh... You might want to mention in the setup of the script that it requires the Butcher's War Cleave.  I couldn't figure out what blade it needed until I made one and got the ID from it to confirm.  Just a thought.
Thanks for the feed back! Fel would have got you 2500 hides per hour  ;)
I will make it clear on what blade is needed as suggested. Glad there was no issues. Let me know how Destard works and any suggestions to make better for you. If you hunt Wyverns there too horned leather will need to be added. If you need horned leather I've ran this script at wyvern island in T2A and cleaned up there too.
Title: Re: Lugz Barb Leather Getter
Post by: NObama on September 12, 2011, 06:43:02 PM
Hehe - on my shard, Fel would have gotten you dead long before 2500 hides.  Also, you can modify the script to recall out in Tram, no?  BOS seems expensive.
Title: Re: Lugz Barb Leather Getter
Post by: UoLugnutz on September 12, 2011, 07:00:39 PM
Hehe - on my shard, Fel would have gotten you dead long before 2500 hides.  Also, you can modify the script to recall out in Tram, no?  BOS seems expensive.

I can count on one hand how many times I ve been pk'd on Cats and have over 1 million barbed hides and I sure can add a recall sub easy enough. Remind me not to play on your shard too :)
Title: Re: Lugz Barb Leather Getter
Post by: NObama on September 12, 2011, 09:09:14 PM
Hehe - on my shard, Fel would have gotten you dead long before 2500 hides.  Also, you can modify the script to recall out in Tram, no?  BOS seems expensive.

I can count on one hand how many times I ve been pk'd on Cats and have over 1 million barbed hides and I sure can add a recall sub easy enough. Remind me not to play on your shard too :)

I thank you for the invitation, kind sir!  :)
Title: Re: Lugz Barb Leather Getter
Post by: UoLugnutz on September 14, 2011, 12:46:54 PM

Hehe - on my shard, Fel would have gotten you dead long before 2500 hides.  Also, you can modify the script to recall out in Tram, no?  BOS seems expensive.

I can count on one hand how many times I ve been pk'd on Cats and have over 1 million barbed hides and I sure can add a recall sub easy enough. Remind me not to play on your shard too :)

I thank you for the invitation, kind sir!  :)
Updated to Version 2.6 with bank option to hunt in Trammel so NObama won't peekay me!
Title: Re: Lugz Barb Leather Getter
Post by: blazehammer on April 16, 2012, 09:02:27 AM
been using this script for last few days and its great got over 100k barbed leather and it works great with my sampire i just got to remember to keep myself full of food. thanks for script
 ;)
Title: Re: Lugz Barb Leather Getter
Post by: UoLugnutz on April 16, 2012, 11:37:36 AM
been using this script for last few days and its great got over 100k barbed leather and it works great with my sampire i just got to remember to keep myself full of food. thanks for script
 ;)

Glad you like it! I actually have a better version for healing and stability ill need to dig out and post. Its more of a general Sampire Hunter that can be used other places. Never updated as there didn't seem to be much interest at the time. Been stuck away from UO for a bit but ill see if I can get some extra time and post another version for you
Title: Re: Lugz Barb Leather Getter
Post by: blazehammer on May 10, 2012, 04:59:16 PM
Ok i tryed the beta it seems to be much more stablethen the orginal one anly problem that i had with it using the harvesters blade i elected to drop the meat scales blood  but after a while it tends to get over weight and not drop the meat so your full and the hides get left on the corpse plus i have to adjust the weight i think because i get 450 hides in my pack before it sends it to the bank  but otherwise it works just as advertised thanks for the good work
  ;D ;D
Title: Re: Lugz Barb Leather Getter
Post by: blazehammer on May 10, 2012, 06:08:18 PM
i changed weight to -50 instead -20 that seems to take care of the over weight issue and again thanks for the hard work in the script.
Title: Re: Lugz Barb Leather Getter
Post by: formerlyrara on May 10, 2012, 08:22:34 PM
I am going to test out the beta tomorrow, but i been running this for a couple days now, sometimes it starts to act really weird, it will constantly cast enemy of one over and over while fighting. it might be due to fact i am dual clienting a lot and that might cause it to happen.
Title: Re: Lugz Barb Leather Getter
Post by: UoLugnutz on May 11, 2012, 03:58:48 AM
i changed weight to -50 instead -20 that seems to take care of the over weight issue and again thanks for the hard work in the script.

Glad its working well now! I will adjust the weight lower as it is actually set right to the limit for my character when I was testing. Keep testing and any suggestions welcome
Title: Re: Lugz Barb Leather Getter
Post by: UoLugnutz on May 11, 2012, 04:12:19 AM
I am going to test out the beta tomorrow, but i been running this for a couple days now, sometimes it starts to act really weird, it will constantly cast enemy of one over and over while fighting. it might be due to fact i am dual clienting a lot and that might cause it to happen.

Not sure if dual client will cause the problem but maybe. Keep me updated. Again any suggestions welcome. Also Im working on a rail system type hunter so you can use to hunt anything you want as you suggested to hunt for other resources. May be a bit before release but working on it.
Title: Re: Lugz Barb Leather Getter
Post by: blazehammer on May 18, 2012, 06:14:56 AM
well i tried it with bouras kills the bouras  just not many to kill  problem that i ran into was when it skinned the creature it got hides in pack took pelt out of corpse but put horned leather back in corpse so i have no idea why its doing that just thought you would like to know
Title: Re: Lugz Barb Leather Getter
Post by: UoLugnutz on May 18, 2012, 08:47:55 AM
well i tried it with bouras kills the bouras  just not many to kill  problem that i ran into was when it skinned the creature it got hides in pack took pelt out of corpse but put horned leather back in corpse so i have no idea why its doing that just thought you would like to know

I actually set it up like that as I am testing the script to hunt using a rail system and didn't want to keep the horned leather for now. If you want to hunt the Boura's and keep the leather I can PM you a quick fix. Once the rail is working good it will have an option to keep or not keep built in.
Title: Re: Lugz Barb Leather Getter
Post by: blazehammer on May 18, 2012, 01:34:41 PM
Sure pm me the fix thanks when rail come available i would like that to and thanks for the hard work
Thanks Blazehammer
Title: Re: Lugz Barb Leather Getter
Post by: UoLugnutz on May 19, 2012, 04:27:05 AM
Sure pm me the fix thanks when rail come available i would like that to and thanks for the hard work
Thanks Blazehammer
If you look for the below
Code: [Select]
Sub Drop_Crap
  Finditem JJG C_ , #Backpackid
  If #Findkind <> -1
  {
    Event Property #Findid
    If Barbed Notin #Property
      Set %Crapola %Crapola , _ , #Findid
  }
  Set %Crap_Timer #sCnt2 + 50
  Repeat
    Gosub Move_Item %Crapola #Backpackid %Corpse_Container
  Until #Findkind = -1 || %Crap_Timer <= #sCnt2
Return

Change the line below you will find in the above sub from
Code: [Select]
If Barbed Notin #Property
To
Code: [Select]
If Spined In #Property
This should just be back to dropping Spined leather only now with the change.
I'm at work right now and have patched here to try the new content so it is untested but will assume it will work. Hope it helps!
As long as I get some spare time soon ill post a rail version. It will use either TM's or EN's rail script which do an amazing job so anyone can hunt anything anywhere. Just need some spare time to incorporate it

Title: Re: Lugz Barb Leather Getter
Post by: blazehammer on May 21, 2012, 08:47:44 AM
thanks for the quick reply
Title: Re: Lugz Barb Leather Getter
Post by: Endless Night on August 01, 2012, 02:11:56 PM
Script moved to finished script boards thank you for your submission.
Title: Re: Lugz Barb Leather Getter
Post by: Cush on February 18, 2013, 09:50:53 AM
Hi I figured that I would try this out to farm some Boura hides in Tel Mur.

I set the x lines up I believe correctly.

I start in the bank and play the script and it just sits there so I SJ to the hunt location and it finds the Boura ands kills it.

Then it starts saying "Can't get there"

What do I need to check and What am I missing

Oh yeah and I added a butchers knife to the list instead of the cleaver.

Title: Re: Lugz Barb Leather Getter
Post by: UoLugnutz on February 19, 2013, 03:49:24 AM
Hi I figured that I would try this out to farm some Boura hides in Tel Mur.

I set the x lines up I believe correctly.

I start in the bank and play the script and it just sits there so I SJ to the hunt location and it finds the Boura ands kills it.

Then it starts saying "Can't get there"

What do I need to check and What am I missing

Oh yeah and I added a butchers knife to the list instead of the cleaver.


Its been awhile since I looked at this script or played with it so ill take a look at see if anything has changed.  Definitely need to start at the hunting location not the bank. Usually when you get a message "Can't get there" its looking for something too far away or trying to return to a place too far away. Anyways ill dust off the thinking cap and take a looky again.


 
Title: Re: Lugz Barb Leather Getter
Post by: jlirsh on May 01, 2013, 11:28:44 AM
THis script is boss, been using it for weeks and have tons of barbed leather thank you soo much. U can alter it to attack anything and get any type of leather which is awesome as well. Although I was wondering if neone knew of a good spot in fel that a monster spawns continuously to drop regular leather. There is thrasher, but he is a lil hard to fight and may risk deaths instead of getting my leather lol.
Title: Re: Lugz Barb Leather Getter
Post by: UoLugnutz on May 01, 2013, 11:49:03 AM
Glad you like! I'm really hoping soon to update to a better more stable version if RL would stop getting in the way. I always farmed the cow/goat spawn in Delucia for regular leather. In Fel adding a rail to the bank would be much more efficient. But either way still load up quick on leather there. Also there is some stuff in the Japan land that gives good leather just not thinking what it is right now.
Title: Re: Lugz Barb Leather Getter
Post by: jlirsh on May 01, 2013, 11:57:10 AM
Well i stand corrected, its not working :(. I went to farms, using the butchers war cleaver like i did with the white wyrm. the findtype for leather seems to be the same as barbed being JJG and all it is doing is taking the regular leather from my pack and dropping it on the corpses. I erased any of the "crapola" types in case that was messing with it and its still doing it..hrmmm
Title: Re: Lugz Barb Leather Getter
Post by: ZigZagZebra on January 16, 2015, 11:57:30 PM
Just tried firing this up for the first time. I've got some tailor BODs that are fiending some green leather.

Initially I had an issue where I kept honoring myself, and writhing about. I saw that one of the enemy types is XU, which I found matched myself! What the!?... Maybe this was an ID that had changed. So I deleted that out, modified it to drop leather at my porch rather than the bank and so far I haven't been able to let go of the steering wheel and let it just run on its own. I fear I'll come back to a grey screen. *sigh*

Think the first step will be to craft up a 100% fire ele damage drag slayer with those amazing leech stats we know and love for sampires.

Title: Re: Lugz Barb Leather Getter
Post by: Pearls on January 17, 2015, 03:25:27 AM
I have used this script many times to get the barbed leather i need. If i remember correctly this script will even attack people that come too close or that have attacked you. Once i checked my screen and i kept seeing my character run after some player, then return the original starting point whilst the player was shooting me with his bow and arrows haha. So i took over the script and chased him out the dungeon lol! Good thing it wasn't a real pvp'er :)
Title: Re: Lugz Barb Leather Getter
Post by: Ketchup on January 19, 2015, 06:05:55 AM
I'm having an issue with my character getting overweight and it starts to drop the gold/leather on the floor, any ideas why?
Title: Re: Lugz Barb Leather Getter
Post by: The Ghost on January 19, 2015, 12:05:10 PM
Do a search for #maxweight - xxx     or if weight > xxx    maybe  the limit is to hight for you.   I know that I buff my toon while I hunt for supply.     I use it 2 years ago and had to change a few think.  let me see when I return home what i did.   Most work great.  Just make sure to mark a few rune so you dont have to walk to far. 
Title: Re: Lugz Barb Leather Getter
Post by: Ketchup on January 19, 2015, 12:24:21 PM
hehe thanks, I'll give that a try
Title: Re: Lugz Barb Leather Getter
Post by: Ketchup on January 19, 2015, 12:28:56 PM
I changed the max hide weight and gold to send using bos  a  bit lower as I couldn't find a maxweight, hope this works
Title: Re: Lugz Barb Leather Getter
Post by: hrs024 on January 17, 2016, 09:30:47 PM
awesome script!
Title: Re: Lugz Barb Leather Getter
Post by: hrs024 on January 17, 2016, 11:09:07 PM
awesome script!
stops after like 40 mins? it still kills but does not loot corpses?
Title: Re: Lugz Barb Leather Getter
Post by: Murdok on September 16, 2017, 06:36:28 PM
Just an fyi... even after all these years this script works great for gathering barbed leather!
Title: Re: Lugz Barb Leather Getter
Post by: coachcraig on December 09, 2017, 04:22:54 PM
Yes this scripts works for what I need it to. Only issue I have is that it's not sending the leather via bos. I'm new at scripting but will try to find out why that portion is not working for me.

Awesome script...!
Title: Re: Lugz Barb Leather Getter
Post by: Crisis on December 10, 2017, 04:18:04 AM
I would start with checking the itemid of the BOS and making sure it matches what the script is using, especially if you are on a free shard.
Title: Re: Lugz Barb Leather Getter
Post by: coachcraig on December 10, 2017, 01:17:17 PM
I would start with checking the itemid of the BOS and making sure it matches what the script is using, especially if you are on a free shard.

It sends the gold just fine it's just the leather that's it's having a problem with for me. Other than that the script works good. I haven't had the time this weekend to investigate why it's not sending the leather but will probably tackle that first thing this week.
Title: Re: Lugz Barb Leather Getter
Post by: The Ghost on December 10, 2017, 02:41:06 PM
look like if once doing one scan and POF is the first items in the list.   Each time you overweight if BOS gold.   U need to loot it twice to pick the leather
Title: Re: Lugz Barb Leather Getter
Post by: coachcraig on December 11, 2017, 11:34:19 AM
I did a test of the script yesterday. I started at the kill spot with a BoS fully charged in my pack and a stack of 100 powders to recharge BoS. I commented out the looting of gold and gems and concentrated on the script sending the leathers when I was at or near max weight. The script would not send the leathers so I manually sent them (how ever before I turned off looting gold the script did send gold to the bank once I hit the weight limit). I waited for until my BoS was all the down to 0 charges to see if the script would recharge the BoS. It did not. So that's two issues I need to test and figure out now. Once I can get this script to start sending the leathers I'll be set.... :)

UPDATE: I may have answered my own question. I commented out the loot so maybe that's why it didn't find the leather? I'll have to test that theory when I get off work...
Title: Re: Lugz Barb Leather Getter
Post by: The Ghost on December 11, 2017, 02:30:07 PM
Just remove POF ( Gold) from the list and see what happen.  Also a Pause might help
Title: Re: Lugz Barb Leather Getter
Post by: Braham on October 01, 2020, 05:23:37 AM
good