Page 1 of 5
Event oddity, non CTD
Posted: Wed Mar 01, 2006 1:51 pm
by Sym
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?
Posted: Wed Mar 01, 2006 2:10 pm
by gimp
noticed same with krust macro, some other events seem to not trigger anymore too, while some does trigger
Re: Event oddity, non CTD
Posted: Wed Mar 01, 2006 2:10 pm
by fearless
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.
Posted: Wed Mar 01, 2006 2:15 pm
by gimp
"You have entered Zone Name."
is current text, not changed.
Posted: Wed Mar 01, 2006 2:21 pm
by Sym
I checked the wording first thinking it might have changed, but it still says
Or whatever zone it is.
Posted: Fri Mar 03, 2006 7:35 pm
by nils
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
Posted: Fri May 12, 2006 4:13 am
by dewey2461
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.
Posted: Fri May 12, 2006 5:17 am
by nils
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.
Posted: Fri May 12, 2006 2:34 pm
by dewey2461
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 ....
Posted: Mon Nov 20, 2006 3:30 pm
by devestator
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
Re: Event oddity, non CTD
Posted: Mon Jul 07, 2025 4:57 am
by xyilla
Re: Event oddity, non CTD
Posted: Mon Jul 07, 2025 5:34 am
by xyilla
Re: Event oddity, non CTD
Posted: Mon Jul 07, 2025 5:35 am
by xyilla
Re: Event oddity, non CTD
Posted: Mon Jul 07, 2025 5:36 am
by xyilla
Re: Event oddity, non CTD
Posted: Mon Jul 07, 2025 5:37 am
by xyilla