MantisBT - Zandronum
View Issue Details
0000472Zandronum[All Projects] Bugpublic2011-05-28 12:162012-03-28 10:48
Dusk 
Torr Samaho 
normalminoralways
feedbackopen 
LinuxDebian6.0 "Squeeze"
98d 
 
0000472: Clients have wrong idea of a morphed player's TID
If a player is given a TID when they enter or respawn, clients will forget the player's TID once they morph up. Even if the said player unmorphs, clients will still think that the player has no TID at all. Server will remain fully aware of the morphed player's TID.
1. Start up a server with the attached test 'mod', join up and add a bot. You might want to do this on a stock doom2 map, so the bot will not attempt to kill you.
2. Activate TID identification with "test-identify-clientside".
3. When you are not looking at anything, it will show your own name and TID and when you look at the bot it should show its name and TID.
4. Use "test-morphplayer 1" to turn the bot into an imp. Clientside identifier will now tell the bot's TID is 0.
6. If you use "test-unmorphplayer 1" the bot's TID will still be displayed as 0.
5. If you spectate, rejoin and activate test-identify-serverside, the bot's TID will be displayed properly again as the server is aware of the bot's TID.
The attached test 'mod' comes with four CCMDs, all of which are NET scripts:
- Test-Identify-ServerSide and Test-Identify-ClientSide
These two are scripts that simply said display the TID of whatever you are looking at. Updates every 10 seconds. Serverside variant has the server tell the TID to the client, clientside variant has the client figure it out by itself.

- Test-MorphPlayer and Test-UnmorphPlayer
These take one argument, a player number which to morph to/unmorph from an imp morph. Morphing is done with (MRF_FULLHEALTH|MRF_ADDSTAMINA|MRF_NEWTIDBEHAVIOUR|MRF_WHENINVULNERABLE), though the bug still occurrs if MRF_NEWTIDBEHAVIOUR is left out.

... I hope I'm being clear enough. :P
No tags attached.
? ClientsideMorphedTIDTest.wad (3,674) 2011-05-28 12:16
/tracker/file_download.php?file_id=347&type=bug
Issue History
2011-05-28 12:16DuskNew Issue
2011-05-28 12:16DuskFile Added: ClientsideMorphedTIDTest.wad
2011-05-28 12:18DuskNote Added: 0001768
2011-05-29 09:10unknownnaStatusnew => confirmed
2012-02-26 23:44Torr SamahoNote Added: 0002702
2012-02-26 23:44Torr SamahoAssigned To => Torr Samaho
2012-02-26 23:44Torr SamahoStatusconfirmed => feedback
2012-03-28 10:48unknownnaNote Added: 0002957
2012-06-09 13:22Torr SamahoCategoryGeneral => Bug

Notes
(0001768)
Dusk   
2011-05-28 12:18   
... and this occurrs with the latest 98e as well.
(0002702)
Torr Samaho   
2012-02-26 23:44   
This should fix the issue.
(0002957)
unknownna   
2012-03-28 10:48   
> This should fix the issue.

It seems that it did, but I can see the TID display flicker between 0 and 100 (my own player) for 3 tics or so when morphing/unmorphing online. And it seems that newly connected cients aren't informed of the TIDs of players/bots in-game.