Spc Posted March 9, 2018 Share Posted March 9, 2018 I have a bug with trailers (screenshot). On my player's camera the trailer looks normal, but everyone else can see the bugged trailer. Is it MTA bug or something? Link to comment
Moderators IIYAMA Posted March 9, 2018 Moderators Share Posted March 9, 2018 I would indeed consider that a MTA bug, (if the trailer is serverside and synchronization is enabled) What happens here is that the server for some reason doesn't assign a syncer(player) to the trailer. So no player tells the server where the trailer is located. And because of that, it is also not sending its location to the clients. If the server did stream this location, the trailer might get stuck in the ground because the server doesn't know where the floor is located. One of the main issue's with trailers is that they can't be driven.(afaik) Normally if a player enters one of the seats, the server clearly knows which player is responsible for streaming the vehicle position.(driver seat has priority) Link to comment
Toliak Posted March 9, 2018 Share Posted March 9, 2018 You can check distanation between trailer and trucker (if they linked) on client prerender. Normal is between 8 and 10. If not, you can detach and attach trailer (on client-side, of course) Link to comment
Captain Cody Posted March 9, 2018 Share Posted March 9, 2018 Im going to do some experimenting with this and depending on how it goes I'll be releasing a fix for it. 1 Link to comment
Captain Cody Posted March 9, 2018 Share Posted March 9, 2018 What Im considering is, creating a client side trailer system and syncing that between players. Controller will be either the driver of the truck towing, or the closest player. Will need a lot of testing but should work out massively better then the system currently in place. Link to comment
Moderators IIYAMA Posted March 9, 2018 Moderators Share Posted March 9, 2018 (edited) The same issue occurs sometimes with new spawned peds, except the re-sync happens eventually after some seconds. Might that be related? (The problem might be located in the bandwidth reduction, it is the perfect place for that to happen in my opinion.) Edited March 9, 2018 by IIYAMA Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now