Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SCRIPT ERROR: @es_extended/server/main.lua:319: attempt to index a nil value (field 'JobsPlayerCount') #1324

Closed
XoHydroX opened this issue Feb 23, 2024 · 7 comments
Assignees
Labels
bug Something isn't working

Comments

@XoHydroX
Copy link

XoHydroX commented Feb 23, 2024

get this error when player leaves and joins
[ script:es_extended] SCRIPT ERROR: @es_extended/server/main.lua:333: attempt to index a nil value (field 'JobsPlayerCount')
[ script:es_extended] > loadESXPlayer (@es_extended/server/main.lua:278)
[ script:es_extended] > handler (@es_extended/server/main.lua:33)
[ script:es_extended] > rawExecute (@oxmysql/dist/build.js:26554)
[ script:es_extended] > runMicrotasks (:0)
[ script:es_extended] > processTicksAndRejections (node:internal/process/task_queues:96)

anyway i can just remove this

@XoHydroX XoHydroX added the bug Something isn't working label Feb 23, 2024
@github-project-automation github-project-automation bot moved this to 🆕 New in ESX Roadmap Feb 23, 2024
@Gellipapa
Copy link
Contributor

@XoHydroX Hi! Do you use latest es_extended version?

@XoHydroX
Copy link
Author

XoHydroX commented Feb 24, 2024

yes i do im using the recent one
start fresh server with no other scripts just the stuff it comes with

@Gellipapa
Copy link
Contributor

@XoHydroX Interesting, i builded new server and works very good. Do you added any value in jobs table in db?

@XoHydroX
Copy link
Author

XoHydroX commented Feb 24, 2024

I’ll have to check when I get off work
What’s the db so post to look like for the table

@Gellipapa
Copy link
Contributor

I’ll have to check when I get off work What’s the db so post to look like for the table

You can see correct sql in esx_core, [SQL] folder.

@Gellipapa
Copy link
Contributor

@XoHydroX Hi! Have you managed to fix it? Can I close the issue?

@Gellipapa Gellipapa moved this from 🆕 New to 📋 Awaiting feedback in ESX Roadmap Feb 29, 2024
@XoHydroX
Copy link
Author

XoHydroX commented Feb 29, 2024 via email

@github-project-automation github-project-automation bot moved this from 📋 Awaiting feedback to ✅ Done in ESX Roadmap Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

3 participants