MantisBT - Soldat
View Issue Details
0000134SoldatMultiplayerpublic2011-11-14 02:572015-04-15 13:55
Aardwolf 
 
normalminorrandom
confirmedopen 
x64Windows7
1.6.2 
 
0000134: Glued to other player (duplicate id?)
It seems as if myself and another player were given the same player ID, and thus everything I did affected him, and vice versa.

It has happened to me once again since I posted about it on the forum ( http://forums.soldat.pl/index.php?topic=41258.new;topicseen#new [^] ) but I didn't manage to check my "duplicate id" hypothesis.
It may have something to do with packet loss, as my connection is dropping packets like crazy (eats, color bug, game ending without moving to the next map, etc.)
No tags attached.
related to 0000114confirmed  Being able to control another player's (or bots) unit 
related to 0000182feedback  Double Character Bug 
? demo7.sdm (460,037) 2011-11-14 02:57
https://bugs.soldat.pl/file_download.php?file_id=296&type=bug
png glued.png (17,541) 2012-04-19 18:54
https://bugs.soldat.pl/file_download.php?file_id=313&type=bug
png

png glued2.png (52,894) 2012-04-19 18:57
https://bugs.soldat.pl/file_download.php?file_id=314&type=bug
png

? demo10.sdm (244,395) 2012-04-23 12:46
https://bugs.soldat.pl/file_download.php?file_id=316&type=bug
png Soldat - Bug - Playing as somebody else.png (598,112) 2012-05-31 01:37
https://bugs.soldat.pl/file_download.php?file_id=334&type=bug
? autodemo13.sdm (234,694) 2012-07-31 17:05
https://bugs.soldat.pl/file_download.php?file_id=350&type=bug
Issue History
2011-11-14 02:57AardwolfNew Issue
2011-11-14 02:57AardwolfFile Added: demo7.sdm
2011-12-21 09:51ShoozzaStatusnew => acknowledged
2012-04-19 18:51homerofgodsNote Added: 0001422
2012-04-19 18:54homerofgodsFile Added: glued.png
2012-04-19 18:57homerofgodsFile Added: glued2.png
2012-04-23 11:39homerofgodsNote Edited: 0001422bug_revision_view_page.php?bugnote_id=1422#r122
2012-04-23 11:40homerofgodsNote Edited: 0001422bug_revision_view_page.php?bugnote_id=1422#r123
2012-04-23 11:45homerofgodsNote Edited: 0001422bug_revision_view_page.php?bugnote_id=1422#r124
2012-04-23 11:45homerofgodsNote Added: 0001424
2012-04-23 11:46homerofgodsNote Edited: 0001424bug_revision_view_page.php?bugnote_id=1424#r126
2012-04-23 12:46dstFile Added: demo10.sdm
2012-04-23 12:47dstNote Added: 0001425
2012-05-24 20:43ShoozzaRelationship addedrelated to 0000182
2012-05-31 01:37DorkeyDearFile Added: Soldat - Bug - Playing as somebody else.png
2012-05-31 01:42DorkeyDearNote Added: 0001537
2012-07-02 17:03Tehbugerz1rNote Added: 0001568
2012-07-02 17:04Tehbugerz1rNote Edited: 0001568bug_revision_view_page.php?bugnote_id=1568#r159
2012-07-02 17:06Tehbugerz1rNote Edited: 0001568bug_revision_view_page.php?bugnote_id=1568#r160
2012-07-31 17:05SyavXFile Added: autodemo13.sdm
2012-07-31 17:05SyavXNote Added: 0001575
2012-08-30 04:51Tehbugerz1rNote Added: 0001587
2013-07-14 15:52BistouflyStatusacknowledged => confirmed
2014-04-02 18:58homerofgodsSeveritymajor => minor
2015-04-15 13:55homerofgodsRelationship addedrelated to 0000114

Notes
(0001422)
homerofgods   
2012-04-19 18:51   
(edited on: 2012-04-23 11:45)
Actually, I have a demo from 1.4.2
And as you see in the picture, the Player ID's they are not the same

(0001424)
homerofgods   
2012-04-23 11:45   
(edited on: 2012-04-23 11:46)
I also checked your demo and they got different ID's there too. Unless we are talking about a different ID that I don't know about

(0001425)
dst   
2012-04-23 12:47   
demo10 is from 1.6.2
(0001537)
DorkeyDear   
2012-05-31 01:42   
I have uploaded 'Soldat - Bug - Playing as somebody else.png'. I'm not 100% certain if this is the same bug. This is from a while ago; I cannot recall what Soldat version.

The player menu is visible. I am 'playing as' the player (bot) Dummy. If I recall correctly, I did not have control over the character. My nickname in the screenshot is |D)orkeyDear.
(0001568)
Tehbugerz1r   
2012-07-02 17:03   
(edited on: 2012-07-02 17:06)
I found out how Issue 0000134 works, it's a client related problem. You can reproduce Issue 0000134 exactly by setting the ID that the client recognises as your character to another bot's(or even player). The source client thinks it's in control of the victim's character but it can only move the victim's character on the source client, which soon updates to the actual position shortly after(depending on time between source client and victim client). The server still thinks everything is normal, but the source client is sending the information for the character it thinks it's in control of(the victim client's), which then results in the server moving the source character to that position. The result is the two are stuck together, having similar velocity and position but not health(due to the fact that's server based).
I posted this information a while ago on the double character bug.

(0001575)
SyavX   
2012-07-31 17:05   
Attached a demo from v1.6.3 (autodemo13.sdm), where two players joined at the same time (9:40 @ demo) and got glued to each other.

17:19:03 senza fissa dimora joining game (***:23073) HWID:***
17:19:03 senza fissa dimora has joined alpha team.
17:19:03 INF Altay joining game (***:23073) HWID:***
17:19:03 INF Altay has joined alpha team.
(0001587)
Tehbugerz1r   
2012-08-30 04:51   
Interesting how it doesn't show the same IDs, but this does not disprove my theory. This can be easily replicated by making a script that adds a bot in the OnJoinGame procedure.