Ran into an issue with one of the users of my MC Plugins wasn't loading icons properly, among other errors indicating something was wrong with his folder structure and/or permissions.
Upon investigation, I noticed that
GetInfo(60) reported (incorrect)
C:\Users\Billy\Documents\MUSHclient\worlds\plugins\
And GetInfo(66) reported (correct)
C\Users\B.money\Documents\MUSHclient\
This was due to him copying his MC directory from one computer to another, which had a different user name, but both resided in the Documents folder of the user.
MC worked fine, up until my plugin (which uses GetInfo(60) to get info) tried to load icons in his Plugins folder, or otherwise open files (self updating).
Now if the plugins directory as set in global options was a valid directory (exists) I could see that this is working as intended, but does MC check to see if it exists and send an error message if the plugin folder is invalid?
Not really a bug if it's working as intended, but seems prudent to check for a valid plugin folder if it's going to give the info out in GetInfo(60).
Just thought i'd report it.. Thanks!
Upon investigation, I noticed that
GetInfo(60) reported (incorrect)
C:\Users\Billy\Documents\MUSHclient\worlds\plugins\
And GetInfo(66) reported (correct)
C\Users\B.money\Documents\MUSHclient\
This was due to him copying his MC directory from one computer to another, which had a different user name, but both resided in the Documents folder of the user.
MC worked fine, up until my plugin (which uses GetInfo(60) to get info) tried to load icons in his Plugins folder, or otherwise open files (self updating).
Now if the plugins directory as set in global options was a valid directory (exists) I could see that this is working as intended, but does MC check to see if it exists and send an error message if the plugin folder is invalid?
Not really a bug if it's working as intended, but seems prudent to check for a valid plugin folder if it's going to give the info out in GetInfo(60).
Just thought i'd report it.. Thanks!