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

1:22 AM
~ Not everything is star-worthy...
 
 
4 hours later…
5:22 AM
~ The Trail of the Shadow
 
Happy Easter!
 
 
2 hours later…
7:05 AM
@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 (?)
 
7:09 AM
@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? ^^
 
7:50 AM
^
 
8:14 AM
Why the duck is your profile pic a duck? XD
 
@PrincessLuna qUack
 
@ShadowWizard quick (?)
 
@ShadowWizard quAck
 
@PrincessLuna noise (?)
 
@ShadowWizard quaCk
 
8:15 AM
@PrincessLuna doo (?)
 
@ShadowWizard quacK
 
@PrincessLuna wolf (?)
 
@FOX9000 knot
 
@PrincessLuna handkerchief (?)
 
@ShadowWizard QUack
 
8:15 AM
@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
 
8:18 AM
@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
 
8:19 AM
@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)
 
9:16 AM
@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
 
9:17 AM
@ShadowWizard deutsch (?)
 
Thanks :D
@FOX9000 germany
 
@FOX9000 Bart
 
@PrincessLuna frankfurt (?)
@ShadowWizard stagecoach (?)
 
9:29 AM
@rahuldottech Hey! Haven't seen you in a while. How's life?
 
10:00 AM
@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 AM
Found! @PrincessLuna ready to flag this as duplicate of that?
 
3
2
1
GO!
:D
 
thanks!
dang... page redirected, didn't catch the POST request.... :(
@Princess one more please? This as duplicate of that?
 
ready
 
10:07 AM
GO! :)
 
done
can you ping me?
 
thanks! Request caught now.
@PrincessLuna no
 
@ShadowWizard trifling (?)
 
thanks!
 
10:09 AM
: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:
 
10:13 AM
?
 
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 AM
@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 AM
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 AM
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 AM
Looks like I need Jerry then.
(jerry is basically JQuery in Java)
 
10:36 AM
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 AM
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 AM
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.
 
//logs
 
user359686
10:55 AM
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?
 
dunno
 
@Alisha
 
user359686
@PrincessLuna How can I //help?
 
//logs
 
user359686
10:56 AM
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?
 
//logs
 
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 AM
dammit
@Alisha
 
user359686
@PrincessLuna How can I //help?
 
//logs
 
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)
 
@Alisha
 
user359686
@PrincessLuna How can I //help?
 
11:02 AM
//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 AM
@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
 
oh
Good!
 
@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 AM
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
 
//help
 
user359686
11:18 AM
###################### 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 AM
@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.
 
//logs
 
user359686
11:36 AM
@PrincessLuna No logs. All good! :D
 
so theoretically, no pings in 15 minutes
 
11:48 AM
!!feed javascript code
 
~ I bloody hope javascript code is edible ...
 
!!vomit
 
~ Is there anything left?
 
!!pee
 
~ That is gross ....
 
11:48 AM
!!poo
 
~ 💩
 
!!feed poo
 
~ I'm not sure I ever had poo ...
 
!!feed unicorn
 
~ Thanks for the unicorn, appreciated!
 
11:49 AM
!!feed duck
 
~ I bloody hope duck is edible ...
 
!!vomit
 
~ BLLLEEEAAAAEERRRGGGGGJHHHHHH javascript code !!!!!
 
//leave 89
 
user359686
@PrincessLuna Less to worry about I guess
 
11:59 AM
//join 89
 
user359686
@PrincessLuna Joined
 
12:10 PM
//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 PM
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 PM
@ShadowWizard where?
 
fixed
also:
//join 1
 
user359686
@PrincessLuna Joined
 
12:18 PM
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 PM
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
 
And SE
 
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.
 
//shrug
 
user359686
¯\_(ツ)_/¯
 
12:34 PM
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 PM
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 (2207 days later) »