openmultiplayer / openmultiplayer/open.mp

Desync when using PutPlayerInVehicle on a passenger.

Open
#856 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C++
Stars
641
Forks
208
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
When applying PutPlayerInVehicle to a player who sits in the passenger seat, there is a desync, and the player remains in the car, and the car where he was put in the driver's seat begins to drive itself.

Expected behavior
Should synchronise players correctly.

Screenshots and/or logs
URL

Version
1.1.0.2669

UPD: It works on 1.2.0.2670 too.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with PutPlayerInVehicle on a player already seated in the passenger seat, using the reported 1.1.0.2669 and 1.2.0.2670 versions. Observe the passenger state and whether the vehicle drives itself, then trace the vehicle and player synchronization paths. Done means the player is synchronized into the driver seat without the vehicle becoming uncontrolled.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
game-dev, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.