OneSync

 Well-Sourced - This page cites many reputable references.

OneSync is a feature of FiveM, OneSync is designed to improve the synchronization and performance, allowing more players to join a server and enhancing the development of networked entities.

Features

Some of the features of OneSync are:

And more listed on the FiveM documentation: OneSync - Cfx.re Docs (fivem.net)

The Problem With Trainers

Some trainers like Menyoo and its object spooner might have a problem with the player and entity culling when they get too far away because:

This means that objects spawned by trainers might not be visible or persistent for other players or the server if you are eventually outside of the culling radius. This is also why if you went to view the objects database in Menyoo and saw a bunch of "INVAILD" objects. They were spawned in, but due to being out of distance or just at some point, they are no longer controllable by you.

The distance isn't exactly too known, in the commit code, 

					// #TODO1S: figure out a good value for this
					if (distSquared < (650.0f * 650.0f))
					{
						shouldBeCreated = true;
					}
				}
			}

In FiveM's docs, they say

By default, the culling radius is set to 424 units around the entity. - FiveM Documentation


Revision #9
Created 6 September 2023 17:01:34 by admin1
Updated 8 September 2023 22:16:21 by admin1