How difficult is it to make an online game? With Player search
Can i use c++?To do the "player search", you need online server with a database containing the information of all player accounts, so you will have to use MySQL and PHP to get the values from tables and others, use the HTTP functions of GMS 2 to receive this information, I recommend use the base64-transformed JSON format for this.
Can i use c++?
You can totally use c++ for the server.I don't see the possibility of using C++, you are apparently using GML. PHP and MySQL are web languages...
I was referring to using C++ for what he wants, getting player information from a database, it is not necessary to use C++ for this, only with http_get and post is it possible to do this.You can totally use c++ for the server.
GM has "raw" versions of the networking function to connect to any server (not just GMS servers).
In fact, I would recommend using a language like C/c++, java ect.
The architecture I would recommend is have a C/C++/java/c#/... server, and have a MySQL data base.
The game client would connect to the server and send requests.
The server would connect to the MySQL data base to store and query data.
At no point should the game client be given direct access to the MySQL Database. That's a recipe for hacking.
for example, for a player Search, the client would send a search request to the
Server. The server would check that the client is in the right state, and has the right permissions. It would then build a query and get the data it needs from the data base.
It will then process that data and send a response to the client.
It's hard enough that professional game industry companies routinely have issues with online stability. If you're just one guy with no programming experience, it's probably in the "impossible" range. And that's without considering secondary things like keeping credentials safe, stopping players from breaking the game with forged requests, and keeping latency low.How difficult is it to make an online game? With Player search
did you check the link? it has a number of resources for all sorts of languages and platforms.for c++?