TomaszFurca Posted November 8, 2017 Share Posted November 8, 2017 Hi, I writing my RPG game, now is time to do something about security. I have problem with scenario attack player and monsters movements. I using socket IO. When player moving monster attack area intersection is checking on client side, so i think is not secure, because user can block this event. Then monster newer go to player location and don't attack him. Next problem is attack of player, when player attack collision is check on client side - it can be verify on server, which monsters you can attack on actual player position and how many times you can attack in some time. So i have some questions. What you think about create monster server - socket io client, which connect with socket io server of game, which get player and monsters positions. On monster server I run BABYLON engine with simple boxes, which reconstruct real scene - then monster will attack and moving using serer side. What do you think about this? What with attacks? It should be verify on monster server or simple calculations of positions (players and monsters)? Maybe do you have other idea to do that. Maybe do you know some disadvantages of my idea? Thanks for help Tom Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.