MantisBT - Zandronum
View Issue Details
0002739Zandronum[All Projects] Suggestionpublic2016-05-21 08:082016-05-21 20:18
unclezipper 
 
normaltweakN/A
newopen 
MicrosoftWindowsXP/Vista/7
2.1 
 
0002739: "resurrect" console command should be allowed in network games with DF2_SAME_SPAWN_SPOT
It's a very minor complaint, but it can be cumbersome to track through a larger level. DF2_SAME_SPAWN_SPOT helps, but in cases such as a player mutating or generic death it is assumed that the area is unsafe and the player is respawned at the normal start point on the map. This can be undesirable, in some cases, and I would like to request that the "resurrect" CCMD behavior be changed to allow its use while DF2_SAME_SPAWN_SPOT is enabled, even if sv_cheats is false.

I was going to write and submit the code as a patch to the team, but I got as far as this(below) in src/c_cmds.cpp before I realized that either the code has been touched since the last major release and the resurrect behavior has been changed to a minor degree(resurrect prints "You cannot use resurrect during a network game" in my installed v2.1.2 on Windows, I can't find reference to this in the source online), there is something else happening server-side to interpret this command(I believe I saw something about NetCommand() somewhere down the rabbit hole but couldn't find a definition for it) or both. In any event, I'm not sure how it's handled internally, plz help ):

CCMD (resurrect)
{
    if ( CheckCheatmode () && (!(dmflags2 & DF2_SAME_SPAWN_SPOT) )
No tags attached.
related to 0002388closed Dusk the resurrect cheat does not work online 
Issue History
2016-05-21 08:08unclezipperNew Issue
2016-05-21 15:33WaTaKiDRelationship addedrelated to 0002388
2016-05-21 15:34WaTaKiDNote Added: 0014960
2016-05-21 15:57Edward-sanNote Added: 0014961
2016-05-21 15:57Edward-sanNote Edited: 0014961bug_revision_view_page.php?bugnote_id=14961#r9032
2016-05-21 20:18unclezipperNote Added: 0014969

Notes
(0014960)
WaTaKiD   
2016-05-21 15:34   
i dont know if the devs plan on going through with the rest of the suggestion, but let me mention that in zan 3.0, the resurrect cheat works online with sv_cheats 1
(0014961)
Edward-san   
2016-05-21 15:57   
I'm personally against the idea. It's a cheat, no more, no less.

Also, if the death is caused by the detach of the head or by the ice corpse break, the resurrect cheat wouldn't work at all, so you're pretty much obliged to go back at the start.

(0014969)
unclezipper   
2016-05-21 20:18   
Of course - and I'm not asking for a total reimplementation to handle something like a freeze death - but in instances where the player isn't destroyed it may be desirable, such as dying in an escapable slime pit. While it may be technically considered a cheat, I think the DMFlag being set by the server administrator is permissive enough to allow this.