Esx_society & es_extended errors. Can't view employee list

Howdy,

Anytime I try to view the employee list I get this error:

Line 236 of es_extneded/client/functions.lua: 
ESX.UI.Menu.RegisteredTypes[type].open(namespace, name, data)
Line 249 of esx_society/client/main.lua
ESX.UI.Menu.Open('list', GetCurrentResourceName(), 'employee_list_' .. society, elements, function(data, menu)
Line 1332 of es_extended/client/functions.lua
ESX.ServerCallbacks[requestId](...)

After that it breaks the boss menu, can’t open it or anything with this error:

Line 173 of es_extended/client/functions.lua
ESX.UI.Menu.RegisteredTypes[type].close(namespace, name)
Line 1861 of esx_policejob/client/main.lua
ESX.UI.Menu.CloseAll()

I’m starting esx_society before all of my jobs. I also have esx_menu_default & esx_menu_dialog those start before esx_society

Any help will be greatly appreciated, let me know if you need anymore info to help me.

Hi,

indeed there is something wrong, before we go any further please provide me with the following information.

  • what is the job
  • have you touched the script in any editting way?
  • did you touch the database?
1 Like

Hey, thanks for the reply I appreciate it.

  • The job is both esx_policejob & esx_mechanic

  • I have touched es_extended/client/functions.lua. Look here at lines 47-60 and 1352-1377. I have not edited esx_society

  • I have touched the database a couple of times

I’d like to point out that recruiting from the BOSS menu and the command /society both work

Like to add that this is an issue with any job that uses esx_society / has a boss menu

From the looks, it looks like you have editted one portion of a gigantic script, it has trouble reading further seen that it probably is referring to the bit you edited. Try setting it back to the default, maybe that will work. or you can edit the rest of the script so it will work with your editted portion?

Thanks for the reply, again. I appreciate it.

I removed my edits to es_extended/client/functions.lua and I am still getting the same errors.

Thanks for the help,
GP

1 Like

Can you maybe send me the script? I will try to take a look for you!

Absolutely, I uploaded them to GitHub for you.

See here: https://github.com/Grant-Sweat/ParanoidRP

Let me know if you need any other files or information.

Thanks for your help, I appreciate it a lot.

Try these:
esx_society.rar (39.3 KB) es_extended.rar (117.3 KB)

Thanks for the files, with these file’s I am getting these errors:

I get this error when attempting to access the Employee List

After Attempting to access the employee list it breaks the BOSS actions where I can no longer open the menu with this error

Thanks,
GP

Ok, then it is you esx_police and mecano job. Send me those?

Have you install this menu ?

Screenshot_1

Hi,

Which __resource.lua should these be in?

I have all of those installed on the server, but maybe I forgot to add them to a certain __resource.lua ?

1 Like

can i see your server.cfg ?

Hi,

Here’s my server.cfg https://pastebin.com/jA7SjCyM

are you using old mysql and essential mode ?, because to start script you using ‘ensure’

Maybe you can ‘ensure’ your script correctly

  • esx_addonaccount first and then next until esx billing in the last place.

(follow my screenshot)
Screenshot_3

mysql-async version: 3.2.0

Essential Mode version 3

I will test what you said later as I am not currently home.

Thanks for the help,
GP

Ensuring is for restarting a script ingame. It makes sure you don’t crash. In your server.cfg you should allways ‘start’ a script!

Sorry for taking so long to reply,

but I copied your resource start up order and I am still having the same issues & errors.