unload kill mq fixes it for a short time. also if i camp out of eq and start over again it stays 1fps. Only once I kill mq and restart will it go back to normal
all thats being used durring this time is #Event healtank "heal tank"
and the buff check and wait loop. Rest of the stuff is not when i see the issue.
here is the rats nest of a macro im using, any suggestions?
Code: Select all
|CLERIC TANK.mac
#Event Loading "You have been slain by a"
#Event healtank "heal tank"
#Event healcleric "heal cleric"
#Event healgroup "heal group"
#Event attack "attack this"
#event wait "cleric stop"
#event end "cleric end"
#Event See "You can't see your target"
#event Fizzle "Your spell fizzles!"
#event follow "cleric follow me"
#event stopfollow "cleric do not follow me"
#event Interrupt "Your casting has been interrupted!"
#event Interrupt "Your spell is interrupted."
|#event Recover "You haven't recovered yet..."
|#event Recover "Spell recovery time not yet met."
#event Resisted "You target resisted the "
#event OutOfMana "Insufficient Mana to cast this spell!"
#event OutOfRange "Your target is out of range, get closer!"
#event Stunned "You cannot cast while stunned"
#event Standing "You must be standing to cast a spell"
#event Collapse "Your gate is too unstable, and collapses."
#event target "you must first select a target for this spell"
#turbo
Sub Main
/declare mytimer timer
/varset mytimer 3s
/press esc
/press esc
/call wait
sub attack
/attack on
:Loop
/if n $target(distance)>=20 /sendkey down up
/if n $target(distance)>=18 /sendkey down up
/if n $target(distance)<=10 /sendkey up up
/if n $target(distance)<=8 /sendkey up up
/if "$target()"=="TRUE" /if n $target(distance)>=20 /attack on
/face fast
/face look
/doevents
/if $char(ability,"Bash")>0 /if n $target(distance)<=15 /if n $v30==0 /doability "Bash"
|/if @mytimer==0
/if n $char(gem,"Yaulp VI")!=-2 /call castspell
/if "$target()"=="TRUE" /goto :Loop
/face look
/attack off
/call wait
sub castspell
/echo Yaulp incoming
/doevent flush
/sendkey up up
/delay 5
/call cast "Yaulp VI"
/varset mytimer 62s
/return
Sub Event_Enraged
/varset v30 1
/attack off
/echo Atk off
/sendkey down up
/sendkey up up
/face
/return
Sub Event_See
/press down
/face fast
/press down
/return
Sub Event_Offrage
/attack on
/return
Sub Event_Gain
/attack off
/endmacro keep keys
Sub Event_Loading
/endmacro keep keys
Sub Event_healtank
/attack off
/echo healing tank
/doevents flush
/sendkey up up
/delay 5
/sendkey up up
/target tank
/delay 5
/call cast "complete healing"
/delay 14
/call wait
Sub Event_healcleric
/echo healing cleric
/doevents flush
/sendkey up up
/delay 5
/sendkey up up
/target myself
/delay 5
/call cast "supernal elixir"
/delay 14
/return
Sub Event_healgroup
/echo healing group
/g healing group stay close
/doevents flush
/sendkey up up
/delay 5
/sendkey up up
/target myself
/delay 5
/call cast "word of replenishment"
/delay 14
/return
Sub Event_attack
/assist tank
/call attack
Sub Event_stopfollow
/attack off
:waitloop
/echo stoping follow
/delay 5
/press left
/doevents
/call wait
Sub Event_follow
/attack off
:waitloop
/echo waiting for commands
/delay 5
/target tank
/delay 5
/follow
/doevents
/call wait
Sub wait
/attack off
:waitloop2
/echo waiting for commands
/delay 5
/doevents
/goto :waitloop2
Sub Event_end
/echo stoping
/endmacro
Sub Cast(SpellName)
/if n $char(gem,"@SpellName")==0 /return CAST_UNKNOWNSPELL
:StartCast
/if n $char(gem,"@SpellName")<0 /call WaitForRefresh "@SpellName"
/cast "@SpellName"
| :WaitCast
| /call ClearReturnValue
| /doevents Fizzle
| /doevents Interrupt
| /doevents Recover
| /doevents Standing
| /doevents OutOfRange
| /doevents OutOfMana
| /doevents Resisted
| /if n $return==CAST_RESTART /goto :StartCast
| /if n $return>=CAST_RESTART /return $return
| /if "$char(casting)"=="TRUE" /goto :WaitCast
/return CAST_SUCCESS
Sub WaitForRefresh(SpellName)
| :LoopWaitForRefresh
| /delay 0
| /if n $char(gem,"@SpellName")<0 /goto :LoopWaitForRefresh
/return
Sub ClearReturnValue
/return CAST_SUCCESS
Sub Event_Fizzle
/return CAST_RESTART
Sub Event_Interrupt
/return CAST_RESTART
Sub Event_Recover
/delay 5
/return
Sub Event_Standing
/stand
/return CAST_RESTART
Sub Event_Collapse
/return CAST_RESTART
Sub Event_OutOfMana
/return CAST_OUTOFMANA
Sub Event_Select
/endmacro keep keys
Sub Event_OutOfRange
/return CAST_OUTOFRANGE
Sub Event_Stunned
/return CAST_STUNNED
Sub Event_Resisted
/return CAST_RESISTED
Sub Event_Stunned
/varset CastStatus CAST_STUNNED
/return
Sub Event_Resisted
/varset CastStatus CAST_RESISTED
/return

