Page 1 of 1
Odd / Inconsistant #event bug
Posted: Fri Jun 11, 2004 10:19 am
by nahsalot
The following tidbit of code works correctly for other people, but not for me. (the event never fires, and it appears that it's just me, and I have no idea why that might be)
#event Zone "You have entered #1#."
sub main
/echo Testing
:loop
/doevents Zone
/goto :loop
/endmac
Sub Event_Zone
/echo Zoned
/endmac
/return
Posted: Fri Jun 11, 2004 12:09 pm
by Lax
Are you trying it with VANILLA mq2? e.g. no modifications/customizations/extra plugins?
Posted: Sat Jun 12, 2004 10:17 am
by nahsalot
Yes, I have copy and pasted this to multiple people too, and we are all using vanilla MQ2, it doesn't work for me, but works for another (copy and paste).
Some of my events work, others don't, this is extremely odd.
I have a tell command parsing macro that works, but this doesn't.
Also, all my events were firing twice, but when I removed #*# from one of the events, and replaced it with #1#, it stopped. All sorts of weird freaky things.
Posted: Sat Jun 12, 2004 2:11 pm
by Drumstix42
Have you tried recompiling?
Posted: Sun Jun 13, 2004 1:22 am
by MacroFiend
Have you tried removing those quotes around the event definition?
Posted: Sun Jun 13, 2004 7:56 am
by nahsalot
this gets more troubling, this bit of code works perfectly for me prior to running one of my macros.
After I run this other macro though, when I try to run this test code as a completely seperate macro, it stops working.
Posted: Sun Jun 13, 2004 1:05 pm
by Lax
that's more believable, assuming a bug in blech. and you're using the latest ZIP, in a brand new directory? Blech version Lax/Blech 1.5.1?
Posted: Mon Jun 14, 2004 12:42 pm
by MacroFiend
Are the events named the same in the real and test macro? If so, try renaming one event to TestZone and see if the macros still cause conflicts. Perhaps something isn't clearing the event definitions when you kill off the other macro.