[Release] EssentialMode base

Anyone know about this error when someone loads into the server?

Here are the scripts from ESX_addoninventory line 95

AddEventHandler(‘esx:playerLoaded’, function(playerId, xPlayer)

local addonInventories = {}

for i=1, #InventoriesIndex, 1 do

    local name      = InventoriesIndex[i]

    local inventory = GetInventory(name, xPlayer.identifier) <--- line 95

    if inventory == nil then

        inventory = CreateAddonInventory(name, xPlayer.identifier, {})

        table.insert(Inventories[name], inventory)

    end

    table.insert(addonInventories, inventory)

end

Here is the script from ES_EXTENDED link 216
TriggerEvent(‘esx:playerLoaded’, _source)

            TriggerClientEvent('esx:playerLoaded', _source, {

                identifier   = xPlayer.identifier,

                accounts     = xPlayer.getAccounts(),

                inventory    = xPlayer.getInventory(),

                job          = xPlayer.getJob(),

                loadout      = xPlayer.getLoadout(),

                lastPosition = xPlayer.getLastPosition(),

                money        = xPlayer.get('money')

            })

            xPlayer.player.displayMoney(xPlayer.get('money'))

        end)

ever figure this out?

Nope, hoping someone knows the answer

getting this error

i get this error help me nothing is fixing it is researched and didn’t find anything

It looks like you are missing some type of dll file. Are you confirming you are connecting to your database, because I see missing SQL issues.

I ever had this same issue but i don’t remember the fix maybe i just reinstalled my server im not sure…

i reinstalled my server many times

i can send a picture of my server.cfg

Profiler 300 frames/ 95 online players, any way to fix that? :slight_smile: (server side)

1 Like

Does anyone knows the reason for this error? My guess is that it appears when a player that’s already registered, goes into the server. I think it is because of the information I see, because the query it wants to do, is to insert 0 values for money etc. stuff, that’s already different for a player that’s registered (obviously). I covered the steam id and license for obvious reasons. Any help would be appreciated, because the server works, just wanted to know the reason for this error, as it seams it is related to esplugin. I have imported the sql script into the database from this particular script (esplugin), I am using the latest ESX and essential mode and other stuff that was needed for this to work. Well, it is working, but the error’s reason is still a bit mistery to me.

Steam key authenticator (nucleus) at bottom of server cfg needs to be set?

[server.cfg] add [sv_listingIPOverride “123.123.123.123(you ip)”]

EssentialMode version 6.3.0 has been released!

Changelog:

  • Custom prefix for system messages (new Convar ‘es_prefix’ & ‘es_errorprefix’)
  • Don’t show Zap messages on Zap servers
  • Removed more unused code to create a cleaner codebase
  • Support for different identifiers (new Convar ‘es_identifierUsed’)
  • By default disable metrics, please enable them if you’d like to support development (Convar ‘es_enable_metrics’)

Also I advise using https://github.com/zap-fivem/esx/ instead of the usual ESX by Hawaii_Beach. Due to ongoing harassment, insults and threats from him, he also decided to forcefully stop base FiveM resources and has shown great distaste into helping the FiveM community.

If there are any questions about this release, let me know!

1 Like

@Kanersps - I just updated my EssentialMode in my server. I continue to get an error when trying to load the server back up. Any idea?

image

is anyone getting this after update essentialmode??

Hi, you should rollback to the following ESX version:

In the original topic ([Release] EssentialMode base) there is an explanation as to why this was needed

@Charm1n I’ve actually had that crash before, but I don’t remember from what. Maybe a good idea to post this in server support?

copy that ill give it a try… thanks

That worked, I don’t know why I didn’t think to do that haha.

thanks for your time.

No problem!

Let me know if there are any other issues you face :slight_smile: