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.
I was wondering how to make a bot get all the world ID's from the lobby and put it into an array or list.
Got any ideas?
this is how to connect to the lobby:
con = client.Multiplayer.CreateJoinRoom(client.ConnectUserId, "Lobby" + client.BigDB.Load("config", "config")["version"], true, null, null);
EDIT:
sorry for that thing with ninjabot. i didn't realize that it might've been harmful, because it only said 2 messages. I guess i should've known. Multiply 3 * (the amount of worlds online) * 2 and you get how many times it spammed. Sorry.
Offline
Try this:
RoomInfo[] roomInfo = client.Multiplayer.ListRooms("Everybodyedits" + version, null, 0, 0);
It will return an array of RoomInfo.
And doing something like:
roomInfo[i].Id
will give you the world ID of that room.
Good luck.
EDIT:
And for good measure, do this as well:
client.Multiplayer.ListRooms("Beta" + version, null, 0, 0);
to ensure you get beta worlds, too.
Offline
Or use this to list everything, cli.Multiplayer.ListRooms(null, null, 0, 0, OnRoomList);
But you need to check for Lobby, PW, BW, OW.
Lobby = Lobby
PW = Saved world
BW = Beta world
OW = Open world
Offline
Thanks for telling ninja how to do it. Now he has his bots enter every world to advertise his own bot.
Seriously, don't abuse the power of bots, ninja.
Offline
Connecting a bot to every single world just to announce your bot will most likely get it banned.
Do not connect it to every world. Just be happy you have lobby now.
thanks zoey aaaaaaaaaaaand thanks latif for the avatar
Offline
So I helped someone to spam their bot.. What is this. Now I'm really mad because of this.
EDIT:
sorry for that thing with ninjabot. i didn't realize that it might've been harmful, because it only said 2 messages. I guess i should've known. Multiply 3 * (the amount of worlds online) * 2 and you get how many times it spammed. Sorry.
Harmful? It's stupid why would you even do this? Did you even think before?
Here are we helpful and all you do is to advertise your bot everywhere. I'm not going to help you next time. This was the last.
Offline
IP bans are available. Report if you see this happen please.
No u.
Offline
[ Started around 1732796454.0785 - Generated in 0.042 seconds, 13 queries executed - Memory usage: 1.45 MiB (Peak: 1.57 MiB) ]