MUSHClient and Mapper on two different computers

Posted by Gigel on Sun 27 Jan 2019 06:21 PM — 2 posts, 9,500 views.

#0
I've come back to MUD after almost 20 years :) and I like the MUSHclient. I've started a new char on Aardworf and play it when I have some time.

My problem is that I usual play from 2 different computers and didn't found a way to sync everything. I tried using GoogleDrive but that didn't work. Right now I realized that my Mapper pluggin have some areas mapped on my Laptop and other areas on my Desktop , depending from where I've played. Is there a way to combine this data ?

How should I setup the MUSHclient so that I can play from 2 different PCs ?

Thanks,
Gigel
USA Global Moderator #1
It is possible to do this with cloud synchronizing platforms like Dropbox or Google Drive or Microsoft OneDrive or Apple iCloud, but you must be aware of the technical limitations of how those platforms operate and also how the mapper plugin interacts with your hard drive in order to be happy using them.

Extremely important things that you need to know for this:
  1. The mapper database is likely not in a safely synchronizable state until you disconnect from the game or quit MUSHclient. This is true for several reasons, but the main reason for the Aardwolf mapper is that the plugin uses a SQLite read/write mode that creates temporary interstitial files that contain some of the data that eventually but not immediately gets put into your mapper database file. Copying the database file before those temporary bits have been merged into it leaves the database in a semi-corrupted state until it copies again after the local changes are finalized.
  2. You have no control over when your cloud synchronizing software chooses to update files in other places based on your local changes.
  3. Your cloud drive service assumes that newer file timestamps are always better than older ones, regardless of whether older changes had actually been propagated to all locations yet or not.


If you make a change to the database in one location, your cloud drive service may or may not share a temporarily corrupted state. It may also share a good state but take a long time to do so. You may move over to another computer that has not received the new state yet and start making changes to the older database there. By virtue of your second set of changes being newer than your first set of changes, your first set of changes will just get thrown away in favor of the old version that only has your second set of changes in it.


Ways to make cloud synchronizing services work better for you:
  1. Before you move to another computer, at minimum disconnect yourself from the game by typing "quit". Aardwolf's mapper plugin knows to close and finalize the database when it detects that the connection to the game has been closed. The best thing to do is to quit MUSHclient entirely.
  2. After you've quit MUSHclient and before you leave the first computer, make sure that your cloud synchronizing service has actually detected and uploaded your changes.
  3. Before you run MUSHclient on your second computer, make sure that your cloud synchronizing service has detected the remote changes and updated your files on the second computer.


Quote:
Right now I realized that my Mapper pluggin have some areas mapped on my Laptop and other areas on my Desktop , depending from where I've played. Is there a way to combine this data ?

Technically yes, you can find instructions online for how to merge two sqlite databases into one.