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)

Afronanny 05-25-2011 12:52

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

Drixevel 05-26-2011 11:55

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

Mecha the Slag 05-26-2011 14:11

Re: MegaHAL ChatBot
 
Links are down D:

psychonic 05-26-2011 14:22

Re: MegaHAL ChatBot
 
Quote:

Originally Posted by Mecha the Slag (Post 1475970)
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.

Mecha the Slag 05-26-2011 15:27

Re: MegaHAL ChatBot
 
I'm experiencing some very frequent crashes when the bot is generating responses

edit: This is on a Windows TF2 server

Afronanny 05-27-2011 11:44

Re: MegaHAL ChatBot
 
Do you have a mdmp I can use to debug?

Mecha the Slag 05-27-2011 18:10

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

Afronanny 05-28-2011 09:52

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

Mecha the Slag 05-28-2011 10:29

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


Afronanny 05-28-2011 11:05

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


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

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