phpMyChat-Plus

  • 12 Replies
  • 5379 Views
*

lesmond

  • Trusty Member
  • **
  • Bumblebee
  • *
  • 26
phpMyChat-Plus
« on: June 16, 2013, 05:05:17 pm »
Not sure if this is the right place to ask, so please move if not ::)

anyway I have just install phpMyChat-Plus on my local server (accessible from the net btw, PM me if you want the link).
I am trying get the bot to work correctly, ok it works but not the games, for instance if I type "WORDPLAY" it says....
Quote
Welcome to my anagram game.
I am going to jumble a nine letter word up and you have to guess what it is.
You must solve each anagram correctly to continue.
Type START to begin the anagram game.
so I type "START" but then I get this...
Quote
phpMyChat-Plus Help paragraph follows:
Bot command
Format: /bot start or /bot stop
Allow the moderator(s) of a room or the administrator to start/load or stop/unload the bot in the current room.
To start a public conversation with the bot, the user should just type it's name (E.g. "hi "). The Bot can follow each conversation individually with each user. To end a conversation with the Bot or make him shut off, just type "bye botname" (E.g. "bye Jim").
Bot can also talk privatelly to each user (if allowed by the chat settings), through the private messagery system of the chat (check pm cmd or wisp cmd help)
Note: if you just type "bye", bot will answer but it wouldn't be enough to make him shut. He will keep talking to you, because he will think you said bye to someone else or that you just intended to go out, but you made up your mind. Isn't that what humans would think too?!
(Type another question or just say "Thanks" to quit phpMyChat-Plus Help.)

I should probably ask the dev, but thought I would ask here, as you guys seem to know a lot about this stuff ::)

Thanks Les

*

squarebear

  • Trusty Member
  • *********
  • Terminator
  • *
  • 869
  • It's Hip to be Square
Re: phpMyChat-Plus
« Reply #1 on: June 17, 2013, 09:01:02 am »
It sounds like start is a reserved word and can't be typed in at a guess? You are welcome to change my wordplay.aiml file to say something like "say BEGIN to start the game" and see if that does anything? (You will also need to change the category of START to BEGIN). I can help you if you are unsure.
Feeling Chatty?
www.mitsuku.com

*

lesmond

  • Trusty Member
  • **
  • Bumblebee
  • *
  • 26
Re: phpMyChat-Plus
« Reply #2 on: June 17, 2013, 02:53:21 pm »
Thanks squarebear O0

I went to phpmyadmin and Emptied all the bot_xxx tables then reloaded them through my chat admin.

So now this is what I get...

Quote
[admin]   LUCKYSLOTS
[plusbot]   admin> Welcome to my slot machine.
You start with coins and each spin of the machine costs you 1 coin.
The game is over when you have either lost all your money or made 250 coins.
Good luck!
Type START to load the machine.
[admin]   START
[plusbot]   admin> Oops. I wasn't paying attention. Tell me again what is going on.

This happens with any game I try ???

*

squarebear

  • Trusty Member
  • *********
  • Terminator
  • *
  • 869
  • It's Hip to be Square
Re: phpMyChat-Plus
« Reply #3 on: June 17, 2013, 08:38:14 pm »
It looks like whatever you are using has no knowledge of the <that> tag in AIML. Try creating a couple of categories which are <that> dependent to see if it works.
Feeling Chatty?
www.mitsuku.com

*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6860
  • Mostly Harmless
Re: phpMyChat-Plus
« Reply #4 on: June 17, 2013, 09:01:04 pm »
If Les made the change to BEGIN you mentioned above shouldn't he be saying BEGIN now rather than START.  ???

*

lesmond

  • Trusty Member
  • **
  • Bumblebee
  • *
  • 26
Re: phpMyChat-Plus
« Reply #5 on: June 17, 2013, 09:46:10 pm »
If Les made the change to BEGIN you mentioned above shouldn't he be saying BEGIN now rather than START.  ???

OK I done that...

Quote
[admin]   WORDPLAY
[plusbot]   admin> Welcome to my anagram game.
I am going to jumble a nine letter word up and you have to guess what it is.
You must solve each anagram correctly to continue.
Type BEGIN to begin the anagram game.
[admin]   BEGIN
[plusbot]   admin> I started already.

I think its playing with me  ???


If I try another game which still ask me to type START, I get this...
Quote
[admin]   LUCKYSLOTS
[plusbot]   admin> Welcome to my slot machine.
You start with coins and each spin of the machine costs you 1 coin.
The game is over when you have either lost all your money or made 250 coins.
Good luck!

Type START to load the machine.
[admin]   START
[plusbot]   admin> phpMyChat-Plus Help paragraph follows:
Bot command
Format: /bot start or /bot stop
Allow the moderator(s) of a room or the administrator to start/load or stop/unload the bot in the current room.
To start a public conversation with the bot, the user should just type it's name (E.g. "hi "). The Bot can follow each conversation individually with each user. To end a conversation with the Bot or make him shut off, just type "bye botname" (E.g. "bye plusbot").
Bot can also talk privatelly to each user (if allowed by the chat settings), through the private messagery system of the chat (check pm cmd or wisp cmd help)
Note: if you just type "bye", bot will answer but it wouldn't be enough to make him shut. He will keep talking to you, because he will think you said bye to someone else or that you just intended to go out, but you made up your mind. Isn't that what humans would think too?!
(Type another question or just say "Thanks" to quit phpMyChat-Plus Help.)

*

