citizenfx / fivem

The source code for the Cfx.re modification frameworks, such as FiveM, RedM and LibertyM, as well as FXServer.
https://cfx.re/
3.57k stars 2.11k forks source link

Abuse with purposly disconnecting eth/wifi #2727

Open aqua3man opened 3 months ago

aqua3man commented 3 months ago

What happened?

If you disconnect the internet by pulling out the cable or temporarily turning off the Wi-Fi, you can gain an advantage for about 20-30 seconds. After that, reconnect the cable/Wi-Fi, and you should be successful.

Known player abuse vectors:

Expected result

Return the player to the coordinates where the connection was interrupted.

Reproduction steps

  1. Join server.
  2. Walk/Drive
  3. Disconnect ETH cable/ Disable wifi
  4. You can walk/drive for a limited time (20-30sec) (Dont wait for server timout.)
  5. Reconnect ETH/Enable Wifi
  6. For other players you will appear from nowhere.

Not a FiveM issue, though I will mention it nonetheless:

  1. Join server.
  2. Walk/Drive
  3. Disconnect ETH cable/ Disable wifi
  4. You can walk/drive for a limited time (20-30sec) (Dont wait for server timout.)
  5. Trigger some menus/events that can have rush conditions. (Badly implemented scripts)
  6. Duplicate times or other vectors

Importancy

Unknown

Area(s)

FiveM

Specific version(s)

Latest Release version

Additional information

No response

PulseHarbor commented 3 days ago

This is not an issue with FiveM itself but a side effect of how client-server synchronization is designed, as seen in base game servers.

Server owners can mitigate this by developing resources to rubberband players to their last known position.