CnCNet / xna-cncnet-client

XNA / MonoGame based client for playing classic Command & Conquer games both online and offline with a CnCNet game spawner.
Other
224 stars 85 forks source link

Ban is not immediate #433

Open GrantBartlett opened 1 year ago

GrantBartlett commented 1 year ago

Banning a player from a game is not immediate.

Steps to reproduce:

1). Host kicks user 2). User rejoins within 2-3 seconds

After 2-3 seconds the user isnt' able to join the game.

devo1929 commented 1 year ago

I'm not sure what the communication looks like for IRC on this one, but the client of the user that is kicked/banned is obviously aware that the kick/ban took place. Perhaps, the client just has an in memory list of game IDs they cannot join? Assuming there is simply a delay occurring here, by the time they restart the client to clear the in mem list, the actual ban will be in place by IRC.

@Metadorius @Rampastring