MantisBT - Zandronum
View Issue Details
0004349Zandronum[All Projects] Suggestionpublic2024-07-26 17:282025-03-03 23:43
Basinga 
Kaminsky 
normalfeaturealways
resolvedfixed 
MicrosoftWindowsXP/Vista/7
3.1 
3.23.2 
0004349: ACS Function to "revive" true spectators mid game
Zandronum ACS function like SetDeadSpectator but for True Spectators, for Survival mode.
Sometimes you get disconnected and wanna hop back but the level is still going. This feature would greatly help.
No tags attached.
Issue History
2024-07-26 17:28BasingaNew Issue
2024-08-16 05:02KaminskyNote Added: 0023947
2024-08-16 05:02KaminskyAssigned To => Kaminsky
2024-08-16 05:02KaminskyStatusnew => needs review
2024-08-16 05:02KaminskyTarget Version => 3.2
2024-08-25 13:35KaminskyNote Edited: 0023947bug_revision_view_page.php?bugnote_id=23947#r14355
2024-08-25 13:35KaminskyNote Added: 0023969
2024-08-25 13:35KaminskyStatusneeds review => needs testing
2025-03-03 23:43Ru5tK1ngNote Added: 0024229
2025-03-03 23:43Ru5tK1ngStatusneeds testing => resolved
2025-03-03 23:43Ru5tK1ngResolutionopen => fixed
2025-03-03 23:43Ru5tK1ngFixed in Version => 3.2

Notes
(0023947)
Kaminsky   
2024-08-16 05:02   
(edited on: 2024-08-25 13:35)
'https://foss.heptapod.net/zandronum/zandronum-stable/-/merge_requests/169 [^]'

This adds the ACS function "SkipJoinQueue" (accepts one argument representing the index of the desired player), allowing modders to force spectators in the join queue to join the game outside of normal game mode rules. To know a player's position in the join queue, the ACS function "GetPlayerJoinQueuePosition" is also added, which returns -1 for players not in it.

Lastly, this adds a new EVENT script type: GAMEEVENT_JOINQUEUECHANGED that triggers anytime the join queue changes (i.e. when a player is added or removed). The activator is the world, "arg1" is the index of the player, and "arg2" is their current join queue position (-1 means they've been removed).

(0023969)
Kaminsky   
2024-08-25 13:35   
These commits got pushed into the repository a while ago:

-'https://foss.heptapod.net/zandronum/zandronum-stable/-/commit/67df0e824a5425297d39343befa93e76f0f95b1f [^]'
-'https://foss.heptapod.net/zandronum/zandronum-stable/-/commit/10ca1e5debf7674c7bf6a8c1f86f65269010ca6e [^]'
(0024229)
Ru5tK1ng   
2025-03-03 23:43   
Tested all the new Join functions with r241030. Everything seemed to work and return the proper values with both players and bots.