Thank you! @Break
For that part, what should I do?
-------------------------------------------------------------------------------------------------------------------------
Open ../src/login/account_sql.c
Search:
"SELECT `account_id`,`userid`,`user_pass`,`sex`,`email`,`level`,`state`,`unban_time`,`expiration_time`,`logincount`,`lastlogin`,`last_ip`,`birthdate` FROM `%s` WHERE `account_id` = %d",
Change to:
"SELECT `account_id`,`userid`,`user_pass`,`sex`,`email`,`level`,`state`,`unban_time`,`expiration_time`,`logincount`,`lastlogin`,`last_ip`,`birthdate`,`lock_id` FROM `%s` WHERE `account_id` = %d",
Search:
Sql_GetData(sql_handle, 12, &data, NULL); safestrncpy(acc->birthdate, data, sizeof(acc->birthdate));
Adding below:
Sql_GetData(sql_handle, 13, &data, NULL); acc->lock_id = strtoul(data, NULL, 10);
----------------------------------------------------------------------------------------------------------------------------------------------------