Thread: Chatting Bot

  1. #1
    Registered User
    Join Date
    Jul 2004
    Posts
    99

    Chatting Bot

    Hello,
    i know that the most used language for bots is AIML but i ask: Is there anyway to create with C++ a chat bot brain?
    Because at chatterboc challenge page i saw many bots builded in C++
    thanks

  2. #2
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    >Is there anyway to create with C++ a chat bot brain?
    >Because at chatterboc challenge page i saw many bots builded in C++
    This is a classic case of answering your own question.
    My best code is written with the delete key.

  3. #3
    Registered User
    Join Date
    Sep 2001
    Posts
    4,912
    As Prelude taught me, pretty much any thing is possible in C/C++. Since I assume that the most fundamental concept of writing a bot is just sending data through a network, the reciever has no way of knowing what language you're using. You just need to do some data processing, and then send it down the network.

  4. #4
    Never Exist Hermitsky's Avatar
    Join Date
    Jul 2004
    Posts
    149
    3 days ago,someone has post a topic,said he was doing the same thing - a program that can talk to people.

    blow me ... ...

  5. #5
    Registered User
    Join Date
    Sep 2001
    Posts
    4,912
    That's a very different type of program.

  6. #6
    Never Exist Hermitsky's Avatar
    Join Date
    Jul 2004
    Posts
    149
    Quote Originally Posted by sean_mackrory
    That's a very different type of program.
    why ?

    blow me ... ...

  7. #7
    Registered User
    Join Date
    Sep 2001
    Posts
    4,912
    One of them is used to help humans literally, "talk" to their computers, the other one is used for spamming chat rooms.

  8. #8
    Never Exist Hermitsky's Avatar
    Join Date
    Jul 2004
    Posts
    149
    their purpose are different, but what they need are same - the ability to talk like a humen.
    isn't it ?

    blow me ... ...

  9. #9
    Registered User
    Join Date
    Sep 2001
    Posts
    4,912
    No. The thread you mentioned from a couple of days ago needs AI abilities so that it can understand human speech. The starter of this thread needs to know if it is possible to create a "chatbot" in C++. A chat bot will often post advertizing messages in internet chat rooms.

  10. #10
    Registered User
    Join Date
    Sep 2004
    Location
    California
    Posts
    3,268
    Actually, the thread starter mentioned the Chatterbox Challenge , which is definitely not just chatbots which post ads in chatrooms.

  11. #11
    Registered User
    Join Date
    Jul 2004
    Posts
    99
    Any tutorila kids how can i create abot to talk with people or source code i can start working on?

  12. #12
    Registered User
    Join Date
    Sep 2001
    Posts
    4,912
    Try Google

  13. #13
    Registered User
    Join Date
    Jul 2004
    Posts
    99
    I don't find any good thing expect some spammy sites

  14. #14
    hacker in training AdamLAN's Avatar
    Join Date
    Sep 2004
    Posts
    56
    It is possible, just use a switch case or a lot of "if" statements

    lol


    Someday computers will take over the world. I look forward to it.

  15. #15
    Registered User
    Join Date
    Aug 2004
    Location
    San Diego, CA
    Posts
    313
    Why not (if you want to get REALLY intricate) have a C++ program that has a few limited responses and queries ("What is your name?" "Who are you?" "How are you?" "Where do you live?" "I am X" "I like cake" "I am 17"..) that are stored in an SQL database. Then code a module where if this bot comes across a question not in its database, it stores the question and starts asking it. Then it would store the replies, giving the more common ones a higher weight for IT to use later.

    For example:

    Hardcoded
    --- Questions
    --- Responses
    Softcoded
    --- Gathered Questions
    ----- Valid Responses
    ------- Possible followup questions
    --- Gathered Information
    ----- Associated Questions

    Something like that, perhaps?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Getting a Very Simple Quake 2 Bot to Work
    By bengreenwood in forum C++ Programming
    Replies: 2
    Last Post: 03-19-2009, 05:36 AM
  2. Chat bot brain ideas
    By cogeek in forum C++ Programming
    Replies: 14
    Last Post: 10-02-2004, 12:26 AM
  3. active worlds sdk (first test bot)
    By LodeC in forum C++ Programming
    Replies: 2
    Last Post: 07-31-2004, 08:33 AM
  4. Anybody Familiar with A.L.I.C.E. bot?
    By blackwyvern in forum C++ Programming
    Replies: 6
    Last Post: 01-23-2002, 10:53 PM