Blockheads-Messagebot/MessageBot

Login triggers somewhat off?

Closed this issue · 7 comments

Ignore the mold comment. LOL The bot was not running at the start when I did /players. Then I started it and got the message about players Kekeiekek, and 790002311467 who weren't even online. And nothing for AHXHSYDNYSNEYSNT or Cinday who WERE online. Is that normal?

SERVER: There are 2 players connected:
AHXHSYDNYSNEYSNT | 173.214.217.203 | 16b0a35a8f78524714683eb7a985c42f
CINDAYTRAIN1 | 68.97.173.124 | 8619ecb5d243a5c002d7cb66c03cb5ba
SERVER: NEWS: Sky Bucks can now buy you rank kits and ownership signs!! You get Sky Bucks by joining the server and doing quests. Type /quest for current quest details. Type /ranks for rank kit details, or /bucks for commands
SERVER: Welcome to Skylands Arena Kekeiekek. Be sure to read the rules on the welcome page. This isn't your average server.
SERVER: Welcome to Skylands Arena 790002311467. Be sure to read the rules on the welcome page. This isn't your average server.
SERVER: Welcome to Skylands Arena Cindaytrain1. Be sure to read the rules on the welcome page. This isn't your average server.
SERVER: Added daily reward of Sky Bucks to Kekeiekek.
SERVER: Added daily reward of Sky Bucks to 790002311467.
AHXHSYDNYSNEYSNT: can you make me mold
SERVER: /players
CINDAYTRAIN1: Mold?
SERVER: There are 2 players connected:
AHXHSYDNYSNEYSNT | 173.214.217.203 | 16b0a35a8f78524714683eb7a985c42f
CINDAYTRAIN1 | 68.97.173.124 | 8619ecb5d243a5c002d7cb66c03cb5ba

Well that's rather strange, not sure yet what happened there... Looking into it.

Finally found the cause of this! Wow, very surprised it escaped undetected for so long. Fix will be out tomorrow evening at the latest.

Edit: Wait, not exactly the same bug, sorry. Different, related, bug though.

I believe I've figured out what happened here, still not entirely sure why it happened though...

You said the portal was open before the bot was loaded, did Kekeiekek and 790002311467 join the server earlier (still in the portal log)?

Yes, I believe they logged in while the portal chat was up, but before I
loaded the bot.

I often do a reload of my browser when my laptop wakes up from standby and
then start up the bot. Sometimes the reload wasn't really necessary. I
just was making sure it was getting a refreshed state.

On Tue, Sep 6, 2016 at 8:12 PM, Bibliofile notifications@github.com wrote:

I believe I've figured out what happened here, still not entirely sure
why it happened though...

You said the portal was open before the bot was loaded, did Kekeiekek and
790002311467 join the server earlier (still in the portal log)?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#22 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AOZNKuaLPyfG4ZbqFBDoXY4351O-c3kFks5qnh2NgaJpZM4IxW0p
.

That's what happened then, the bot gets some history of chat when first starting up (if available) to show to the owner.

As the currency extension loaded before the get chat request loaded, it caught those join messages and thought those players were joining.

I will implement a delay before loading extensions to counteract this sooner or later.

Hey Gerrit, if that's your real name. Depending on how you reply, I think,
it shows your name.

Jeremy

On Tue, Sep 6, 2016 at 9:08 PM, Bibliofile notifications@github.com wrote:

That's what happened then, the bot gets some history of chat when first
starting up (if available) to show to the owner.

As the currency extension loaded before the get chat request loaded, it
caught those join messages and thought those players were joining.

I will implement a delay before loading extensions to counteract this
sooner or later.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#22 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AOZNKhBLUeAvZZvDYrjhGk97xrACN0avks5qniqjgaJpZM4IxW0p
.

This is now resolved with 6.0 :)

(Yep, that's me... 2 github accounts...)