• Welcome to Valhalla Legends Archive.
 

I have a quick q for you guys.

Started by Final, January 14, 2006, 03:34 AM

Previous topic - Next topic

Final

Ok I have been interested in Artificial Intellegence. How would I go about making one. I know thats there ppl that do code to make it look like an AI for example:

if(personsaid=="hello")
{
botsay: hello;
}

All I see that todo is a cause and effect.
I wanted to create an AI in c++ programming which is real I know it would take months even years But im willing to do anything on learning how to make one effectively so does anyone know were togo or what to do?

topaz

That isn't even real AI, so don't address it as such.
RLY...?

Warrior

Use strcmp() for string comparisons.

I havn't really messed with AI, so I can't help you there.
Quote from: effect on March 09, 2006, 11:52 PM
Islam is a steaming pile of fucking dog shit. Everything about it is flawed, anybody who believes in it is a terrorist, if you disagree with me, then im sorry your wrong.

Quote from: Rule on May 07, 2006, 01:30 PM
Why don't you stop being American and start acting like a decent human?

Mephisto

#3
Quote from: Final on January 14, 2006, 03:34 AM
Ok I have been interested in Artificial Intellegence. How would I go about making one. I know thats there ppl that do code to make it look like an AI for example:

if(personsaid=="hello")
{
botsay: hello;
}

All I see that todo is a cause and effect.
I wanted to create an AI in c++ programming which is real I know it would take months even years But im willing to do anything on learning how to make one effectively so does anyone know were togo or what to do?

I'll just say the obvious: you don't know C++ (which I assume is what you're trying to do this in) and therefore you stand before enormous obstacles before you can achieve this.

Therefore, my suggestion, and the suggestion of 90% of the people here, would be to go learn C++ first rather than waste your time trying to accomplish something that's simply out of your reach; it'll dirve you insane if you try.

Also, AI is somewhat controversal about implementation, to its extent, and exactly what you are trying to accomplish with it, neither of which were specified in your post.

Yegg

AI in C++? I recommend learning LISP (GNU CLISP is what I'd recommend if you're using Windows, else some other CommonLisp implementation) and then working on this project. You would be amazed at how much easier the task would be.

K

I would recommend using a library like rebeccaAIML instead of starting from scratch.  I used a C# library similar to this to create a battle.net chatterbot a while back.

Final

Ok well seeems that there nothing under the subject but yeah Ill just try creating some sort of ai using c++.

And for the record i do know c++ im  making the ai in a win32 api ty very much so yeah ill see what i can get done i have it worked out i think just having some difficult issues then i can mmake it work hehe.

warz

You're making the AI in Win32 API?

Mephisto

Quote from: Final on January 14, 2006, 03:36 PM
And for the record i do know c++ imĀ  making the ai in a win32 api ty very much so yeah ill see what i can get done i have it worked out i think just having some difficult issues then i can mmake it work hehe.

Based on your initial post it seems you are quite unfamiliar with the language to assert that you know it.  You also seem clueless as to what you are doing to accomplish your project?  What do you mean you're going to use the Win32 API to implement AI scematics?  And exactly what are you trying to accomplish with AI as it is such a broad subject.

MyndFyre

Guys, seriously, before trying to assert technical superiority, give him a break.  He does sound stupid atm, but there's a chance he was writing pseudocode in the original post.  That syntax doesn't really look like anything that I'm familiar with... kind of like a bastardization of C and Pascal.

Final: that will not be an effective AI.  An AI must be able to learn responses (otherwise it's not an AI).  Cause-and-effect hard-coded in is nothing more than simple procedural programming.
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.

Joe[x86]

#include <iostream>
using namespace std;

int main() {
  string input = "";
  cin >> input;
  switch(input) {
    case "hello":
      cout << "Hello!" << endl;
    default:
      cout << "I don't understand! Why are you telling me this?!" << endl;
  }
  return EXIT_SUCCESS;
}


Can C++ switch on strings? =/.
Quote from: brew on April 25, 2007, 07:33 PM
that made me feel like a total idiot. this entire thing was useless.


Eric

Quote from: MyndFyre on January 15, 2006, 01:56 PM
Guys, seriously, before trying to assert technical superiority, give him a break.  He does sound stupid atm, but there's a chance he was writing pseudocode in the original post.  That syntax doesn't really look like anything that I'm familiar with... kind of like a bastardization of C and Pascal.

Final: that will not be an effective AI.  An AI must be able to learn responses (otherwise it's not an AI).  Cause-and-effect hard-coded in is nothing more than simple procedural programming.

I've helped this kid online a few times and find him to be very ignorant and he lacks the will to do any real learning.  You try to help him; he says you're wrong and continues to go about what he was doing.  You recommend that he purchase a book so that he can better understand the language that he's attempting to program in; he Google's a tutorial to steal code from.  He's just looking for someone to agree with him and perhaps provide an easy example from which he can copy and change into his own.

Joe[x86]

Is that Koolman or whatever from SB.net?

@Yoni:
MENTAL.. PUPPY.. DAMNIT.
Quote from: brew on April 25, 2007, 07:33 PM
that made me feel like a total idiot. this entire thing was useless.

Ender

#14
Quote from: Final on January 14, 2006, 03:36 PM
Ok well seeems that there nothing under the subject but yeah Ill just try creating some sort of ai using c++.
And for the record i do know c++ im making the ai in a win32 api ty very much so yeah ill see what i can get done i have it worked out i think just having some difficult issues then i can mmake it work hehe.

Quote from: Mephisto on January 14, 2006, 09:33 AM
I'll just say the obvious: you don't know C++ (which I assume is what you're trying to do this in) and therefore you stand before enormous obstacles before you can achieve this.

Therefore, my suggestion, and the suggestion of 90% of the people here, would be to go learn C++ first rather than waste your time trying to accomplish something that's simply out of your reach; it'll dirve you insane if you try.

Correction: Final, first learn English and then learn C++.