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


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  General
. . -> [Subject]  Open worlds in startup list?

Open worlds in startup list?

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


Posted by Wanghom8228   (19 posts)  [Biography] bio
Date Wed 17 Nov 2010 01:17 PM (UTC)
Message
I found this item in the File Menu, but not sure how to use it. It is gray out.
[Go to top] top

Posted by Fiendish   USA  (2,514 posts)  [Biography] bio   Global Moderator
Date Reply #1 on Wed 17 Nov 2010 06:13 PM (UTC)
Message
http://mushclient.com/scripts/doc.php?dialog=IDD_GLOBAL_PREFSP1

https://github.com/fiendish/aardwolfclientpackage
[Go to top] top

Posted by Wanghom8228   (19 posts)  [Biography] bio
Date Reply #2 on Thu 18 Nov 2010 03:46 AM (UTC)
Message
Thanks a lot, Fiendish.
One more question, are we able to open a startup list from file??

for example:
MushClient -startup:Game1.xml

[Go to top] top

Posted by Nick Gammon   Australia  (22,973 posts)  [Biography] bio   Forum Administrator
Date Reply #3 on Thu 18 Nov 2010 04:05 AM (UTC)
Message
Not exactly, but you could update the database before opening MUSHclient. Something along these lines:


sqlite3 mushclient_prefs.sqlite "UPDATE prefs SET value = 'a.mcl*b.mcl*c.mcl' WHERE name = 'WorldList'"

mushclient.exe


The world files to open are in the 'WorldList' database row, as file names separated by asterisks.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Wanghom8228   (19 posts)  [Biography] bio
Date Reply #4 on Thu 18 Nov 2010 05:08 AM (UTC)
Message
I see.
Thanks for good suggestion.

But I don't have sqlite3 in my box. So I actually can backup the mushclient_prefs.sqlite for different usage.

Right?

for example:
> copy /y game1.sqlite mushclient_prefs.sqlite
> muschclient.exe

BTW again: Is there any way can load the sqlite file directly?

such as: mushclient.exe game1.sqlite?
[Go to top] top

Posted by Nick Gammon   Australia  (22,973 posts)  [Biography] bio   Forum Administrator
Date Reply #5 on Thu 18 Nov 2010 05:58 AM (UTC)
Message
Get from here:

http://www.sqlite.org/download.html

Right now it is:

http://www.sqlite.org/sqlite-3_7_3.zip

MUSHclient itself has SQLite3 access built into it. However my suggestion was so you could set it up in advance to open certain files.

However a normal user would simply use the Global Prefs configuration window to add whatever file s/he wanted.


Wanghom8228 said:

BTW again: Is there any way can load the sqlite file directly?

such as: mushclient.exe game1.sqlite?


No.

- 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.


14,512 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 HostDash]