ScriptUO
Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started by: _C2_ on February 04, 2011, 04:25:45 PM
-
So I have a script that I use for fishing and I am looking to make it super easy for users but finding that i am having trouble figuring out how to make it fish out every possible spot without gettign a million fish are not biting here messages. Currently, you hard code where to cast and that works great. i have spots where you fish out 3-4 spots and it hits them and moves on perfectly. No boats.. land only.
Thinking ahead to a public thoughtless version because let's face it hard coding spots is going to be a nightmare for folks that are not comfortable with easy uo is going to lead to a million PMs of i cannot figure it out will you make spots for me requests and a lot of how does this work questions desipite how solid a write-up is.
The tile scanning to make sure it is water is not an issue...
it is how do i get it to be smart about fishing multiple spots that do not overlap from the same location. I was thinking of doing what TM's fishing script does and fish or check each direction / diagonal in each direction but there will be marked locations where none of those auto find.
The easiest solution, which i do not care for, is to make it fish one spot and move on.
Any creative ideas?
-
I think 4x4 fishing is the only way to fly.
I have often thought find the right two boat locations and 4x4 til dry - then move 16 forward and 4x4 again - then move back 16 and restart.
-
im doing a land based fisher though no boats.
-
ahhh - sorry - didnt read closely - on a peninsula (or 1 tile island) can you ever get 4 spots?
-
ahhh - sorry - didnt read closely - on a peninsula (or 1 tile island) can you ever get 4 spots?
yes, you can but it is rare. it is when you are close to the middle of where four areas meet. typically it is 2 or 3 spots. 2 is the most common
-
Just take a look at how I do it in the fishers I've posted. If you use a 4x4 grid and journal scan, it's pretty easy to manage fishing up everything without many failed fishing attempts due to no resources.
-
Look at my miner (I believe i gave you a copy once) and how it calculates 8x8 grids so that it doesn't hit the same grid twice
-
Look at my miner (I believe i gave you a copy once) and how it calculates 8x8 grids so that it doesn't hit the same grid twice
now that i may have to check out!!! I think u still have it up in a quite place