MantisBT - Zandronum
View Issue Details
0003916Zandronum[All Projects] Bugpublic2021-10-31 14:452021-12-04 18:13
Trillster 
Kaminsky 
normalmajoralways
resolvedfixed 
Microsoft WindowsWindows 10 Home20H2
3.1-beta 
3.1-beta 
0003916: SetDeadSpectator fails with only 1 or 0 players in-game
SetDeadSpectator now fails to either turn a player into a dead spectator or a dead spectator into a player if there are only 1 or 0 players in the match. This issue was introduced since 3.0, as this behavior doesn't exist in current stable.
Load SetDeadSpectatorTest.pk3, load into a Deathmatch match via Offline Skirmish, use "invuse" in console to activate a script that should set you to spectator, wait 2 seconds, then back to player. With no bots this will fail. Add a bot, see that the script sets you to spectator, but fails to set to player. Add another bot and see that both work.
No tags attached.
? SetDeadSpectatorTest.pk3 (1,949) 2021-10-31 14:45
https://zandronum.com/tracker/file_download.php?file_id=2668&type=bug
Issue History
2021-10-31 14:45TrillsterNew Issue
2021-10-31 14:45TrillsterFile Added: SetDeadSpectatorTest.pk3
2021-11-04 00:21KaminskyStatusnew => needs review
2021-11-07 20:34KaminskyNote Added: 0021827
2021-11-07 20:34KaminskyAssigned To => Kaminsky
2021-11-07 20:34KaminskyStatusneeds review => needs testing
2021-12-04 18:13KaminskyNote Added: 0021845
2021-12-04 18:13KaminskyStatusneeds testing => resolved
2021-12-04 18:13KaminskyFixed in Version => 3.1-beta
2021-12-04 18:13KaminskyResolutionopen => fixed

Notes
(0021827)
Kaminsky   
2021-11-07 20:34   
This commit:'https://osdn.net/projects/zandronum/scm/hg/zandronum-stable/commits/845474b7e3e7911da03a3e309563ce2d8a35203e [^]' should address the issue of this ticket.
(0021845)
Kaminsky   
2021-12-04 18:13   
Marking this as resolved as Trillster confirmed that the issue has been fixed in the recent betas. In addition to the recently added "sv_respawndelaytime" CVar, they are happy with the changes.