|
Raidlog Import version: 0.5.7.0 Settings: How should the raids be created? - One Raid ber boss In which XML-Format is the string? - EQdkp Plus XML Format Should an extra raid be created for attendency? - No Addon: MRT 0.25.2-Beta Settings: Enabled attendance fix for the EQdkp Plus Raid-Log-Import 0.5.6.3
After parsing datas from my last raid, I found this bug. On the players attendance page, after passing the Bosses an Raids page, players attendance doesnt work properly. But only if player has left during raid and someone else was invited on his place.
Well, how it happened: After inserting the dkp string, 6 raids are created (we use per boss attendance, so 1 raid per boss) Boss1(20:09:00->20:28:59,bosskill: 20:20:00) Boss2(20:28:59->20:36:59,bosskill: 20:29:00) Boss3(20:36:59->20:47:00,bosskill: 20:37:00) Boss4(20:47:00->21:19:00,bosskill: 21:09:00) Boss5(21:19:00->21:45:00,bosskill: 21:35:00) Boss6(21:45:00->21:52:00,bosskill: 21:47:00) This works correctly so lets go to another page how it was ingame PlayerA was in raid from 20:09:00 to 21:00:00 (attended first 3 bosses !!!) PlayerB was in raid from 21:02:00 to 21:52:00 (attended last 3 bosses !!!) It means, after PlayerA had lef, PlayerB was invited on his place. PlayerC was in raid from 20:09:00 to 21:15:00. (attended first 4 bosses !!!) It means, PlayerC had left and no one was invited on his place.
how the parser calculated the attendance PlayerA - only first and second boss PlayerB - third!!! , fourth, fifth but without sixth boss!!! PlayerC - first, second, third, fourth boss - everything ok
It looks like when someone else come to place after player who left, the parser sets attendance wrongly ( you can see it is set 1 place sooner -> third to second, second to first, first to zero?, sixth to fifth, fifth to fourth, fourth to third ... etc ). But PlayerC works ok and all other players too (they had attended all 6 bosses and parser set attendance properly)
I tried to find the bug, but currently I dont have so much time, so could someone help me with it?
PS: Also, indexes of players start from 2 not from 1 but it doesnt do any harm.
|