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

MegaHAL ChatBot


Post New Thread Reply   
 
Thread Tools Display Modes
Afronanny
Veteran Member
Join Date: Aug 2009
Old 05-25-2011 , 12:52   Re: MegaHAL ChatBot
Reply With Quote #11

I just put in a new cvar to control the probability that ChatBot will respond. And certainly, one could make it so that it only responds when spoken to by name. I put that in there as well. And a cvar to control chatbot's name.

No it does not take up a slot. It's not a real bot. Just an imaginary one.

Last edited by Afronanny; 05-25-2011 at 13:07.
Afronanny is offline
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Location: Somewhere headbangin'
Old 05-26-2011 , 11:55   Re: MegaHAL ChatBot
Reply With Quote #12

Well i installed the extension and the plugin and it says it's running but the bot doesn't like to respond for some reason. I've tried setting CVARS but it still doesn't say anything so i'm kind of confused to how this works.
Drixevel is offline
Mecha the Slag
Veteran Member
Join Date: Jun 2009
Location: Denmark
Old 05-26-2011 , 14:11   Re: MegaHAL ChatBot
Reply With Quote #13

Links are down D:
__________________
Mecha the Slag is offline
psychonic

BAFFLED
Join Date: May 2008
Old 05-26-2011 , 14:22   Re: MegaHAL ChatBot
Reply With Quote #14

Quote:
Originally Posted by Mecha the Slag View Post
Links are down D:
It's just been going down for a few minutes at a time for the last half hour or so. Try again.
psychonic is offline
Mecha the Slag
Veteran Member
Join Date: Jun 2009
Location: Denmark
Old 05-26-2011 , 15:27   Re: MegaHAL ChatBot
Reply With Quote #15

I'm experiencing some very frequent crashes when the bot is generating responses

edit: This is on a Windows TF2 server
__________________

Last edited by Mecha the Slag; 05-26-2011 at 20:02.
Mecha the Slag is offline
Afronanny
Veteran Member
Join Date: Aug 2009
Old 05-27-2011 , 11:44   Re: MegaHAL ChatBot
Reply With Quote #16

Do you have a mdmp I can use to debug?
Afronanny is offline
Mecha the Slag
Veteran Member
Join Date: Jun 2009
Location: Denmark
Old 05-27-2011 , 18:10   Re: MegaHAL ChatBot
Reply With Quote #17

I don't think TF2 uses mdmp dumps anymore.
edit: yeah, no dump what-so-ever D:

But this time when I tried it, it worked for half a minute before crashing. Still crashed, though.
edit2: and this time 10 seconds.


I can run the extension + plugin just fine with replies off, but sometimes when the bot has to generate responses, it crashes.
I wouldn't mind running a debug version of the extension to help you track down the issue, though!
__________________

Last edited by Mecha the Slag; 05-27-2011 at 19:12.
Mecha the Slag is offline
Afronanny
Veteran Member
Join Date: Aug 2009
Old 05-28-2011 , 09:52   Re: MegaHAL ChatBot
Reply With Quote #18

Here's a debug build: http://downloads.afronanny.org/megahal.ext.dll

By the way, I downloaded the windows server and am running this without crashes when it's generating a reply. It may need a higher playercount before it starts crashing but we'll see. I appreciate your help in tracking down the problem.
Afronanny is offline
Mecha the Slag
Veteran Member
Join Date: Jun 2009
Location: Denmark
Old 05-28-2011 , 10:29   Re: MegaHAL ChatBot
Reply With Quote #19

I ran the debug build and the bot crashed after a few responses. Where are the logs stored?

edit: found the logs. Here's what it said:

error.log
Code:
MegaHALv8
Copyright (C) 1998 Jason Hutchens
Start at: [2011/05/28 10:48:50]
MegaHALv8
Copyright (C) 1998 Jason Hutchens
Start at: [2011/05/28 10:49:34]

status.log
Code:
MegaHALv8
Copyright (C) 1998 Jason Hutchens
Start at: [2011/05/28 10:48:50]
User:    yes?
User:    Bot, is Crpl. credit to team
User:    im dancing
User:    okay we are moveing out
- this is where I turned sm_megahal_talk on -
User:    dance partay
User:    DANCE PARTAY
User:    me
User:    ME
User:    um, kirby?
User:    UM, KIRBY?
- crash happened here -
MegaHALv8
Copyright (C) 1998 Jason Hutchens
Start at: [2011/05/28 10:49:34]
User:    lol bot crashed the server
User:    lol
User:    hi bot :D
User:    bad bot
User:    RTV!!!!!!!!!!!!!!!!!!!!!!!!!
and here is the console log:
Code:
*DEAD* Christian Brutal Sniper :  okay we are moveing out
sm_megahal_talk 1
*DEAD* Bring Back Dodgeball!!! :  dance partay
Bot : Hey guys, what does the victory dance.
*DEAD* epic cookie of epicness (DK) :  me
Bot : Imma own you all.
The Legendary dragon cat :  um, kirby?
- crash happened here -
__________________

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

I just compiled it with MegaHAL's debug files, looks it'll write to stdout when some of the memory functions are called (malloc, realloc). Redownload megahal.ext.dll that i linked to above.

I'm not sure where the debug logs are located :X
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 08:51.


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