New ressources cant start because ESX cant read nil

I have installed a anticheat called “Vanilla AC” and from there on i cant add scripts. On top of every script i try to install is written ESX = nil, but as you can see on the screenshots it´s not reading it.


CONFIG
ensure mapmanager
ensure chat
ensure spawnmanager
ensure sessionmanager
ensure fivem
ensure hardcap
ensure ■■■■■■■
ensure connectqueue
ensure bob74_ipl
ensure cokelab_ipl
ensure pvp
ensure zone
ensure coordsaver
ensure loading

ensure mysql-async
set mysql_debug false
ensure essentialmode
ensure fxmigrant
ensure esplugin_mysql
ensure es_extended
ensure mumble-voip
ensure rp-radio

ensure esx_dance
ensure esx_accessories
ensure esx_advert
ensure esx_Armour
ensure esx_lscustoms
ensure esx_lscustom1
ensure esx_handcuffs
ensure esx_carwash
ensure esx_clotheshop
ensure esx_communityservice
ensure esx_criminalrecords
ensure esx_detector
ensure esx_dmvschool
ensure pr_doorlock
ensure esx_drugs
ensure esx_duty
ensure esx_holdup
ensure esx_holdupbank
ensure esx_ktackle
ensure esx_pawn
ensure esx_plasticsurgery
ensure esx_sit
ensure esx_tattoosShops
ensure esx_tpm
ensure esx_vangelico_robbery
ensure esx_vangelico_robbery2
ensure esx_mafia
ensure kr_pushvehicle
ensure npc_car_aim_flee
ensure dice
ensure hotdog
ensure tardspack
ensure esx_policemdt
ensure esx_wanted
ensure esx_gopostal
ensure esx_binoculars
ensure esx_bus
ensure nk_repair
ensure esx_items
ensure esx_givevehicle
ensure esx_bitcoin
ensure policeform
ensure medicform
ensure esx_dj
ensure esx_truckshop

Hello, this is a friendly reminder because this is your first time creating a topic (or it has been a while since your last topic) in this category.

Please note that most of the support is provided by the Cfx.re community on a voluntary basis. We ask you to be patient; there is no guarantee we have a solution to your problem(s). To avoid unnecessary/duplicate topics, please browse the forums before creating a topic.

To improve your chances of your issue(s) being solved, please provide as much information as possible about the issue(s) you are having. Also —whenever possible— please use the template given to you when creating a topic.

Thanks for keeping these forums tidy!
:mascot:

Share your esx_truckshop/server/main.lua file

I found the error, there was a triggertool for the anticheat and it changed all server/main.lua files in one line:
image
now there is in every main.lua file the trigger object (“esx:getShFuckbitcharedObjFuckbitchect”), because the trigger tool word was “fuckbitch”.
Do you know how I can change everything back or do I have to write all manually ?

Sure!!

  1. download notepad++
    2.open one *.lua file with notepad++
    3.press ctr+f
    4.select ------> Find in Files
    ============== inside Find in Files panel change the this:=======================
    find what: tape esx:getShFuckBitcharedObjFuckbithect
    replace : esx:getSharedObject
    filter: *.lua

directory: find your recources\

mark follow currnt doc.
mark in all sub-folder
match case
regula expression

and press Replace in Files

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.