Can anybody help me with Andrew's MSN bot code?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
qartis
Forum Contributor
Posts: 271
Joined: Sat Dec 14, 2002 4:43 pm
Location: BC, Canada
Contact:

Can anybody help me with Andrew's MSN bot code?

Post by qartis »

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!
qartis
Forum Contributor
Posts: 271
Joined: Sat Dec 14, 2002 4:43 pm
Location: BC, Canada
Contact:

Post by qartis »

*bump* (Fixed the link)
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post by m3mn0n »

Check again, it's not working.

I wouldn't mind helping. Sounds very interesting.
qartis
Forum Contributor
Posts: 271
Joined: Sat Dec 14, 2002 4:43 pm
Location: BC, Canada
Contact:

Post by qartis »

Good lord! Okay, okay, fourth try's a charm: http://www.qartis.com/bot/msn.txt
qartis
Forum Contributor
Posts: 271
Joined: Sat Dec 14, 2002 4:43 pm
Location: BC, Canada
Contact:

Post by qartis »

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
qartis
Forum Contributor
Posts: 271
Joined: Sat Dec 14, 2002 4:43 pm
Location: BC, Canada
Contact:

Post by qartis »

Oh, and the MSN protocol specifications can be found here: http://www.hypothetic.org/docs/msn/
Post Reply