I am in the process of writing a simple DKP addon for my guild, I will just record automatically attendance and loots with a way to edit both.
I thought at the beginning to just have one of the people in the raid to use the addon. The problem I am running into is if that guy disconnects, I am at risk of losing all the info for the night.
Any idea of a simple solution to work around that ? I toyed with two ideas :
- Is there a way I could manually force the commit on file of my AceDB ? Not sure if possible.
- A client / server solution where the server is re-negociated periodically, if server crashes one of the client takes over... Strikes me as quite complicated...
A further problem you might have with the model of a single person running the addon (even if you can force a commit to AceDB), is the said person disconnects during a boss encounter, you would lose any data that would have been gathered for the time of the disconnect.
The only way I can see found this is to have multiple people running the addon, and sync between them, so if Person A disconnects, Person B should still be collecting data, at the point Person A reconnects it will ask for a sync, and will compare with Person B and retrieve the infomation its missing, however as you mention in OP "a simple DKP addon" this would maybe overcomplex (especially if your happy to manually edit the saved infomation)