This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

[MODULE] Megahal

Old posts that have not been replied to for several years.
User avatar
GodOfSuicide
Master
Posts: 463
Joined: Mon Jun 17, 2002 8:00 pm
Location: Austria

Post by GodOfSuicide »

Hi, once again the question is about megahal.

I got megahal2.2 (http://www.clancdg.com/barkerjr/irc/egg ... 2.2.tar.gz) and i installed it succesfull.

But the only problem : it doesn't start to talk in any way. Maybe it works like infoegg who collects lots of infos until he starts, but i'm not sure.

In the .c / .h file i haven't seen anything to edit, and now i dont have any idea what to do.

if anyone got this to work plz tell me how you did it.

mfg GoS
C
CCHiron

Post by CCHiron »

i don't remember if the source downlaod had brain files included in the tar. here is a place to down load brain files to give it personality:)

http://www.megahal.net/download/
t
tainted
Master
Posts: 239
Joined: Sun May 12, 2002 8:00 pm
Location: chicago
Contact:

Post by tainted »

Has anyone gotten this mod to work correctly? My log appears empty and I can not get it to talk at all. It should create its own brain file from what the README.* says, but it doesn't seem to be working..
C
CCHiron

Post by CCHiron »

yup got it running great in two bots and both being wineggs to boot.

are you talkng to it correctly ie.
<user> botname: hello

have to have the ":" or he won't talk

real dumb question did you

loadmodule megahal

in your config file???

having premade brains saves a lotta work in training it from scratch
t
tainted
Master
Posts: 239
Joined: Sun May 12, 2002 8:00 pm
Location: chicago
Contact:

Post by tainted »

Yeah I loaded it, but could not for the life of me figure out how to talk to it. Thanks :oops:
t
tainted
Master
Posts: 239
Joined: Sun May 12, 2002 8:00 pm
Location: chicago
Contact:

Post by tainted »

It really needs to have a built in bold/other attributed text stripper. :evil:
v
voodookid

i've got the same problem with my robot

Post by voodookid »

well ... I have the same problem
I edited the eggdrop.conf and addes the line loadmodule megahal
the eggdrop loaded succesfuly loaded all the modules but the dimenssions of the .brn and .dic remains the same ..I mean their are empty .... I chmod 555 those files ... but nothing
iI allso get these message in the logs :
Writing user file ...
Writing brain file ...
Writing channel file ...
so it seems that the bot is working properly ... but still SO QUIET : :lol:

maybe we can bring up a solution ! I now I wll dig more !
t
tainted
Master
Posts: 239
Joined: Sun May 12, 2002 8:00 pm
Location: chicago
Contact:

Post by tainted »

Type this in the chan (make sure nick complete is NOT triggered)

<botnick>, Who are you?
v
voodookid

Post by voodookid »

this is vwry weird ....
still silence ...
i looked in the source file and everything looks OK .... what the hell ?

/me allmost angry
t
tainted
Master
Posts: 239
Joined: Sun May 12, 2002 8:00 pm
Location: chicago
Contact:

Post by tainted »

Check the size and time/date of the brain file. (ls -all ~/eggdrop/megahal.brn)
v
voodookid

Post by voodookid »

i manage to recompile the eggdrop and now it has both .brn and .dic files corect but there is still silence... maybe I will figure thet out some day ... until then I found another AI ircbot ... benzo (search on freshmeat.net for it) and it's quite impressive (it's written in python).

regards & /me back to study
t
tainted
Master
Posts: 239
Joined: Sun May 12, 2002 8:00 pm
Location: chicago
Contact:

Post by tainted »

MegaHAL has a few nasty bugs which cause cpu load to skyrocket to 99%. If your eggy hangs and you have this module enabled, I would strongly suggest disabling it until a new version is made.
a
a43

Post by a43 »

I'm having the same problem. My bot won't talk, at all.
If I add the two chanmodes mentioned in the README (+megahal and +learnall) it won't even start. I've tried substituting the brain and dicitonary files for the ones I used in another bot that ran an earlier version of the module, and that worked perfectly, but still: silence.

If anyone gets it to work I'd be very grateful if you'd post a solution.

EDIT: After checking the brain and dictionary files (these are the old files that used to work) I noticed they look like this:
MegaHALv8^E^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^B^@^@^@^G<ERROR>^E<FIN>
(the brain file)
and
<ERROR>
<FIN>
(the dictionary file)

I went back to check my backups to make sure that they didn't look like that, and they seemed fine, so it appears that when the bot is writing it's brain file (on a .rehash for example) something goes wrong.

EDIT AGAIN: No, I'm retarded, I had [censored] up the permissions for the .brn and .dic files. It writes to them correctly now, but it's still silent :(
t
tainted
Master
Posts: 239
Joined: Sun May 12, 2002 8:00 pm
Location: chicago
Contact:

Post by tainted »

It is very very buggy, and honestly the ai it develops isnt ai at all, more just bits and pieces of random things it learns. It was amusing for a little while, until I figured out that it wasnt going to get 'smarter' and was just crashing the bot.
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

I tried megahal over a year back, when it was created as a pet project (i beleive).

It wasn't very good then. I had managed to teach it till the bitter end, after 2 hours. No matter what I said to it, it refused to creat anything new in it's replies or questions.
Locked