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

Index a nil value (local 'xplayer') #69

Closed
DmACKGL opened this issue Jul 14, 2020 · 2 comments · Fixed by #78
Closed

Index a nil value (local 'xplayer') #69

DmACKGL opened this issue Jul 14, 2020 · 2 comments · Fixed by #78
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@DmACKGL
Copy link
Collaborator

DmACKGL commented Jul 14, 2020

Issue: nil value (local 'xplayer')
How to replicate: Reload gcphone (restart gcphone)
File (if known): server.lua
Line (if known): 546

local identifier = xplayer.identifier

Screenshot of the issue (if available):
Server Console

@DmACKGL
Copy link
Collaborator Author

DmACKGL commented Jul 14, 2020

After testing a lot of times, the issue doesn't always happen.
A try-catch in server and client-side should do the trick.

@DmACKGL DmACKGL added bug Something isn't working help wanted Extra attention is needed labels Jul 14, 2020
@DiabolicAngeL
Copy link

After testing a lot of times, the issue doesn't always happen.
A try-catch in server and client-side should do the trick.

I have this error every time my character is loading in the game.
Using latest version.

DmACKGL added a commit that referenced this issue Jul 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants