User Control Panel
Advertisements

HELP US, HELP YOU!

AiChaos Leviathan 1.4
Goto page Previous  1, 2, 3  Next
 
Post new topic   Reply to topic    Bot Depot Forum Index -> Templates
View unanswered posts
Author Message
Cer
Upgraded Agent
Upgraded Agent


Joined: 03 Feb 2004
Posts: 3776
Location: Michigan
Reputation: 146.9
votes: 4

PostPosted: Thu Apr 28, 2005 10:48 pm    Post subject: Reply with quote

QUOTE(purcelly-tech @ Apr 28 2005, 04:48 PM)
sorry couldnt use edit


i get this error


Quote:
Done!
:: Loading bot profiles... Done!
:: Loading bot reply data... Done!
:: Connecting the bots...
Can't locate object method "new" via package "Net::YIM" (perhaps you forgot to l
oad "Net::YIM"?) at Leviathan.pl line 464.
        Signing on cypte to Yahoo... Use of uninitialized value in numeric eq (=
=) at Leviathan.pl line 96.

[right][snapback]48083[/snapback][/right]


http://search.cpan.org/~kirsle/Net-YIM-0.02/lib/Net/YIM.pm Smile

_________________
Current Site (2008) http://www.cuvou.com/
Back to top
Cer
Upgraded Agent
Upgraded Agent


Joined: 03 Feb 2004
Posts: 3776
Location: Michigan
Reputation: 146.9
votes: 4

PostPosted: Fri Apr 29, 2005 10:46 pm    Post subject: Reply with quote

QUOTE(Tyler @ Apr 29 2005, 05:59 PM)
Code:
Can't locate Mail/Sendmail.pm in @INC (@INC contains: ./lib ./libtwo C:/Perl/lib<br /> C:/Perl/site/lib .) at ./handlers/smtp/smtp_add_queue.pl line 75.<br />BEGIN failed--compilation aborted at ./handlers/smtp/smtp_add_queue.pl line 75.<br />Compilation failed in require at Leviathan.pl line 241.<br />        Including ./handlers/smtp/smtp_add_queue.pl... Use of uninitialized valu<br />e in numeric eq (==) at Leviathan.pl line 96.

[right][snapback]48101[/snapback][/right]


We've already been through this, look at the fourth reply in this topic (or the 5th post if you're just going by posts). It's annoying when people don't read things to see if their error has already been discussed. <_<

_________________
Current Site (2008) http://www.cuvou.com/
Back to top
Cer
Upgraded Agent
Upgraded Agent


Joined: 03 Feb 2004
Posts: 3776
Location: Michigan
Reputation: 146.9
votes: 4

PostPosted: Fri May 06, 2005 8:47 pm    Post subject: Reply with quote

I made an update to the !reload command, it's to reload specific parts of your bot (i.e. if you're just working on replies, you wouldn't want to have to reload handlers and subroutines and commands and stuff).

And reloading everything (like it used to be done) can take a LONG time, and if a lot more commands are added it might even be enough to have your bot dropped from MSN.

So this command is to reload specific parts (or ALL) of your bot's code:
!reload

The code is mostly the same as the !reload command except for there's a few IF statements on each section to decide whether or not it wants to load it.

Attached. B)

_________________
Current Site (2008) http://www.cuvou.com/
Back to top
purcelly
God Like
God Like


Joined: 10 Jun 2004
Posts: 560
Location: North West, England
Reputation: 35.1Reputation: 35.1Reputation: 35.1Reputation: 35.1

PostPosted: Mon May 09, 2005 7:42 pm    Post subject: Reply with quote

when a user uses the !report

command where is the record of that report saved?
Back to top
Cer
Upgraded Agent
Upgraded Agent


Joined: 03 Feb 2004
Posts: 3776
Location: Michigan
Reputation: 146.9
votes: 4

PostPosted: Mon May 09, 2005 7:45 pm    Post subject: Reply with quote

QUOTE(purcelly-tech @ May 9 2005, 03:42 PM)
when a user uses the !report

command where is the record of that report saved?
[right][snapback]48249[/snapback][/right]


It should save it in ./logs/reports.txt

_________________
Current Site (2008) http://www.cuvou.com/
Back to top
purcelly
God Like
God Like


Joined: 10 Jun 2004
Posts: 560
Location: North West, England
Reputation: 35.1Reputation: 35.1Reputation: 35.1Reputation: 35.1

PostPosted: Mon May 09, 2005 7:51 pm    Post subject: Reply with quote

ok ill check in there
Back to top
purcelly
God Like
God Like


Joined: 10 Jun 2004
Posts: 560
Location: North West, England
Reputation: 35.1Reputation: 35.1Reputation: 35.1Reputation: 35.1

PostPosted: Mon May 09, 2005 7:56 pm    Post subject: Reply with quote

nope its not there just

allowlistbackup.txt
warnings.txt
and a chat folder containg chat logs
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: Mon May 09, 2005 9:14 pm    Post subject: Reply with quote

Edit the command, and see where it saves it. Smile
Back to top
Cer
Upgraded Agent
Upgraded Agent


Joined: 03 Feb 2004
Posts: 3776
Location: Michigan
Reputation: 146.9
votes: 4

PostPosted: Mon May 09, 2005 10:11 pm    Post subject: Reply with quote

Oh, heh, it was actually an error in my code:

Code:
open (REPORT, "./logs/reports.txt");<br />print REPORT "$stamp\n"<br />     . "$client has reported: $msg\n\n";<br />close (REPORT);


