PlayerIO.Connect to PlayerIO.QuickConnect(login/register) a problem occurred.
After it connects they don't show up as being online. But they still have all the function-ability of an online player since they can make rooms and such that other players can see.
This is my code for logging in - not sure it'd hep or not.
- Code: Select all
public static void LoginUser(string playerName, string playerPass)
{
PlayerIO.QuickConnect.SimpleConnect(
" this is private ",
playerName,
playerPass,
delegate(Client client) { Answer = 1; AnswerString = " success "; GClient = client; },
delegate(PlayerIOError err) { Answer = 0; AnswerString = err.Message.ToString(); }
);
}
GClient acts like it connected as it did wtih PlayerIO.Connect, but some how the users won't come up online after connection? Answer and AnswerString don't have anything to do with the code besides acting as return variables in the dll.
The main problem is that when they are logged in then create a room they don't show up as being inside the room so the variable for players in the room will always be 0. That's a big problem. I could make a work around for this but I rather not being that it would be inefficient most likely.
If you need my code for creating rooms, joining rooms, or getting the list tell me please.
Much thanks for the help!