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 Before February 2015

Koya
Fabulous Member
From: The island with those Brits
Joined: 2015-02-18
Posts: 6,310

[Help] Getting users already in a world

Since the update today "add" seems to only get users who join the world while the bot is active rather than all users in the world.

Does anyone know how to fix this issue?


Po9cnQh.png

PLNQVL8.png
Thank you eleizibeth ^

1SYOldu.png

I stack my signatures rather than delete them so I don't lose them
giphy.gif

WfSi4mm.png

Offline

#2 Before February 2015

Processor
Member
Joined: 2015-02-15
Posts: 2,246

Re: [Help] Getting users already in a world

Use CupCake //forums.everybodyedits.com/img/smilies/wink
Or go figure how I fixed it in CupCake //forums.everybodyedits.com/img/smilies/tongue

(I'm gonna see how long it takes for you to figure this out)

Edit: Fine, you just need to wait a while before you send "init2"

private static Connection _conn;  private static void Main() {     var client = PlayerIO.QuickConnect.SimpleConnect("everybody-edits-su9rn58o40itdbnw69plyw", "guest", "guest");     _conn = client.Multiplayer.CreateJoinRoom("PW01", "Everybodyedits183", false, null, null);     _conn.OnMessage += conn_OnMessage;     _conn.Send("init");      Thread.Sleep(Timeout.Infinite); }  static void conn_OnMessage(object sender, Message e) {     if (e.Type == "init")     {         _conn.Send("init2");     } }

Last edited by Processor (Oct 2 2014 9:34:31 am)


I have never thought of programming for reputation and honor. What I have in my heart must come out. That is the reason why I code.

Offline

#3 Before February 2015

Koya
Fabulous Member
From: The island with those Brits
Joined: 2015-02-18
Posts: 6,310

Re: [Help] Getting users already in a world

Processor wrote:

Use CupCake //forums.everybodyedits.com/img/smilies/wink
Or go figure how I fixed it in CupCake //forums.everybodyedits.com/img/smilies/tongue

(I'm gonna see how long it takes for you to figure this out)

Right, ok - <>.
Edit: if anyone else can help I would be very grateful

Last edited by Metatron (Oct 1 2014 2:45:44 pm)


Po9cnQh.png

PLNQVL8.png
Thank you eleizibeth ^

1SYOldu.png

I stack my signatures rather than delete them so I don't lose them
giphy.gif

WfSi4mm.png

Offline

#4 Before February 2015

lrussell
Member
From: Saturn's Titan
Joined: 2015-02-15
Posts: 843
Website

Re: [Help] Getting users already in a world

I feel like it may of been moved to init or something, not sure though. *guessing*

Offline

#5 Before February 2015

Jabatheblob1
Member
Joined: 2015-03-01
Posts: 856

Re: [Help] Getting users already in a world

check init messages


If you would like me to make a bot for you, go here.

Offline

#6 Before February 2015

XxAtillaxX
Member
Joined: 2015-11-28
Posts: 4,202

Re: [Help] Getting users already in a world

I gave away how to do it so Processor would shut up about Cupcake,
all you need to do is send init2 only after you receive 'init' after sending 'init'

con.Send("init");

onMessage:
if (e.Type == "init") con.Send("init2");

then you'll receive the 'add' messages.


signature.png
*u stinky*

Offline

#7 Before February 2015

Koya
Fabulous Member
From: The island with those Brits
Joined: 2015-02-18
Posts: 6,310

Re: [Help] Getting users already in a world

XxAtillaxX wrote:

I gave away how to do it so Processor would shut up about Cupcake,
all you need to do is send init2 only after you receive 'init' after sending 'init'

con.Send("init");

onMessage:
if (e.Type == "init") con.Send("init2");

then you'll receive the 'add' messages.

Ahh I was sending 'init2' after 'init' but probably before I received the 'init' message.


Po9cnQh.png

PLNQVL8.png
Thank you eleizibeth ^

1SYOldu.png

I stack my signatures rather than delete them so I don't lose them
giphy.gif

WfSi4mm.png

Offline

Koya1423758728202704

Board footer

Powered by FluxBB

[ Started around 1714893550.3243 - Generated in 0.046 seconds, 10 queries executed - Memory usage: 1.45 MiB (Peak: 1.58 MiB) ]