You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wouldn't it make more sense to clean DB on boot and then rely on callbacks from [playerfactions]?
I guess the challenge here is that there are several forks of [playerfactions] around.
For the mt-mods fork I have proposed adding registration this way: mt-mods/playerfactions@a73f7cb
The impact is probably not massive in the amount of factions there are per area, so I don't know if it is worth adding this feature with backward compat for forks that don't support it.
What do you think?
The text was updated successfully, but these errors were encountered:
Who? Me? I don't want to watch all repositories, thus please fell free to @ me when an action is needed.
clean DB on boot and then rely on callbacks from [playerfactions]?
Having callbacks would surely help. But we're still at risk of out-of-sync without a full check when there's a server error where one of the mod's data was saved but not the other.
Who? Me? I don't want to watch all repositories, thus please fell free to @ me when an action is needed.
Anybody interested in participating on this repo. This is nothing urgent.
clean DB on boot and then rely on callbacks from [playerfactions]?
Having callbacks would surely help. But we're still at risk of out-of-sync without a full check when there's a server error where one of the mod's data was saved but not the other.
I imagine out-of-sync wouldn't last long. This isn't something that changes a lot and isn't likely to be used during time sensitive actions like battles. I could be mistaken.
This seems like an inefficient way to clear out disbanded factions:
areas/hud.lua
Lines 25 to 36 in c2e3d07
Wouldn't it make more sense to clean DB on boot and then rely on callbacks from [playerfactions]?
I guess the challenge here is that there are several forks of [playerfactions] around.
For the mt-mods fork I have proposed adding registration this way:
mt-mods/playerfactions@a73f7cb
The impact is probably not massive in the amount of factions there are per area, so I don't know if it is worth adding this feature with backward compat for forks that don't support it.
What do you think?
The text was updated successfully, but these errors were encountered: