Not really network related but...
I would highly recommend using C++ as your language of choice for any large project these days. Compilers are written with optimising for C++ and the C output is usually less optimal now.
Well designed C++ also makes writing your application a hell of a lot easier.
MySql users database
I know, I know, but I just don''t like C++, OOP, and such. I like C a lot, and I am going to use the language I like
Height Map Editor | Eternal lands
![](smile.gif)
Height Map Editor | Eternal lands
quote:
Original post by _dot_
Note that however, database access would always be slower than in-memory access as well as file access
Depending on what you''re doing, a database will be faster than straight file access (of course, you could code you file access to be more database-like, but then you''d need to code up indexes and concurrency control yourself - better to leave all that to the experts).
Like I said, it depends on what you''re doing - if you''re just reading the file sequentially, then why do you need a database in the first place?
quote:
I need LGPL, since giving the source code of the server is NOT an option.. So, if I use the linmysql from MySQL 3.x.x series, it should do the trick, right?
Yeah, the 3.x libraries are LGPL. Of course, you''ll miss out on all the new features and bug fixes, but it''s up to you
![](smile.gif)
I''m assuming, though, that this is for an MMO game, in which case you''re not even going to be distributing the server at all - in which case you can use the GPL libraries to your heart''s content.
If I had my way, I''d have all of you shot!
codeka.com - Just click it.
Yeah, I know, but that would be stealing, and I don;t like that. I mean, while I do use a lot of pirated software, I don''t like abusing GPL code. So, I guess, I''ll stick with the 3.x version (or not use MySQL at all, I didn''t decide yet)
Height Map Editor | Eternal lands
Height Map Editor | Eternal lands
December 31, 2002 06:58 PM
quote:
Original post by Raduprv
Yeah, I know, but that would be stealing, and I don;t like that. I mean, while I do use a lot of pirated software, I don''t like abusing GPL code.
....... lol where to start with that ~_~
quote:
Original post by Raduprv
Yeah, I know, but that would be stealing, and I don;t like that. I mean, while I do use a lot of pirated software, I don''t like abusing GPL code. So, I guess, I''ll stick with the 3.x version
1. It''s not stealing. It doesn''t even make sense for the GPL to cover software that you never release.
2. How is using the 3.x libraries and not releasing them any different? Just because it''s a different license doesn''t make it OK...
If I had my way, I''d have all of you shot!
codeka.com - Just click it.
why don´t you make it with PHP?
there are another languages that they are called CGI you can make it with Perl, C++, etc....... but it seems difficult
there are another languages that they are called CGI you can make it with Perl, C++, etc....... but it seems difficult
At this moment I don''t plan to release the server binary. But, who knows, maybe I will want to do that in the future, or something. *shrug*
As for writting the server in PHP, you gotta be kidding :D I actually want speed. Try to do some 3D collision detection, for a MMORPG server, in PHP
Height Map Editor | Eternal lands
As for writting the server in PHP, you gotta be kidding :D I actually want speed. Try to do some 3D collision detection, for a MMORPG server, in PHP
![](smile.gif)
Height Map Editor | Eternal lands
raduprv:
eh..? you consider legal use of GPL code stealing and using pirated software not stealing? *lol*
ElCrazon: first of all I think that approach would be way too slow.. executing af php script which then deal with MySQL database for every update?.. nah then you could simply do what PHP is doing and connect directly to the MySQL server issuing SQL commands. Another thing to worry about considering you approach is security.. much easier to fill your database with junk or alter it if you provide a web interface :-).. script kiddies would love it.
[edited by - Smokes on January 5, 2003 7:41:43 PM]
eh..? you consider legal use of GPL code stealing and using pirated software not stealing? *lol*
ElCrazon: first of all I think that approach would be way too slow.. executing af php script which then deal with MySQL database for every update?.. nah then you could simply do what PHP is doing and connect directly to the MySQL server issuing SQL commands. Another thing to worry about considering you approach is security.. much easier to fill your database with junk or alter it if you provide a web interface :-).. script kiddies would love it.
[edited by - Smokes on January 5, 2003 7:41:43 PM]
Does anyone here know how to do binds with MySQL? I see nothing in any of the C++ API references.
LostLogic
www.lostlogic.com
Author, Multiplayer Game Programming
Author, Strategy Game Programming with Direct X 9 (Not yet released)
LostLogic
www.lostlogic.com
Author, Multiplayer Game Programming
Author, Strategy Game Programming with Direct X 9 (Not yet released)
LostLogicwww.GamerOutfit.comXBox 360 Community Games Reviews and NewsExisled - 2D/3D Shooter for XBox 360
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement