• You've discovered RedGuides 📕 an EverQuest multi-boxing community 🛡️🧙🗡️. We want you to play several EQ characters at once, come join us and say hello! 👋
  • IS THIS SITE UGLY? Change the look. To dismiss this notice, click the X --->
  • There was a hotfixtoday. DO NOT PATCH EQ or you'll have to wait for the next MQ update (no ETA). You can play without the patch by using patchme or autologin (preferred). If you've already patched EQ you're out of luck, unless you find someone to share the older eqgame.exe (don't ask here).

Question - casting a spell help. (1 Viewer)

redplayer

New member
Joined
Jan 3, 2016
RedCents
hello, havent played in 6 months or so, just got this compile.

has spell casting been changed ? any time i cast a spell the macro ends.

for EG: below is my buff pet sub.....soon as it starts to cast the mac ends...no crashing, just says " the current macro has ended "
(its doing this on any spell i try to cast.)

sub Buffpet

/echo Hasting The Pet...

/if (!${Me.Pet.ID}) /return

:here

/if (${Me.PctMana}<5) {
/if (${Target.ID}) /return
/delay 5s
/goto :here
}

/if (${Target.ID}) /return

/if (${Me.Pet.ID} && !${Me.PetBuff[${petbuff}]}) {

/echo Casting ${petbuff}...

/call Cast ${petbuff} gem7 5s
}

/return

update, after trying up date and casting a few more times... the error im getting is > subroutine661 wasnt found < ... any help here? im not sure what this is about..i have a file called spell_routines.inc in my macro folder.any spell i cast gives this error.

any help would be appreciated .
 
anyone able to paste in a couple of there casting lines so i can try to see the difference and fix mine?.thanks in advance.

ive reinstalled my system,reinstalled mq..and i still have the same problems.

at this point its becoming a frustrating waste of time to even play eq with mq2.
 
use
Rich (BB code):
/Casting ${petbuff} gem7
your making a call to spell routines in your current example which is why your getting that subroutine 661 not found

here is a casting example
Rich (BB code):
#Turbo 
#Event go "#*# next (#1#)#*#"
|#include spell_routines.inc 

Sub Main 

/declare nextCler outer 
/declare waitTime int outer 
/declare chatNum int outer
/declare castNum int outer
/declare manaNum int outer

/if (!${Defined[Param0]}) {
    /echo [CH] You must Specify the next cleric
    /echo [CH] Unloading
    /endmacro
}

/if (!${Defined[Param1]}) {
    /echo [CH] You must Specify the delay
    /echo [CH] Unloading
    /endmacro
}

/if (!${Defined[Param2]}) {
    /echo [CH] You must Specify the CH rot channel number
    /echo [CH] Unloading
    /endmacro
}

/if (!${Defined[Param3]}) {
    /echo [CH] You must Specify the mana report channel number
    /echo [CH] Unloading
    /endmacro
}


/varset castNum 0
/varset nextCler ${Param0}
/echo Next Cleric in Rotation: ${nextCler}
/varset waitTime ${Param1}
/echo CH Rot Timer: ${waitTime}s
/varset chatNum ${Param2}
/echo Chat Number: ${chatNum}
/varset manaNum ${Param3}
/echo Mana report Chat: ${manaNum}


:loop
/doevents
/goto :loop 

/return 


Sub event_go(line, who)
    
/if (${who.Equal[${Me}]}) {
      /varset castNum ${Math.Calc[${castNum}+1]}
      /echo Waiting ${waitTime} seconds to CH
      /delay ${waitTime}s
      /stand
      /chat ${chatNum} CH on %t, next (${nextCler})   
      /casting "Complete Healing"
      /delay 12
      /sit
      /if (${castNum}==5) {
            /g ${Me.PctMana} Mana
            /rs ${Me.PctMana} Mana
            /chat ${manaNum} ${Me.PctMana} Mana
            /varset castNum 0
      }

}

/return
 
Question - casting a spell help.

Users who are viewing this thread

Back
Top