So I am following this guide: http://appwarp.shephertz.com/game-development-center/java-multiplayer-libgdx-tutorial
And when I call:
theclient.createRoom(roomId, owner, maxusers, data);
I want that the RoomId = Owner, so when I search for joining the room my friend has created, I can search it by his name.
But when the method OnCreateRoomDone is called, roomEvent.getData().getId() != My friends name, so I suppose that I dont pass the RoomId on createRoom... (So i dont know what is the first parameter)
And if roomEvent.getData().getId() != My friends name, if I code this: theClient.joinRoom(myfriendsname); wont work? And how do I do this?
Thanks in advance and I am sorry to ask a lot of questions!