User Control Panel
Advertisements

HELP US, HELP YOU!

MSN 2.0 Final
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic    Bot Depot Forum Index -> MSN Protocol modules
View unanswered posts
Author Message
Mojave
Almost An Agent
Almost An Agent


Joined: 01 Nov 2003
Posts: 1434

Reputation: 66.4

PostPosted: Fri Jan 21, 2005 8:32 pm    Post subject: Reply with quote

This is the final update to MSN 2.0. A simple echo bot is included.

This update includes a few bug fixes and one new method. Check the change log in the docs directory for more info.

Main changes

sendmsg has been REMOVED, use sendMessage instead

getContact is a new method that will get all the known information for a given contact, as a hashref. Example:

Code:
  my $info = $msn->getContact( 'email@domain.com' );<br /><br />  print( 'Email=' . $info->{'Email'} . "\n" );<br />  print( 'Friendly=' . $info->{'Friendly'} . "\n" );<br />  print( 'Status=' . $info->{'Status'} . "\n" );<br />  print( 'CID=' . $info->{'CID'} . "\n" );<br />  print( 'ClientInfo=' . $info->{'ClientInfo'} . "\n" );<br />  print( 'AL=' . $info->{'AL'} . "\n" );<br />  print( 'FL=' . $info->{'FL'} . "\n" );<br />  print( 'BL=' . $info->{'BL'} . "\n" );<br />  print( 'RL=' . $info->{'RL'} . "\n" );<br />


Note that the ClientInfo field is a hashref itself. Refer to the docs for how to use that. Also, if this contact is not on any of your contact lists, the data will be empty.

IMPORTANT: If you are using an existing template, please wait for it to be updated before using this new MSN.pm.

When you run your bot, the first line of your script should say:

Code:
MSN 2.0 (01/21/2005) Rev: 84  - Checksum: 60068-NS18164-SB8878



Checksum: 60068-NS18164-SB8878

This is a value that shows that you are running an unedited version of the modules, which will help us determine any problems you might have. When you have errors or bugs, including the first line (most importantly the Checksum) will help us debug things for you faster.
Back to top
Mojave
Almost An Agent
Almost An Agent


Joined: 01 Nov 2003
Posts: 1434

Reputation: 66.4

PostPosted: Fri Jan 21, 2005 8:35 pm    Post subject: Reply with quote

A beta version of MSN 2.5 with reworked P2P code and file send/receive is expected in about a week! Stay tuned. Razz
Back to top
Dazzy
Agent
Agent


Joined: 09 Jan 2004
Posts: 1731

Reputation: 72.3

PostPosted: Fri Jan 21, 2005 9:06 pm    Post subject: Reply with quote

wow, thats a really useful feature...great idea..i knew it could be done before but was very complicated...
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: Fri Jan 21, 2005 11:44 pm    Post subject: Reply with quote

Great! Very Happy Works awsome!
Back to top
draget
Not Yet a God
Not Yet a God


Joined: 29 Dec 2004
Posts: 367
Location: Australia
Reputation: 32.2Reputation: 32.2Reputation: 32.2

PostPosted: Sat Jan 22, 2005 9:59 am    Post subject: Reply with quote

*dances and waits*
Back to top
Gavin
God Like
God Like


Joined: 15 Mar 2004
Posts: 661
Location: Manchester, UK
Reputation: 36.2Reputation: 36.2Reputation: 36.2Reputation: 36.2

PostPosted: Sat Jan 22, 2005 1:39 pm    Post subject: Reply with quote

Cool! How are you doing these updates so fast? Can't wait for the new version. Razz
_________________
MSN: gavin [at] gavinbrittain [dot] co [dot] uk
E-Portfolio: www.gavinbrittain.co.uk (New version comming soon)
Back to top
draget
Not Yet a God
Not Yet a God


Joined: 29 Dec 2004
Posts: 367
Location: Australia
Reputation: 32.2Reputation: 32.2Reputation: 32.2

