ScriptUO

Official ScriptUO EasyUO Scripts => Submit your Script => Topic started by: Kryz on August 09, 2015, 05:11:52 PM

Title: KRYZ's Monger Farmer
Post by: Kryz on August 09, 2015, 05:11:52 PM
Code: [Select]
;===========================Header============================
;Script Name:KRYZ's Monger Farmer.
;Author:KRYZ
;Version:1.0d
;Shard OSI / FS: OSI
;Client Tested: 7.0.49.2
;EUO Client 1.5.1.297
;Revision Date: 4/30/16
;Purpose: Farm for low level monger rewards like baits and books.

Special Thanks:
       -HiTech for his script, which I turned into 3 edited subs for this script.
       -Orngrimm for his beak string apart sub  
       -Trailmyx for his amazing runebook subs


Requirements:
       -A container of HighSeas Fish easily accessible from a recall point.
       -Runes to each Monger.
       -A Classic Boat (No high sea's or row boats) For now.
       -Your Time

Ver 1.0a Initial Release

To Do: Clean up some of the code, adjust the wait times to work on slower internet connections, maybe put some checks in to tell when recall has worked or not.

Future Updates: Hopefully I will be working on this long enough to make a fully automated FishMonger Quest system.

1.0b Will include a menu system with a lot of functionality missing. A work in progress is included below.
;1.0c added basic boat movement, cleaned up the code a bit.
1.0d Been a hot minute, this is largely automated now, still designed for small boat runs. Buggy and has its quirks but I have not looked at it in a LONG time, forgot to update here.

NOTE: Been a hot minute since I messed with this script. It will take a little bit of configuration to run out of the box.
Title: Re: KRYZ's Monger Farmer
Post by: The Ghost on August 10, 2015, 01:39:03 PM
Wonder if this is Player111 build.   
Title: Re: KRYZ's Monger Farmer
Post by: Kryz on August 10, 2015, 05:09:56 PM
I am not Player111, and besides the subs I used from the above mentioned scripts I have written the rest myself. Ill be looking at releasing 1.0b probably later this evening replacing my bad recall system with TM's runebook subs and I am still working on the menu system. The script itself does not involve any boat movement atm, but I will book looking into including boat movement in the future, not using the Bucs location but rather the opposite side of the map.

(http://i.imgur.com/ZSwR21S.jpg)
The yellow is my intended stop points, the red are the towns with mongers, this route is generally shorter, only having to go the long route for vesper and papua.
But lets not get ahead of ourselves, I don't even know how to move my ship yet ;)

Any tips on how to continuously update the menu? do I have to keep calling it? Does it do it automatically? Other then design one by hand I have not had the time to mess with it yet.
Title: Re: KRYZ's Monger Farmer
Post by: The Ghost on August 10, 2015, 05:29:05 PM
A few ppl had started to work on some idea and few snippet.  If you want to have a read of this post, u might find something that u like. 

http://www.scriptuo.com/index.php?topic=6902.0
Title: Re: KRYZ's Monger Farmer
Post by: Kryz on August 10, 2015, 07:21:23 PM
Thank you Ghost, the reason I am here trying to make one, is that the special project set and the rest of the promising looking full fish mongers all seem to fizzle out. I think that the map setup as suggested in some of the other outlines seems to be more complicated then needs to be, ie plotting a map, handing it to tiller etc. We know how to direct a ship to a location as shown in Kal In Ex's SoS fisher, without the use of a map, and the bucs den area while decent is not as quick as the other side of the same server lines. ie Moonglow/Sea Market>Brit>Trin/Skara/Jhelom vs Vesper>Brit>Trin/Skara/Jhelom. Where you would have to go out of your way before to get sea market moonglow and papua now its just vesper and papua, also no islands to mess with you, and no pirates.
Title: Re: KRYZ's Monger Farmer
Post by: The Ghost on August 11, 2015, 07:03:50 AM
I id it by hand steering the ship  and it slow.    I try the map and it speed up movement.    We all have silimar route,  but it hard to mark it where u want it.  the snippet easy to pain.    I never manage to get it fully auto,  I had 80% of it done,  Papua and sea market was  done by hand.
Title: Re: KRYZ's Monger Farmer
Post by: Kryz on August 11, 2015, 06:58:36 PM
Realistically the sea market will Always be done manually, optimistically Papua can be done.
Title: Re: KRYZ's Monger Farmer
Post by: The Ghost on August 12, 2015, 11:37:48 AM
When I was doing quest none stop, I had a guy park at the Sea market to open gate into my boat.
Title: Re: KRYZ's Monger Farmer
Post by: KaliOfLS on August 12, 2015, 11:43:49 AM
I posted in your debug thread an example of how to handle movement.    I will see if I can add some journal checking for running into crap.   You will have to handle what to do if it is an enemy or a roadblock... also do you assume the boat is facing north?   I *might* be able to handle boat facing direction as well
Title: Re: KRYZ's Monger Farmer
Post by: The Ghost on August 12, 2015, 01:55:59 PM
I use the world map to sail.  it pick up the direction he want to go.   
Title: Re: KRYZ's Monger Farmer
Post by: KaliOfLS on August 12, 2015, 05:49:16 PM
World map to sail?  I am a noob.

However, I found a way to determine the direction.  I am sorta working on it when I have time to come up with a cool sailing sub.

Maybe one that even uses 'turn right' instead of 'stop', 'right'  Hahaha  We'll see though.
Title: Re: KRYZ's Monger Farmer
Post by: The Ghost on August 12, 2015, 06:35:25 PM
Someone had make it easier to make world map 
;http://www.scriptuo.com/index.php?topic=12913.0;topicseen
Title: Re: KRYZ's Monger Farmer
Post by: Kryz on August 12, 2015, 09:32:55 PM
the world map is still using a less efficient path. IMO the server line on the opposite of moonglow is a 10 tile move from moonglow skara trinsic jhelom britain. You don't have to move around islands. And its open seas to vesper, Floating Emporium and 1 turn to papua. World Map wont work as the goal is to go off the map off the right end, but we can do this efficiently with coordinate movement based on where we are. go to 10 tiles from server line, stop go forward for 10s stop. tada.
Title: Re: KRYZ's Monger Farmer
Post by: KaliOfLS on August 12, 2015, 09:37:52 PM
Did you look at the move sub I posted in your other thread?  It is similar to what you wanted to do, so you can maybe get some idea from it.
Title: Re: KRYZ's Monger Farmer
Post by: Kryz on August 18, 2015, 11:57:06 PM
Yes, Sorry been a busy couple of weeks at work, I promise I am still working on this! ;) Thank you Kali, took the time to read up on the usefulness of namespaces as well. I probably will not use them initially, but I would like to retroactively go and include them in all of my subs in the future. Always love looking at how other people accomplish the same thing. One thing I might point out, I know yours is just an example of how you might go about it, but it is lacking the diagonal directions. imagine how many more quests you could accomplish if you moved in two directions at once! But really I like the way you wrote it. I'm going to read up on your timeout before I get back to writing.
Title: Re: KRYZ's Monger Farmer
Post by: KaliOfLS on August 19, 2015, 12:07:34 AM
Yeah, I had no idea you could go diagonally when I wrote that.  Would be much better.  hrmm, good thoughts though. 
Title: Re: KRYZ's Monger Farmer
Post by: The Ghost on August 19, 2015, 11:31:58 AM
the world map is still using a less efficient path. IMO the server line on the opposite of moonglow is a 10 tile move from moonglow skara trinsic jhelom britain. You don't have to move around islands. And its open seas to vesper, Floating Emporium and 1 turn to papua. World Map wont work as the goal is to go off the map off the right end, but we can do this efficiently with coordinate movement based on where we are. go to 10 tiles from server line, stop go forward for 10s stop. tada.

It all in the way to set up the map.  I was very efficiency and cutting on steering time.  Let see what ur build can do.   3 years ago I had to have to 2 builds and 2 account to get quest done faster.   One to read the create and fill up order and other move the boat.   This is when I was novice in building.   
Title: Re: KRYZ's Monger Farmer
Post by: Kryz on August 19, 2015, 08:24:42 PM
Evening Ghost, i'm slow and still new to this, but I think I can make a solid quest-er here soon enough. As far as using an in-game map, yours is the most efficient I have seen. The efficiency point I am making is a 30 tile spot where you can abuse the server lines, in a more efficient way then having to go around Bucs. This method would not work with an in-game map, as they don't allow you to cross the edge server boundaries.

(http://i.imgur.com/H5WEDKS.png)

A:Britain
B: Jhelom, Skara, Trinsic
C: Moonglow
Optional: FE, Vesper, Papua

From where C actually is (off screen) it is a straight shot West to the vesper server line.
Two Straight movements to Pillar for Papua.
C is very close to the FE which will always be manually done.

As opposed to the 9 or so points and having to backtrack to reset the route, etc. This should be a much easier/less bug prone method of completing the quest from a script. Also as an added bonus, I can approach the pillar nearest to B for a shorter route to papua if I want to with 0 obstacles there.
Title: Re: KRYZ's Monger Farmer
Post by: Endless Night on August 20, 2015, 05:22:21 AM
That is an interesting take on the map .. I might have to do some stats on quests /time vers the other more traditional bucs method.
Title: Re: KRYZ's Monger Farmer
Post by: The Ghost on August 21, 2015, 08:05:15 AM
Kryz,  let me return home and I will post the route I utilize.   They ar no need to go across the land.  We can get to all destination in less then 5 min. 
Title: Re: KRYZ's Monger Farmer
Post by: Kryz on April 29, 2016, 09:57:58 PM
Been a hot minute since I have looked at/updated this.

1.0d Released largely automated, buggy, quirky, still a work in progress.

Sorry its taken so long to update, I took a break from UO for a bit due to RL work and time restrictions.

Still in progress, a menu system, a more efficient route, have to work out some bugs with the RNG on the papua route, etc.

Any help would be appreciated!
Title: Re: KRYZ's Monger Farmer
Post by: The Ghost on April 30, 2016, 03:59:27 AM
To go to Papua, is to use the Pile near Occlo/New haven.  Once you cross recall to the dock and transfer back.   Been years since I fully did the quest. 
Title: Re: KRYZ's Monger Farmer
Post by: Kryz on April 30, 2016, 08:49:59 AM
Yeah it is currently written to do that automatically, but I only ran it a couple of times where I landed papua, so I didnt test it well for that. The issue is it does not always place you in the same area. So when trying to return it sometimes hits land, sometimes hits the wrong side of the pillar and freaks out etc. Ill probably end up creating a larger safe zone for the pillar and a better route away from land on the t2a side.
Title: Re: KRYZ's Monger Farmer
Post by: Kryz on May 11, 2016, 04:29:23 PM
Anyone willing to give this a look and clean it up a bit? Will be a few weeks before I can work with it again.

End goals:
Fully Automate this silly quest.
Create a working menu system that tracks how many fish you have left.
Create options to drop quest if out of fish/ignore the current crate go find another monger and get a new crate.
Create options on if you want to complete just certain areas ie skip papua.
Defend self if you randomly run into WEle or Serp, etc

Title: Re: KRYZ's Monger Farmer
Post by: Hitech on May 22, 2016, 06:59:51 PM
Quote
Special Thanks:
       -HiTech for his script, which I turned into 3 edited subs for this script.
       -Orngrimm for his beak string apart sub  
       -Trailmyx for his amazing runebook subs

New here, seen the monger post had to check it out. thanks for mentioning me, glad i could help.
i released a bugy verson for full auto monger quest completion in my original script post.
Its only setup to work for me so editing will be required for anyone else, maybe it will give you ideas.

I look forward to testing out your script when i get access to downloads
Title: Re: KRYZ's Monger Farmer
Post by: Kryz on May 27, 2016, 09:31:54 PM
!Hitech! Your a huge inspiration for this work, that I have been neglecting. Would love to see your version, I will have to search it out. I am a huge collector of barnacle hued items, particularly armor, so just the ability to automate dredging hook collection started this work. To get the current version to work you will have to finangle the global variables a bit, was kind of mid release pre-cleanup when I released the current version. Planned on making a menu system to set up runes/key/etc before the release but life is keeping me real busy atm. When I get the time I am coming back for this though. I want to finish my collections ;) Nice to see you join the Scriptuo community!