Closed SalmonDE closed 7 years ago
Has this been tested?
Roughly. Using the correct password let me log into my account. Using a false password told me I lost a try. Can I request testing from others?
Can I turn functions I need in my async tasks to static ones so I don't need to copy them?
Nu
Coding seems to be done, testing now. However, unregister, preregister and changepassword could still lag the server.
Seems good so far
No issues found. Green light from me.
Due to lag spikes mentioned in #56 I opened this pr to add asynchronous login and register. It is configurable inside the config, so in case people find this unnecessary they don't have to use it.
While most of the login part is performed on the main thread afterwards, the hashing is done in another thread. That's because the hashing was the main cause of the lags and the login sequence after working out the hash needs to use the PocketMine-MP API.
Login is implemented and is ready for testing. Register still needs to be worked on.