|
m_orb Beginner
Joined: 13 Jan 2003 Posts: 28
|
Posted: Sun Nov 14, 2004 5:35 pm
Sharing databases between characters |
I play currently 2 chars on the same MUD. In zMUD the chars are in two separate folders and do not inherit any settings one from another.
Now my question is whether there is a way to share only database files between them or not.
I have a database of players' characters who have introduced to me during gameplay. I use some scripts to add them automatically while introducing to me, to store and change their titles or to manually remove the chars from database.
I was forced to prepare a special export and import scripts. The scripts are not that handy however and I have to keep an eye all the time wheter all changes are already updated at the other database.
It would be much easier to act on the same database of player chars so I would be grateful for any suggestions on how to achieve this.
m_orb |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Sun Nov 14, 2004 9:17 pm |
You might want to try the #GVARIABLE. This creates and updates a variable stored in the global.mud file. It is accessable by all your characters on all your muds. It works as normal with @variableName syntax, but I believe the variableName="whatever" syntax won't work with it.
|
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
|
nexela Wizard
Joined: 15 Jan 2002 Posts: 1644 Location: USA
|
Posted: Tue Nov 16, 2004 7:43 am |
Quote: |
Now my question is whether there is a way to share only database files between them or not. |
If your talking about Databases made using the database module in zmud then yes it is possible just open up and browse to the dir containing one same goes for maps. |
|
|
|
m_orb Beginner
Joined: 13 Jan 2003 Posts: 28
|
Posted: Tue Nov 16, 2004 4:58 pm |
Thanks for trying to help out.
I am going to work on and check the #GVARIABLE. At the moment have no idea how to make use of it.
nexela, I think you are right in case you use only one database. When you work on two databases i.e. character's database and herb database and have to switch between them with #DBLOAD then the path you have chosen manualy is lost. However I am going to double check it again.
m_orb |
|
|
|
|
|