Forum Thread
Search
by member
  Posts  
c++ mysql recieving (Forums : Coding & Scripting : c++ mysql recieving) Post Reply
Thread Options
Weeblinator
Weeblinator aka Mapster
Jul 22 2008, 11:29pm Anchor

I want to try and make a orpg where you are able to walk around and kill creatures where other people can join in and play as well.
I don't have a server or anything but what i do have is a MYSQL server up and running which i have gotten working before when the maplestory private servers came out, but i couldn't figure out how it finds the values of everything then changes it when an action is performed.

Does anyone know how to receive the information off a MYSQL server via c++ so people can play na online game i na console application?

Cheers,
Weebl

Gibberstein
Gibberstein Generic Coder Type Thing
Jul 23 2008, 2:33am Anchor

Tangentsoft.net

That's the library that does mysql access from C++. You'll need to know SQL - if you don't, there are tutorials out there, but if you are going to be doing a lot of database work I'd go out and buy a good book. Database theory is weird until you know the reasons why it is set up like it is, which is why I believe most free tutorials won't be very useful. You want to learn from someone who really understands it.

I don't know a good book though, as I learned SQL at university. That's the best way to learn, but probably not a convenient option for you.

--

"lets say Portal is a puzzle game, so its a rehash of Tetris"
- Wraiyth points out the craziness of stereotyping games by their genre

Jul 31 2008, 1:28pm Anchor

dbtutorials.com has some basics for  SQL and codding in C# I would try their or post your code up at programminghelp.com and see if they can help you. Just make sure you attempt to write the code because they wont do your homework for ya:)

Reply to Thread

Only registered members can share their thoughts. So come on! Join the Mod DB community today (totally free) and join in the conversation.