|
| Author |
Message |
Dazzy Agent

Joined: 09 Jan 2004 Posts: 1731
 
|
Posted: Sat Jan 10, 2004 3:54 pm Post subject: |
|
|
:unsure: please please please help me heres what goes wrong:
C:\PERL\BIN>perl bot.pl MSN Module v. 1.3 Checksum:34840
Cannont create object without both Handle and Password being set. at bot.pl line 35 sorry have just seen above and will take a look..........
look in case *lazy* think i got the password and username wrong is is what i put $botuser = 'big_bad_bot@hotmail.com'; $botpass = 'the password here(dont wanna tell you it)';
$admin = 'dazzy2004@hotmail.com'; |
|
| Back to top |
|
 |
Nate God Like

Joined: 12 Nov 2003 Posts: 553
    
|
Posted: Sat Jan 10, 2004 4:09 pm Post subject: |
|
|
It's not necessarily about you not having the name and password set, it might be how you used the NEW command for MSN.
| Code: | | my $msn = MSN->new() # will N O T work! |
There's things that need to go INSIDE the new() part between the parentheses, look in the MSN documentation to find out. |
|
| Back to top |
|
 |
Dazzy Agent

Joined: 09 Jan 2004 Posts: 1731
 
|
Posted: Tue Jan 13, 2004 5:58 pm Post subject: |
|
|
plz help me, i dont know what i put in there or where the documentation is?
i havnt added any commands.............. |
|
| Back to top |
|
 |
Keenie Almost An Agent

Joined: 31 Oct 2003 Posts: 1071
 
|
|
| Back to top |
|
 |
Myzterio Not Yet a God

Joined: 13 Dec 2003 Posts: 429
    
|
Posted: Wed Jan 14, 2004 10:44 pm Post subject: |
|
|
| Hey.. I Need Help with this Error, I had to restart my bot because its full of Errors. Anyways im using Clcool's Template and There Seem's to be an Error? [CODE]Not a Scalar Reference at Bot Line 171 [CODE] I know People has posted this error but have not replied to it and i have changed everything but it still would not work. |
|
| Back to top |
|
 |
zander God Like

Joined: 14 Jan 2004 Posts: 540 Location: england
 
|
Posted: Wed Jan 14, 2004 10:46 pm Post subject: |
|
|
| it meens there is an error at line 171 post what it says there on here and ill have a look for ya |
|
| Back to top |
|
 |
Myzterio Not Yet a God

Joined: 13 Dec 2003 Posts: 429
    
|
Posted: Wed Jan 14, 2004 10:49 pm Post subject: |
|
|
| Code: | | &send($$self,"$reply", "$username"); | Thats The Code at Bot Line 171. |
|
| Back to top |
|
 |
Stephen Senior Member

Joined: 03 Dec 2003 Posts: 159
   
|
Posted: Wed Jan 14, 2004 10:50 pm Post subject: |
|
|
change it to
| Code: | | &send($self,"$reply", "$username"); |
and search the code for $$self and change all to $self |
|
| Back to top |
|
 |
Myzterio Not Yet a God

Joined: 13 Dec 2003 Posts: 429
    
|
Posted: Wed Jan 14, 2004 10:52 pm Post subject: |
|
|
Thanks! it works Now |
|
| Back to top |
|
 |
Myzterio Not Yet a God

Joined: 13 Dec 2003 Posts: 429
    
