About Us
Products
Purchase
Downloads
Support
Forums
Contact Us
Site
 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
tkl1129
Beginner


Joined: 04 Jan 2010
Posts: 11

PostPosted: Sun Jul 18, 2010 4:20 am   

Multi Char in Cmud
 
Since I'm getting start to love Cmud after learn it for few months...I decide to use Cmud to replace my old old 4.62 system

but beside the Proxy socks network problem, I also found another porblem..

When I using different sessions to open Char in same games...and load the same package file...
the problem is comming.......

Different sessions...but share the same variables...
when the Window 1 Char receive pattern make variables...
the window 2 char 's var also changed....

so the solution should be use 1 set of package file...but generate many sets of var depends on which character is logging...
this could be the temporary solution, but should it be the only solutions?

Because my old old stupid 4.62 can open many 4.62...so each system could be seperate...

My purpose is use 1 Smart Cmud to replace many stupid 4.62...
but if use cmud even the function more power, but cannot handle few charters at the same time easily....it could a headache for me :D

1. Can store proxy ip and connect more than 2 at the same time
2. Can use the same package file seperatly...if really cannot, I could make it by myself :D

so problem one is more important for me....it cannot fix it..
maybe I need to use 1 Cmud....and many 4.62 again..-_-"

Thanks alot
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Sun Jul 18, 2010 1:16 pm   
 
You can probably replace over half your variables with #LOCAL variables. Variables of that type are specific to the script they are running in and make no changes to the package.

For all the variables you need to save between sessions use 2 packages for each character. The easiest way is to create each character session with its own package. Then add a package to each of them with a global module. That shared package with the global module should contain triggers, aliases, macros, etc. that make up your environment of scripts. The variables will automatically be created in the character specific package as they are assigned.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
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