We use cookies to ensure the best experience for you on our website. By using this website you accept our use of cookies. Ok Read more

Los Santos Roleplay Cops and Robbers
  • Home
  • Forum
  • Information
    • Beginners Tutorial
    • Server Rules
    • Privacy Policy
    • Server Map
  • Statistics
    • Top 25
    • Most Active
    • Server Stats
    • Top Score
    • Groups
    • Turf Stats
  • UCP
    • Dashboard
    • Profile
    • Messaging
    • Houses
    • Vehicles
    • Donation Items
    • Transfers
    • Tag Area
    • Support
    • Logs
  • Shop
    • Shop page
    • Donation items
    • Wearables
    • Memberships
    • Vehicle Addons
    • Vehicles
    • Houses
    • Apartments
    • Groups
    • Get Points
  • Donate
  • Game (UCP) Sign in
Lsrcr Forum • YOU APPEAR TO BE DESYNCHRONIZED - Page 2

Lsrcr Forum

Los Santos Roleplay Cops and Robbers
https://ls-rcr.com/forum/

YOU APPEAR TO BE DESYNCHRONIZED

https://ls-rcr.com/forum/viewtopic.php?t=114591

Page 2 of 2

Re: YOU APPEAR TO BE DESYNCHRONIZED

Posted: July 15, 2021, 2:30 pm
by FeinT.
Welp. I am pretty sure this is a server feature and not a bug :D I mean yeah it could be complicated but anyways, but I'm p sure that means the data couldnt be sent to a specific client (You). which means the packet is not sent to the server therefore the server wont forward it to the client so it wont get decoded which will lead to a glitchy behavior. But yup this could be RakNet's fault too since its a shit networking library in general.

Re: YOU APPEAR TO BE DESYNCHRONIZED

Posted: July 26, 2021, 8:58 am
by CXdur
It's been over 4 years since I implemented this code, but I took a quick look.

The desync checks are required for our anticheat to work properly. When certain cheats are triggered, we check if the player is synced. If they're not, we consider it a false positive, and we try to fix the desynchronization (cannot always be), while also increasing a counter. When the desync check fails enough times (pretty high amount) we forcibly reconnect the player. The desync should only fail when the server has invalid data about the client, which again should only happen if the client is desynced or has been sending wrong data.

I've increased the count required before a reconnect by a small bit and I've also added logging so that we can see how often this happens. Since you seem to be the only one experiencing issues with this here in this topic I believe that you probably are desynchronized. Even if your internet connection is mostly stable, it dropping for a short period is time could be enough for you to become desynchronized. Sadly there's no way for us to fix this without reconnecting the player.

Re: YOU APPEAR TO BE DESYNCHRONIZED

Posted: July 26, 2021, 1:09 pm
by Panadol
CXdur wrote:
It's been over 4 years since I implemented this code, but I took a quick look.

The desync checks are required for our anticheat to work properly. When certain cheats are triggered, we check if the player is synced. If they're not, we consider it a false positive, and we try to fix the desynchronization (cannot always be), while also increasing a counter. When the desync check fails enough times (pretty high amount) we forcibly reconnect the player. The desync should only fail when the server has invalid data about the client, which again should only happen if the client is desynced or has been sending wrong data.

I've increased the count required before a reconnect by a small bit and I've also added logging so that we can see how often this happens. Since you seem to be the only one experiencing issues with this here in this topic I believe that you probably are desynchronized. Even if your internet connection is mostly stable, it dropping for a short period is time could be enough for you to become desynchronized. Sadly there's no way for us to fix this without reconnecting the player.
Fair enough I got it, thanks for explaining

All times are UTC
Page 2 of 2
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/