NullSystemWorks/mtadayz

Login/Register panel bug, multiple "event not added serverside" errors

Risusama opened this issue · 1 comments

Line 9 in file login/login_server.lua
secretKey = exports["DayZ"].getGameplayVariablesServerPairs()["secret_key"]

Causes the following errors:

[2019-04-23 18:30:28] ERROR: [DayZ]\login\login_server.lua:9: call: failed to call 'DayZ:getGameplayVariablesServerPairs' [string "?"]
[2019-04-23 18:30:28] ERROR: [DayZ]\login\login_server.lua:9: attempt to index a boolean value

Which escalate to the following:

[2019-04-23 18:31:43] ERROR: Client (DebexeL) triggered serverside event pullChangelog, but event is not added serverside
[2019-04-23 18:32:10] ERROR: Client (DebexeL) triggered serverside event onClientSendRegisterDataToServer, but event is not added serverside
[2019-04-23 18:32:37] ERROR: Client (DebexeL) triggered serverside event onClientSendLoginDataToServer, but event is not added serverside

Commenting the specified line in the script fixes this problem.
I'll push a change to my fork, commenting the line and explaining the problem. But keep in mind, this change I make is not a real fix. It is simply a temporary "bandage" until someone can figure out a real fix.

We are going to fix it as soon as possible.
Thanks.