|
Posted: Wed Jan 14, 2004 10:57 pm Post subject: |
|
|
Wow.. After I changed $$self to $self in the whole Bot.pl I Get These Kinda Errors!
| Code: | | Bareword found where operator expected at bot.pl line 293,(Might be a runaway multi-line // string starting on line<br /> (Missing operator before i?)<br />Unquoted string "i" may clash with future reserved word at b<br />A> line 1.<br />Unquoted string "ig" may clash with future reserved word at<br />TA> line 1.<br />syntax error at bot.pl line 293, near "$reply =~ s/ i "<br />Execution of bot.pl ab$reply = reply($victim,$msg);. |
So I fixed one of the Errors, But now i get this what i have no Clue whatso ever on how to fix it? It has sumthing to do with this :
| Code: | | $reply =~ s/ i / I /ig; | <-- Which Is Line 293 |
|
| Back to top |
|
 |
Myzterio Not Yet a God

Joined: 13 Dec 2003 Posts: 429
    
|
Posted: Wed Jan 14, 2004 11:14 pm Post subject: |
|
|
Here is the 10 Codes Above the Code.. Eric knows what i mean that maybe its causing the error? Here it is :
| Code: | | $msg = replace($msg);<br />$msg = replace($msg); #get net jargon out, this runs the replace sub. This reads from the text file replace.txt<br />$msg = replace($msg);<br />$msg = replace($msg);<br /><br />#just to stop things going wrong<br />$victim eq $username;<br />if ($msg eq "") {<br />$msg = "zcxczxx";<br />print "No message detected - Message went to $msg\n";<br />}<br /><br />$reply = reply($victim,$msg);<br /><br />#replacing non capital i with a capital I<br />$reply =~ s/ i / I /ig; |
|
|
| Back to top |
|
 |
Dannyboy266355 Newbie

Joined: 30 Jan 2004 Posts: 1
   
|
Posted: Fri Jan 30, 2004 11:56 pm Post subject: |
|
|
Right,I'm new to the whole bot buisness but I have got it all and understand what to do except I get this error:
| Quote: | C:\Perl\bin>perl bot.pl MSN Module v. 1.3.6 Checksum:40614
Useless use of string eq in void context at bot.pl line 169, line 1. Name "main::queue" used only once: possible typo at bot.pl line 194, line 1. Cannont create object without both Handle and Password being set. at bot.pl line 35
|
Help? |
|
| Back to top |
|
 |
ADD-MB Newbie

Joined: 02 Feb 2004 Posts: 32
   
|
Posted: Mon Feb 02, 2004 4:01 pm Post subject: |
|
|
use Event::Handler; and split(',',($response->headers->header('PassportURLs')));
are my only errors
please help!!! |
|
| Back to top |
|
 |
Scalpel Newbie

Joined: 03 Feb 2004 Posts: 2
   
|
Posted: Tue Feb 03, 2004 3:47 pm Post subject: |
|
|
I have also got some problems....
I first tried the example in the documentation-file, but that didn't work. Now I have simplified the bot to try to locate the problem.
| Code: | | <br />#!/usr/bin/perl<br /><br />use MSN;<br /> <br />my $Email = '***@hotmail.com';<br />my $Password = '***';<br /><br />my $msn = MSN->new(Handle => $Email, Password => $Password);<br /><br />$msn->connect();<br /><br />while(1) <br />{<br /> $msn->do_one_loop;<br />}<br /> <br />1;<br /> |
gives the following error:
| Code: | | <br />MSN Module v. 1.3.6<br />Checksum:40614<br /><br />Use of uninitialized value in split at MSN.pm line 1357, <GEN1> line 3.<br />Use of uninitialized value in concatenation (.) or string at MSN.pm line 1370, <GEN1> line 3.<br />Authentication Error: No expected reply recieved... at MSN.pm line 1345, <GEN1> line 3.<br />Use of uninitialized value in concatenation (.) or string at MSN.pm line 1082, <GEN1> line 4.<br /> |
The error-messages come when the do_one_loop method is called. I'm running the bot on a Linux platform.
Any ideas? |
|
| Back to top |
|
 |
Keenie Almost An Agent

Joined: 31 Oct 2003 Posts: 1071
 
|
Posted: Tue Feb 03, 2004 3:55 pm Post subject: |
|
|
how do you manage to get it to print a version number if you are using the one hosted on messiahsoft? as far as I know the last time I updated that is before bot-depot was around :S
edit: ok you edited your post
make sure you have the SSL updates installed correctly.. they are availible in the protocols section under Windows Active Perl SSL Fix |
|
| Back to top |
|
 |
|