Raised This Month: $12 Target: $400
 3% 

MegaHAL ChatBot


Post New Thread Reply   
 
Thread Tools Display Modes
Mecha the Slag
Veteran Member
Join Date: Jun 2009
Location: Denmark
Old 05-28-2011 , 11:32   Re: MegaHAL ChatBot
Reply With Quote #21

status.log

Code:
MegaHALv8
Copyright (C) 1998 Jason Hutchens
Start at: [2011/05/28 11:25:09]
User:    how do you fuck friendly?
User:    Smile
User:    SMILE
User:    ...
User:    ...
- crash happened here -
MegaHALv8
Copyright (C) 1998 Jason Hutchens
Start at: [2011/05/28 11:25:44]
Can't seem to find any logs anywhere other than that
__________________

Last edited by Mecha the Slag; 05-28-2011 at 11:34.
Mecha the Slag is offline
Afronanny
Veteran Member
Join Date: Aug 2009
Old 05-28-2011 , 15:51   Re: MegaHAL ChatBot
Reply With Quote #22

I'll look over the MegaHAL code for pointer calls and add checks where necessary.

EDIT: I just started crashing too. Time for the debugger
EDIT#2: I stopped crashing.

Last edited by Afronanny; 05-28-2011 at 16:18.
Afronanny is offline
KyleS
SourceMod Plugin Approver
Join Date: Jul 2009
Location: Segmentation Fault.
Old 07-23-2011 , 21:08   Re: MegaHAL ChatBot
Reply With Quote #23

Is this still unstable?
KyleS is offline
Afronanny
Veteran Member
Join Date: Aug 2009
Old 07-24-2011 , 21:59   Re: MegaHAL ChatBot
Reply With Quote #24

I've been running it for a couple months and it seems pretty stable. Haven't seen any crashes relating to this extension for a while. The only thing I would consider adding is a word filter for the input. People have been teaching chatbot bad, bad things.

Last edited by Afronanny; 07-24-2011 at 22:03.
Afronanny is offline
Ice1
Junior Member
Join Date: Jan 2010
Old 07-29-2011 , 11:19   Re: MegaHAL ChatBot
Reply With Quote #25

I'll try it out on my server
Ice1 is offline
KyleS
SourceMod Plugin Approver
Join Date: Jul 2009
Location: Segmentation Fault.
Old 08-13-2011 , 23:31   Re: MegaHAL ChatBot
Reply With Quote #26

Training from file: 100%
Unable to open file `Unable to open file `%s''[SM] Loaded extension megahal.ext.so successfully.

Crash Stack after saying "What does BotName think about dogs"
Code:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xd83feb70 (LWP 14875)]
0xf00817fb in babble(MODEL*, DICTIONARY*, DICTIONARY*) () from /*/extensions/megahal.ext.so
(gdb) backtrace
#0  0xf00817fb in babble(MODEL*, DICTIONARY*, DICTIONARY*) () from /*/extensions/megahal.ext.so
#1  0xf0081f54 in reply(MODEL*, DICTIONARY*) () from /*/extensions/megahal.ext.so
#2  0xf008321b in generate_reply(MODEL*, DICTIONARY*) () from /*/extensions/megahal.ext.so
#3  0xf0086460 in megahal_do_reply(char*, int) () from /*/extensions/megahal.ext.so
#4  0xf007f28c in ThreadedReply(void*) () from /*/extensions/megahal.ext.so
#5  0xf7649cf2 in start_thread () from /lib32/libpthread.so.0
#6  0xf75b998e in clone () from /lib32/libc.so.6
(gdb)

Last edited by KyleS; 08-13-2011 at 23:35. Reason: Added a crash stack.
KyleS is offline
Fearts
ferts of daeth
Join Date: Oct 2008
Old 08-14-2011 , 00:07   Re: MegaHAL ChatBot
Reply With Quote #27

This is loaded but doesn't seems to be doing anything at all. I think I might be putting megahal-ext folder in the wrong place. Where do I put this folder?
__________________
Fearts is offline
Afronanny
Veteran Member
Join Date: Aug 2009
Old 08-14-2011 , 15:20   Re: MegaHAL ChatBot
Reply With Quote #28

By default it doesn't reply unless you set sm_megahal_talk to 1
Afronanny is offline
SomeSortOfDuck
Junior Member
Join Date: Aug 2011
Old 08-19-2011 , 05:09   Re: MegaHAL ChatBot
Reply With Quote #29

Works but not at all how I thought it would.

Me: Chatbot
ChatBot: Who are you Chatbot.

Me: Chatbot you are cool.
ChatBot: Because I decided to have a child, and here you are cool.

I hope it learns fast.

Last edited by SomeSortOfDuck; 08-19-2011 at 05:27.
SomeSortOfDuck is offline
Afronanny
Veteran Member
Join Date: Aug 2009
Old 08-19-2011 , 17:51   Re: MegaHAL ChatBot
Reply With Quote #30

It takes a while to learn, but you just gotta talk to it for a while. Respond to what it says but don't tell it that it is wrong. Then it'll start telling you you're wrong.
Afronanny is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:04.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode