Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accelerate and leave (at the same time) a motorbike causes desync and invincibility #2810

Open
1 task done
Vampiiree opened this issue Nov 7, 2022 · 2 comments
Open
1 task done
Labels
bug Something isn't working

Comments

@Vampiiree
Copy link

Describe the bug

Basically, your character isn't shown accurately to other players that are nearby (but looks kinda fine to you) when you perform both actions at the same time (leave/accelerate).

What you see: https://www.youtube.com/watch?v=OLzziVoez-4
What the other player sees: https://www.youtube.com/watch?v=bNznhvu_Rm8

Damage is also not taken as you will be shooting at a desynced player: https://www.youtube.com/watch?v=JtoaRoZOAos

Steps to reproduce

  1. Spawn a motorbike (e.g: NRG-500)
  2. Either get another player or create a ped to enter as a passenger (seat 1)
  3. Leave and accelerate at the same time

Version

Multi Theft Auto v1.5.9-release-21390

Additional context

  1. So far, I've tested with NRG-500 and Sanchez, but it probably work with all motorbikes.
  2. If you've managed to make it work correctly, you will notice that the sound of the bike will change as if you are slowing down and your player's left leg will look as if they are just standing on the motorbike.
  3. Using getPedTask example from Wiki I could notice that only Primary Task 4 (TASK_SIMPLE_DRIVE_CAR) is shown when driving normally, however, when doing the procedures mentioned above it will make Primary Task 3 gets stuck (TASK_COMPLEX_LEAVE_CAR > TASK_SIMPLE_CAR_WAIT_TO_SLOW_DOWN) so I guess not completing the task completely (making it stuck) causes the desync.

Relevant log output

No response

Security Policy

  • I have read and understood the Security Policy and this issue is not security related.
@Vampiiree Vampiiree added the bug Something isn't working label Nov 7, 2022
@etrnl1337
Copy link

Did u try this multiple times with other .conf settings?

bandwidth_reduction
player_sync_interval
lightweight_sync_interval
camera_sync_interval
ped_sync_interval
unoccupied_vehicle_sync_interval
vehext_percent

Try to play with those settings and check the results, aparat from that congratz for finding bug like that..

@Vampiiree
Copy link
Author

I haven't tbh because I don't have a lot of knowledge with that or scripting at all, although I've tested multiple times (with different players) both in CIT and a local server (default settings), and the only difference was it was easier to reproduce with high ping/delay.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants