Official Everybody Edits Forums

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.

#1 2017-01-02 15:58:26

CheapMadman
Anonymous user

How could I make my bot join other players?

I have a bot that I want to follow its friends around the everybodyedits universe. How would I program it to join friends? Like in the ee menu on the friends tab. Or is there a way for getting the world id friends are in? Help would be great. Thanks!!

#2 2017-01-02 18:00:04

Mouse99
Anonymous user

Re: How could I make my bot join other players?

This is the only way I know that you could use. It's not going to be accurate because you can play in more than one world.
http://pastebin.com/ThG50mMc

#3 2017-01-02 20:38:10

EvilElephant
Anonymous user

Re: How could I make my bot join other players?

Soo, I decompiled the swf, had a look at the lobby message "getFriends", and it looks like this:

  • [0] String      - Username

  • [1] Boolean   - Online

  • [2] String      - RoomID                (Blank if player is not in a world)

  • [3] String      - Room Name          (Blank if player is not in a world)

  • [4] Integer    - Smiley ID              (ID of their smiley as shown in the friends list)

  • [5] Double    - Last seen               (Timestamp indicating when they were last online)

  • [6] Boolean  - Using Gold Border   (Indicates if player is using the Gold Membership gold smiley border, as shown on their smiley in the friends list)

  • [...] These 7 variables repeat for each friend you have.

I'll update with friend-stalking code if I cba.

#4 2017-01-02 20:51:11

FakeFurball
Anonymous user

Re: How could I make my bot join other players?

But why

#5 2017-01-02 22:40:52

weak wimp
Anonymous user

Re: How could I make my bot join other players?

Normally I'd complain about stalking and stuff.
But since we're talking about friends it's perfectly fine, since EE actually provides normal players to stalk their friends too.

Anyways...
Guess this question got pretty much answered with "EvilElephant"s answer, so long you can think a bit decently to write the logic around using that info.

#6 2017-01-02 22:41:31

weak wimp
Anonymous user

Re: How could I make my bot join other players?

Since I can't edit my posts:
Why did I have to be the one having "weak wimp" as username..?

#7 2017-01-03 00:00:35

Angry aubergine
Anonymous user

Re: How could I make my bot join other players?

Have you made this anon because of a fear to be prejudiced or you just want to surprise your friends when the bot is done?

#8 2017-01-03 00:12:03

EvilElephant
Anonymous user

Re: How could I make my bot join other players?

I got bored, so I wrote some code.

Some code

- Tomahawk

#9 2017-01-03 02:11:19

CheapMadman
Anonymous user

Re: How could I make my bot join other players?

Thanks to all! Sorry, I didn't know allowing users to be Anonymous would actually MAKE them Anonymous. I will know now. -EEC (Original poster)

#10 2017-01-03 07:20:50

silly Surfer
Anonymous user

Re: How could I make my bot join other players?

CheapMadman wrote:

I didn't know allowing users to be Anonymous would actually MAKE them Anonymous

Yeah, diff should have made it so that allowing users to be anonymous makes them actually not anonymous

Wooted by: (2)

Board footer

Powered by FluxBB

[ Started around 1711630176.2122 - Generated in 0.762 seconds, 12 queries executed - Memory usage: 1.44 MiB (Peak: 1.55 MiB) ]