Hey, I've been working on an MSN bot from Andrew Heebner's framework. I got the switchboard connection working, and the challenges are working fine, but I can not enter a message session with a user. I think I'm not properly using the 2 independant socket connections, but honestly I'm pretty new to this stuff. I don't think it's receiving anything from the switchboard server, so it can't continue. Can anybody take a look?
http://www.qartis.com/php/msn.txt
Thanks!
Can anybody help me with Andrew's MSN bot code?
Moderator: General Moderators
Good lord! Okay, okay, fourth try's a charm: http://www.qartis.com/bot/msn.txt
I don't know if anyone's still interested in this, but I did get a copy uploaded to my server again, and I edited it to make it simpler to read. I successfully added challenge code, switchboard connection routines, and a sample message that is sent when someone "RNG"s you. However, I can't get persistent sessions, and I can't figure out how to access inbound messages.
http://www.qartis.com/msn.phps
http://www.qartis.com/msn.phps
Oh, and the MSN protocol specifications can be found here: http://www.hypothetic.org/docs/msn/