Monolith DKP

Monolith DKP

687k Downloads

V2.0.3 Syncing

DoomeD1982 opened this issue ยท 27 comments

commented

I have migrated the dkp tables to 2.0.3, mine all show correctly, I had 1 other player install new version, it wiped his tables, and resynced.

I have 125 players in my list, his is only showing 79 players, and some players have negative numbers. I have had him wipe the tables again, and resynced with the same results.

commented

can you post your saved variables file here please

commented

MonolithDKP.lua.txt
It didnt seem to like me upload a .lua file, so i added a .txt to the end of it.

commented

Have one of your players that is not receiving all entries turn on script error reporting (/console scriptErrors1) and start a sync. If they get any errors please post them here.

commented

i had 2 users do the console and resync, neither received errors

commented

Are both of them showing a green indicator? Also have both of them type the following command:
/script print(MonDKP_Meta.Loot.Havyn.current); print(MonDKP_Meta.DKP.Havyn.current)

commented

ME: 54,19
Player1 54, 19
Player2 54, 19

commented

Ok. So as far as them only having 79 players. They only populate players that have received DKP in the history. So if the player isn't on the list, they haven't received an entry that has that player in it. As far as the improper values go, were you using 2.0.0 or 2.0.1 prior to this release?

commented

Also, please post the saved variables file you used to migrate (the one before the migration occurred) if you have that backed up.

commented

we did upgrade to 2.0.0 had issues, so we rolled back, i thought correctly. as of yesterday we were running 1.6.3

commented

Ok I think I see your issue. The premigration file already has entries indexed. You're duplicating indexes which is why they're not being sent. One moment.

commented

so delete gm note as well ?

commented

Use the below file, change to just .lua. And redo the migration with that. Make sure everyone else wipes their tables

MonolithDKP.lua.txt

commented

Yes you'll need to delete the GM note to do the migration process.

commented

I have migrated the data, the 2 players i asked earlier are now not responding of course.
another officer and the GM came online, officer had mentioned no profiles loaded, i redid the sync button, and then his was updated.

so i think everything is working now, just i have 125 in my list and other officers have 96. is there a way to sync everything with officers, or just have to wait for one of those players to get a dkp, and if the other officers are in a raid and im not, they would have to add them to the dkp addon ?

commented

Yes they can add those players manually to their list if they like. The way the new system works, no profiles are actually transferred in order to minimize data transfers. They are simply created as needed. You could hypothetically award them 1 DKP and then delete that entry. That would create entries with those players names in them and create profiles. Glad it was a localized issue.

commented

the last issue i guess, and probably not causing an issue, but when syncing, it lists the officers it syncing to twice, including me.
image

commented

Ya, That's because officers are queried twice during the sync process (first officers sync with each other, then the initiating officer pushes to all other players). I just reuploaded 2.0.3 with some niche bug fixes that have been identified that only adds a player to the list if they aren't already on it.

commented

so that means tamlin is syncing to me, and im syncing to tamlin ?

commented

Yes. If he has entries that you do not, he sends them to you so that when you sync the rest of the guild you have all possible entries to send rather than having all officers push their data which can cause disconnects (flooding addon channels is a big no no)

commented

With regards to officers, seeing their name doesn't necessarily mean you're sending or receiving data to/from them. Officers always respond in sync requests no matter what so they're almost always appear on the list if they're online (only exception is if they recently sync'd. There's a 60 second cooldown on syncing). Non-officers only respond IF their meta tables differ from yours. Thus initiating a broadcast for what it is they're missing.

commented

we missing Broadcast DKP Table, Broadcast loot History and Broadcast DKP History

commented

the system syncs when it needs to now, so those arent needed anymore

commented

one guy have 135 dkp i give him 10 and other officers only see 135

commented

If you updated to 2.0.3, all other players must be on that version. It can not talk to older versions by design.

commented

and everyone is using 2.0.3, have them click the green circle it should resync

commented

ok ty