Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?
You are not logged in.
Pages: 1
I want to be able to have a list of all the worlds available and be able to click one to join it. How do I get a list of all the worlds that are open.
Offline
the lobby?
lunchbox
Offline
i believe that is what he wants. all of the worlds in the lobby.
Sample Text.
Doritos/Mountain Dew eater.
420 No scoping 69 scrubs per day
Always smoke weed everyday.
Known for: #getrekt Bot (possible revive with new stuff?)
Offline
Yes
Offline
Do you want to code this. Or do you want a finished bot?
Here is a code for worlds. It's not finished yet.
Offline
Simpler way:
RoomInfo[] rooms = PlayerIO.QuickConnect.SimpleConnect("everybody-edits-su9rn58o40itdbnw69plyw", "guest", "guest", null).Multiplayer.ListRooms(null, null, 0, 0);
foreach (RoomInfo room in rooms)
{
if (room.RoomType == "Everybodyedits207") //Gets all normal rooms. 207 = current EE version.
{
string roomID = room.Id;
string roomName = "";
int players = room.OnlineUsers;
if (room.RoomData.ContainsKey("name")) roomName = room.RoomData["name"];
... Do something with the room IDs, names and online players, like storing them in a dictionary.
}
}
}
See EE Info for the list of normal room types.
"RoomData" is a Dictionary<string, string> containing the following keys for a room of type "Everybodyedits207":
"owned" - Is owned by the account used to list the rooms
"needskey" - Has a code. Returns "yep" if it does.
"plays" - Total plays.
"rating" - Seems to always be "0".
"name" - Room name.
"Favorites" - Number of people who favorited the world.
"Likes" - Number of likes.
"description" - Room description, as set by the owner.
"IsFeatured" - Is on the featured tab.
"IsCampaign" - Is a campaign level.
"LobbyPreviewEnabled" - Whether its minimap can be viewed from the lobby.
Rooms with types like "Tracking207" have an empty RoomData dictionary.
One bot to rule them all, one bot to find them. One bot to bring them all... and with this cliché blind them.
Offline
Here you go. http://www.mediafire.com/download/9zp99 … tLobby.zip
Picture, I'm too lazy to fix the look
Offline
Pages: 1
[ Started around 1732426745.6961 - Generated in 0.047 seconds, 12 queries executed - Memory usage: 1.45 MiB (Peak: 1.56 MiB) ]