server-side validation

0 votes
I am making online multiplay game like agar.io and considering this product. 
 
The code example is as below. When a client sends its position, all others will be notified the position.
 
  string json = "{\"x\":\""+transform.position.x+"\",\"y\":\""+transform.position.y+"\",\"z\":\""+transform.position.z+"\"}"; 
 
  WarpClient.GetInstance().SendChat(json);
 
There is no way to add game logic. 
 
But I would like to validate the position at server-side and do some logic, and then broadcast it. 
 
Is it possible?

 

 
asked Mar 6, 2017 in Html 5 by Daesung Park (16 points)

1 Answer

+1 vote
 
Best answer

Hi Park,

Greetings from ShepHertz!!!

Yes, Its possible you can use AppWarpS2, where you can write your own custom business logic to overrride existing functionality.

You can override handleChatRequest API to apply your validation logic and can broadcast the same message in a room.

You can go through with AppWarpS2 Documentation, it will help you to understand its concept and help in development and integration.

 

Let me know if any queries are concern.

 

Thanks

Vishnu Garg

answered Mar 6, 2017 by Vishnu Garg (674 points)
selected Mar 6, 2017 by Daesung Park
Thanks Vishnu. At a glance, it is what I am looking for.
Let me know if more queries are there.
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...