MantisBT - Zandronum
View Issue Details
0004116Zandronum[All Projects] Bugpublic2023-03-12 15:162024-03-11 13:16
MameXLIII 
Kaminsky 
lowmajoralways
resolvedfixed 
MicrosoftWindowsXP/Vista/7
3.1 
3.2 
0004116: When player holds a flag, and executes an ACS script with SetPlayerClass which is also set to respawn the player, the flag dies
When testing a mod, I have a custom class select menu, with that custom menu, I have it set so when you select your new class, you respawn as the new class using the ACS function SetPlayerClass. However, When holding a flag and executing a class select menu option, whatever flag you were holding seems to disappear, it does not drop or continue to be held, it just vanishes.
1. Make an ACS script that changes your class using SetPlayerClass with respawn set to true.
2. Go into CTF and hold an enemy flag.
3. Execute that ACS script made earlier, as long as you are a different class than the one the ACS script uses, the flag should be nowhere to be found.
Happens on both 3.1 and newest 3.2 beta
No tags attached.
? testwad.wad (739,780) 2023-03-22 20:22
https://zandronum.com/tracker/file_download.php?file_id=2850&type=bug
Issue History
2023-03-12 15:16MameXLIIINew Issue
2023-03-12 15:27WaTaKiDNote Added: 0022795
2023-03-12 16:44MameXLIIINote Added: 0022796
2023-03-12 16:45MameXLIIINote Added: 0022797
2023-03-12 16:46MameXLIIINote Edited: 0022797bug_revision_view_page.php?bugnote_id=22797#r13935
2023-03-12 16:48MameXLIIINote Edited: 0022797bug_revision_view_page.php?bugnote_id=22797#r13936
2023-03-12 16:49MameXLIIINote Edited: 0022797bug_revision_view_page.php?bugnote_id=22797#r13937
2023-03-22 20:22MameXLIIIFile Added: testwad.wad
2023-03-22 21:35KaminskyAssigned To => Kaminsky
2023-03-22 21:35KaminskyStatusnew => assigned
2023-03-26 21:05KaminskyNote Added: 0022822
2023-03-26 21:05KaminskyStatusassigned => needs testing
2024-03-11 13:16unknownnaNote Added: 0023363
2024-03-11 13:16unknownnaStatusneeds testing => resolved
2024-03-11 13:16unknownnaResolutionopen => fixed
2024-03-11 13:16unknownnaFixed in Version => 3.2

Notes
(0022795)
WaTaKiD   
2023-03-12 15:27   
if possible, please provide an example wad that can reproduce the issue
(0022796)
MameXLIII   
2023-03-12 16:44   
'https://allfearthesentinel.com/zandronum/download.php?file=futurefortressv2alpha3.pk3 [^]' +'https://allfearthesentinel.com/zandronum/download.php?file=futurefortressmapsv01.pk3 [^]' @WataKiD
(0022797)
MameXLIII   
2023-03-12 16:45   
(edited on: 2023-03-12 16:49)
use 'pukename test' while a class that is not scout to test while on the mann co team
also add 'ff_randomteams 0' 'ff_team1 1' 'ff_team2 1' as well as 'sv_maxteams 4'

(0022822)
Kaminsky   
2023-03-26 21:05   
This issue should be fixed with:'http://hg.osdn.net/view/zandronum/zandronum-stable/rev/2ca40fbf0e4d [^]'
(0023363)
unknownna   
2024-03-11 13:16   
It's fixed now. The flag drops upon changing the class. Nice work.