Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
hpoonis2010
Adept


Joined: 18 Jun 2019
Posts: 279

PostPosted: Tue May 19, 2020 8:06 am   

Cannot activate Class via TEMP trigger
 
This seems to be a bit of an issue.

Further to the DB ident debacle, I made no provision for a MUD IDENT misfire (Ident what?; You fail, etc), so I decided that the best solution was to fire a temporary trigger from my ID alias. Thus I have

alias LID, which has the following script

lore %1

#TEMP {+----} {#T+ EqIdent}

My EqIdent class has #ECHO "Ident Open" in the activate to let me know if and when it fires.

Imagine my surprise when nothing happened. So, to the trigger commands, I added:

#ECHO "BANG" to see if the temp trigger was firing:

#TEMP {+----} {#ECHO "BANG";#T+ EqIdent}

and, imagine my even greater surprise when I see 'BANG' appear on screen in shiny sky blue text. So the trigger works fine but there seems to be a problem somewhere.

Is there some fundamental setting I am unaware of?

Interestingly enough, when the ID command failed ('You fail'), and I tried the ID again

+----------------------------------etc
BANG
BANG
| Keywords ... etc

Was displayed. How is that possible?

It actually seems that, by not calling the class ( and therefore allowing its activate script to function) from outside a trigger the activate script does not function.

So


ident %1

#T+ EqIdent

will work, but

ident %1
#TEMP {+----} {#T+ EqIdent}

has a problem. The class enables, as all the triggers/scripts under it function correctly. The DEACTIVATE script also fails to work.

Window hangs are commonplace with using the database.
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4692
Location: Pensacola, FL, USA

PostPosted: Tue May 19, 2020 12:50 pm   
 
This is sounding more and more like a corruption issue.
My local activate/deactivate scripts are working when a temp issues a #T+/- command.
Try exporting your settings to XML and recreate your session.pkg file.
_________________
Discord: Shalimarwildcat
Reply with quote
hpoonis2010
Adept


Joined: 18 Jun 2019
Posts: 279

PostPosted: Thu May 21, 2020 7:55 pm   
 
It was working. Not so sure it is these days.

Maybe it is just that I have been staring at it for too long.
Reply with quote
hpoonis2010
Adept


Joined: 18 Jun 2019
Posts: 279

PostPosted: Mon May 25, 2020 3:25 pm   
 
The things that have ceased to work in the last weeks have been running at one point or another so compatibility report will show no errors - which is exactly as expected. NO errors. The strange but pathetic message that indicates one should syntax check things that were once working is meaningless.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net