Okay, so let's face it: The only two languages I can use are PHP and GML. I'm making a multiplayer game in Game Maker. I want to make the dedicated server run on linux. The only method of multiplayer I know is 39DLL. I have extensive knowledge of GML and I know what all the functions of 39DLL do if it is of any help.
The only thing I know about 39DLL is it uses Windows sockets. I don't know what Windows sockets are or how they work (yay).
I know GML very well if that helps
I have the following options available to me:
1. Use the .cbp for the 39DLL and somehow fix it(alter it, w/e) to use Linux socket libraries, and keep making the game in 39DLL.
2. Use libting(
http://code.google.com/p/ting/), learn how to make a DLL out of it, make the game using my own DLL from that library, and then learn how to use it in C++ and compile a C++ Server natively in Linux.
3. Run the C++ Server in WINE on Linux (I don't even know if this would work
).
4. Just make the server for Windows and spend the extra money on a Windows VPS instead of a Linux VPS (this is last resort T_T)
5. Somehow write something in Linux that will communicate with my game on Windows. This is probably the same option as 1
As I have zero experience in C++ and shit, I'd like to know not necessarily which would be the easiest course of action to take, but the best overall. I'm not afraid of learning
The only problem is, the only way I actually learned what I know now was through already made engines. I would then tinker with variables and functions until I knew what they did to the engine, then rewrite the engine myself seeing if what I knew worked. My understanding is C++ is so ridiculous that I probably have zero hope of learning it using the same method, so
Any explanations of how anything [internally] 39DLL works would be fantastic.
This isn't a topic saying "MAKE ME AN ENGINE", it's a topic for recommending the correct path.
Thanks! ^_^
Oh and also, to get the 39DLL project files :
http://gmc.yoyogames.com/index.php?showtopic=415883&st=0TL;DR
What's the best way for a newbie fag to make a server in Linux that will communicate with a 39DLL GM game?