MantisBT - Zandronum
View Issue Details
0001137Zandronum[All Projects] Bugpublic2012-10-20 04:332024-06-11 11:54
AlienOverlord 
unknownna 
normalminorhave not tried
resolvedfixed 
MicrosoftWindowsXP/Vista/7
1.0 
3.23.2 
0001137: Fraglimit handled incorrectly in duels
Was playing a duel with bad fraglimit (40), made 26 frags and my enemy made 27. When he noticed that fraglimit isn't 25 we changed it to 25 via callvote, then I killed myself and the game displayed "AlienOverlord won". Looks like the game is looking up the player who made last shot and/or last frag directly before fraglimit was hit and thinks he won.

Demo attached. Contains two matches, just skip first one. Second shows the bug.
1. Change fraglimit to some number.
2. Make some frags, but do not hit the fraglimit yet and enemy should have more frags than you.
3. Change fraglimit to number LOWER than YOUR frags.
4. Kill yourself with rocketlauncher.
No tags attached.
rar 2012.10.20_07.05.30_skulltag_actorspk3.skulltag_datapk3.duel32apk3.rar (695,717) 2012-10-20 04:33
https://zandronum.com/tracker/file_download.php?file_id=823&type=bug
Issue History
2012-10-20 04:33AlienOverlordNew Issue
2012-10-20 04:33AlienOverlordFile Added: 2012.10.20_07.05.30_skulltag_actorspk3.skulltag_datapk3.duel32apk3.rar
2012-10-21 00:46unknownnaStatusnew => confirmed
2012-10-21 00:53unknownnaNote Added: 0005146
2013-09-18 16:49WatermelonAssigned To => Watermelon
2013-09-18 16:49WatermelonStatusconfirmed => assigned
2014-05-05 22:32WatermelonNote Added: 0008712
2014-05-09 01:32WatermelonNote Edited: 0008712bug_revision_view_page.php?bugnote_id=8712#r4733
2014-05-09 03:24WatermelonNote Edited: 0008712bug_revision_view_page.php?bugnote_id=8712#r4734
2014-06-07 19:36WatermelonAssigned ToWatermelon =>
2014-06-07 19:36WatermelonStatusassigned => confirmed
2024-04-17 04:24Ru5tK1ngNote Added: 0023619
2024-04-17 04:24Ru5tK1ngStatusconfirmed => needs review
2024-04-17 11:26unknownnaNote Added: 0023625
2024-05-06 02:26Ru5tK1ngNote Added: 0023658
2024-05-06 02:26Ru5tK1ngStatusneeds review => needs testing
2024-05-06 02:26Ru5tK1ngTarget Version => 3.2
2024-05-06 02:28Ru5tK1ngNote Edited: 0023658bug_revision_view_page.php?bugnote_id=23658#r14188
2024-06-01 03:45unknownnaNote Added: 0023743
2024-06-01 03:45unknownnaStatusneeds testing => feedback
2024-06-11 11:54unknownnaNote Added: 0023758
2024-06-11 11:54unknownnaStatusfeedback => resolved
2024-06-11 11:54unknownnaFixed in Version => 3.2
2024-06-11 11:54unknownnaResolutionopen => fixed
2024-06-11 11:54unknownnaAssigned To => unknownna

Notes
(0005146)
unknownna   
2012-10-21 00:53   
It seems that pointlimit and winlimit is also affected by this.
(0008712)
Watermelon   
2014-05-05 22:32   
(edited on: 2014-05-09 03:24)
EDIT: Possible solution, on callvote success, return the player with the highest frag count or leading score.

In the case of a tie, I'm unsure. Duel's aren't meant to have draws.

(0023619)
Ru5tK1ng   
2024-04-17 04:24   
This scenario should be resolved with this MR:'https://foss.heptapod.net/zandronum/zandronum-stable/-/merge_requests/109 [^]'
(0023625)
unknownna   
2024-04-17 11:26   
I assume this fix doesn't take into account pointlimit, duellimit and winlimit from the looks of it? it's very unlikely to be changed probably during games like that, but it could still happen.
(0023658)
Ru5tK1ng   
2024-05-06 02:26   
(edited on: 2024-05-06 02:28)
'https://foss.heptapod.net/zandronum/zandronum-stable/-/commit/f41888f133b1dcf5a1b4fdb0c612f7b2349240fe [^]'

this was merged.

(0023743)
unknownna   
2024-06-01 03:45   
It works in duel, but my point above still stands. Do you wish to fix them, or should I make separate tickets for them?
(0023758)
unknownna   
2024-06-11 11:54   
Don't worry, I'll just make separate tickets for the issues, and then somebody can pick them apart one by one someday if they want to.

Thanks!