Official ScriptUO EasyUO Scripts > Resource Farming

Ter Mur Area Lumberjack ELITE VERSION 2.0.6 28/09/14 - Siege support added

(1/79) > >>

Neo:
EDIT 28 september 2014:
I had this private "Elite" version of this lumber script stashed away for some time now, and I decided to share with everyone. I haven't used it myself for over a year so I don't know how it's working.

The main differences between these versions are:
- Added Siege Perilous support
- Added separate secure for Hatchets
- Added gate travel obviously
- Some fail safe code

So my only request is: please, give me some feedback on how the script is working for you, so I can at least make it stable and pretty for everyone.

Thank you guys, hope you enjoy!
===========================================================================================

Hey guys, I wanted to get myself some Crystal Shards. But the current Ter Mur Lumberjacks weren't working so well for me...

So yesterday, it was a local holiday here, and I decided to give this a tackle.

And today, I decided to share the first version (of many I hope) with you guys, so I can have some feedback to improve this and add new features as they are suggested.
So far, I've tested this for a few hours, and it worked flawlessly. I hope to get some feedback for this from you guys...

I also thought about the main idea behind the lumberjacking scripts I've seen, and they are all recall recall recall... So this one will swipe an area of trees in that location before moving on
to the next location. It will seem less 'scriptlike', and more human I guess. It would help to avoid being reported, especially in Ter Mur, imho. It's also pretty fast as far as I can tell....

Well, so here it is:


--- Code: ---;=======================================================================
; Script Name: neo's Ter Mur Area Lumberjack ELITE VERSION
; Author: neo
; Version: 2.0.6
; Client Tested With: 7.0.34.15
; EUO version tested with: 1.50 248
; Shard OSI / FS: OSI
; Revision Date: 21/02/2013
; Public Release: N/A
; Purpose: Will recall to an area, chop all the trees the user sets in that
;          area, and then recall to the next area and so on.
;--------------------------------------------------------------------------------
; Url public version:     http://www.scriptuo.com/index.php?topic=8255.0
; Url Elite Version:      Unreleased/Private Script
;================================================================================
; Version 2.0.6   - Fixed some buggy code
;--------------------------------------------------------------------------------
; Version 2.0.5   - Added some fail safe code
;--------------------------------------------------------------------------------
; Version 2.0.4   - Some more tweaks
;--------------------------------------------------------------------------------
; Version 2.0.3   - Added alternate secure for Hatchets
;                 - Tweaked Gate Travel sub a little, should improve stability
;--------------------------------------------------------------------------------
; Version 2.0.2   - Removed Telekinesis which was causing issues
;--------------------------------------------------------------------------------
; Version 2.0.1   - Fixed issue with Gate Travel
;                 - Added Telekinesis to use gate
;--------------------------------------------------------------------------------
; Elite Version   - Added Gate Travel support
;                 - Added grabbing of hatchets in secure
;                 - Added Siege Perilous support
;----------------------------------------------------------------------------------
; Version 2.0     - Added multi-runebook support. You can add as many runebooks
;                   you want for your trees. Remember to have the proper runebook
;                   selected from the list, and also written the rune number in
;                   the proper edit box BEFORE you click to add a tree.
;                 - Added option to choose your own max weight offset from the menu
;                 New save is required for this to work, so you'll have to setup
;                 everything from scratch, sorry about that!
;----------------------------------------------------------------------------------
; Version 1.0     Okay, so it's been a while since last update, so I'm hoping to
;                 get some feedback on people who use this to see how it's working
;                 and possibily fix any issues that may appear.
;                 - Using my own recall sub now. It was about time I wrote one
;                   myself... :) Please tell me if you find any issues
;                 - Wrote a new drag and drop sub. I did some testing and found
;                   this cool way of moving stuff, again, tell me if
;                   something does not work for you
;                 - Redid the menus
;                 - Added pause button
;                 - Script will now halt if you close the menu
;                 - Script will now save travel method you choose
;                 - Added separate menu for statistics
;                 - Changed max weight offset
;
; Thank you EN and everyone else for the suggestions and feedback, which were
; all essential to the evolution of this script. I hope to continue getting
; feedback from everyone so I can continue updating this until it's nice for
; everyone's use.
;----------------------------------------------------------------------------------
; Version   0.6 - Fixed some codes that could cause issues.
;               - Script will now attempt to recall once per tree per rune.
;                 i.e. if you get blocked location at rune number one, and you
;                 have 4 trees there, it will attempt to recall 4 times to that rune
;                 before trying the next location.
;               - Added new axe types for gargoyles. Thank you Bodfather!
;-----------------------------------------------------------------------------------
; Version   0.5 - Fixed possible overweight issue.
;               - Fixed counter issues(I think)
;---------------------------------------------------------------------------------
; Version   0.4 - If you're axe is not equipped when you're adding trees, it will
;                 be equipped automatically
;               - Fixed core sub. Believe it or not, I left an old version of the
;                 sub in there with the same name, I don't even know how EUO was
;                 handling this.
;               - Removed some useless lines of code I found
;               - Changed how recall subs and dropoff sub work again. Will fine tune
;                 this as I find the need to do so.
;               - Added menu option to choose rune number of secure
;               - Save button will now save your bank option, and also the rune number
;                 of your secure
;               - Fixed Travel Method Choice. Recall and Sacred Journey should
;                 be working just fine now.
; Thanks:
; Thank you Guadah for the feedback, 0.4 is based mostly on your input. Cheers!
;----------------------------------------------------------------------------------
; Version   0.3 - Fixed issue that was causing the script to slow down after 1 hour
;                 or so.
;               - Added Logs/Hour counter
;               - Changed how recall works to improve performance in case of
;                 'something is blocking that location'
;----------------------------------------------------------------------------------
; Version   0.2 Fixed counter bug.
;--------------------------------------------------------------------------------
; Version   0.1 Currently only tested with Melisande's Corroded Hatchet, should work
;               with any axe type. Won't grab anything from secure or craft though.
;               Features:
;               - You can set up as many trees you want it to chop in a specific area.
;                 It will recall to that area and chop all the trees there, until
;                 they're clean, and then it will recall to the next area
;               - Will recall back home or to the bank to drop off your stuff, and
;                 then resume chopping where you left off.
;               - Works in Ter Mur, so will get you Crystal Shards, which is nice
;               - Won't give that horrible recall scripting impression, that will likely
;                 get you reported, especially in Ter Mur.
;               - Will save your setup using TM's NGFS, so you only need to set it up
;                 once.
;
;               Things you'll see in the next versions:
;               - Run away from enemies you set
;               - Multi-runebook support. Although if you do the math, let's say you
;                 set up a full runebook, with 5 trees to chop in each location,
;                 you will easily get to a total of 80 different trees to chop in
;                 each loop.
;               - A check during setup that will warn you if you won't be able to chop
;                 the tree you're trying to set up.
;               - Pause button
;               - User suggestions. I always want to improve things so that they can be
;                 helpful to anyone who tries them. So, if you have ANY suggestions, please
;                 feel free to share them with me! Also, any kind of feedback is appreciated
;                 so that I can try to keep improving this for the ScriptUO community. :)
;----------------------------------------------------------------------------------------------
; Special Thanks:
; Stuff I used from other people's libraries:
; - Tm's Next Generation File System
; - Tm's Runebook/Spellcast Subs
; - Tm's Advanced Journal Handler
; - 12TimesOver's XIIxMaxWeight sub
; So, I would like to thank both TM and 12times for sharing their subs
; with us. I greatly appreciate being able to use their codes in my stuff.
; Thank you.

