Re: Where is the best place to put variables in an online game

2019-11-04 Thread AudioGames . net Forum — Developers room : ashleygrobler04 via Audiogames-reflector


  


Re: Where is the best place to put variables in an online game

There are a few variables you must put in the client, like steps taken. but then make it sync with the server, and verify them so that the player can not increase the step timer.Like let's say you should have a step time that gets elapsed and restarted, if that step time of the client is greater than the step time on the server, make it equal to the step time on the server. hope it helps. the same goes for hunger, thurst and all other var's like energy and so on.

URL: https://forum.audiogames.net/post/472941/#p472941




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Where is the best place to put variables in an online game

2019-11-03 Thread AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector


  


Re: Where is the best place to put variables in an online game

What #2 said. Do Not, under any circumtances, trust the client with any game state data if possible, and rigorously sanity check anything you do. Keep the hunger and thirst values on the server, or sanity check them to make sure their decreasing as they should with expected outcomes.Fun story, when Blizzard first released Diablo 1 they passed things like health, mana, items, and positional data through clients. The result was an awful lot of god-mode, teleporting, hacked super gear, and item duping going on. It got so bad that you'd see people make "legit" sessions just to play the game normally, only to have hacking players drop in and immediately warp to them, kill them, then crash the game so they lose all their gear.

URL: https://forum.audiogames.net/post/472499/#p472499




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Where is the best place to put variables in an online game

2019-11-03 Thread AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector


  


Re: Where is the best place to put variables in an online game

What #2 said. Do Not, under any circumtances, trust the client with any game state data if possible, and rigorously sanity check anything you do. Keep the hunger and thirst values on the server, otherwise players could just hack the client so they never change, rendering them irrelevant.Fun story, when Blizzard first released Diablo 1 they passed things like health, mana, items, and positional data through clients. The result was an awful lot of god-mode, teleporting, hacked super gear, and item duping going on. It got so bad that you'd see people make "legit" sessions just to play the game normally, only to have hacking players drop in and immediately warp to them, kill them, then crash the game so they lose all their gear.

URL: https://forum.audiogames.net/post/472499/#p472499




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Where is the best place to put variables in an online game

2019-11-03 Thread AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector


  


Re: Where is the best place to put variables in an online game

What #2 said. Do Not, under any circumtances, trust the client with any game state data if possible, and rigorously sanioty check anything you do. Keep the hunger and thirst values on the server, otherwise players could just hack the client so they never change, rendering them irrelevant.Fun story, when Blizzard first released Diablo 1 they passed things like health, mana, items, and positional data through clients. The result was an awful lot of god-mode, teleporting, hacked super gear, and item duping going on. It got so bad that you'd see people make "legit" sessions just to play the game normally, only to have hacking players drop in and immediately warp to them, kill them, then crash the game so they lose all their gear.

URL: https://forum.audiogames.net/post/472499/#p472499




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Where is the best place to put variables in an online game

2019-11-03 Thread AudioGames . net Forum — Developers room : Ty via Audiogames-reflector


  


Re: Where is the best place to put variables in an online game

In the server that way it's much, much much harder for people to cheat.

URL: https://forum.audiogames.net/post/472463/#p472463




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Where is the best place to put variables in an online game

2019-11-03 Thread AudioGames . net Forum — Developers room : rory-games via Audiogames-reflector


  


Re: Where is the best place to put variables in an online game

people can cheatengine the client into things that wouldn't normally be possible, so unless you want to put a bunch of tedious safeguards, put it in the server. it's much safer to have it there because unless someone gains remote access to the server, the game is entirely safe, and it's very unlikely that someone could easily do that unless they were an experienced hacker; who probably wouldn't be going after a small game.

URL: https://forum.audiogames.net/post/472458/#p472458




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Where is the best place to put variables in an online game

2019-11-02 Thread AudioGames . net Forum — Developers room : Lucas1853 via Audiogames-reflector


  


Re: Where is the best place to put variables in an online game

Put everything, absolutely everything you can in the server, or at least check rigorously the things you put in the client. Never trust the client.

URL: https://forum.audiogames.net/post/472221/#p472221




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Where is the best place to put variables in an online game

2019-11-02 Thread AudioGames . net Forum — Developers room : bopitmaster34 via Audiogames-reflector


  


Where is the best place to put variables in an online game

Hi all. So I am making an online survival game like stw, and I want to add things like hunger and thirst. But I don't know where I should put the things required to add it. Should I put it in the client or server. I want to add items that will decrease the values, which is the problem with putting it in the client because the items are in the server. What is the best solution?

URL: https://forum.audiogames.net/post/472219/#p472219




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector