pvpgn / pvpgn-server

Next generation of PvPGN server
https://pvpgn.pro
GNU General Public License v2.0
541 stars 155 forks source link

Some player when game finish will auto logout pvpgn. #456

Closed Fatorin closed 3 years ago

Fatorin commented 3 years ago

When player finish a game , they will auto logout pvpgn.

Player need re-login pvpgn to join next game.

How can I need change which setting to avoid this problem?

RElesgoe commented 3 years ago

Which game? Is there a way to reliably reproduce this problem? Maybe the player has an unreliable connection to your server.

Fatorin commented 3 years ago

When play Warcraft III, custom game. When they finish the game and return to the lobby, they will receive a disconnect message. Some players have this problem every time.

RElesgoe commented 3 years ago

Are there any client side modifications? Do the logs indicate a reason why they were disconnected?

There's no indication that this is a pvpgn problem.

Fatorin commented 3 years ago

The error message in the server log only shows the following. [error] topiclist_save: topic conf not loaded

But it should have nothing to do with this, I only see the logout message displayed normally.

Client is from w3l_1_5_1_1_by_Keres.zip, not modify.

RElesgoe commented 3 years ago

I suggest compiling the code from the develop branch.

I don't think I can help with this problem, I doubt it's a pvpgn issue.

Fatorin commented 3 years ago

OK, I will build new version from the develop branch. And open the trace and debug in the log options to check the reason.

Thanks for your reply!

cen1 commented 3 years ago

This is not pvpgn issue, it is the W3 client failing to send null packets to keep the connection alive, usually due to network problems.

Fatorin commented 3 years ago

Thank you talking to me about this information, I thought it was a pvpgn problem. But it's actually the player's network problem.