Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Database and Dark GDK

Author
Message
Darkk2
15
Years of Service
User Offline
Joined: 1st Nov 2009
Location:
Posted: 9th Jan 2010 23:04
Can this concept work?

I am asking it because I am researching on implementing of Case Base Reasoning in computer game. This will help AI to learn from their experience.

Could it be possible that we can have a database that can be handled in Dark GDK...??

Otherwise i'll have to opt for conventional CHATBOTS...!!

Please Reply...

Thanks...!
Cuddle Bunniezzz 12
15
Years of Service
User Offline
Joined: 14th Jan 2009
Location: Buffalo, NY
Posted: 10th Jan 2010 16:23
Yes it can. In fact, I have gotten DarkGDK to work with the MySQL C API.

There are other kinds of databases you can use like MSSQL, PostgreSQL (I think Sony uses this one), Oracle DB, but MySQL is good since it's fast, free, and easy to use.

It's been a bit since I've played around with the API, but I'll try to upload some examples later.

http://www.darkgdk.us/ <- You can now submit pages, upload images, yet were lacking content. We need your help!
PaTTE
20
Years of Service
User Offline
Joined: 6th Aug 2004
Location:
Posted: 10th Jan 2010 17:29
Yes for my apps I use MySQL and MySQL Connector and I found it quite easy and fast to setup and get going.

There are a lot of good examples and documentation on their website. http://dev.mysql.com/doc/refman/5.1/en/connector-cpp.html
Cuddle Bunniezzz 12
15
Years of Service
User Offline
Joined: 14th Jan 2009
Location: Buffalo, NY
Posted: 10th Jan 2010 20:35
I normally don't like to give out some of the code I use for my projects, but I guess i can this time.

This was a little Command Line log in server I was experimenting with for a game I wanted to make (or at least the original concept of the game).

Anyways, the .zip download (attached to this post) should include everything you need, the SQL dump of the database, the "libMySQL.dll", the source file, and an EXE file to test it. All you need to do for it is supply a user (in the project, the user is "root", I'm only doing this because I use it with WAMP).

Any questions?

http://www.darkgdk.us/ <- You can now submit pages, upload images, yet were lacking content. We need your help!

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-11-20 07:35:04
Your offset time is: 2024-11-20 07:35:04