NullSystemWorks / mtadayz

Official MTA:DayZ Repository
Other
40 stars 35 forks source link

Cant Login/Register #178

Closed xDaysCommunity closed 5 years ago

xDaysCommunity commented 5 years ago

Hello i downloaded the Script and Follow the Steps, i Using MySql and this is my errors

[11:30:26] JOIN: Rene^^ joined the game (IP: --------) [11:31:16] ERROR: login/login_server.lua:184: attempt to concatenate global 'secretKey' (a nil value) [11:31:21] ERROR: login/login_server.lua:184: attempt to concatenate global 'secretKey' (a nil value) [DUP x2] [11:31:21] ERROR: login/login_server.lua:81: attempt to concatenate global 'secretKey' (a nil value) [11:31:27] ERROR: login/login_server.lua:81: attempt to concatenate global 'secretKey' (a nil value)

Pls HELP ME!

Risusama commented 5 years ago

@xDaysCommunity At the moment, due to a hot-fix, MySQL usage is broken. So, for now you cannot use MySQL. Disable it. Then you will be able to register, login, and play.

mtadayz commented 5 years ago

From what I can gather, this happens when login is started/loaded before DayZ, more specifically, the "exports.lua" file. Due to the secret key being stored inside DayZ, any attempt at trying to load said key ends in failure. I guess one could fix it by relocating the secret key to the login resource, that'd get rid of this bug.