Describe the bug
Functionalities 0, 1, and 5 contradict in their results. 03b3aee
To reproduce
0. [Assumes project is ready to run on local device. Use branch "work2". [03b3aee]
- Open build.gradle.
- In build.gradle, comment out "mainClass = 'Main_API'. Uncomment "mainClass = 'Main'".
- Open VSC terminal. Navigate to /.../PubgAPI-Java
- In terminal, enter "./gradlew clean build".
- In terminal, enter "./gradlew run".
- Use console-provided example folder: "requestsDir/Shrimzy/timestamp_1750557892980/matches". When examining match results, focus on "telemetry-for-match_id_8d385883-2a04-4035-85cd-49a4f8372159".
- Type "0" and press enter. See "#bots: 4 / 94".
- Type "y" to allow another request.
- Type "1" and press enter. See "#people killed by 'TOP TEN' : 30 of 99". Note 99 > 94.
- (Still looking at results of "1"). See "MAX #kills by a single person: 7 (#people who achieved this: 2)".
- Type "y" to allow another request.
- Type "5" and press enter. See "adjusted #kill events: 92". 99 != 92. The number of surviving team members is (currently) unknown, so 92 deaths is feasible if 94 players is accurate and 2 players survived the game.
- (Still looking at results of "5"). See "Kills by Winners: 1 4 4 2". Scroll up to "3 KILLS: PsychoFluffy ---------------". Scroll down to where "4 KILLS" should begin. Instead, "7 KILLS" is next. Also see "NOTE: this does not yet include the winners...". It is unclear whether this still applies. For example, winner Jeggred's name appears in the "1 KILLS" section.
- (Still looking at results of "5"). See "7 KILLS: tayStu-nOngluv", "11 KILLS: JekLuu-nOngluv", "12 KILLS: TGLTN", "17 KILLS: Shrimzy". This does not match with functionality 1's claim that "MAX #kills by a single person: 7 (#people who achieved this: 2)". If there is an issue with only single digits being logged correctly in functionality 1, then Shrimzy with 17 kills could have been accidentally logged as having 7 kills, making it seem like there were 2 people with 7 kills in functionality 1.
Expected behavior
- The number of players logged in functionalities 0, 1, and 5 should all match.
- The number of kills logged in functionalities 1 and 5 should match.
- The number of kills should not exceed (nor equal) number of players. At minimum, one player should survive.
- The number listed in functionality 1 as "MAX #kills by a single person" should also be the highest reported number of kills in functionality 5.
- Frequencies of kills in functionalities 1 and 5 should match.
Actual behavior
- The number of players logged in functionalities 0, 1, and 5 do not match. 94 != GTE99 != [92, 96].
- The number of kills logged in functionalities 1 and 5 do not match (99 and [92, 96]).
- The number of kills (EX: 99) is not less than number of players (EX: 94).
- The number reported in functionality 1 as "MAX #kills by a single person" (7) is not the highest reported number of kills in functionality 5 (17).
- Frequencies of kills in functionalities 1 and 5 do not match (EX: functionality 1 reports 17 kills zero times and functionality 5 reports 17 kills once).
Priority
Users are able to use these functionalities, but at least some results are inaccurate. It is unclear which result(s) are inaccurate. Priority level: P2
Screenshots/Video
Full outputs:
- PubgAPI work2 bug screeenshot - functionality0 full output
- PubgAPI work2 bug screenshot - functionality1 full output:
- PubgAPI work2 bug screenshot - functionality5 full output (part 1 of 3):
- PubgAPI work2 bug screenshot - functionality5 full output (part 2 of 3):
- PubgAPI work2 bug screenshot - functionality5 full output (part 3 of 3):
Desktop
- OS: macOS Monterey
- Browser: Google Chrome
- Resolution: "..."
- Version: "..."
Mobile/Tablet
- Device: "..."
- OS: "..."
- Screen size: "..."
- Mobile Browser: "..."
- Version: "..."
Additional Context
- BotCounts (functionality 0) uses a Scanner, "LogMatchEnd", "LogMatchStart", and searches by accountIds. Although not printed, it stores names of players and bots.
- KillCounts (functionality 1) uses a Scanner, "LogMatchStart", and searches by "killCount".
- KillCountsJSON (functionality 5) uses JSON. It uses "LogPlayerKillV2", "victimGameResult", "stats", "killCount", "victim", "name", "LogMatchEnd, "gameResultOnFinished", and "results".
- Telemetry file location:
/../PubgAPI-Java/requestsDir/Shrimzy/timestamp_1750557892980/matches/telemetry-for-match_id_8d385883-2a04-4035-85cd-49a4f8372159.
Format based on
Describe the bug
Functionalities 0, 1, and 5 contradict in their results. 03b3aee
To reproduce
0. [Assumes project is ready to run on local device. Use branch "work2". [03b3aee]
Expected behavior
Actual behavior
Priority
Users are able to use these functionalities, but at least some results are inaccurate. It is unclear which result(s) are inaccurate. Priority level: P2
Screenshots/Video
Full outputs:
Desktop
Mobile/Tablet
Additional Context
/../PubgAPI-Java/requestsDir/Shrimzy/timestamp_1750557892980/matches/telemetry-for-match_id_8d385883-2a04-4035-85cd-49a4f8372159.
Format based on