Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.
 Entire forum ➜ MUSHclient ➜ Plugins ➜ Global plugins

Global plugins

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Norbert   USA  (61 posts)  Bio
Date Sun 29 Aug 2004 02:28 AM (UTC)
Message
I'm trying to make a global plugin that will store all my characters information. This way I don't have to log on a character or switch to a different world to see what a particular characters stats are. But I've run into a problem. Loading the plugin as a global plugin only loads it in each opened world. This gives me more than one saved state file, and the information I want is still spread out in different worlds. Is there a way to have the a global plugin only use one save state file? If not is there a way to have a plugin from one world save state to a different world's save state, I would still have more than one state file but at least they would all be the same.

Norbert

-Do you know what it's like to fall in the mud and get kicked... in the head... with an iron boot?
Of course you don't, no one does. It never happens
It's a dumb question... skip it.
Top

Posted by Flannel   USA  (1,230 posts)  Bio
Date Reply #1 on Mon 30 Aug 2004 03:39 AM (UTC)
Message
You could write your values out to a text file (using FSO, search for it in VBScript Docs). And then read them on initialization.
Or a database file, for that matter. (theres a plugin in the plugin section for an example)

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
Top

Posted by Poromenos   Greece  (1,037 posts)  Bio
Date Reply #2 on Tue 31 Aug 2004 08:31 PM (UTC)
Message
I wanted to do something like that too, and I decided the best way was to use a database. That way, you can edit the database in Access or wherever, and still access it from MUSHclient globally.

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
Top

Posted by Nick Gammon   Australia  (23,120 posts)  Bio   Forum Administrator
Date Reply #3 on Sun 05 Sep 2004 05:15 AM (UTC)
Message
Go to this page:

http://www.gammon.com.au/mushclient/plugins/

Look for "MUD database" (plugin). That is an example of using a database. That would be accessible from every world, and probably more stable.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


16,639 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.