C++ Changing the password order in account manager

sondwave

New Member
Joined
Feb 28, 2012
Messages
7
Reaction score
0
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
36712
This is how I intended to work, but I cannot make it (password part is flawed)
36713


The problem lies within the part that deals with password and account registration.
 
Top