AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Extensions (https://forums.alliedmods.net/forumdisplay.php?f=134)
-   -   MegaHAL ChatBot (https://forums.alliedmods.net/showthread.php?t=157540)

Mecha the Slag 05-28-2011 11:32

Re: MegaHAL ChatBot
 
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

Afronanny 05-28-2011 15:51

Re: MegaHAL ChatBot
 
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.

KyleS 07-23-2011 21:08

Re: MegaHAL ChatBot
 
Is this still unstable?

Afronanny 07-24-2011 21:59

Re: MegaHAL ChatBot
 
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.

Ice1 07-29-2011 11:19

Re: MegaHAL ChatBot
 
I'll try it out on my server :P

KyleS 08-13-2011 23:31

Re: MegaHAL ChatBot
 
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)


Fearts 08-14-2011 00:07

Re: MegaHAL ChatBot
 
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?

Afronanny 08-14-2011 15:20

Re: MegaHAL ChatBot
 
By default it doesn't reply unless you set sm_megahal_talk to 1

SomeSortOfDuck 08-19-2011 05:09

Re: MegaHAL ChatBot
 
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.

Afronanny 08-19-2011 17:51

Re: MegaHAL ChatBot
 
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.


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

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