MantisBT - Zandronum
View Issue Details
0000396Zandronum[All Projects] Bugpublic2011-04-24 04:562018-09-30 19:55
unknownna 
Torr Samaho 
normalminoralways
closedfixed 
98d 
1.0 
0000396: Newly connected clients don't know whether players in-game are moving or not
If a bot/player is moving, it will be displayed in a static PLAY A frame for newly connected clients.
1. Start a standard server.
2. Connect a client to the server.
3. Join the game.
4. Run around.
5. Connect another client to the server.
No tags attached.
related to 0000584closed Torr Samaho Players' walking animation is frozen from the perspective of somebody who just connected 
? morph_bug_test_04.wad (3,176) 2011-06-01 13:52
/tracker/file_download.php?file_id=358&type=bug
Issue History
2011-04-24 04:56unknownnaNew Issue
2011-06-01 13:52unknownnaFile Added: morph_bug_test_04.wad
2011-06-01 13:52unknownnaNote Added: 0001778
2012-03-01 06:03TIHanNote Added: 0002722
2012-03-01 06:03TIHanNote Deleted: 0002722
2012-03-01 06:28TIHanNote Added: 0002724
2012-03-02 14:42DuskNote Added: 0002736
2012-03-02 14:42DuskNote Edited: 0002736bug_revision_view_page.php?bugnote_id=2736#r1397
2012-03-02 14:42DuskNote Edited: 0002736bug_revision_view_page.php?bugnote_id=2736#r1398
2012-03-02 15:12TIHanNote Added: 0002737
2012-03-03 00:43TIHanNote Edited: 0002724bug_revision_view_page.php?bugnote_id=2724#r1409
2012-03-05 01:30Torr SamahoRelationship addedrelated to 0000584
2012-03-06 00:50Torr SamahoNote Added: 0002757
2012-03-06 00:51Torr SamahoNote Edited: 0002757bug_revision_view_page.php?bugnote_id=2757#r1430
2012-03-06 00:51Torr SamahoNote Edited: 0002757bug_revision_view_page.php?bugnote_id=2757#r1431
2012-03-06 07:15TIHanNote Added: 0002760
2012-03-07 01:23Torr SamahoNote Added: 0002764
2012-03-09 01:49Torr SamahoNote Added: 0002767
2012-03-09 01:49Torr SamahoStatusnew => resolved
2012-03-09 01:49Torr SamahoFixed in Version => 1.0
2012-03-09 01:49Torr SamahoResolutionopen => fixed
2012-03-09 01:49Torr SamahoAssigned To => Torr Samaho
2012-06-09 13:22Torr SamahoCategoryGeneral => Bug
2018-09-30 19:55Blzut3Statusresolved => closed

Notes
(0001778)
unknownna   
2011-06-01 13:52   
The same effect can be observed when a player unmorphs (UnMorphActor).

Steps to reproduce:

1. Start a server with the example WAD loaded.
2. Connect a client to the server.
3. Join the game.
4. Add 1 bot.
5. Push the left switch.
6. Push the right switch.

Special thanks to Nightfall's ClientsideMorphedTIDTest.wad.
(0002724)
TIHan   
2012-03-01 06:28   
(edited on: 2012-03-03 00:43)
I wasn't able to reproduce the original bug, but the unmorphing I was with that wad. Here is the fix:'https://bitbucket.org/TIHan/tst/changesets/tip/branch(%22bug_396%22) [^]'

(0002736)
Dusk   
2012-03-02 14:42   
Would this by any chance be related to 584?

'http://skulltag.net/tracker/view.php?id=584 [^]'

(0002737)
TIHan   
2012-03-02 15:12   
> Would this by any chance be related to 584?

That explains why I wasn't able to reproduce the original bug.
(0002757)
Torr Samaho   
2012-03-06 00:50   
(edited on: 2012-03-06 00:51)
> I wasn't able to reproduce the original bug, but the unmorphing I was with that wad. Here is the fix:'https://bitbucket.org/TIHan/tst/changesets/tip/branch(%22bug_396%22) [^]'

I think the clients shouldn't be calling the state function here. Can you check if calling "SERVERCOMMANDS_SetThingFrame( player->mo, player->mo->state, MAXPLAYERS, 0, false );" still fixes the morph related problem?

(0002760)
TIHan   
2012-03-06 07:15   
> I think the clients shouldn't be calling the state function here. Can you check if calling "SERVERCOMMANDS_SetThingFrame( player->mo, player->mo->state, MAXPLAYERS, 0, false );" still fixes the morph related problem?

Yes, it still works. :) I guess the reason for not calling the state function (CallAction?) as there is no need to, and we do not want to reset the state; is that correct?
(0002764)
Torr Samaho   
2012-03-07 01:23   
> I guess the reason for not calling the state function (CallAction?) as there is no need to, and we do not want to reset the state; is that correct?

There is not only no need to call the state function, we don't want the clients to call the state function at all since the server doesn't call it either.
(0002767)
Torr Samaho   
2012-03-09 01:49   
I ported your fix.