multitheftauto / mtasa-blue

Multi Theft Auto is a game engine that incorporates an extendable network play element into a proprietary commercial single-player game.
https://multitheftauto.com
GNU General Public License v3.0
1.41k stars 437 forks source link

Disconnection messages while joining #3688

Open YelehaUwU opened 2 months ago

YelehaUwU commented 2 months ago

Describe the bug

Whenever getting kicked while loading, the client doesn't get the kick message, but instead gets a different one, like a timed out message. The serverconsole displays the kick message correctly, it's just the client displaying a timed out message.

Steps to reproduce

  1. Join a server
  2. Get kicked while loading
  3. The message pops up, displaying incorrect information.

Version

Nightly server & client

Additional context

No response

Relevant log output

No response

Security Policy

Fernando-A-Rocha commented 2 months ago

100% confirmed issue. Has been happening for many versions.

This is unfortunate because the client won't be able to see the message displayed with kickPlayer or onPlayerConnect event cancel with msg.

Fernando-A-Rocha commented 2 months ago

If I implement a system for denying to access to my server under certain conditions (e.g. serial or ip whitelist), the player won't be able to see the reason message.

ffsPLASMA commented 2 months ago

yep having this issues for years now on ffs. they get a timed out message instead.

SeeGy-Developer commented 2 months ago

Able to reproduce