Hey Size43,
Yeah, I'd be happy to! I'm also looking forward to the session tutorial.
I have two objects, one is for if the player wants to create a session.
After they press ENTER after typing in a type, this code is initiated:
lobby = keyboard_string;
gms_session_create(lobby);
They are then sent to a point where it draws the current session ID on the screen so they can send it to their friends. The friend types in the session ID with a different object, and after they press ENTER, this code is initiated:
gms_session_join(keyboard_string);
But if the person who creates it is in a lobby, and the player joining joins that lobby, then it gives me an error saying the session doesn't exist.
Any suggestions?
Size43
(Administrator)
on
25 Dec 2017, 14:41:59
keyboard_string is a string, which I suspect is not being converted to a number properly. Try explicitly converting it by changing it to real(keyboard_string).
Hey Size43,
Hmmm, that didn't seem to work. The session error is still happening.
If you're out of ideas, I can wait for the new session tutorial to be released and
just go off of there when you're ready.
Size43
(Administrator)
on
27 Dec 2017, 13:25:14
I'll add some debugging info to the error message in the update that'll be released later today. That should make figuring out the issue easier.