User Control Panel
Advertisements

HELP US, HELP YOU!

MSN Messenger 8.0

 
Post new topic   Reply to topic    Bot Depot Forum Index -> General Chat & Discussion
View unanswered posts
Author Message
MikeFairbrother
Senior Member
Senior Member


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

PostPosted: Sat May 06, 2006 10:19 am    Post subject: MSN Messenger 8.0 Reply with quote

It's just been released publically, therefore; my bot dosent seem to connect to the Passport.net Service.

I use Andromeda Template, anyone got any latest updates for this? MSN Protocol etc...

Code:
MSN 2.0 (11/23/2004) Rev: 81  - Checksum: 51150-NS26316-SB39240

Starting now...
Use of uninitialized value in pattern match (m//) at lib/MSN/Notificat
e 974, <DATA> line 1.
Use of uninitialized value in concatenation (.) or string at lib/MSN/N
n.pm line 975, <DATA> line 1.
Use of uninitialized value in concatenation (.) or string at lib/MSN/N
n.pm line 976, <DATA> line 1.
SERVER ERROR : Authentication Error: No response from Passport server


Any help is appreciated.

Many regards,
Mike
Back to top
mat007
Almost An Agent
Almost An Agent


Joined: 12 Jan 2004
Posts: 1375

Reputation: 15.8Reputation: 15.8
votes: 2

PostPosted: Sat May 06, 2006 1:06 pm    Post subject: Reply with quote

You will need to update to Passport 3.0 if im not mistaken.

EDIT. This code might help by Siebe Tolsma (http://siebe.bot2k3.net/docs/files/AuthPP3.pm)
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: Sat May 06, 2006 2:17 pm    Post subject: Reply with quote

Thanks Matthew,

Do I need to put this file somewhere, or put the coding of it into somewhere else?
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 06, 2006 2:32 pm    Post subject: Reply with quote

By looking at the package name:

Code:
package MSN::Messenger::AuthPP3;



..you can see that it's called MSN::Messenger::AuthPP3;

This should be translated into

Folder/Folder/Filename.pm:

/MSN/Messenger/AuthPP3.pm

The "/" should start inside your local library folder (ie, /lib/), where the current MSN.pm is.

To use it in your code, you'll need to call the module by declaring a new instance. I haven't looked at it enough to give you the code - either work it out or ask Matthew Fenton nicely :p
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: Sat May 06, 2006 2:38 pm    Post subject: Reply with quote

Thank you greatly for your help...

I also don't know how to include it, so, Matthew, please could you help me Smile

Thank you Smile

Edit: I'm guessing its "use MSN::Messenger::AuthPP3;" however I still get errors...

Has anyone got files for Andromeda where their bot still connects to the server?
Back to top
Addict
Not Yet a God
Not Yet a God


Joined: 21 Jan 2004
Posts: 473

Reputation: 34.4Reputation: 34.4Reputation: 34.4

PostPosted: Sat May 06, 2006 6:52 pm    Post subject: Reply with quote

I think you have to make a new object? - I donno, just looked at it breifly.

Code:
use MSN::Messenger::AuthPP3;
my $auth = new MSN::Messenger::AuthPP3;


I doubt this will just plug-and-play though.
Back to top
mat007
Almost An Agent
Almost An Agent


Joined: 12 Jan 2004
Posts: 1375

Reputation: 15.8Reputation: 15.8
votes: 2

PostPosted: Sat May 06, 2006 8:49 pm    Post subject: Reply with quote

It shouldnt be to hard to use it with the MSN.pm if im not mistaken.. If i get some time to install perl tonight ill make changes my self to the MSN.pm and upload it here.
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:10 pm    Post subject: Reply with quote

Thanks this really helps 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: Sun May 14, 2006 8:12 pm    Post subject: Reply with quote

I managed to integrate it in to the MSN 2.1 module that I made Smile

With my edited version, you copy it to the MSN folder, and use this code in Notification.pm where authentication takes place:

Code:
use MSN::AuthPP3;


Code:
sub CMD_USR
{
        my $self = shift;
        my @data = @_;

        if ($data[1] eq 'TWN' && $data[2] eq 'S')
        {
      $self->{Auth} = new MSN::AuthPP3($self, $self->{Handle}, $self->{Password}, $data[3]);
      my $token = $self->{Auth}->auth($self->{Handle}, $self->{Password}, $data[3]);
      if (!defined $token) {
                        $self->disconnect;
         return $self->error("A problem occurred during authentication. Details should be shown above.");;
                }
                $self->send('USR', 'TWN S ' . $token);
        }
        elsif( $data[1] eq 'OK' )
        {
                my $friendly = $data[3];
                $self->send( 'SYN', "0 0" );
        }
        else
        {
                return $self->serverError( 'Unsupported authentication method: "' . "@data" .'"' );
        }
}


Just copy and paste my USR command over the one that is already there, and you should be fine. HOWEVER, if you are using revision 81, it might not work...
Back to top
Tinytux
Newbie
Newbie


Joined: 04 Jun 2006
Posts: 12


PostPosted: Sun Jun 04, 2006 12:36 pm    Post subject: Reply with quote

Says AUTH Faild. Check firewall or server is not responding.

No firewall is on on my server

Must be connection is connetion the same then for msn 8?
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Bot Depot Forum Index -> General Chat & Discussion 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