User Control Panel
Advertisements

HELP US, HELP YOU!

MSN 2.1
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic    Bot Depot Forum Index -> MSN Protocol modules
View unanswered posts
Author Message
Drayshak
Young One
Young One


Joined: 06 Jan 2004
Posts: 93
Location: Nottinghamshire, UK
Reputation: 46.2Reputation: 46.2Reputation: 46.2Reputation: 46.2Reputation: 46.2
votes: 4

PostPosted: Tue May 09, 2006 10:20 pm    Post subject: MSN 2.1 Reply with quote

I've decided to open my MSN.PM Rev 102 to the public Smile

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:
Quote:
install http://theoryx5.uwinnipeg.ca/ppms/Crypt-SSLeay.ppd



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 Confused

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.



msn 2.1.2.zip
 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
Sentinel


Joined: 19 Jul 2004
Posts: 556
Location: Los Angeles, CA
Reputation: 50.7
votes: 1

PostPosted: Wed May 10, 2006 5:35 am    Post subject: Reply with quote

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
The Merovingian


Joined: 18 Apr 2004
Posts: 2557
Location: London, England
Reputation: 39.3Reputation: 39.3Reputation: 39.3Reputation: 39.3
votes: 7

PostPosted: Wed May 10, 2006 7:26 am    Post subject: Reply with quote

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
Young One


Joined: 06 Jan 2004
Posts: 93
Location: Nottinghamshire, UK
Reputation: 46.2Reputation: 46.2Reputation: 46.2Reputation: 46.2Reputation: 46.2
votes: 4

PostPosted: Wed May 10, 2006 2:47 pm    Post subject: Reply with quote

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 Smile
Back to top
Drayshak
Young One
Young One


Joined: 06 Jan 2004
Posts: 93
Location: Nottinghamshire, UK
Reputation: 46.2Reputation: 46.2Reputation: 46.2Reputation: 46.2Reputation: 46.2
votes: 4

PostPosted: Sat May 13, 2006 10:09 pm    Post subject: Reply with quote

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
The Merovingian


Joined: 18 Apr 2004
Posts: 2557
Location: London, England
Reputation: 39.3Reputation: 39.3Reputation: 39.3Reputation: 39.3
votes: 7

PostPosted: Sat May 13, 2006 10:56 pm    Post subject: Reply with quote

Sweet! Thanks for keeping us informed on developments Very Happy.
_________________
~ Josh
[ Need bot hosting on a dedicated server? PM me. ]
Back to top
Drayshak
Young One
Young One


Joined: 06 Jan 2004
Posts: 93
Location: Nottinghamshire, UK
Reputation: 46.2Reputation: 46.2Reputation: 46.2Reputation: 46.2Reputation: 46.2
votes: 4

PostPosted: Sat May 13, 2006 11:31 pm    Post subject: Reply with quote

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
The Architect


Joined: 31 Oct 2003
Posts: 152

Reputation: 33.5Reputation: 33.5Reputation: 33.5
votes: 4

PostPosted: Sun May 14, 2006 1:23 am    Post subject: Reply with quote

Have a look at how phpBB does mod releases:

http://www.phpbb.com/phpBB/viewtopic.php?t=94055

I'd recommend a similiar format, always with the first post with the most recent downloads, and editing the first post with any changelogs, etc.

_________________
Gadgets | Bot Coding | MMORPG | Ads Pixel | Random Messages | Gift Baskets | Used Electronics | Resident Evil | Hero NBC
Back to top
Drayshak
Young One
Young One


Joined: 06 Jan 2004
Posts: 93
Location: Nottinghamshire, UK
Reputation: 46.2Reputation: 46.2Reputation: 46.2Reputation: 46.2Reputation: 46.2
votes: 4

PostPosted: Sun May 14, 2006 10:12 am    Post subject: Reply with quote

Done and done.

The first post has all the information in it now, rather than changes being lost in posts along the way Smile Thanks noir Very Happy
Back to top
jeffohrt
Newbie
Newbie


Joined: 08 May 2006
Posts: 17

Reputation: 6Reputation: 6Reputation: 6Reputation: 6Reputation: 6Reputation: 6

PostPosted: Sun May 14, 2006 2:45 pm    Post subject: Q from a newb Reply with quote

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
Young One


Joined: 06 Jan 2004
Posts: 93
Location: Nottinghamshire, UK
Reputation: 46.2Reputation: 46.2Reputation: 46.2Reputation: 46.2Reputation: 46.2
votes: 4

PostPosted: Sun May 14, 2006 5:42 pm    Post subject: Reply with quote

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
Senior Member


Joined: 14 Feb 2004
Posts: 179
Location: United Kingdom
Reputation: 27.9Reputation: 27.9Reputation: 27.9

PostPosted: Sun May 14, 2006 5:48 pm    Post subject: Reply with quote

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
Newbie


Joined: 14 May 2006
Posts: 8


PostPosted: Sun May 14, 2006 6:00 pm    Post subject: Reply with quote

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
Young One


Joined: 06 Jan 2004
Posts: 93
Location: Nottinghamshire, UK
Reputation: 46.2Reputation: 46.2Reputation: 46.2Reputation: 46.2Reputation: 46.2
votes: 4

PostPosted: Sun May 14, 2006 6:15 pm    Post subject: Reply with quote

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
Newbie


Joined: 14 May 2006
Posts: 8


PostPosted: Sun May 14, 2006 8:07 pm    Post subject: Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    Bot Depot Forum Index -> MSN Protocol modules All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 



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