PostPosted: Sat Jan 22, 2005 1:47 pm    Post subject: Reply with quote

Isn't mattaustin doing the same thing in his new msn.pm?


Who shall win!
Back to top
JTW
God Like
God Like


Joined: 07 Mar 2004
Posts: 579
Location: Maidstone
Reputation: 67.1
votes: 4

PostPosted: Sat Jan 22, 2005 1:53 pm    Post subject: Reply with quote

I belive mattaustin is making the code for the msn.pm but im not sure
_________________
"Help us, Help you" - BotDepot
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 Jan 22, 2005 2:14 pm    Post subject: Reply with quote

Yes, Matt is giving his code to Mojave to implement in the MSN.pm, I think. If Mojave is releasing his own though, I don't think Matt will just to compete Smile.
_________________
~ Josh
[ Need bot hosting on a dedicated server? PM me. ]
Back to top
Mojave
Almost An Agent
Almost An Agent


Joined: 01 Nov 2003
Posts: 1434

Reputation: 66.4

PostPosted: Sat Jan 22, 2005 7:19 pm    Post subject: Reply with quote

There's nothing wrong with a little competition. Razz
Back to top
draget
Not Yet a God
Not Yet a God


Joined: 29 Dec 2004
Posts: 367
Location: Australia
Reputation: 32.2Reputation: 32.2Reputation: 32.2

PostPosted: Sun Jan 23, 2005 4:27 am    Post subject: Reply with quote

Edit: Problem solved by eric, thanks!


I am trying to design a bot template, so I started by looking at the basic echobot included with msn2.


Upon tring to sign in with the echo bot i received this:

MSN 2.0 (01/21/2005) Rev: 84 - Checksum: 60068-NS18164-SB8878

Quote:
SERVER ERROR : Authentication Error: No response from Passport server
ERROR : Trying to print 'PNG
' on an undefined socket
Caller trace:
  0: MSN::error (MSN/Notification.pm, line 102)
  1: MSN::Notification::error (MSN/Notification.pm, line 189)
  2: MSN::Notification::_send (MSN/Notification.pm, line 519)
  3: MSN::Notification::ping (MSN.pm, line 669)
  4: MSN::do_one_loop (MSN\echobot.pl, line 44)




Any idea's?
Back to top
farkie
God Like
God Like


Joined: 15 Nov 2003
Posts: 673

Reputation: 3.4Reputation: 3.4Reputation: 3.4

PostPosted: Fri Jan 28, 2005 5:12 pm    Post subject: Reply with quote

: MSN::do_one_loop (MSN\echobot.pl, line 44)

whats on that line?
Back to top
Max
Member
Member


Joined: 03 Dec 2003
Posts: 129

Reputation: 32.1Reputation: 32.1Reputation: 32.1

PostPosted: Sat Mar 05, 2005 1:51 pm    Post subject: Reply with quote

Im having problems running my bot, I run it and this happens (This is after installing the new MSN.pm)

Code:
MSN 2.0 (01/21/2005) Rev: 84  - Checksum: 60068-NS18164-SB8878<br /><br />Odd number of elements in anonymous hash at C:/Perl/lib/MSN.pm line 45, <DATA> l<br />ine 1.<br />SERVER ERROR : Badly Formated CVR : 1


On line 45 there is:

Code:
   my $self  =




Please Help,

Thanks ~ Max
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 Mar 05, 2005 2:03 pm    Post subject: Reply with quote

Are you passing a username and pass wene creating the MSN object?
Back to top
farkie
God Like
God Like


Joined: 15 Nov 2003
Posts: 673

Reputation: 3.4Reputation: 3.4Reputation: 3.4

PostPosted: Sat Mar 05, 2005 2:59 pm    Post subject: Reply with quote

Nah, dont think he is.

Make sure you have updated your code, alot of things have changed in this version

EDIT (Farkie): Eric, Please can you change the signature thing? the box makes you scroll to see peoples signatures.. just looks funny..
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