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


Joined: 03 Jan 2006
Posts: 7

PostPosted: Thu May 06, 2010 4:56 am   

How to make Multi-Session Window used same pkg independently?
 
I was a ZMUD user years ago. Now when I back to the MUD world, I found there is a new client CMUD.
But I found ZMUD & CMUD is quite different, can someone tell me how to achieve same scenario in CMUD?

ZMUD Scenario:
In ZMUD, I have multi-chars in one game. Usually I create a single .mud file, which has all the features, such as chat, hp/mana status, walk alias etc.
I will also create multi-chars in the ZMUD but associate same .mud file. The only different username & password in the character setting. I can easily double click each character icon and login to the MUD game. Echo session window is totally independent(no any variable sharing between different window while the life time, but of course when you close the ZMUD, only latest session window will save to .mud. It doesn't matter to me). I can also have different title at each session window, then I can easily switch between different character.

I try to achieve same scenario in CMUD, but failed. Sad
Story #1:
I created multi-chars in the CMUD, but associate with same .pkg file. It seems work, but the big problem is the title of session window are all same, because we can only set the window name in the package file. I tried to put %char or #CH at the window name, but doesn't work.

Story #2:
I created multi-chars in the CMUD and associate with different .pkg file. All the character also include a another common .pkg file. It resolved the title issue. But the each session window is NOT independent. When I #VAR or #T at any window. all the other window will get impacted.

Can some one give me a good way to resolve the problem?
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: Thu May 06, 2010 5:48 pm   
 
Use method 2, with a change. Create a separate session for each character. Create a separate package for all the common code which is loaded by each session. In one of the sessions, click settings. In the Package Editor, click Edit|Package Properties. Near the bottom, there is a checkbox labeled "Shared". That means all sessions will share the settings. Uncheck that box. From now on, each simultaneous session will open its own copy of the package.
Reply with quote
wanghom8228
Newbie


Joined: 03 Jan 2006
Posts: 7

PostPosted: Fri May 07, 2010 1:42 am   
 
Thanks a lot Rahab.
What is the publish type i should set for the common package?
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