I've had a few reports now of people's Main Player missing from the 'player' table, need to implement a sanity check either throughout a raid, or at the very end of the raid to make sure that all "players" are accounted for or the playback system just gets confused, as do timeline matches.
Two things that need to change:
GameSessionEndPatch need to send all RAID_REVIEW.trackingPlayers to the server to be checked against the database in the mod.ts file.
Express Server Position Route need to modify this to send a object structured like this { [key: string] : positions[] }> back to the client instead of positions[][]. Currently I'm doing "guess work" in the web client to determine who matches up with who in the Legend, it's a really stupid and lazy way of doing this.
Attached are database query examples based on data sent to me by a user:
I've had a few reports now of people's Main Player missing from the 'player' table, need to implement a sanity check either throughout a raid, or at the very end of the raid to make sure that all "players" are accounted for or the playback system just gets confused, as do timeline matches.
Two things that need to change:
RAID_REVIEW.trackingPlayers
to the server to be checked against the database in themod.ts
file.{ [key: string] : positions[] }>
back to the client instead ofpositions[][]
. Currently I'm doing "guess work" in the web client to determine who matches up with who in the Legend, it's a really stupid and lazy way of doing this.Attached are database query examples based on data sent to me by a user:
Player Found![image](https://github.com/ekky-llc/spt-raid-review/assets/85919905/0ad318a4-66cf-48c0-8bc4-6998de222758)
Player Not Found![image](https://github.com/ekky-llc/spt-raid-review/assets/85919905/aaca01a7-21f0-446f-844b-379d04eda57b)