AIM client code for Python?
joe at strout.net
Tue Dec 16 18:54:38 CET 2008
I'd like to write an AIM bot in Python. I found and tried
<http://www.jamwt.com/Py-TOC/>, but it doesn't work for me:
Traceback (most recent call last):
File "aimbot-1.py", line 17, in <module>
File "/Users/jstrout/Documents/Python-Dev/AIMbot/toc.py", line 62,
File "/Users/jstrout/Documents/Python-Dev/AIMbot/toc.py", line 156,
event = self.recv_event()
File "/Users/jstrout/Documents/Python-Dev/AIMbot/toc.py", line 230,
dtemp = self._socket.recv(buflen - len(data))
socket.error: (54, 'Connection reset by peer')
I wrote to the author a week ago, but never got a reply. It could be
as simple as changing the server addresses in toc.py, currently:
TOC_SERV_AUTH = ("login.oscar.aol.com", 29999 )
TOC_SERV = ( "toc.oscar.aol.com", 9898 )
...but I don't understand AIM well enough to know the correct values
(and was rather hoping that I wouldn't have to).
Does anyone know how to get Py-TOC to work, or have another Python TOC
implementation to suggest?
More information about the Python-list