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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
Yodous
Apprentice


Joined: 23 Jun 2004
Posts: 105
Location: Poland

PostPosted: Mon Sep 21, 2009 8:57 am   

[3.10a] Enable/disable class when connecting
 
Hi there.
I couldn't find any similiar topic so I'vre created a new one.
When I create some class and mark it as 'Enable class when connecting' nothing happpens when I connect to mud.
Think that this could be some error.
Best regards
Reply with quote
Yodous
Apprentice


Joined: 23 Jun 2004
Posts: 105
Location: Poland

PostPosted: Mon Sep 21, 2009 9:00 am   
 
I found that when I first start the session, the option 'Enable class when connecting' runs as it should. But if i choose 'disconnect' from menu and then use 'reconnect' then it won't work.
I think it should. Am I right?
Reply with quote
Yodous
Apprentice


Joined: 23 Jun 2004
Posts: 105
Location: Poland

PostPosted: Mon Sep 21, 2009 9:20 am   
 
Seems that the same "bug?" is with 2.37 version
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: Tue Sep 22, 2009 5:14 pm   
 
I believe this is the behavior that has existed since Zmud.
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Tue Sep 22, 2009 6:34 pm   
 
Rahab is correct. The "enable when connecting" is left over from zMUD compatibility issue.

The idea with "Reconnect" is that you are connecting to an existing session that has just been recently disconnected for a short time. You don't necessarily want to reset all of your scripts when you are reconnecting to an existing session on a MUD.

You need to put the scripts for enabling your class (like #T+ classname) in an OnConnect event.
Reply with quote
Yodous
Apprentice


Joined: 23 Jun 2004
Posts: 105
Location: Poland

PostPosted: Thu Sep 24, 2009 3:11 pm   
 
Thx.
That was what I did - use onConnect event.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum 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