Joined: 03 May 2006 Posts: 2292 Location: Colorado
Posted: Sun Dec 14, 2003 5:13 am Post subject:
Sure. Let us know what that line and the five above it say and we can help you out. _________________ Eric256
Proud previous owner and current admin of Bot-depot.com
"my little secret... HA" is not my password.. that's stored somewhere in my brain... ... but the is the e-mail addy I am using... I have also tried another account... but that came up w/ the same error (see below).
unless (($self->{type} eq "NS") && $self->{test@theguild.dextra.ws} && $self->{heh..yea right :P})
thats the part that's creating the error, even in msn.pm, do i need to type something in type?
Where are you getting that line of code from? It looks like you're getting it from MSN.pm. DO NOT replace Handle and Password in MSN.pm. In fact, you should not be editing MSN.pm at all.
i'll show you want comes up when i dont change it...
Code:
C:\PERL\BIN>bot.pl<br />MSN Module v. 1.3.1<br />Checksum:41377<br /><br />Cannont create object without both Handle and Password being set.<br /><br />C:\PERL\BIN><br />
ok hi ive had that problem before all i did was Replace
CODE my $client = MSN->new();
$client->connect('NLN','temp',$botuser,$botpass, '', { Status => \&Status, Answer => \&Answer, Message => \&Message, Join => \&Join } ) or die "Error: Cannot connect to the MSN server! I'm not going online!";
With
CODE my $msn = MSN->new('',Handle => $botuser, Password => $botpass);
i'll show you want comes up when i dont change it...
Code:
C:\PERL\BIN>bot.pl<br />MSN Module v. 1.3.1<br />Checksum:41377<br /><br />Cannont create object without both Handle and Password being set.<br /><br />C:\PERL\BIN><br />
.. seeeee? nothing.
You can't just go changing MSN.pm expecting that to fix bugs in your code.
Unless you really know what you're doing, don't modify MSN.pm. Use a fresh copy of bot.pl and make sure you have $handle and $password set correctly because obviously the bot doesn't think you do.