Fishing Macro w/ steaks

Weland

Grandmaster
This macro will fish a target location and cut the fish into steaks then organize your bags so all the junk will be in a bag and the fish steaks go to your fishing bag.

\\\\\\\\\\Make sure you delete anything between this\\\\\\\\\\\\\\\\\\\\\\

usetype 0xdbf \\\\\\\\\\\\Uses your fishing pole\\\\\\\\\\\\\
waitfortarget 15000
targettile 5210 787 -5 \\\\\\\\\\\\Create a test macro and record the target area you will use\\\\\\\\\\\\\\\\\\\\
pause 1000
usetype 0xf52 \\\\\\\\\\Uses your knife on a fish type\\\\\\\\\\\\\\\\\\\\\\
waitingfortarget 15000
targettype 0x9cc
pause 1000
usetype 0xf52 \\\\\\\\\\\\\\\This one is a duplicate but for some reason the first one doesn't work\\\\\\\\\\
waitingfortarget 15000
targettype 0x9cc
pause 1000
usetype 0xf52
waitingfortarget 15000
targettype 0x9cf
pause 1000
usetype 0xf52
waitingfortarget 15000
targettype 0x9ce
pause 1000
usetype 0xf52
waitingfortarget 15000
targettype 0x9cd
pause 1000
usetype 0xf52
waitingfortarget 15000
targettype 0x170d
pause 1000
msg '[organizeme' \\\\\\\\\\\\\\\Organizes items in your inventory\\\\\\\\
canceltarget \\\\\\Crucial to avoid target lock during world saves\\\\\\\\\\

If you don't know what I mean by using a test macro then follow the below steps:

1) Create a new macro named test
2) Click record
3) Double click your fishing pole
4) Click where you want to fish and if you can fish there
5) Copy just the targettile from the test macro and paste over line 3

That is the only customization you should have to do to this macro between characters and locations.
 

Dimok

Master
Is there any way to make it just fish in front of you so you can walk to a new spot when the fish stop biting?
 

Hexoplex

Grandmaster
@targettileoffset -1 -1 0

does the tile directly NW of my current location. playing with the first 2 numbers should get you what you are looking for.

. . .
. x .
. . .
 

Dimok

Master
@targettileoffset -1 -1 0

does the tile directly NW of my current location. playing with the first 2 numbers should get you what you are looking for.

. . .
. x .
. . .
Awesome Thank you! I knew I had one in my lumberjack macro I just couldn't figure out which line of code it was. Now If I can figure out how to get it to whistle and tell me the fish stopped biting, I'll be set.
 

Hexoplex

