[Home] [Downloads] [Search] [Help/forum]

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Plugins
. . -> [Subject]  Global plugins
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

Global plugins

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


Posted by Norbert   USA  (61 posts)  [Biography] 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.
[Go to top] top

Posted by Flannel   USA  (1,230 posts)  [Biography] 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.
[Go to top] top

Posted by Poromenos   Greece  (1,037 posts)  [Biography] 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!
[Go to top] top

Posted by Nick Gammon   Australia  (21,417 posts)  [Biography] 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
[Go to top] 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.


4,287 views.

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

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

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

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]