Settings are saved in files.
That works in that case but there are many other cases. Suppose one Mojo has run and been changed and shut down by itself. Then the same thing with the second. Then you start the first. Then you start the second. See the problem?Then, when the already open Mojo with changes detects a new Mojo on the network, it can send over all the settings at the same time, and update the new Mojo.
Exactly. That's the problem. In general, it seems to be impossible to know which file is newer because the files have timestamps based on clocks in different computers.I suppose then you have to start thinking about which Mojo has more up to date information, and the order in which Mojos are opened.
I think probably the only way to do this is with a central repository for the info which means Mojo would no longer be 100% peer to peer. I'd like to hold on to peer to peer as a "100% design invariant" for the life of the project, if that's possible.
This problem has already arisen with mouseover and I handled it by creating entirely separate settings on each PC. I'm inclined to think the solution lies in that direction.
The basic idea would be, each computer is the master repository for settings that were created on that computer. As a result, each Mojo could have different settings.
It would be easier for me if each computer is the master repository for its own instances of WoW, but then maybe it starts to get complicated for the user.
Connect With Us