; I'd also like to thank everyone here at ScriptUO who made me feel right at home.

; Neo
;-----------------------------------------------------------------------------------------------
; Instructions: Have a runebook with all your tree locations and another runebook with you're home/bank
; rune. Then, you have to add every tree using the menu. There's a box next to the Add button where
; you have to input the number of the rune of the current tree your chopping.
; Example: If the tree you're setting is in the first rune of the runebook, you write
; the number '1' into that box, and click add. Then you'll target the tree you want to chop
; and the tree will be added to the list. You can do this for as many tress as you'd like per rune.
; I haven't tested this with trees that are more than one screen away from the recall position though.
; Once this is all done, you can save your setup, so that you don't have to add the trees every time you run this.
; Also, you can easily remove any tree you want from the menu with the Remove Selected button. Also remember to set up
; your secure from the menu.
; Now you're set. Just click the Start Chopping button and the script will do the rest.
; Enjoy.

--- End code ---
V0.5 pic


Special Thanks:
Stuff I used from other people's libraries:
- Tm's Next Generation File System
- Tm's Runebook/Spellcast Subs
- Tm's Advanced Journal Handler
- 12TimesOver's XIIxMaxWeight sub
So, I would like to thank both TM and 12times for sharing their subs
with us. I greatly appreciate being able to use their codes in my stuff.
Thank you.

I've only tested this with Melisande's Hatchet so far. This won't grab axes from secure, or craft them, or anything like that, as of this first version.
I will add these options in future versions, if there's a demand for it! It's pretty easy to add...

Remember that you can walk up to several trees close to your recall spot, and set them. While the script is running, it will pathfind to each tree location.



Neo

MeWonUo:
Very nice!  I haven't lumberjacked in ages, but I'll definitely toss it on a character to give this a shot.

Guess I need to mark some runes in Ter Mur first though. :)

Blacklisted:
I'll give this a whirl tomorrow and let ya know how it goes, thanks for this
 :)

Neo:
V0.3 Uploaded...
Changelog in first post! :)

neo

Guadah:
Downloaded the .3 will give it a try here soon and give some feedback.

Navigation

[0] Message Index

[#] Next page

Go to full version