It wasn't opening it in >>append mode. Laughing edit commands/feedback/report.pl to fix that. Wink

_________________
Current Site (2008) http://www.cuvou.com/
Back to top
purcelly
God Like
God Like


Joined: 10 Jun 2004
Posts: 560
Location: North West, England
Reputation: 35.1Reputation: 35.1Reputation: 35.1Reputation: 35.1

PostPosted: Tue May 10, 2005 7:54 am    Post subject: Reply with quote

no you need 5.8.4

yuo should not have edited the file as the rest of leviathan needs 5.8.4
'
5.8.x means any version oif 5.8 but you would obviously need the highest version
Back to top
Cer
Upgraded Agent
Upgraded Agent


Joined: 03 Feb 2004
Posts: 3776
Location: Michigan
Reputation: 146.9
votes: 4

PostPosted: Tue May 10, 2005 11:56 am    Post subject: Reply with quote

QUOTE(Guest @ May 9 2005, 11:12 PM)
QUOTE(Newbie @ May 9 2005, 07:09 PM)
When trying to run the dos bat file, it says i need Perl v5.8.4 for rive.pm
the documentation says i only need 5.8.x

i just manually changed the rive.pm to allow for 5.8.1 (which is the version i have)

um...is this a BAD idea?
[right][snapback]48258[/snapback][/right]


(sorry I forgot to add)

then after i run the .bat file it says
"Can't use string <"TOC"> as a HASH ref while "strict refs" in use at Leviathan.pl line 299
:: Loading the bots..."
then it doens't work
[right][snapback]48259[/snapback][/right]


That would be a result of improperly formatted XML at config/connections.xml. You might fix it by removing the sample TOC bot altogether (from to , at the bottom of the file).

_________________
Current Site (2008) http://www.cuvou.com/
Back to top
basstech
Newbie
Newbie


Joined: 18 Oct 2004
Posts: 1

Reputation: 18.9Reputation: 18.9

PostPosted: Sun May 29, 2005 4:55 am    Post subject: Reply with quote

I'm getting that error message plus numerous other errors.

Code:
Use of uninitialized value in numeric eq (==) at C:\bot\Leviathan\Leviathan.pl line 96.<br /><br />Including ./handlers/aim/aim_chat_buddy_in.pl... Unrecognized escape \o passed through at ./handlers/aim/aim_chat_buddy_in.pl line 65.<br /><br />   Including ./handlers/aim/aim_chat_im_in.pl... Unrecognized escape \o passed through at ./handlers/aim/aim_chat_im_in.pl line 160.<br /><br />Including ./handlers/aim/aim_chat_joined.pl... Unrecognized escape \o passed through at ./handlers/aim/aim_chat_joined.pl line 65.<br /><br />   Including ./handlers/aim/aim_im_in.pl... Unrecognized escape \o passed through at ./handlers/aim/aim_im_in.pl line 81.<br /><br />:: Loading the bots... Use of uninitialized value in string eq at C:\bot\Leviathan\Leviathan.pl line 285.<br /><br />Can't use string ("Alpha") as a HASH ref while "strict refs" in use at C:\bot\Leviathan\Leviathan.pl line 285.



That last error if I use the default connections.xml with only the aim username password and format changed I recieve this error:

Code:
Can't use string ("TOC") as a HASH ref while "strict refs" in use at C:\bot\Leviathan\Leviathan.pl line 299.
Back to top
Cer
Upgraded Agent
Upgraded Agent


Joined: 03 Feb 2004
Posts: 3776
Location: Michigan
Reputation: 146.9
votes: 4

PostPosted: Sun May 29, 2005 1:03 pm    Post subject: Reply with quote

QUOTE(basstech @ May 29 2005, 12:55 AM)
I'm getting that error message plus numerous other errors.

Code:
Use of uninitialized value in numeric eq (==) at C:\bot\Leviathan\Leviathan.pl line 96.<br /><br />Including ./handlers/aim/aim_chat_buddy_in.pl... Unrecognized escape \o passed through at ./handlers/aim/aim_chat_buddy_in.pl line 65.<br /><br />   Including ./handlers/aim/aim_chat_im_in.pl... Unrecognized escape \o passed through at ./handlers/aim/aim_chat_im_in.pl line 160.<br /><br />Including ./handlers/aim/aim_chat_joined.pl... Unrecognized escape \o passed through at ./handlers/aim/aim_chat_joined.pl line 65.<br /><br />   Including ./handlers/aim/aim_im_in.pl... Unrecognized escape \o passed through at ./handlers/aim/aim_im_in.pl line 81.<br /><br />:: Loading the bots... Use of uninitialized value in string eq at C:\bot\Leviathan\Leviathan.pl line 285.<br /><br />Can't use string ("Alpha") as a HASH ref while "strict refs" in use at C:\bot\Leviathan\Leviathan.pl line 285.



That last error if I use the default connections.xml with only the aim username password and format changed I recieve this error:

Code:
Can't use string ("TOC") as a HASH ref while "strict refs" in use at C:\bot\Leviathan\Leviathan.pl line 299.

[right][snapback]48435[/snapback][/right]


More often than not, if you have a "Can't use string as a HASH ref" in this bot, it's an XML syntax error.

Try an XML editing program and check the syntax of connections.xml

But just as a quick note.... Leviathan is the code I use for my own bots. I just make it open-source. If you can get it to work, great, if not, try another bot.

_________________
Current Site (2008) http://www.cuvou.com/
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Bot Depot Forum Index -> Templates All times are GMT
Goto page Previous  1, 2, 3  Next
Page 2 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