Can anyone help me out here? I'm running Win2K and ActiveState Perl 5.8.2. Regardless of which bot I try to run I get the same errors:
--------------------------- Odd number of elements in anonymous hash at d:/Perl/lib/MSN.pm line 45, line 1. SERVER ERROR : Badly Formated CVR : 1 ---------------------------
I've got the SSL updates and I'm positive I have the right username/password in the script.
The SERVER ERROR line repeats itself every minute or so. The script doesn't actually die.
Well line 45 of MSN.pm is where the object hash is created. If you look at line 73, you'll see it takes all arguments to the new method (the constructor) and adds them into the hash. This lets you set options, including your handle and password. Those options must come in pairs. My best guess is that you are passing in an odd number of arguments to the new method.
Somewhere near the top of your bot, you should have:
Code:
my $msn = new MSN( 'Handle' => 'handle@domain.com', 'Password' => 'password', 'Debug' => 1 );
Make sure those values all come in pairs. In other words, there should be an even number of arguments (where => is the same as , ).
Somewhere near the top of your bot, you should have:
Code:
my $msn = new MSN( 'Handle' => 'handle@domain.com', 'Password' => 'password', 'Debug' => 1 );
Mojave - you rock! That allows my bot to sign in.
Unfortunately, that's about as far as my bot gets. It signs in, but doesn't respond to any commands. Here's what I see in Perl (with Debug set to 1):
------------------------------------------------- Connecting to messenger.hotmail.com:1863 as blah@blah.com/password Authenticating : https://nexus.passport.com/rdr/pprdr.asp Authenticating : https://loginnet.passport.com/login2.srf SERVER ERROR : Empty event received from server : '' Syncing lists with 1 contacts SERVER ERROR : Empty event received from server : '' SERVER ERROR : Empty event received from server : '' Connecting to SwitchBoard at 207.46.108.61:1863 --------------------------------------------------
And then it just sits. I have to CTRL-C to end the script.
Again, I'm seeing this exact same behaviour on all 6 of the bots/templates that I downloaded. Weird!
The first thing you should do is get the echobot that came with MSN.pm working. It is a barebones bot that logs in and echos whatever you say to it. And I know it works.
The first thing you should do is get the echobot that came with MSN.pm working. It is a barebones bot that logs in and echos whatever you say to it. And I know it works.
OK... echobot works just fine. I also just downloaded dark monkey's White Warrior and it works as well. (with a freakin awesome GUI, I might add)
I'll try messing around to see what the differences are between the bots with issues and echobot.