|
| Author |
Message |
Drayshak Young One

Joined: 06 Jan 2004 Posts: 93 Location: Nottinghamshire, UK
      votes: 4
|
Posted: Tue May 09, 2006 10:20 pm Post subject: MSN 2.1 |
|
|
I've decided to open my MSN.PM Rev 102 to the public
It is based on the MSN.PM Rev 84 module.
I do NOT reccomend downloading this module yet, on account of the contact list handling is completely messed up, and I don't have the time to be able to fix it properly lately.
If someone who IS good at logic problems, has good knowledge of MSNP11 and has the spare time to get the contact list working, please upload it here and I will stick it in this post.
The module now fully MSNP11 compatible, and supports all the trimmings, including:
- PP3 (Passport 3.0)
- Personal Messages
- What I'm Listening To
File transfer support has NOT been added, as it is far too complicated for me.
I reccomend using:
ActivePerl 5.8.8.817
or above, as it is the ActivePerl build that I have developed the module on.
You MUST make sure Crypt-SSLeay is installed!
You can do so by going in to the Perl Package Module (Start->Run->cmd, then when the window comes up type ppm) and typing:
Updates/Information
Update: Authentication error handling has now also been added!
Information: In the echobot.pl, if the bot doesn't log in successfully, it just carries on disconnecting and attempting to log in UNLESS you use 'AutoReconnect' => 0 when creating the MSN object. To stop problems when exiting after an error has occured, I've made the bot exit on an error. You can change this easily by removing or commenting "exit;" from echobot.pl
Update: It turns out the authentication was using SSL all along. The authentication server doesn't allow anything but SSL anyway
Bug Fix Update: Changed $user to $username in the Answer sub.
Update: All known errors from the server are now handled too.
Information: You MUST make sure that Crypt-SSLeay is installed. Instructions are at the top.
Future Updates/Information
Future Update: MSNP13 compatibility.
| Description: |
| MSN Module 2.1.2 Revision 102 |
|
 Download |
| Filename: |
msn 2.1.2.zip |
| Filesize: |
32.22 KB |
| Downloaded: |
1287 Time(s) |
Last edited by Drayshak on Thu May 18, 2006 7:30 pm; edited 25 times in total |
|
| Back to top |
|
 |
mattaustin Sentinel

Joined: 19 Jul 2004 Posts: 556 Location: Los Angeles, CA
  votes: 1
|
Posted: Wed May 10, 2006 5:35 am Post subject: |
|
|
| The MSNP11+PSM was not a distribution it was a "test" module i was working on and testing of msn with file transfers and P2P..... it was only released as a test...and shouldn't have been sent around as it was (and still is) very unstable. The p2p dosnt handle cancels or errors correctly. Just thought everyone should know before they download it. I would suggest the stable MSN.pm for most people till the rest of this is worked out.
|
|
| Back to top |
|
 |
darkmonkey The Merovingian

Joined: 18 Apr 2004 Posts: 2557 Location: London, England
     votes: 7
