As for bugs, maybe create a specific topic? If there is, I'm sorry.
From a very old post of mine (https://forum.sa-mp.com/showthread.php?t=360803):
https://www.youtube.com/watch?v=DDGFqemASAc
The bug can be seen at minute: 2.34
Things I figured out:
1. Spawning results most of the time in sync, depends on who has spawned (the driver or the player).
2. When Player A is driving and Player B is on the ship and synced and leaves the position and moves around and then comes back, the player is desynced. We then see these weird jumps in the video.
3. When Player A is not driving and Player B is on the ship and is desynced and leaves the position and comes back to the position WITHOUT moving when he/she changed position, the player is still desynced.
4. When Player A is not driving and Player B is on the ship and is desynced and leaves the position and comes back to the position WITH moving when he/she changed position, the player is synced when Player A starts driving the boat.
5. It happens with both player objects and normal objects, however playerobjects are more susceptible to this issue.
A small script to test this issue: http://pastebin.com/4bsmy7Zv, which requires the streamer plugin.
It's old code, please have a look at OnPlayerCommandText what's going on.
The code:
Slap yourself up onto one ship (remember which one it is) and do /savepos, move around a little and then do /pos, you will be teleported to the ship you were on. If this is the normal ship, everything is fine. However when you do the same with the dynamic ship, you get these weird jump issues. "
^ Though it also appears to happen with CreateObject (see point 5).
All in all, I couldn't really point out the causing issue, however I tried to understand it as much as I could. Hopefully it's fixable.
From a very old post of mine (https://forum.sa-mp.com/showthread.php?t=360803):
https://www.youtube.com/watch?v=DDGFqemASAc
The bug can be seen at minute: 2.34
Things I figured out:
1. Spawning results most of the time in sync, depends on who has spawned (the driver or the player).
2. When Player A is driving and Player B is on the ship and synced and leaves the position and moves around and then comes back, the player is desynced. We then see these weird jumps in the video.
3. When Player A is not driving and Player B is on the ship and is desynced and leaves the position and comes back to the position WITHOUT moving when he/she changed position, the player is still desynced.
4. When Player A is not driving and Player B is on the ship and is desynced and leaves the position and comes back to the position WITH moving when he/she changed position, the player is synced when Player A starts driving the boat.
5. It happens with both player objects and normal objects, however playerobjects are more susceptible to this issue.
A small script to test this issue: http://pastebin.com/4bsmy7Zv, which requires the streamer plugin.
It's old code, please have a look at OnPlayerCommandText what's going on.
The code:
- /shipobject creates a normal ship, with CreateObjects.
- /shipdynamicobject makes a dynamic ship, with CreateDynamicObject.
- /slap
Slap yourself up onto one ship (remember which one it is) and do /savepos, move around a little and then do /pos, you will be teleported to the ship you were on. If this is the normal ship, everything is fine. However when you do the same with the dynamic ship, you get these weird jump issues. "
^ Though it also appears to happen with CreateObject (see point 5).
All in all, I couldn't really point out the causing issue, however I tried to understand it as much as I could. Hopefully it's fixable.