umen Posted March 4, 2013 Share Posted March 4, 2013 Hello allim new to this forum as user who post questions .so i have simple slot machine game that is using simple http post methods to update the server ( netty )now im in the stage of securing the game , so evil user will have hard time to hack and get the system cheatedi know its a big subject , and i what to learn some basic model to implement in the server to try to prevent some frauds .where should i start ?thanks Quote Link to comment Share on other sites More sharing options...
gin5eng Posted March 4, 2013 Share Posted March 4, 2013 You need to make your server authoritative over the clients. Which means you need to move the logic that controls the slot's position and player coin counts onto the server side if it isn't there already. Here's a quick timeline of events:User pulls down lever or whatever to start the slots spinning. Start spinning animations. Client send request to server for final resting slot positions. Keep it simple request like "getPositions" or something. Client receives resting positions from server and resulting player coin count from server. Slots animate to positions received from server and update coin count display.Basically you never want to have to trust the client for ANY information. There are a few exceptions like user login/forms. soybean 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.