Event oddity, non CTD

A forum for reporting bugs NOT related to custom plugins.

Moderator: MacroQuest Developers

Sym
Macro Author
Macro Author
Posts: 107
Joined: Mon Jul 05, 2004 2:45 am
Contact:

Event oddity, non CTD

Post by Sym » Wed Mar 01, 2006 1:51 pm

Code: Select all

#event Zoned "You have entered#*#"

Sub Event_Zoned()

| misc code

/return
The actual code doesn't seem to matter, but the event isn't being caught at all. This particular sub has been working previously for 6 months or more, did something change or is there an issue with some events since patch? I haven't tried with the 20060301 zip yet, I'll have to do that tonight. Anyone else seeing this, or is it just me?

User avatar
gimp
a grimling bloodguard
a grimling bloodguard
Posts: 584
Joined: Fri Oct 29, 2004 9:28 am
Location: internet

Post by gimp » Wed Mar 01, 2006 2:10 pm

noticed same with krust macro, some other events seem to not trigger anymore too, while some does trigger
Last edited by gimp on Wed Mar 01, 2006 2:14 pm, edited 1 time in total.

User avatar
fearless
Not a Psychic
Posts: 2684
Joined: Wed Mar 10, 2004 3:52 pm

Re: Event oddity, non CTD

Post by fearless » Wed Mar 01, 2006 2:10 pm

Sym wrote:

Code: Select all

#event Zoned "You have entered#*#"

Sub Event_Zoned()

| misc code

/return
The actual code doesn't seem to matter, but the event isn't being caught at all. This particular sub has been working previously for 6 months or more, did something change or is there an issue with some events since patch? I haven't tried with the 20060301 zip yet, I'll have to do that tonight. Anyone else seeing this, or is it just me?
Has the text changed? They did that recently for the you are dead message.
Reading . . . it's not just for me.

[url=http://www.catb.org/~esr/faqs/smart-questions.html]How To Ask Questions The Smart Way[/url]
[quote="Ccomp5950"]Fearless showed me the light, you too shall learn.[/quote]

User avatar
gimp
a grimling bloodguard
a grimling bloodguard
Posts: 584
Joined: Fri Oct 29, 2004 9:28 am
Location: internet

Post by gimp » Wed Mar 01, 2006 2:15 pm

"You have entered Zone Name."

is current text, not changed.

Sym
Macro Author
Macro Author
Posts: 107
Joined: Mon Jul 05, 2004 2:45 am
Contact:

Post by Sym » Wed Mar 01, 2006 2:21 pm

I checked the wording first thinking it might have changed, but it still says

Code: Select all

You have entered Nexus.
Or whatever zone it is.

nils
a grimling bloodguard
a grimling bloodguard
Posts: 565
Joined: Wed Jul 30, 2003 10:02 pm

Post by nils » Fri Mar 03, 2006 7:35 pm

I changed my macro's a while back to use

Code: Select all

/if (${Zone.ID}!=${currentZone}) /call Event_Zoned
and then in the event

Code: Select all

/varset currentZone ${Zone.ID}

dewey2461
Contributing Member
Contributing Member
Posts: 1759
Joined: Sun Apr 17, 2005 1:53 am

Post by dewey2461 » Fri May 12, 2006 4:13 am

This works well for everything but evac's where the ZoneID is the same.

Can anyone offer any work arounds that might capture the fact that we've evaced?

Thanks
Dewey.

nils
a grimling bloodguard
a grimling bloodguard
Posts: 565
Joined: Wed Jul 30, 2003 10:02 pm

Post by nils » Fri May 12, 2006 5:17 am

You could use the casting text of your succor or evac spell to trigger the event or right after whatever triggers your evac spell put a delay and then /call Event_Zoned.

dewey2461
Contributing Member
Contributing Member
Posts: 1759
Joined: Sun Apr 17, 2005 1:53 am

Post by dewey2461 » Fri May 12, 2006 2:34 pm

Someone suggested using ${Me.ID} in addition to ${Zone.ID} which so far works pretty well. I'm going to go test it in an instanced zone and see what happens there.

Psudeo code would be like ....

Code: Select all

	/declare LastMeID int outer ${Me.ID}
on a timer

Code: Select all

sub Event_Timer(Timer, OrigValue)

    /if (${Timer.Equal[ZTime]}) {
        /if (${Zone.ID} != ${LastZone} or ${Me.ID} != ${LastMeID}) /call Event_Zoned
        /varset ${Timer} ${OrigValue}
    }

/return
And the Zoned event handler

Code: Select all

Sub Event_Zoned()
	/varset LastMeID ${Me.ID}
        /varset LastZone ${Zone.ID}

       | Event code here ....


devestator
a ghoul
a ghoul
Posts: 121
Joined: Thu Feb 27, 2003 4:25 pm

Post by devestator » Mon Nov 20, 2006 3:30 pm

Here is a work around

Code: Select all

#Event zoneinit "LOADING#*#"
#Event Zoned "[MQ2] You have entered #*#"

Sub Event_zoneinit
  /echo You have entered ${Zone.Name}
/return

Sub Event_Zoned
  | CODE FOR ZONE
/return

xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: Event oddity, non CTD

Post by xyilla » Mon Jul 07, 2025 4:57 am


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: Event oddity, non CTD

Post by xyilla » Mon Jul 07, 2025 5:34 am


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: Event oddity, non CTD

Post by xyilla » Mon Jul 07, 2025 5:35 am


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: Event oddity, non CTD

Post by xyilla » Mon Jul 07, 2025 5:36 am


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: Event oddity, non CTD

Post by xyilla » Mon Jul 07, 2025 5:37 am