I am getting a strange behaviour in one of my scripts where the player is teleported, I think it might be due to a change to one of the natives, I couldn’t see native_universal.lua, is it just the natives.lua that is updated on the fivem client?
Many thanks, once i track it down i will report back. Thanks
Found the natives_universal.lua i checked on the server machine before the update.
In one of my scripts where I target a ped in a vehicle and make them a target or escort etc, upon starting my player character is teleported to x = -8192 y = -8192 z = 500 I wanted to find the native that is causing this but am actually strugglng to isolate it.
We have to check every resource and check if the following line is in the __resources.lua file :
resource_manifest_version ‘< manifest >’
Since the upgrade, if no manifest is set, it uses the new one : “44febabe-d386-4d18-afbe-5e627f4af937”
Before the upgrade, it used to use “f15e72ec-3972-4fe4-9c7d-afc5394ae207”
We have to check every resource not specifying any manifest and add the following line to make sure it uses the previous one. (Then debug to use the new one) resource_manifest_version ‘f15e72ec-3972-4fe4-9c7d-afc5394ae207’
By default, no manifest version is used, which is equivalent to manifest GUID 00000000-0000-0000-0000-000000000000. This (along with the empty GUID) will be removed in FXServer, and resources will be required to specify a manifest version.
Ah, this was an old anti-cheat measure that had been in the code for a long time - this didn’t just occur since this update, but was always in the game. It’ll be removed in a hotfix shortly.
Was so nice to just click fivem and it autoloads into your local dev server. at least the direct connect doesn’t try to connect to server “l” server “lo” server “loc” server “loca” server “local” server “localh” like every 5 ms as you type it like it used to.