Grandmaster
if @injournal 'no more fish' 'system'
[e whistle
endif

*change the 'no more fish' to what it says, i haven't fished in a bit
 

Dimok

Master
Weird, won't let me fish using targettile offset. But it will let me fish using targettile last. So that is how Ill do it.
 

Dimok

Master
Does it give a message when you try with tileoffset?

Sent from my Lenovo B8080-F using Tapatalk

targettype: item or mobile not found

I've tried messing with the coords. even copy/pasted the coords from the lumberjack macro I use all the time which cuts the tree directly to your west (-1 0 0)

This one works, you simply have to move when you notice the fish aren't biting and double click a new spot, then click play again:

useobject 'righthand'
waitfortarget 15000
targettile 'last'
pause 100
usetype 0xf52
waitingfortarget 15000
targettype 0x9cc
pause 1000
usetype 0x40c68bce
waitingfortarget 15000
targettype 0x9cc
pause 1000
usetype 0xf52
waitingfortarget 15000
targettype 0x9cf
pause 1000
usetype 0xf52
waitingfortarget 15000
targettype 0x9ce
pause 1000
usetype
waitingfortarget 15000
targettype
pause 1000
usetype 0xf52
waitingfortarget 15000
targettype 0x170d
pause 1000
msg '[organizeme'
canceltarget
 

Hexoplex

Grandmaster
Hmm, you are using the argument of 'targettileoffset' but the message is 'targettype' not found? Odd. I will be home in about an hour. I'll see if I can write one from scratch. You want it to fish a spot dry and whistle when done so you can move, correct? Anything else special you'd like to include?

Sent from my Lenovo B8080-F using Tapatalk
 

Hexoplex

Grandmaster
targettype: item or mobile not found

I've tried messing with the coords. even copy/pasted the coords from the lumberjack macro I use all the time which cuts the tree directly to your west (-1 0 0)

This one works, you simply have to move when you notice the fish aren't biting and double click a new spot, then click play again:

useobject 'righthand'
waitfortarget 15000
targettile 'last'
pause 100
usetype 0xf52
waitingfortarget 15000
targettype 0x9cc
pause 1000
usetype 0x40c68bce
waitingfortarget 15000
targettype 0x9cc
pause 1000
usetype 0xf52
waitingfortarget 15000
targettype 0x9cf
pause 1000
usetype 0xf52
waitingfortarget 15000
targettype 0x9ce
pause 1000
usetype
waitingfortarget 15000
targettype
pause 1000
usetype 0xf52
waitingfortarget 15000
targettype 0x170d
pause 1000
msg '[organizeme'
canceltarget
Leaving work in 30 min, I can work with what you've provided and get it to work how you'd like it to.
Looks like it doesn't do anything terribly special, fishes, cuts fish into steaks, then puts the steaks in a pouch.
I should be able to make it to where you'll just have to walk to the new fishing spot, without stopping the macro.
 

Dimok

Master
Leaving work in 30 min, I can work with what you've provided and get it to work how you'd like it to.
Looks like it doesn't do anything terribly special, fishes, cuts fish into steaks, then puts the steaks in a pouch.
I should be able to make it to where you'll just have to walk to the new fishing spot, without stopping the macro.
I believe the "last tile" might work even better. You can hit any spot around you without having to worry about resetting location on the macro or only fishing in certain directions. I still haven't been able to get the whistle part right. I ended up copy pasting from the lumberjack macro but for some reason it ALWAYS passes the journal check and does it. Not a huge deal either, once I notice my fisher arm isn't swinging, I move to a new spot. But if you're the type of guy that likes to clean up inefficient macros, I think this one could use a few tweaks overall.
 

Hexoplex

Grandmaster
Here is the macro the fishing macro, test her out and let me know if it works properly for you.
You will need the fishing pole equipped
You will need a dagger in your backpack
Fish will be turned into steaks as they are fished up
If you run out of fish in the spot, you will whistle and give a head message (only you will see this)
If you become over weight,you will scream and get a different head message (only you will see this)

THIS FISHES 3 TILES DIRECTLY TO YOUR NORTH


//Dagger 0xf52

//Fish 1 0x9cc

//Fish 2 0x9cf

//Fish 3 0x9cd

//Fish 4 0x9ce

clearjournal

if @injournal 'That container' 'system'

msg '[e scream'

headmsg 'Damn, I be full of Fish' '1888'

clearjournal

endif

if @findtype 0x9cc 'any' 'backpack' 1

@usetype '0xf52' 'any' 'backpack' 1

waitfortarget 1000

@Target! 'found'

pause 600

endif

if @findtype 0x9cf 'any' 'backpack' 1

@usetype '0xf52' 'any' 'backpack' 1

waitfortarget 1000

@Target! 'found'

pause 600

endif

if @findtype 0x9cd 'any' 'backpack' 1

@usetype '0xf52' 'any' 'backpack' 1

waitfortarget 1000

@Target! 'found'

pause 600

endif

if @findtype 0x9ce 'any' 'backpack' 1

@usetype '0xf52' 'any' 'backpack' 1

waitfortarget 1000

@Target! 'found'

pause 600

endif

canceltarget

useobject 'righthand'

waitfortarget 1500

targettileoffset! '0' '-3' '-3'

pause 600

if @injournal 'seem to be biting' 'system'

msg '[e whistle'

headmsg 'Move Your Ass!' '1545'

clearjournal

endif

pause 9000

replay
 
Last edited by a moderator:

Dimok

Master
OK, so I've used the new macro pretty extensively. It works, and doesn't. For some reason most spots, even with a clear view of water to the NE, N, and NW, it just will not cast a line. It stops at the "where would you like to fish" line. But in certain spots, it works just fine. I can't quite understand why, but I've taken to just running back and forth to those certain spots.
 

Hexoplex

Grandmaster
You can adjust the first 2 numbers after targettileoffset! to adjust where the line lands. Leave the last number (-3) alone though.
* 9th line from the bottom

Sent from my Lenovo B8080-F using Tapatalk
 

Kraden

Grandmaster
This macro will fish a target location and cut the fish into steaks then organize your bags so all the junk will be in a bag and the fish steaks go to your fishing bag.

\\\\\\\\\\Make sure you delete anything between this\\\\\\\\\\\\\\\\\\\\\\

usetype 0xdbf \\\\\\\\\\\\Uses your fishing pole\\\\\\\\\\\\\
waitfortarget 15000
targettile 5210 787 -5 \\\\\\\\\\\\Create a test macro and record the target area you will use\\\\\\\\\\\\\\\\\\\\
pause 1000
usetype 0xf52 \\\\\\\\\\Uses your knife on a fish type\\\\\\\\\\\\\\\\\\\\\\
waitingfortarget 15000
targettype 0x9cc
pause 1000
usetype 0xf52 \\\\\\\\\\\\\\\This one is a duplicate but for some reason the first one doesn't work\\\\\\\\\\
waitingfortarget 15000
targettype 0x9cc
pause 1000
usetype 0xf52
waitingfortarget 15000
targettype 0x9cf
pause 1000
usetype 0xf52
waitingfortarget 15000
targettype 0x9ce
pause 1000
usetype 0xf52
waitingfortarget 15000
targettype 0x9cd
pause 1000
usetype 0xf52
waitingfortarget 15000
targettype 0x170d
pause 1000
msg '[organizeme' \\\\\\\\\\\\\\\Organizes items in your inventory\\\\\\\\
canceltarget \\\\\\Crucial to avoid target lock during world saves\\\\\\\\\\

If you don't know what I mean by using a test macro then follow the below steps:

1) Create a new macro named test
2) Click record
3) Double click your fishing pole
4) Click where you want to fish and if you can fish there
5) Copy just the targettile from the test macro and paste over line 3

