Hello.
My server have a prebuild account manager. When I try to create an account, he asks for password first, and account after. I want to invert that order (ask account first, then after asks for password). I have tried to do myself without success. In my tries when manager asks for password, the entire code starts to bug.
This is the original code part (player.cpp):
This is my modified part that i cannot make work (player.cpp):
This is how account manager works without modification
This is how I intended to work, but I cannot make it (password part is flawed)
The problem lies within the part that deals with password and account registration.
My server have a prebuild account manager. When I try to create an account, he asks for password first, and account after. I want to invert that order (ask account first, then after asks for password). I have tried to do myself without success. In my tries when manager asks for password, the entire code starts to bug.
This is the original code part (player.cpp):
[C++] Original Code - Pastebin.com
pastebin.com
[C++] Modified Code - Pastebin.com
pastebin.com
This is how account manager works without modification
This is how I intended to work, but I cannot make it (password part is flawed)
The problem lies within the part that deals with password and account registration.