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
Wanderer


Joined: 18 Jun 2019
Posts: 86

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: 4156
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: Shalimar#3679
Reply with quote
hpoonis2010
Wanderer


Joined: 18 Jun 2019
Posts: 86

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
rahulsaha
Newbie


Joined: 24 May 2020
Posts: 1

PostPosted: Mon May 25, 2020 7:22 am   
 
Hello,
Currently only way to see which triggers are broken you need to run compatibiltity report. Namely first one has to guess that something is broken, and then do unneccessary extra three mouse-clicks.
I'd like to see uncompiled settings stand out in left pane so i can immediately see if something is broken. Different colour like with disabled settings, or icon next to name, anything.
Next, I'd like for cmud to run syntax check immediately I click on a setting. Clicking on a setting and then CTRL+K is extra unneccessary motion.
Also, when I click Save changes or Cancel changes, I also want for cmud to run syntax check, so that if I messed something up, I want to know immediately so that I can fix it. Clicking on save settings and then CTRL+K, extra unnecessary motion.

thanks,
rahulsaha.
Reply with quote
hpoonis2010
Wanderer


Joined: 18 Jun 2019
Posts: 86

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