Problem has been solved by running a different macro... the original fishing macro still doesn't work as far as I know...
However, I am attempting to add on to the fishing macro that DOES work (sorry to the original poster, I don't remember your name) and I am having trouble. I've included notes on where the problems are.
Code: Select all
| - Fish.mac -
|
#turbo
#include routines.mac
#event SpellFizzle "Your spell fizzles"
#event BrokenPole "You can't fish without "
#event Interupt "Your spell is interupted."
Sub Main
/cleanup
:Fish
/if $invpanel==TRUE /press i
/call CheckPole
/if $return==1 /return
/doability Fishing
/delay 105
|This script is specific to Plane of Valor. If anyone wishes to do so, a #include could be
|written to figure out what zone you are in, then use the appropriate set of items.
|As it stands, I am only PoV flagged, so thus don't care about the others yet.
/if "$cursor(name)"=="Tattered Cloth Sandal" /destroy
/if "$cursor(name)"=="Rusty Dagger" /destroy
/if "$cursor(name)"=="Fish Scales" /destroy
/if "$cursor(name)"=="Fresh Fish" /destroy
/if "$cursor(name)"=="Crawdad" /destroy
/if "$cursor(name)"=="Vallorian Discus" /autoinventory
/click left auto
|This next line isn't working.... I'd like someone to tell me why, and if possible, how to fix it.
/if "$char(hp,pct)"<75 /call GateMe
/goto :Fish
/return
Sub CheckPole
/if "$equip(primary,name)"~~"Brell's Fishin' Pole" /return 0
/if $invpanel==FALSE /press i
/stand
/click right inv slot 0
/delay 11s
/autoinventory
/press i
|Sit command to follow prevents people from seeing that you are actually casting
|your line. So unless a GM actually views your activity logs, you are just plain AFK.
/sit
/return 0
|For those of us who enjoy fishing in the Planes, especially PoN, PoV, and PoS...
|this part of the code causes you to heal yourself and gate if you are under 75% Health.
|Change the spell name if you are not a cleric, and remove the whole piece if you
|cannot cast Gate.
Sub GateMe
/stand
/cast "Celestial Healing
/delay 7s
/cast "Gate"
/delay 15s
/if "$char(state)"=="STAND" /sit
/camp desktop
Sub Event_SpellFizzle
/call GateMe
|Added next line because I had an event in which the macro didn't auto recast a new pole.
|When I stood to cast, the macro continued as normal.
Sub Event_BrokenPole
/call CheckPole
[/code]