That is the only customization you should have to do to this macro between characters and locations.

is there a version of this that jsut asks you for the target when you start
 

Randale

Neophyte
Here the macro with boot ... gm fishing over night with boat ....


////////////////////////
COPY MACRO FROM ANY PERSON,
JUST WITH 'FORWARD ONE'.
CHECK UOMAP FOR NICE LONG WAY
HAVE FUN
////////////////////////



//

//Dagger 0xf52
//Fish 1 0x9cc
//Fish 2 0x9cf
//Fish 3 0x9cd
//Fish 4 0x9ce
clearjournal
if @injournal 'That container' 'system'
msg '[e scream'
headmsg 'Damn, I be full of Fish' '1888'
clearjournal
endif
if @findtype 0x9cc 'any' 'backpack' 1
@usetype '0xf52' 'any' 'backpack' 1
waitfortarget 1000
@Target! 'found'
pause 600
endif
msg 'forward one'
if @findtype 0x9cf 'any' 'backpack' 1
@usetype '0xf52' 'any' 'backpack' 1
waitfortarget 1000
@Target! 'found'
pause 600
endif
if @findtype 0x9cd 'any' 'backpack' 1
@usetype '0xf52' 'any' 'backpack' 1
waitfortarget 1000
@Target! 'found'
pause 600
endif
if @findtype 0x9ce 'any' 'backpack' 1
@usetype '0xf52' 'any' 'backpack' 1
waitfortarget 1000
@Target! 'found'
pause 600
endif
canceltarget
useobject 'righthand'
waitfortarget 1500
targettileoffset! '0' '-3' '-3'
pause 600
if @injournal 'seem to be biting' 'system'
msg '[e whistle'
headmsg 'Move Your Ass!' '1545'
clearjournal
endif
pause 9000
replay
 
Top