Hi all !
I want to programming an MMORPG and I have many questions...
1) How create a "server"? Mysql ? File txt ? Because I dont know do that ...
I learn c++ programming and opengl
My game is in 3d ...
Thank's for help me !
lol
>> File txt ?
FILE *file = fopen("mmorpgdata.txt","w");
if(file) {
char *playernickname = "[GM]Admin\n";
fwrite(playernickname,strlen(playernickname),1,file);
fclose(file);
};
>> File txt ?
FILE *file = fopen("mmorpgdata.txt","w");
if(file) {
char *playernickname = "[GM]Admin\n";
fwrite(playernickname,strlen(playernickname),1,file);
fclose(file);
};
Yes, but mysql is not more secure?
And to create an account from the site?
I want the game send information to the server and the server send this info in a mysql database...
And to create an account from the site?
I want the game send information to the server and the server send this info in a mysql database...
I think ferdekk was pulling your leg max.
You create the server just like you would any other application, a quick google search for "<insert the language you're using here> sockets" should get you started.
MySQL is a database so you shouldn't use it by itself for your server, (Your server can use MySQL to store things such as account information etc)
For information about using mysql you can simply google "<insert language here again> mysql"
You create the server just like you would any other application, a quick google search for "<insert the language you're using here> sockets" should get you started.
MySQL is a database so you shouldn't use it by itself for your server, (Your server can use MySQL to store things such as account information etc)
For information about using mysql you can simply google "<insert language here again> mysql"
Quote:Original post by Daaark
You can learn a lot about this by looking through some mud source code.
I agree. You should start by looking through some MUD code, and write your own small MUD server before even thinking about your current plans. The article series "MUD Pies" here on gamedev is an excellent start (clicky).
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement