« first day (1451 days earlier)      last day (2442 days later) » 
01:00 - 13:0013:00 - 00:00

01:22
~ Not everything is star-worthy...
 
4 hours later…
05:22
~ The Trail of the Shadow
Happy Easter!
 
2 hours later…
07:05
@ShadowWizard ugh
@PrincessLuna probe (?)
28
Q: Stack Exchange has been taken over by a rubber duck!

Shadow WizardI couldn't miss this now, on all SE sites: What are the duck powers? Was anyone able to make it do or say anything other than "Quack"?

I've said it before, and I'll say it again; what a load of quack!
:p
@PrincessLuna quack
@ShadowWizard economist (?)
07:09
@FOX9000 quack
@ShadowWizard That word is already said in the latest 10 words. Please use another. (In case I'm mistaken, run >>rmword quack and then >>reply 6822797)
@FOX9000 Quack
@ShadowWizard advertising (?)
lol
@ProgramFOX shouldn't the check be non case sensitive? ^^
08:14
Why the duck is your profile pic a duck? XD
@PrincessLuna qUack
@ShadowWizard quick (?)
@ShadowWizard quAck
@PrincessLuna noise (?)
@ShadowWizard quaCk
08:15
@PrincessLuna doo (?)
@ShadowWizard quacK
@PrincessLuna wolf (?)
@FOX9000 knot
@PrincessLuna handkerchief (?)
@ShadowWizard QUack
08:15
@PrincessLuna ignorance (?)
quack
Quack
qUack
quAck
quaCk
quacK
QUack
QuAck
QuaCk
QuacK
qUAck
qUaCk
qUacK
quACk
quAcK
quaCK
QUAck
QUaCk
QUacK
QuACk
QuAcK
qUACk
qUAcK
qUaCK
quACK
QUACk
QuACK
QUaCK
QUAcK
QUACk
QUACK
@ShadowWizard ^
@ShadowWizard quack
@PrincessLuna That word is already said in the latest 10 words. Please use another. (In case I'm mistaken, run >>rmword quack and then >>reply 6822835)
@FOX9000 quack
08:18
@PrincessLuna That word is already said in the latest 10 words. Please use another. (In case I'm mistaken, run >>rmword quack and then >>reply 6822837)
@FOX9000 quack
@PrincessLuna That word is already said in the latest 10 words. Please use another. (In case I'm mistaken, run >>rmword quack and then >>reply 6822839)
@FOX9000 QUACK
@PrincessLuna plague (?)
@FOX9000 quack
08:19
@PrincessLuna That word is already said in the latest 10 words. Please use another. (In case I'm mistaken, run >>rmword quack and then >>reply 6822843)
09:16
@ShadowWizard can you fix this post?
I don't have 2k rep and the edit is < 6 chars, so I can't do it
@PrincessLuna done
@ShadowWizard dm (?)
@FOX9000 cm
@ShadowWizard sized (?)
@FOX9000 big
09:17
@ShadowWizard deutsch (?)
Thanks :D
@FOX9000 germany
@FOX9000 Bart
@PrincessLuna frankfurt (?)
@ShadowWizard stagecoach (?)
09:29
@rahuldottech Hey! Haven't seen you in a while. How's life?
10:00
@PrincessLuna need your help.... I'm going to reopen this question now and want to close it again as dupe of same target. Can you please cast a dupe flag on it when it's open?
I want to test the "instant close as owner" feature instead of using hammer.
so when it's open, flag as a dupe of meta.stackexchange.com/questions/80518/…
@PrincessLuna exactly. :)
Ready?
oh wait
I can't reopen it...
buh... @Shog merged it. :(
Will look for other question
10:03
Found! @PrincessLuna ready to flag this as duplicate of that?
thanks!
dang... page redirected, didn't catch the POST request.... :(
@Princess one more please? This as duplicate of that?
10:07
GO! :)
done
can you ping me?
thanks! Request caught now.
@PrincessLuna no
@ShadowWizard trifling (?)
10:09
:D
I think I have to post the fkey too
@PrincessLuna where
@ShadowWizard plentiful (?)
usually in POST requests that's true, yeah
Anyway, experiment failed, I need to know the internal flag ID which isn't possible. Oh well.
Long story short, yesterday I wanted to add Alisha as a RO to a room on SE chat. She doesn't have enough rep so I logged in to do some edits on SO to increase rep
I logged in to see this:
see the number there?
SO rep won't affect SE chat, you know.
I think.
@ShadowWizard it does
Maybe it will?
oh
SE chat is the combined rep
10:14
@PrincessLuna which of them? 7, 49, or 799?
I.e. she has 63 or something rep on SO, but 97 on SE chat
because of MSE
@ShadowWizard 799
No associated word found for 799.
And you need 100?
@ShadowWizard for RO, yes
the login was just the background
anyways, I can clear pings using the ack script
I post to it, but it doesn't work
Anyway, be really careful with adding a bot as RO.... mods won't like if it makes silly things like auto kick people.
10:15
so posting the fkey should work
@ShadowWizard I know, not gonna do that either
@PrincessLuna hehe, I made clear pings script once, let me find it
That'd help! Thanks! ^^
$.post("https://" + domain + "/messages/ack", {"id": idList, "fkey": $("#fkey").val()}, function() {
    console.log("cleared pings for message(s) " + idList);
});
The idList is comma separated list of messages Id numbers to clear the pings
Clearing the pings is made one-by-one
(or few with comma)
10:17
that means I have to redo the framework a bit
I currently don't pass message IDs
It's gotta be a long to support discord. shouldn't be too hard though
If you work client side and have DOM access, the messages that ping you got their own class, .mention, so you can grab them and extract ID from it.
That makes stuff easier :D
var oMessage = $(this).parents(".message").first();
var messageId = oMessage.attr("id").split("-")[1];
$(this) is the current .mention element ^
(SE put the message ID as part of the parent element ID ;))
10:23
Looks like I need Jerry then.
(jerry is basically JQuery in Java)
10:36
What exactly does $(this) do?
@ShadowWizard
@PrincessLuna wraps this as jQuery object
what is this here?
commonly used in .each() loops
the document?
depends on context
$(".username").each(function() {
    var currentUser = $(this);
    console.log(currentUser.text());
});
Give this a try ^
@Pri
10:41
cool
I think I got it
//shutdown --confirm
    if (site is SEChat){
            try {
                //To avoid this stupidity: i.imgur.com/N8lZ4Q9.png
                val source = site.http.get(site.site.url + "/rooms/" + user.roomID)
                val jerry = Jerry.jerry().parse(source.body)
                val ids = jerry.`$`(".message")
                        .parent().map{(
                                it.attr("id") ?: "id-0").split("-")[1].toLongOrNull()
                        }.filter{it != null} as List<Long>
                println("ids: $ids")
Should work
//alive
user359686
@PrincessLuna I'm pretty sure I am.
@Alisha test
user359686
@PrincessLuna You can't have a chance.
10:52
ids is empty
screwed up somewhere
@Alisha
user359686
@PrincessLuna How can I //help?
@Alisha show me the source!
user359686
@PrincessLuna The man!
user359686
@PrincessLuna The man is the only way.
user359686
10:55
java.lang.NullPointerException: null
    at io.github.lunarwatcher.chatbot.utils.Http.post(Http.java:61)
    at io.github.lunarwatcher.chatbot.bot.listener.MentionListener.handleInput(MentionListener.kt:50)
    at io.github.lunarwatcher.chatbot.bot.command.CommandCenter.parseMessage(CommandCenter.java:208)
    at io.github.lunarwatcher.chatbot.bot.sites.se.SEChat.handleNewMessage(SEChat.java:320)
    at io.github.lunarwatcher.chatbot.bot.sites.se.SERoom.receiveMessage(SERoom.java:180)
    at org.glassfish.tyrus.core.TyrusSession.notifyMessageHandlers(TyrusSession.java:576)
What is null?
user359686
@PrincessLuna How can I //help?
user359686
10:56
java.lang.NullPointerException: null
    at io.github.lunarwatcher.chatbot.utils.Http.post(Http.java:61)
    at io.github.lunarwatcher.chatbot.bot.listener.MentionListener.handleInput(MentionListener.kt:50)
    at io.github.lunarwatcher.chatbot.bot.command.CommandCenter.parseMessage(CommandCenter.java:208)
    at io.github.lunarwatcher.chatbot.bot.sites.se.SEChat.handleNewMessage(SEChat.java:320)
    at io.github.lunarwatcher.chatbot.bot.sites.se.SERoom.receiveMessage(SERoom.java:180)
    at org.glassfish.tyrus.core.TyrusSession.notifyMessageHandlers(TyrusSession.java:576)
@PrincessLuna the id is part of the same element with .message class, not its parent, that's why it's null.
It's parent when you take .mention elements.
oh
@Alisha
user359686
@PrincessLuna How can I //help?
user359686
java.lang.NullPointerException: null
    at io.github.lunarwatcher.chatbot.utils.Http.post(Http.java:61)
    at io.github.lunarwatcher.chatbot.bot.listener.MentionListener.handleInput(MentionListener.kt:48)
    at io.github.lunarwatcher.chatbot.bot.command.CommandCenter.parseMessage(CommandCenter.java:208)
    at io.github.lunarwatcher.chatbot.bot.sites.se.SEChat.handleNewMessage(SEChat.java:320)
    at io.github.lunarwatcher.chatbot.bot.sites.se.SERoom.receiveMessage(SERoom.java:180)
    at org.glassfish.tyrus.core.TyrusSession.notifyMessageHandlers(TyrusSession.java:576)
10:58
dammit
@Alisha
user359686
@PrincessLuna How can I //help?
user359686
java.lang.NullPointerException: null
    at io.github.lunarwatcher.chatbot.utils.Http.post(Http.java:53)
    at io.github.lunarwatcher.chatbot.bot.listener.MentionListener.handleInput(MentionListener.kt:48)
    at io.github.lunarwatcher.chatbot.bot.command.CommandCenter.parseMessage(CommandCenter.java:208)
    at io.github.lunarwatcher.chatbot.bot.sites.se.SEChat.handleNewMessage(SEChat.java:320)
    at io.github.lunarwatcher.chatbot.bot.sites.se.SERoom.receiveMessage(SERoom.java:180)
    at org.glassfish.tyrus.core.TyrusSession.notifyMessageHandlers(TyrusSession.java:576)
user359686
@PrincessLuna How can I //help?
11:02
//logs
user359686
java.lang.NullPointerException: null
    at io.github.lunarwatcher.chatbot.utils.Http.post(Http.java:69)
    at io.github.lunarwatcher.chatbot.bot.listener.MentionListener.handleInput(MentionListener.kt:48)
    at io.github.lunarwatcher.chatbot.bot.command.CommandCenter.parseMessage(CommandCenter.java:208)
    at io.github.lunarwatcher.chatbot.bot.sites.se.SEChat.handleNewMessage(SEChat.java:320)
    at io.github.lunarwatcher.chatbot.bot.sites.se.SERoom.receiveMessage(SERoom.java:180)
    at org.glassfish.tyrus.core.TyrusSession.notifyMessageHandlers(TyrusSession.java:576)
fkey is null
Why though?
@Alisha
user359686
@PrincessLuna How can I //help?
shit
It shows the loading screen
    <div id="loading"><div id="loading-message">
        Loading Shadow&#39;s Den<br />
        Just a second&hellip;
    </div></div>
Creative ideas?
ok, plan B
@PrincessLuna should get it with $("#fkey").val()
there is hidden input with that ID and fkey as its value
@PrincessLuna oh, no fkey element there
So just hard code it, think it's permanent. But not sure...
11:13
@ShadowWizard I store it in a different class. Local var made it not initialized. Fixed
@PrincessLuna probably SE detects it's a bot somehow and won't load content
@ShadowWizard that's just a part of it. The fkey is present
@ShadowWizard no, but the single post command freezes it at loading
I have another idea though
@PrincessLuna so just wait a bit, either timer or until content is loaded.
11:14
I get message IDs for event 8 through the web socket, so I collect those in a list that I clear
@PrincessLuna sounds good
@ShadowWizard It's posted, then the response is collected, then the conneciton is closed. I need a web socket to fix it, meaning more code. But I can collect the IDs through the existing web sockets
//unsummon 89
user359686
@ShadowWizard I can't leave a home room
user359686
11:18
###################### Help ######################

==================== Commands
//about        | Let me tell you a little about myself...
//alive        | Used to check if the bot is working
//appul        | Apples.
//ban          | Bans a user from using the bot. Only usable by hardcoded bot admins
//blame        | No description was supplied for this command
//declare      | Changes a commands status. Only commands available on the site can be edited
//doge         | Such doge. Much command.
//remhome 89
user359686
@PrincessLuna Room removed as a home room
//inrooms
user359686
@PrincessLuna I am currently in these rooms: [166774, 139 and 1] on SO, [36, 72535, 75266 and 1] on SE, and [1176, 89 and 721] on MSE
//shutdown --confirm
@Alisha please work
@Alisha hello?
@Alisha you alive?
oh
right
//shutdown --confirm
//alive
//alive
user359686
11:36
@PrincessLuna I'm pretty sure I am.
@Alisha how do you like the new threading system?
user359686
@PrincessLuna What?
@Alisha yeah, you're not able to understand that, lol
user359686
@PrincessLuna I don't want to talk about it, but it's a good time.
user359686
11:36
@PrincessLuna No logs. All good! :D
so theoretically, no pings in 15 minutes
11:48
!!feed javascript code
~ I bloody hope javascript code is edible ...
!!vomit
~ Is there anything left?
!!pee
~ That is gross ....
11:48
!!poo
~ 💩
!!feed poo
~ I'm not sure I ever had poo ...
!!feed unicorn
~ Thanks for the unicorn, appreciated!
11:49
!!feed duck
~ I bloody hope duck is edible ...
!!vomit
~ BLLLEEEAAAAEERRRGGGGGJHHHHHH javascript code !!!!!
//leave 89
user359686
@PrincessLuna Less to worry about I guess
11:59
//join 89
user359686
@PrincessLuna Joined
12:10
//join 1
user359686
@ShadowWizard Joined
lol
asking @Shog if @Alisha is in the private staff room :D
user359686
@ShadowWizard We're not going to get a look to the store.
user359686
@ShadowWizard I don't know what I'm going to do.
I thought I patched that
12:11
well... your code was wiped clean, remember? ;)
I hope you have backup this time, so you won't write @Alisha from scratch for the third time.... :D
user359686
@ShadowWizard I'll be sure that.
//inRooms
user359686
@PrincessLuna I am currently in these rooms: [166774, 139 and 1] on SO, [72535, 36, 75266 and 1] on SE, and [1176, 89 and 721] on MSE
it doesn't join
:(
also.... missing comma! @Pri
12:13
@ShadowWizard where?
fixed
also:
//join 1
user359686
@PrincessLuna Joined
12:18
dammit
~ Not everything is star-worthy...
@ShadowWizard lmfao :D
@PrincessLuna lmao (?)
//join 1
user359686
@PrincessLuna An exception occured while checking the validity of the room: No write access in the room
12:27
wow, room 1 actually exists
Why is it private?
(since 1 == sandbox)
@PrincessLuna only in SO
here it's one of many staff only rooms
Stack Exchange thought the best domain for their internal chat is here, in MSE.
So they have like 10 private rooms, guess one for each major team.
You can see the activity in the chat lobby, kind of.
The numbers next to "users" and "rooms" on top are sometimes much higher than the numbers we see, and the diff is the activity in the private rooms.
Now they're quiet, probably most staff is away.
user359686
¯\_(ツ)_/¯
12:34
managed to optimize Alisha quite a bot btw
I'm using a separate thread again and using a BlockingQueue to get the messages
really boosted a performance
//join -1
user359686
@PrincessLuna An exception occured while checking the validity of the room: Room not found
//join abc
user359686
@ShadowWizard Something bad happened :/
@Alisha what happened?
user359686
@ShadowWizard I've got the money. I can't be.
12:46
lol
@Unitato you.... were here??!?!
@Uni come back!
!!status
BOT running since: Thu Mar 29 2018 10:32:19 GMT+0200 (CEST) for 3 days
username                      (#msg)
Princess Luna               , seen 9 minutes ago (431)
Shadow Wizard               , seen less than a minute ago (180)
FOX 9000                    , seen 26 minutes ago (158)
Alisha                      , seen less than a minute ago (101)
TheLittleNaruto             , seen 3 days ago (44)
kId                         , seen 2 days ago (42)
KennyBOT                    , seen 26 minutes ago (38)
wow, 431 in 3 days
//status
user359686
Message status
Username:                   - Message count
Princess Luna (332043)      - 126
Shadow Wizard (152859)      - 91
FOX 9000 (261079)           - 19
KennyBOT (269324)           - 12
Unitato (355026)            - 8
kId (252202)                - 1
01:00 - 13:0013:00 - 00:00

« first day (1451 days earlier)      last day (2442 days later) »