Are there any examples that actually work in Game Maker HTML5 for running a server, and clients able to connect properly, and then show how to move data about? Like have one simple object one player can move around the screen, and it updates the information to the server, so all the clients then see the current location?
How to access information on the server such as "check location, is there a solid object there" etc. before allowing a character to move?
Also how to send a signal to run code/functions on the server? If you have everything working on single player, then the client should just be sending information to run the same code on the server, and getting information back again. Example: player wishes to buy something at a shop. It sends a signal to try that. The server checks the person's amount of money and the cost of the object, and determines if they have enough, then deducts the amount if they do, and puts the item in their inventory. Signal sent to them to list their new updated inventory.
Any examples on how to do this which will compile with the current version of GM:HTML5? Or are there too many broken functions in it right now for anything to work?
Yes. This is how to make MMORPG/Online game in game maker.
Step 1: Google "How to make an MMORPG in game maker"
Step 2: Note that the very first result is an article about a website which shows you exactly how to do what you've just described.
Step 3: Do it.
I apologize if this comes off as insensitive, but the fact is there is a bad reputation for MMO's within the Game Maker community: 99.9% never even reach beta stage, because of the complexities involved in learning online programming. I hope yours will be within the 0.01%.
With regard to the website I mentioned - www.howtomakeanmmorpg.com - it uses the .dll file of 39DLL. There is a .gex of this around the forum, and there's no reason why this shouldn't work.
Apologies again,
Sondar
Edited by Sondar, 02 April 2012 - 09:57 PM.











