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

Log on
Register forum user name Search FAQ

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]  State files in wrong place

State files in wrong place

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


Posted by Xinefus   (106 posts)  [Biography] bio
Date Thu 03 Sep 2020 07:52 PM (UTC)
Message
Fiendish said:

Put it anywhere that isn't protected by the OS. Many people choose their desktop or documents folders. I make my installer default to the desktop for this reason.


Ok, I don't know what I did and not even sure how it is happening. I installed MUSHClient on my desktop.

Everything was going fine until I decided to delete my state files to do a fresh load of a world.

My state files started to save within the folder that I have placed inside of 'world/plugins'. Is this something that is supposed to happen? They are not in a 'state' folder, just mixed in with my plugins and now interfere with loading up of my client. Is there a way to revert this?

Any advice?
[Go to top] top

Posted by Xinefus   (106 posts)  [Biography] bio
Date Reply #1 on Thu 03 Sep 2020 10:30 PM (UTC)
Message
I did a fresh install and it's all working right again. But is there something I need to avoid to prevent that from happening again?
[Go to top] top

Posted by Nick Gammon   Australia  (22,556 posts)  [Biography] bio   Forum Administrator
Date Reply #2 on Fri 04 Sep 2020 05:18 AM (UTC)

Amended on Fri 04 Sep 2020 05:19 AM (UTC) by Nick Gammon

Message
The function GetGlobalOptionList shows all the global options (the default location of the state files is one of those):


for k, v in pairs (GetGlobalOptionList()) do 
  Note (v, " = ", GetGlobalOption(v)) 
end


In my case:


...
PluginList = 
PluginsDirectory = C:\Program Files (x86)\MUSHclient\worlds\plugins\
StateFilesDirectory = .\worlds\plugins\state\
...


Possibly the option StateFilesDirectory was (somehow) changed to be something different.

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


1,165 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]