squarebear

  • Trusty Member
  • *********
  • Terminator
  • *
  • 869
  • It's Hip to be Square
Re: phpMyChat-Plus
« Reply #6 on: June 18, 2013, 09:18:53 am »
I don't think your interpreter is recognising <that> tags. Try making an AIML file with these categories:

<category>
<pattern>TEST 1</pattern>
<template>This is a test.</template>
</category>

<category>
<pattern>TEST 2</pattern>
<that>THIS IS A TEST</that>
<template>You should be able to see this message.</template>
</category>

This should give:

Human: Test 1
Bot: This is a test
Human: Test 2
Bot: You should be able to see this message.
Feeling Chatty?
www.mitsuku.com

*

lesmond

  • Trusty Member
  • **
  • Bumblebee
  • *
  • 26
Re: phpMyChat-Plus
« Reply #7 on: June 18, 2013, 01:22:43 pm »
OK added the new aiml file, here are the results.
My bots name is Jim btw ::)

Quote
[admin]   TEST 1
[Jim]   admin> This is a test.
[admin]   Test 2
[Jim]   admin> Try putting that in a more specific context.
[admin]   TEST 2
[Jim]   admin> Where are you located?
[admin]   test 1
[Jim]   admin> This is a test.

I have now loaded the chat room to my live site now, I have posted the link in the Trusted members board, dont want too many spammers  ;)

*

squarebear

  • Trusty Member
  • *********
  • Terminator
  • *
  • 869
  • It's Hip to be Square
Re: phpMyChat-Plus
« Reply #8 on: June 18, 2013, 10:35:28 pm »
That's it then. Whatever you are using to interpret your AIML files doesn't support the <that> tag. This is a major disadvantage in any AIML interpreter, as <that> is used all over the place. I would pass this one back to whoever supports your interpreter.
Feeling Chatty?
www.mitsuku.com

*

lesmond

  • Trusty Member
  • **
  • Bumblebee
  • *
  • 26
Re: phpMyChat-Plus
« Reply #9 on: June 19, 2013, 12:31:54 am »
It is Ciprian MURARIU  that uses the AIML files in his chat program, I have passed this on to him.

I have worked on fixing a few bugs before with his chat program for him, only small things though.

I'll let you know what he says squarebear

Thanks again
Les

*

lesmond

  • Trusty Member
  • **
  • Bumblebee
  • *
  • 26
Re: phpMyChat-Plus
« Reply #10 on: June 19, 2013, 11:29:29 am »
This is the reply I got from him, he said he knows you too :)

Quote from: Ciprian MURARIU
Yes, I worked with squarebear/uk to improve his calendar aiml. Did he proposed a solution?

*

squarebear

  • Trusty Member
  • *********
  • Terminator
  • *
  • 869
  • It's Hip to be Square
Re: phpMyChat-Plus
« Reply #11 on: June 19, 2013, 01:05:06 pm »
Ah yes, he amended my calendar.aiml to make it work better with non-flash bots. Unfortunately, I don't know how his interpreter works and can't propose a solution but if you pass him the 2 simple categories above "test1" and "test2" and say that those don't work, it may help him figure out what's wrong.

To an outsider though, it looks like he has no support for <that> and they are simply being ignored.
Feeling Chatty?
www.mitsuku.com

*

lesmond

  • Trusty Member
  • **
  • Bumblebee
  • *
  • 26
Re: phpMyChat-Plus
« Reply #12 on: June 19, 2013, 01:15:39 pm »
I already passed those on to him, I'll let you know what he says.

 


Project Acuitas
by WriterOfMinds (General Project Discussion)
October 27, 2024, 09:17:10 pm
Ai improving AI
by infurl (AI Programming)
October 19, 2024, 03:43:29 am
Atronach's Eye
by WriterOfMinds (Home Made Robots)
October 13, 2024, 09:52:42 pm
Running local AI models
by spydaz (AI Programming)
October 07, 2024, 09:00:53 am
Hi IM BAA---AAACK!!
by MagnusWootton (Home Made Robots)
September 16, 2024, 09:49:10 pm
Attempting Hydraulics
by MagnusWootton (Home Made Robots)
August 19, 2024, 04:03:23 am
Server Upgrade
by Freddy (Welcome to AI Dreams forum.)
August 12, 2024, 03:20:04 pm
Reasoner.js: a framework for generalized theory synthesis
by ivan.moony (General Project Discussion)
July 07, 2024, 01:35:38 pm
LLaMA2 Meta's chatbot released
by spydaz (AI News )
August 24, 2024, 02:58:36 pm
ollama and llama3
by spydaz (AI News )
August 24, 2024, 02:55:13 pm
AI controlled F-16, for real!
by frankinstien (AI News )
June 15, 2024, 05:40:28 am
Open AI GPT-4o - audio, vision, text combined reasoning
by MikeB (AI News )
May 14, 2024, 05:46:48 am
OpenAI Speech-to-Speech Reasoning Demo
by MikeB (AI News )
March 31, 2024, 01:00:53 pm
Say good-bye to GPUs...
by MikeB (AI News )
March 23, 2024, 09:23:52 am
Google Bard report
by ivan.moony (AI News )
February 14, 2024, 04:42:23 pm
Elon Musk's xAI Grok Chatbot
by MikeB (AI News )
December 11, 2023, 06:26:33 am

Users Online

318 Guests, 0 Users

Most Online Today: 374. Most Online Ever: 2369 (November 21, 2020, 04:08:13 pm)

Articles