« first day (76 days earlier)      last day (864 days later) » 

6:22 AM
Hi, there!
 
 
2 hours later…
8:19 AM
Hi, there!
 
 
6 hours later…
2:03 PM
Hi, there!
 
@Ruri well, hello
 
@user1306322 lol thats the bot :P
 
ye I know
but who is it greeting?
 
mm no one that is how far I got so far
it enters the room send a hi and leaves
 
it should stay for a bit
print whatever websocket receives
 
2:16 PM
that is not the one with websockets
I havent got around websockets yet
That one is using the customer browser
the SkyNet one I am still using flidder to see if I can do it without websockets
and I got pretty far so far
but sill missing something on the session reading
and if I can't get it working from the flidder I will try with websockets ;)
 
maybe you should use some open source websockets or something
I heard Signalr is good and it's supported by MS
 
it logs in just fine with the skynet now but cant get the events yet as i am missing some session packet
I got a library looked rather simple to use mmmm
websocket-sharp
but haven't tried it yet
 
what's that another bot?
 
looks like it
but in another language
 
2:21 PM
Hi, there!
 
ok now its working well lol
@user1306322 cool will check that, I was using flidder and I could see a lot of what is going on
but if I mess up any of the steps
then you get a 404 on the pages you need to request
 
yup
 
I just need to be able request 1 more page
then I can get the data from the rest
 
which one?
 
let me see
https://stackauth.com/auth/global/write?authToken={0}&nonce={1}
 
2:27 PM
I think it is required
you can type 4 spaces in the beginning of the message
 
yeah
I just realized that
but still need to send it as shift enter doesn't work
and the main one the welcome
http://chat.stackexchange.com/users/login/global
The rest I can use just fine
but without the access to the global
you can't access the events or post messages
whats why write is not needed
I think the problem is a missing cookie it does have all the login but the seuser the animeuser should at some point convert but I am most likely missing the request that does it
 
post messages give you 404?
but it just posted fine the hello message
 
Yep because you dotn have access to it without the login/global
 
huh
 
like I said that is not the one with skynet
that is the one with custom browser
 
2:31 PM
maybe you can use skynet's login procedure for your browser
and yes there is an auth request that converts login from another SE site to chat's
I couldn't make it work wihtout it too
 
I do see that the global request, also set the seuser but there might be another before it, because I can see it preset before it
 
haha lol
we gotta get rid of the broswer
 
just didnt have enough time to work it out
you can remove the browser
it was visible because I was debugging
 
browser is only convenient because it does all these auth requests itself somehow
 
yes
 
2:34 PM
but it shouldn't be too hard to figure out yourself how the script works
except I don't know what to look for even
 
here is the thing i.imgur.com/R1ZIh5P.png
So basically I am trying to find which of the requests is the one responsible for it
I just didnt had the time to go around it yet
I've messed with it for mmm an hour or 2 so far
like the entire thing
 
great progress so far
it took me a month to just authenticate to the main site :s
 
lol
I like this sort of things
I used to work on a private server source
but that is like mmm 7 years go
lol
 
still that experience is useful
 
If you want I can send you what I have done on the skynet but its a bit of mess since I am changing a bunch of stuff
 
2:41 PM
I once drew cartoons in flash around 2006
I'm not in a hurry
if you can write an easy to use library interface that I can authenticate with, post and read messages, that'd be great
other guys will also love it
HoiHoi-san will likely be transfered to it
 
Well I want to get this skynet working with some interface on top of it
but for the time being still on the debbuging stage
the one with the custom browser is rather simple
you just need GeckoFx
the browser element you don't have to add to the form you can use it on either console or winforms and just call the class
and websockets I havent tried yet as I am not so sure of what information I will need hence why I am looking into the raw data
 
so you're saying all the controls are easily available through this GeckoFx like "post" button, edit and delete message buttons, etc?
 
im not much found of python but looks like that code have a browser on it ?
@user1306322 yes
and you wont need a Firefox nor your AutoIT
 
I think that implementation has some websockets implementation
 
you just need the firefox library
 
2:49 PM
wow that'd be great
 
yeah I am trying to read it but im very weak with python having a hard time lol
too bad the code was not like his documentation
hahahaha
 
yeh
 
https://bitbucket.org/geckofx/geckofx-29.0/
http://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/29.0/runtimes/xulrunner-29.0.en-US.win32.zip
you need these 2
you reference the DLL
then you're all set
And you can do for example:
GeckoElement element = browser.DomDocument.GetElementById(elementId);
if (element != null)
{
    GeckoInputElement textArea = new GeckoInputElement(element.DomObject);
    string result = textArea.TextContent;
    return result;
}
else
{
    return null;
}
You don't actually need to call the GeckoInputElement on many elements just a few ones need that as they don't seem to be exposed from the element itself
so basically you could just do:
element.NodeValue = value;
 
i c
 
when you enter the room you can easily get the timestamp of the last message with it and go from there
@user1306322 do you know if that python is still working?
the fact I moved away from the openid was because it was not working
im logging thru the site page itself
 
2:57 PM
I don't know the first thing about python so I couldn't compile it, let alone run and test
 
LOL
 
!!test
 
3:27 PM
what's that?
headless browser?
 
3:55 PM
@ton.yeung well I am not really planning on using websockets yet
I just want to see if I can find out what request i am missing to get he seuser cookie
as I have all the rest nailed
once I do that I will most likely use the websocket for reading all the messages
 
test
 
4:26 PM
alright found the se cookie ;) and some other good stuff
 
4:40 PM
nice work
 
 
1 hour later…
5:57 PM
test
 
very nice
 
test
I'm too sexy for myself, too sexy for myself...
I can fly!!
 
It's Live lol
I can send messages
@user1306322
now got to work on reading mesasges but im fucking tired so ttyall later
 
 
2 hours later…
7:43 PM
I'm too sexy for myself, too sexy for myself...
I can fly!!
I'm too sexy for myself, too sexy for myself...
 

« first day (76 days earlier)      last day (864 days later) »