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 2016-12-08 21:43:07

capasha
Member
Joined: 2015-02-21
Posts: 4,066

I get chat before the old chat.

Sometimes when I join worlds I get the old chat messages after the new message. Should it be like this?

uEyTcvZ.png

Offline

Wooted by:

#2 2016-12-08 21:46:40, last edited by hummerz5 (2016-12-08 21:47:17)

hummerz5
Member
From: wait I'm not a secret mod huh
Joined: 2015-08-10
Posts: 5,852

Re: I get chat before the old chat.

capasha wrote:

Sometimes when I join worlds I get the old chat messages after the new message. Should it be like this?

http://i.imgur.com/uEyTcvZ.png

How should we fix that? Wait until all the old messages are in? How do we figure that? I mean personally I'd just make some sort of chat init that we would always receive, whether there are old chats or not... then once we receive that, we know that we're outputting non-stale chat.

or we could just like... order the chats...

edit: disclaimer: I know nothing about EE and am not a developer and you're not so I mean purely hypothetically

Offline

#3 2016-12-08 22:22:28

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

Re: I get chat before the old chat.

hummerz5 wrote:
capasha wrote:

Sometimes when I join worlds I get the old chat messages after the new message. Should it be like this?

http://i.imgur.com/uEyTcvZ.png

How should we fix that? Wait until all the old messages are in? How do we figure that? I mean personally I'd just make some sort of chat init that we would always receive, whether there are old chats or not... then once we receive that, we know that we're outputting non-stale chat.

or we could just like... order the chats...

edit: disclaimer: I know nothing about EE and am not a developer and you're not so I mean purely hypothetically

afaik say_old is recieved after init2 is sent but say can be recieved before say_old showing what happens here, it is a split second so a small holding buffer would stop this from happening - either x number of messages or y number of milliseconds passed.


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 2016-12-08 22:32:25

hummerz5
Member
From: wait I'm not a secret mod huh
Joined: 2015-08-10
Posts: 5,852

Re: I get chat before the old chat.

Koya wrote:

afaik say_old is recieved after init2 is sent but say can be recieved before say_old showing what happens here, it is a split second so a small holding buffer would stop this from happening - either x number of messages or y number of milliseconds passed.

Or perhaps not send the "say" to anyone who hasn't sent their init2 yet? I'm not sure I see where the delay could be handy

Offline

#5 2016-12-08 23:19:48, last edited by Era (2016-12-08 23:20:22)

Era
Member
From: ::1
Joined: 2015-05-06
Posts: 884

Re: I get chat before the old chat.

pm's are not in 'say'

also... instead of trying to make this different serverside fix it clientside //forums.everybodyedits.com/img/smilies/tongue

Offline

Wooted by:

#6 2016-12-09 00:20:39

hummerz5
Member
From: wait I'm not a secret mod huh
Joined: 2015-08-10
Posts: 5,852

Re: I get chat before the old chat.

Era wrote:

also... instead of trying to make this different serverside fix it clientside tongue

a) ok well I halfway suggested that with "or we could just order the messages"
b) can you explain what's better about client vs server side? Given that they have power over both, which would make more sense? Does either actually have a tangible benefit?

Offline

#7 2016-12-09 00:23:02

Era
Member
From: ::1
Joined: 2015-05-06
Posts: 884

Re: I get chat before the old chat.

clientside does not break older bots, well ones that depend on recieving old_msg at a certain time, for most cases it is rather irrelevant though.

Offline

#8 2016-12-09 05:11:31

hummerz5
Member
From: wait I'm not a secret mod huh
Joined: 2015-08-10
Posts: 5,852

Re: I get chat before the old chat.

Era wrote:

clientside does not break older bots, well ones that depend on recieving old_msg at a certain time, for most cases it is rather irrelevant though.

well my idea of packaging them all together would be the only thing insofar that would perceptibly have an effect on existing tools. Existing tools shouldn't be affected

Offline

#9 2016-12-09 13:19:46

Anatoly
Guest

Re: I get chat before the old chat.

For me it's only PMs or system messages, nothing else (usually PMs or message from bots)

#10 2016-12-09 13:45:46

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

Re: I get chat before the old chat.

Era wrote:

pm's are not in 'say'

also... instead of trying to make this different serverside fix it clientside //forums.everybodyedits.com/img/smilies/tongue

Ohh, mistook that bot for another bot that feels it has to say when someone joins or leaves publicly.


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

Koya1481287546638911

Board footer

Powered by FluxBB

[ Started around 1713593111.524 - Generated in 0.147 seconds, 12 queries executed - Memory usage: 1.53 MiB (Peak: 1.7 MiB) ]