There's an error in the world log when a player loads their character. Seems the old field names are still in place for setting character titles. I didn't want to fix this without showing you, since you may just have uncommitted changes still checked out.
Error:
03:22 E DBCore: #1054: Unknown column 'prefix_title' in 'field list'
Cause (in client.cpp, SendCharInfo()):
Code: Select all
database.SetCharacterTitles(this);Function:
Code: Select all
void WorldDatabase::SetCharacterTitles(Client* client){
if(!client)
return;
Query query;
MYSQL_RES* result = query.RunQuery2(Q_SELECT, "SELECT prefix_title, suffix_title, sub_title FROM character_titles where char_id=%i", client->GetCharacterID());
if(result && mysql_num_rows(result) > 0) {
MYSQL_ROW row;
row = mysql_fetch_row(result);
strcpy(client->GetPlayer()->appearance.prefix_title, row[0]);
strcpy(client->GetPlayer()->appearance.suffix_title, row[1]);
strcpy(client->GetPlayer()->appearance.sub_title, row[2]);
}
}