Help! Making private server for HTML games

Nen'on

Solid & Active Platinian
Is it possible to make a private server for a HTML game? Hacking or modding the game itself is out of the question, I'm not looking to a big time hacking a server. So I was thinking about creating one. If there's anyone that can help with this, please you can contact me and we can talk about it
 
Yes, you can watch how the client works and based on that, create your server. I don't have an example right now but i try my best to make one,

Let's assume it's json data

Client => serverexample.php/login => {"token":"ABCDEF123456",...}
Server => Response => {"currency":999,"gems":100,...}

Server => Client => {"name/id":"NAMEME","type":"FriendRequest",...}
Client => response => {"response":"deny",...}


Client => exampleserver.php/purchase => {"itemid":"1234567"}
Server => response => {"error":173,"message":"not enough gems",...}

This is just an example of php server.
 
Back
Top Bottom