|
Posted: Wed May 10, 2006 7:26 am Post subject: |
|
|
Nice work Drayshak! Although I agree with Matt that only competent developers should use this module (due to the BETA'ness), I can see you have put a lot of work in - thanks!
_________________ ~ Josh
[ Need bot hosting on a dedicated server? PM me. ] |
|
| Back to top |
|
 |
Drayshak Young One

Joined: 06 Jan 2004 Posts: 93 Location: Nottinghamshire, UK
      votes: 4
|
Posted: Wed May 10, 2006 2:47 pm Post subject: |
|
|
Thanks for pointing that out, I had no idea the MSNP11+PSM test module wasn't meant for distribution.
So, I've modified the previous MSN.PM Rev 84 instead, but it's still fully MSNP11 and PP3 compatible
|
|
| Back to top |
|
 |
Drayshak Young One

Joined: 06 Jan 2004 Posts: 93 Location: Nottinghamshire, UK
      votes: 4
|
Posted: Sat May 13, 2006 10:09 pm Post subject: |
|
|
Finally, I figured out how the server responds when authentication fails, so error handling for that has now been added too.
I think I've smoothed over all obvious bugs too, I had the bot running all day (well, 23 hours) yesterday without any problems.
|
|
| Back to top |
|
 |
darkmonkey The Merovingian

Joined: 18 Apr 2004 Posts: 2557 Location: London, England
     votes: 7
|
Posted: Sat May 13, 2006 10:56 pm Post subject: |
|
|
Sweet! Thanks for keeping us informed on developments .
_________________ ~ Josh
[ Need bot hosting on a dedicated server? PM me. ] |
|
| Back to top |
|
 |
Drayshak Young One

Joined: 06 Jan 2004 Posts: 93 Location: Nottinghamshire, UK
      votes: 4
|
Posted: Sat May 13, 2006 11:31 pm Post subject: |
|
|
If I update errors and such, should I post every time I update the file or not?
Like, I found a deep recursion error and fixed it, is it worth mentioning it in a new post after I update?
|
|
| Back to top |
|
 |
noir118 The Architect

Joined: 31 Oct 2003 Posts: 152
    votes: 4
|
|
| Back to top |
|
 |
Drayshak Young One

Joined: 06 Jan 2004 Posts: 93 Location: Nottinghamshire, UK
      votes: 4
|
Posted: Sun May 14, 2006 10:12 am Post subject: |
|
|
Done and done.
The first post has all the information in it now, rather than changes being lost in posts along the way Thanks noir
|
|
| Back to top |
|
 |
jeffohrt Newbie

Joined: 08 May 2006 Posts: 17
      
|
Posted: Sun May 14, 2006 2:45 pm Post subject: Q from a newb |
|
|
What values are placed in the $handle and $admin variables of echobot.pl ...
I figured one must be the e-mail address that goes with my password and I've tried combinations of everything else I can think of that MSN would know ... with no luck ... still getting authentication failures ... even though I can log in normally with just the e-mail and password.
My perl build is current, MSN 2.1.2 ... this is my first foray into MSN bots - so I'm missing something really obvious ...
Hints are appreciated ...
Thanks.
|
|
| Back to top |
|
 |
Drayshak Young One

Joined: 06 Jan 2004 Posts: 93 Location: Nottinghamshire, UK
      votes: 4
|
Posted: Sun May 14, 2006 5:42 pm Post subject: |
|
|
my $handle = 'domain@domain.com';
This is the bots email address that is used to sign in to MSN/WLM.
my $password = 'password';
This is the bots password to log in to MSN/WLM.
my $admin = 'admin@domain.com';
This is the administrators email address.
If you are getting an authentication error, then the details you entered above are wrong if not otherwise stated.
|
|
| Back to top |
|
 |
MikeFairbrother Senior Member

Joined: 14 Feb 2004 Posts: 179 Location: United Kingdom
   
|
Posted: Sun May 14, 2006 5:48 pm Post subject: |
|
|
Hi, excellent stuff It's great.
I use andromeda, so its rather hard to get it to work. I don't know if the below errors are to do with Bot.pm or MSN.pm
| Quote: |
C:\bot>perl bot.pl
MSN 2.1.2 (14/05/2006) Rev: 102 - Checksum: 24582-NS53848-SB21136
Starting now...
Use of uninitialized value in concatenation (.) or string at lib/MSN.pm line 237
, <DATA> line 1.
Use of uninitialized value in concatenation (.) or string at lib/MSN.pm line 237
, <DATA> line 1.
Use of uninitialized value in concatenation (.) or string at lib/MSN/Notificatio
n.pm line 662, <DATA> line 1.
SERVER ERROR : Badly Formated CVR : 1
|
|
|
| Back to top |
|
 |
BHS Hockey Newbie

Joined: 14 May 2006 Posts: 8
 
|
Posted: Sun May 14, 2006 6:00 pm Post subject: |
|
|
I'm continuously getting the following:
| Quote: | C:\>perl c:\perl\lib\msnbot.pl
MSN 2.1.2 (14/05/2006) Rev: 102 - Checksum: 24582-NS53848-SB21136
Authentication request failed, the authentication server appears to be down or i
s not responding.
<Error> A problem occurred during authentication. Details should be shown above. |
The account I'm trying to connect with is working just fine on the same computer through the regular MSN client.
|
|
| Back to top |
|
 |
Drayshak Young One

Joined: 06 Jan 2004 Posts: 93 Location: Nottinghamshire, UK
      votes: 4
|
Posted: Sun May 14, 2006 6:15 pm Post subject: |
|
|
The authentication problem sounds like a bug on my part, I'll have to check what's going wrong. It works for me fine though, so I can't imagine what's not right.
As for the Andromeda bot, I don't think it will work without a lot of editing. I would just wait Eric to release his next bot (which should be soon). I found out that the Andromeda bot doesn't even work with MSN modules over 2.0, unless you do a lot of editing.
EDIT: This appears to be a problem with connection. Check your firewall to make sure the bot is not being blocked.
|
|
| Back to top |
|
 |
BHS Hockey Newbie

Joined: 14 May 2006 Posts: 8
 
|
Posted: Sun May 14, 2006 8:07 pm Post subject: |
|
|
I couldn't imagine how it would be a connection issue if MSN can connect just fine. MSN connects on the same port that your bot does (at least I would assume so =\), now to figure out why one wants to work and the other doesn't.
PS: Just disabled both my installed firewall and my router firewall and still no go.
|
|
| Back to top |
|
 |
|