Server and security

General discussion about LÖVE, Lua, game development, puns, and unicorns.
User avatar
I~=Spam
Party member
Posts: 206
Joined: Fri Dec 14, 2012 11:59 pm

Re: Server and security

Post by I~=Spam »

Robin wrote:
T-Bone wrote:Inny, your note about screenshots gave me an idea: The client could take a screenshot and send it to the server, which could then use image analysis tools to determine if it seems legit or not.
The image analysis tool would likely be harder to write than something breaking that same tool.
I agree. One could just hack the game source and put a fake high score in. Or they could use photoshop.
My Tox ID: 0F1FB9170B94694A90FBCF6C4DDBDB9F58A9E4CDD0B4267E50BF9CDD62A0F947E376C5482610
User avatar
cohadar
Prole
Posts: 25
Joined: Mon May 04, 2015 5:46 am
Contact:

Re: Server and security

Post by cohadar »

Not all problems with software should be solved with software.
bobbyjones
Party member
Posts: 730
Joined: Sat Apr 26, 2014 7:46 pm

Re: Server and security

Post by bobbyjones »

There has to be a decent way to verify high scores.
User avatar
s-ol
Party member
Posts: 1077
Joined: Mon Sep 15, 2014 7:41 pm
Location: Cologne, Germany
Contact:

Re: Server and security

Post by s-ol »

bobbyjones wrote:There has to be a decent way to verify high scores.
There can't be, thats why every single Google play games highacore table shows the same global record (maximum number representable by int) and tools exist that allow you to unlock steam achievments at a button-press without any issues or banning.

s-ol.nu /blog  -  p.s-ol.be /st8.lua  -  g.s-ol.be /gtglg /curcur

Code: Select all

print( type(love) )
if false then
  baby:hurt(me)
end
User avatar
Inny
Party member
Posts: 652
Joined: Fri Jan 30, 2009 3:41 am
Location: New York

Re: Server and security

Post by Inny »

bobbyjones wrote:There has to be a decent way to verify high scores.
Online only mode is decent. Of course, you shift the problem into looking for a decent way to deal with latency and ping times.
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Server and security

Post by Robin »

And you still have aim-bot like stuff messing up the scores.
Help us help you: attach a .love.
bobbyjones
Party member
Posts: 730
Joined: Sat Apr 26, 2014 7:46 pm

Re: Server and security

Post by bobbyjones »

Well I think setting up an a score verification system is better than doing nothing like most games. Like Flappy bird and Call of Duty
User avatar
I~=Spam
Party member
Posts: 206
Joined: Fri Dec 14, 2012 11:59 pm

Re: Server and security

Post by I~=Spam »

bobbyjones wrote:Well I think setting up an a score verification system is better than doing nothing like most games. Like Flappy bird and Call of Duty
Explain how you would do it. There isn't a way because you do not have full control over all clients. It is impossible to know if a connection is pretending to be real or not. The only way to "verify" the score is to send a replay of sorts to the server and have the server check that. But what is to stop this replay from being forged too? It might be time consuming but there are people who take great joy in doing that kind of thing...
My Tox ID: 0F1FB9170B94694A90FBCF6C4DDBDB9F58A9E4CDD0B4267E50BF9CDD62A0F947E376C5482610
bobbyjones
Party member
Posts: 730
Joined: Sat Apr 26, 2014 7:46 pm

Re: Server and security

Post by bobbyjones »

I meant some sort of verification. Doing nothing is useless
User avatar
I~=Spam
Party member
Posts: 206
Joined: Fri Dec 14, 2012 11:59 pm

Re: Server and security

Post by I~=Spam »

bobbyjones wrote:I meant some sort of verification. Doing nothing is useless
Ummmm have you read the previous posts? There isn't any verification that one can do verify certain that the data is not forged. The rogue player always can perfectly mimic a well behaving client. It doesn't matter if you think that it is useless, there isn't a way. The only thing that can be done is make it harder for a player to submit false scores.
My Tox ID: 0F1FB9170B94694A90FBCF6C4DDBDB9F58A9E4CDD0B4267E50BF9CDD62A0F947E376C5482610
Post Reply

Who is online

Users browsing this forum: No registered users and 85 guests