hmm this macro crash my everquest client .. .. why?

Need some help with that macro you're working on or aren't quite sure how to get your macro to do something? Ask here!

Moderator: MacroQuest Developers

nolife
decaying skeleton
decaying skeleton
Posts: 9
Joined: Tue Apr 13, 2004 2:49 pm

hmm this macro crash my everquest client .. .. why?

Post by nolife » Thu Apr 15, 2004 2:13 pm

i tryed finding out .. but i cant find it ..

Code: Select all

Sub Delay(DelayTime) 
     /delay @DelayTime 
/return 

Sub Main
:MainLoop
	/call concolor     
/goto :MainLoop 

Sub concolor 
   /call DefineEvents    
   /call GotoNPC 
   /keypress c   
   /call delay 100  
/return 

Sub DefineEvents 
   #event BLUE "looks like you would have the upper hand" 
/return 

Sub GotoNPC 
       /keypress F8
/return 

Sub Event_BLUE 
       /keypress hot3
/return 
would be really cool if some can test it .. or finding the error ..

normaly is the macro much bigger .. but i made a smaller with the "crashing" part

ml2517
a grimling bloodguard
a grimling bloodguard
Posts: 1216
Joined: Wed Nov 12, 2003 1:12 am

Post by ml2517 » Thu Apr 15, 2004 3:41 pm

Umm wow, you seriously need to look around and figure out macro structure. You have some very goofy shit going on in that macro.

I'm not even going to try to fix it for you because it needs to be totally re-written. Go through the depot and take a look how things are done. Once you move some things around then re-post it and I'll try to help you.

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Thu Apr 15, 2004 3:45 pm

Firstly, there is no /keypress f8 or C, use the list from the readme.. http://macroquest2.com/includes/manual.php#keypress

/keypress consider
/keypress targetnpc

That could be the cause of the crash, /keypress was known to crash on invalid keys previously. I'm pretty sure that got fixed though
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0