Skip to content

[DRAFT: RELIES ON #2017/GH-1947_KDHudReplace] Fix local player's players killed report not resetting each round#2018

Draft
nullsystem wants to merge 5 commits into
NeotokyoRebuild:masterfrom
nullsystem:GH-1874_DmgReportRewrite
Draft

[DRAFT: RELIES ON #2017/GH-1947_KDHudReplace] Fix local player's players killed report not resetting each round#2018
nullsystem wants to merge 5 commits into
NeotokyoRebuild:masterfrom
nullsystem:GH-1874_DmgReportRewrite

Conversation

@nullsystem

Copy link
Copy Markdown
Collaborator

Description

Review and merge in the linked branch/PR first: #2017

Two fixes: First m_bFirstAliveTick never gets updated when the player respawns past the first respawn since not dying on a round will not turn this to true and the respawn resets through m_bFirstAliveTick for local player in PreThink doesn't get utilized. This may also be the cause of other non-reset issues people seen before, but this has affected the killed players report especially.

Second, move the array from C_NEO_Player into its own global array as really it's only a single instance (for the local player) and pointless for every single C_NEO_Player to hold it. For sanity check, change from it being entity index array based to UserID based to be sure which is which when its displayed and not affected by entity index changes.

Toolchain

  • Linux GCC Distro Native Arch/GCC 16

Linked Issues

Damage infos from the killer-damage HUD now comes up in the scoreboard
instead. Killer-damage HUD now reduce to just a killer HUD that's a
smaller box in the bottom-ish center. Added ability to show avatar also
which is taken from the scoreboard's avatars management.

Taken/dealt now shows up as columns in the scoreboard when dead.
"Deaths" column name renamed to "D", spaced of 2 characters length.

Renamed variables/files/class names to reflect better their role.

Also updated console damage report to be written out more like in the
OG:NT plugin's aside from the killer line.

* fixes NeotokyoRebuild#1947
* fixes NeotokyoRebuild#1650
* fixes NeotokyoRebuild#1945
Two fixes: First m_bFirstAliveTick never gets updated when the player
respawns past the first respawn since not dying on a round will not
turn this to true and the respawn resets through m_bFirstAliveTick
for local player in PreThink doesn't get utilized. This may also
be the cause of other non-reset issues people seen before, but this
has affected the killed players report especially.

Second, move the array from C_NEO_Player into its own global array
as really it's only a single instance (for the local player) and
pointless for every single C_NEO_Player to hold it. For sanity
check, change from it being entity index array based to UserID
based to be sure which is which when its displayed and not affected
by entity index changes.

* fixes NeotokyoRebuild#1874
@nullsystem nullsystem added the Tournament Priority Issues to be prioritized for the upcoming NT;RE tournament label Jul 12, 2026
Now the c_neo_player first tick alive got fixed, can just do it there.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Tournament Priority Issues to be prioritized for the upcoming NT;RE tournament

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The damage report lies

1 participant