RaidMax / IW4M-Admin

Complete administration tool for IW4x, Pluto T6, Pluto IW5, Pluto T5, Pluto T4, H1-Mod, CoD4x, IW6x, TeknoMW3, and most Call of Duty® dedicated servers.
MIT License
212 stars 43 forks source link

Handle plutonium reconnect #230

Closed mxve closed 2 years ago

mxve commented 2 years ago

In a recent update plutonium fixed/implemented map fastdl (on iw5, t6 planned afaik), on map rotation users are forced to reconnect to the server. IW4MAdmin is tracking the reconnects as users leaving and joining again.

Would be nice to either detect if its a reconnect requested by the server or delay the user disconnected tracking (maybe only if many people left? idk)

RaidMax commented 2 years ago

Please provide the game log when the map rotates. I will need to use that as reference for a mitigation strategy.

mxve commented 2 years ago
  1:28 J;01100001000e87bb;0;mxve
  1:43 ExitLevel: executed
  1:43 ------------------------------------------------------------
  1:43 ------------------------------------------------------------
  1:43 InitGame
  1:50 J;01100001000e87bb;0;mxve
  2:33 Q;01100001000e87bb;0;mxve
  3:12 J;01100001000e87bb;0;mxve
  3:24 say;01100001000e87bb;0;mxve;!mr
  3:29 ExitLevel: executed
  3:29 ------------------------------------------------------------
  3:29 ------------------------------------------------------------
  3:29 InitGame
  3:38 J;01100001000e87bb;0;mxve
  3:43 say;01100001000e87bb;0;mxve;!mr
  3:48 ExitLevel: executed
  3:48 ------------------------------------------------------------
  3:48 ------------------------------------------------------------
  3:48 InitGame
  3:56 J;01100001000e87bb;0;mxve
  4:30 Q;01100001000e87bb;0;mxve
RaidMax commented 2 years ago

I cannot reproduce this. Running pluto iw5 r2801. I have tried map rotate to several maps and map restart and fast restart. None of them detect a disconnect. Is this something that's still occurring?

mxve commented 2 years ago

Edit: Honestly I'm not 100% sure about this anymore. I remember with like 75% confidence ( ⊙◞౪◟⊙) that all players were actually shown as leaving on iw4m and then as joining (with the red/green icons, not just disappearing), but I can't reproduce this, neither on prod nor staging. So if it happened it may have been fixed on the pluto side of things or it may have been a weird bug.

-- ~~This only happens with custom usermaps, not default maps. And it could be possible that it only happens on map_rotate, as it doesn't load a "new" map on map_restart. I know from RektInator that the server basically tells the client to reconnect if a custom map is loaded. If you are connected as a client you will experience this as being thrown to the main menu and then seeing a "Reconnecting" dialog while you are getting reconnected to the server.~~

~~Last time I saw it happen would be a few days ago. Server and client on latest prod version, should be r2798. I'm gonna have a look at the behaviour on staging, as you said you used r2801.~~

I've added you on Discord in case you need a fastdl or maps in general for testing.

RaidMax commented 2 years ago

I’ll close this for now but feel free to reopen if you’re able to reproduce.