Residual Database after removal

Posted by Saerataga on Fri 01 Sep 2023 10:35 PM — 5 posts, 11,126 views.

#0
Hey Guys,

Occasionally, I find a player that improperly uninstalled previous MUSHclient and then they get a messed path because the old database is still there when they install our MUSHclient version.

Is there a fast a clean way I can tell people to fix that if they run into that situation?

Thanks!
Australia Forum Administrator #1
I'm not sure what paths you are referring to, but they may well be in the SQLite3 database: mushclient_prefs.sqlite

This sort of stuff is in it:


sqlite3> select * from prefs;

...

DefaultLogFileDirectory|C:\Program Files (x86)\MUSHclient\logs\
DefaultMacrosFile|
DefaultNameGenerationFile|names.txt
DefaultOutputFont |FixedSys
DefaultTimersFile |
DefaultTriggersFile|
DefaultWorldFileDirectory|C:\Program Files (x86)\MUSHclient\worlds\
NotepadQuoteString|> 
PluginList|
PluginsDirectory|C:\Program Files (x86)\MUSHclient\worlds\plugins\
StateFilesDirectory|.\worlds\plugins\state\

...



You can remove or rename that file (mushclient_prefs.sqlite) and everything should go back to the defaults.

(Do that while MUSHclient is not running).
Amended on Sat 02 Sep 2023 05:20 AM by Nick Gammon
USA Global Moderator #2
Quote:
Occasionally, I find a player that improperly uninstalled previous MUSHclient and then they get a messed path because the old database is still there when they install our MUSHclient version.


I don't understand what this means. What do you mean by "improperly uninstalled" and why would that have anything to do with "a messed up path"?
#3
Sorry guys I should've said msp path.

I think people sometimes just delete their old mushclient instead of uninstall or they don't and install our download at a different location and database used for msp path is their old one.
USA Global Moderator #4
The path used by the msp.xml plugin can be updated using the set_msp_path command.

The example given inside the plugin is:

set_msp_path d:\muds\mushclient\msp