User Control Panel
Advertisements

HELP US, HELP YOU!

Getting connect erros with Net::AIM? possible fix

 
Post new topic   Reply to topic    Bot Depot Forum Index -> AIM Protocol & questions
View unanswered posts
Author Message
alienz
Almost An Agent
Almost An Agent


Joined: 22 Mar 2004
Posts: 1436
Location: Mars
Reputation: 55.7

PostPosted: Tue Apr 27, 2004 7:32 pm    Post subject: Reply with quote

If youre using Net:::AIM and getting the familiar connection error:

"Cannot connect to toc.oscar.aol.com:9898!"

Ive discovered that if youre using the on_update_buddy script to monitor your buddy list and there are people on it, it tends to do this. I removed all members from my bot's buddy list and this error no longer occurs. I dont know if this is specific to my bot or Net::AIM itself, but I suspect the "push" that Oscar sends to the buddy list at sign on may be affecting it. As an experiment, remove members from your bot's BL and see if this fixes it.

_________________
Check out Botworld! A dev resource for things bot.
Downloads, articles, news, fourm and more.
http://botworld.marzopolis.com
Back to top
Cer
Upgraded Agent
Upgraded Agent


Joined: 03 Feb 2004
Posts: 3776
Location: Michigan
Reputation: 146.9
votes: 4

PostPosted: Tue Apr 27, 2004 8:37 pm    Post subject: Reply with quote

Net::AIM uses the TOC server, not OSCAR. Razz

I don't know of any clients that use TOC anyway, most AIM clients use OSCAR.. so maybe AOL's using TOC for either testing things, they're closing it, or they don't care about its stability as much because it's not used as much as the other one.

But I don't think they'd be closing it, AOL likes bots. Razz

_________________
Current Site (2008) http://www.cuvou.com/
Back to top
alienz
Almost An Agent
Almost An Agent


Joined: 22 Mar 2004
Posts: 1436
Location: Mars
Reputation: 55.7

PostPosted: Tue Apr 27, 2004 8:41 pm    Post subject: Reply with quote

Um, sorry man, but thats the error message you get. If you search the other threads you'll notice others have had the same thing with Net::AIM
_________________
Check out Botworld! A dev resource for things bot.
Downloads, articles, news, fourm and more.
http://botworld.marzopolis.com
Back to top
Cer
Upgraded Agent
Upgraded Agent


Joined: 03 Feb 2004
Posts: 3776
Location: Michigan
Reputation: 146.9
votes: 4

PostPosted: Tue Apr 27, 2004 8:55 pm    Post subject: Reply with quote

Net::AIM has always given me random errors like that.

I switched to Net::OSCAR and never get any random errors - not to mention all the features it has over Net::AIM! Razz

The only random errors I ever get have to do with MSN and M$'s sh!t. <_<

_________________
Current Site (2008) http://www.cuvou.com/
Back to top
alienz
Almost An Agent
Almost An Agent


Joined: 22 Mar 2004
Posts: 1436
Location: Mars
Reputation: 55.7

PostPosted: Tue Apr 27, 2004 9:22 pm    Post subject: Reply with quote

Hm, Ive considered switching to net:::Oscar, but not sure what all it entails. If it's a massive project I think I'll stick with net::AIM for the time being. Those errors DID go away after I removed all from the bot buddy list. The only time I get it now is when Ive signed him off and back on too much.
_________________
Check out Botworld! A dev resource for things bot.
Downloads, articles, news, fourm and more.
http://botworld.marzopolis.com
Back to top
UnShavenGod
Young One
Young One


Joined: 26 Feb 2004
Posts: 99

Reputation: 28.7Reputation: 28.7Reputation: 28.7

PostPosted: Wed Apr 28, 2004 2:24 am    Post subject: Reply with quote

it depends how much you've written things such that they depend on the AIM module.

If you've coded carefully, it shouldn't take more than a weekend.

If you've been sloppy... watch out for trying to switch.

What I did was look at juggernaught code and copy the bits and pieces*lazy*the chaos guy already did all the hard work figuring out how to use Oscar effectively.

WTG chaos people! good work on that.
Back to top
Cer
Upgraded Agent
Upgraded Agent


Joined: 03 Feb 2004
Posts: 3776
Location: Michigan
Reputation: 146.9
votes: 4

PostPosted: Wed Apr 28, 2004 12:48 pm    Post subject: Reply with quote

Net::AIM and Net::OSCAR are similar in a lot of ways. For example, they both use $self->send_im ($to, $msg); to send messages (OSCAR also has an integer you can put in it to send as an away message Razz)

CPAN Documentations
Net::OSCAR
Net::AIM

You can look at the documentation and find exactly what's different. The more obvious parts are how handlers are set. There's a section on the Net::OSCAR page that shows all the handlers and how to set them.

_________________
Current Site (2008) http://www.cuvou.com/
Back to top
alienz
Almost An Agent
Almost An Agent


Joined: 22 Mar 2004
Posts: 1436
Location: Mars
Reputation: 55.7

PostPosted: Tue May 04, 2004 3:59 pm    Post subject: Reply with quote

I think there is also some depreciation with Net::AIM too if I remember right, would need to look at the Oscar doc again. Perhaps eventually I'll sit down and rework it , if its just setting handlers and making sure some of the command calls on AIM are right it shouldnt take me much
_________________
Check out Botworld! A dev resource for things bot.
Downloads, articles, news, fourm and more.
http://botworld.marzopolis.com
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Bot Depot Forum Index -> AIM Protocol & questions All times are GMT
Page 1 of 1

 



Protected by phpBB Security phpBB-TweakS
phpBB Security Has Blocked 9 Exploit Attempts.
Antispam Captcha Mod by phpbb-security.com
Powered by phpBB © 2001, 2005 phpBB Group