esx-framework / esx_core

Official Repo For core resources for esx-legacy
https://documentation.esx-framework.org/
GNU General Public License v3.0
356 stars 737 forks source link

[Bug] - @es_extended/server/main get error msg #1370

Closed Who-is-Cola closed 1 month ago

Who-is-Cola commented 1 month ago

Describe the bug error in the @es_extended/server/main.lua:591

Expected behavior After using the 1.10.6 esx version get the error below

[ script:es_extended] SCRIPT ERROR: @es_extended/server/main.lua:591: attempt to index a nil value (local 'xPlayer') [ script:es_extended] > ? (@es_extended/server/main.lua:591) [ script:es_extended] > handler (@es_extended/server/modules/callback.lua:19)

Screenshots If applicable, add screenshots to help explain your problem. image Debug Info (please complete the following information):

Who-is-Cola commented 1 month ago

Also want to ask that if i want to add the zh-tw locales for the next version of esx. do i have to use the pull requests for github? I look forward to your response.Many thx

Gellipapa commented 1 month ago

@Who-is-Cola Hi! Yes, you can use pull request and you can add some locales in core.

Gellipapa commented 1 month ago

@Who-is-Cola When do you get this error because if you use the latest version it works perfectly fine, loads the character etc, I just tested it.

Who-is-Cola commented 1 month ago

@Gellipapa oic, I encountered an error after using the new version of ESX. Tomorrow, I plan to try deleting my character in SQL and creating it again to see if the issue persists. I'll let you know the outcome after I test it.

Is there any way to add some locales in the core, apart from submitting a pull request?

Thank you for your response above.

Who-is-Cola commented 1 month ago

image

ok I have delete my character and the user in sql, but is seems that the error still there.

I would like to ask, what is usually the cause of this error?

Also are there any possible solutions to solve this problem?

image image

Gellipapa commented 1 month ago

@Who-is-Cola Hi! Can you test please es-extended 1.10.5 version?

Who-is-Cola commented 1 month ago

Okay, I'll give you the answer tomorrow~

Who-is-Cola commented 1 month ago

Hello, i have just test the 1.10.5 and it work perfectly, and no error msg for loacal xplayer image

Gellipapa commented 1 month ago

@Who-is-Cola Hi! Please update latest version and re-test, we have released 1.10.7 hotfix soon.

Gellipapa commented 1 month ago

I tested works, i think this is local problems.