Ok.. Currently trying the get the basics working for the chat server, but there is one problem..
Connect to chat-server:
Only get account ID.
With the account id I could do a query to get all characters.
Now to chat, I need to get the player name from somewhere, but how?
Right now I do at
UT_ENTER_CHAT
app->AddUser(ACCOUNT_NAME_FROM_DATABASE, this);
And its also working
![]()
but the problem is now the character name.. How could I get the current character ID or character username. Any ideas?
Connect to chat-server:
Only get account ID.
With the account id I could do a query to get all characters.
Now to chat, I need to get the player name from somewhere, but how?
Right now I do at
Quote:
UT_ENTER_CHAT
Quote:
app->AddUser(ACCOUNT_NAME_FROM_DATABASE, this);

but the problem is now the character name.. How could I get the current character ID or character username. Any ideas?