|
wanghom8228 Newbie
Joined: 03 Jan 2006 Posts: 7
|
Posted: 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.
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? |
|
|
|
Rahab Wizard
Joined: 22 Mar 2007 Posts: 2320
|
Posted: 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.
|
|
|
|
wanghom8228 Newbie
Joined: 03 Jan 2006 Posts: 7
|
Posted: Fri May 07, 2010 1:42 am |
Thanks a lot Rahab.
What is the publish type i should set for the common package? |
|
|
|
|
|
|
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
|
|