We’ve just merged the
cloning-plus branch for OneSync into the master branch of FiveM. This means that the following features exist as of the latest server builds:
- Lots and lots of server performance optimizations for OneSync.
- Less crashes - there’s a few new ones, but a lot of old ones are gone.
- Up to 128 player slots (for FiveM Element Club Platinum and higher only at this time, set sv_maxclients to any high value up to 128)
- Less breakage with population enabled.
- 32 slot OneSync for free for development, testing and using server-side APIs!
How to use it?
Simple - update your server to version 1346 or above (basically the latest ok). It’s not been tested on Linux yet, so use Windows for now. Old servers have received minimal testing with the new client, but they should still somewhat work fine.
Make sure you changed your loops in scripts to 256, and not ‘64’ - even if you stay at 64 slots, you’ll need to have your loops set higher than 64 for your scripts to remain working. If you followed the documentation, this should be correct already, if you decided to be a smart-ass and ‘but 64 works fine too’, then you’ll have to change it again.
As usual, report high-quality bug reports in #general-discussion:1s-reports, and have fun!
Future work will involve:
- client performance increases
- crash fixes?
- array handlers, network ptfx, such broken stuff