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.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ Plugins ➜ 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 page


Posted by Xinefus   (106 posts)  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?
Top

Posted by Xinefus   (106 posts)  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?
Top

Posted by Nick Gammon   Australia  (23,165 posts)  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
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.


11,630 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.