MantisBT - Zandronum | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0002166 | Zandronum | [All Projects] Bug | public | 2015-04-04 16:46 | 2018-09-30 21:39 |
Reporter | Ch0wW | ||||
Assigned To | Torr Samaho | ||||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Any | OS | Any | OS Version | Any |
Product Version | 2.0 | ||||
Target Version | 2.1 | Fixed in Version | 2.1 | ||
Summary | 0002166: Last CTF capture isn't shown on scoreboard | ||||
Description | In CTF, whenever someone captures the last flag before a scorelimit, it is NEVER added to the player's point list's scoreboard. The problem lies by adding +1 to the teamscore BEFORE adding the point to the player. Main Function problem seen in AFlag::HandlePickup if (( TEAM_GetSimpleCTFSTMode( )) && ( NETWORK_GetState( ) != NETSTATE_CLIENT ) && ( CLIENTDEMO_IsPlaying( ) == false )) { // Give his team a point. TEAM_SetScore( Owner->player->ulTeam, TEAM_GetScore( Owner->player->ulTeam ) + 1, true ); Owner->player->lPointCount++; | ||||
Steps To Reproduce | 1) Scorelimit 1; 2) Capture the flag; 3) Scoreboard: Points - 0 | ||||
Additional Information | I never thought this problem was overlooked for so long. Same point-giving error on these functions: • FUNC( LS_Team_Score ) ► p_Inspec.cpp • FUNC( LS_Team_GivePoints ) ► p_Inspec.cpp • TEAM_ScoreSkulltagPoint ► team.cpp • PLAYER_GivePossessionPoint ► p_interaction.cpp • AWhiteFlag::HandlePickup ► g_shared/a_flags.cpp Fix "template": // Give his team a point. Owner->player->lPointCount++; TEAM_SetScore( Owner->player->ulTeam, TEAM_GetScore( Owner->player->ulTeam ) + 1, true ); | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2015-04-04 16:46 | Ch0wW | New Issue | |||
2015-04-04 17:18 | Edward-san | Note Added: 0012021 | |||
2015-04-04 17:18 | Edward-san | Status | new => feedback | ||
2015-04-04 17:27 | Ch0wW | Note Added: 0012022 | |||
2015-04-04 17:27 | Ch0wW | Status | feedback => new | ||
2015-04-04 17:29 | Edward-san | Note Edited: 0012021 | bug_revision_view_page.php?bugnote_id=12021#r6909 | ||
2015-04-04 17:29 | Edward-san | Status | new => feedback | ||
2015-04-04 17:41 | Dusk | Note Added: 0012023 | |||
2015-04-04 17:54 | Torr Samaho | Note Added: 0012024 | |||
2015-04-04 17:54 | Torr Samaho | Note Edited: 0012024 | bug_revision_view_page.php?bugnote_id=12024#r6911 | ||
2015-04-04 17:55 | Torr Samaho | Assigned To | => Torr Samaho | ||
2015-04-04 17:55 | Torr Samaho | Status | feedback => assigned | ||
2015-04-04 18:23 | Torr Samaho | Note Added: 0012026 | |||
2015-04-05 08:41 | Torr Samaho | Note Added: 0012044 | |||
2015-04-05 13:20 | Ch0wW | Note Added: 0012048 | |||
2015-04-05 19:29 | Dusk | Note Added: 0012053 | |||
2015-04-05 19:29 | Dusk | Status | assigned => resolved | ||
2015-04-05 19:29 | Dusk | Fixed in Version | => 2.1 | ||
2015-04-05 19:29 | Dusk | Resolution | open => fixed | ||
2015-04-05 19:29 | Dusk | Target Version | => 2.1 | ||
2018-09-30 21:39 | Blzut3 | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|