[Flashcoders] Flash Game/Highscore security

2006-09-12 Thread Almin Sehic
Hello everyone!
I have a huge problem. I have made a game which also
has a highscore feature, and I have some kid who is
always cheating and submitting fake scores. I was
checking this list and i have found a discussion on
this theme from 2003. I am just interested, has
anything changed since 2003? What is the best way to
protect the highscore?

Thanks in advance
S.





___ 
All new Yahoo! Mail The new Interface is stunning in its simplicity and ease 
of use. - PC Magazine 
http://uk.docs.yahoo.com/nowyoucan.html
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Flash Game/Highscore security

2006-09-12 Thread Michael Stuhr

Almin Sehic schrieb:

What is the best way to
protect the highscore?


don't put it online.

micha

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Flash Game/Highscore security

2006-09-12 Thread Ian Thomas

There was a pretty thorough discussion of this on the FlashGameCoders
list the other day - it might be worth you taking a look there.

HTH,
 Ian

On 9/12/06, Almin Sehic [EMAIL PROTECTED] wrote:

Your sollution is good, but the other paramters dont
allow me to use it. It has to stay online.

S.

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Flash Game/Highscore security

2006-09-12 Thread Danny Kodicek

 Hello everyone!
 I have a huge problem. I have made a game which also
 has a highscore feature, and I have some kid who is
 always cheating and submitting fake scores. I was
 checking this list and i have found a discussion on
 this theme from 2003. I am just interested, has
 anything changed since 2003? What is the best way to
 protect the highscore?

Depends on your game to some extent. If they've found a bug in the game
which enables them to get an artificially high score, there's nothing to do
but fix the bug. But if they're doing it by just sending their own call to
the server, bypassing your game altogether, then you can avoid this by
adding some kind of encryption to the score. One method, for example, is to
send the server three pieces of information: the score, the system clock
time, and some number which combines the two in a secret way known only to
you. (You could also encrypt the score itself, in order to make it even
harder for the user to outguess you)

Danny

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Flash Game/Highscore security

2006-09-12 Thread Ian Thomas

Another method is to have the server send out a generated hash code of
some sort to the client (that expires after a set time); for the
client to encrypt the score using the code and send it back.

Yet another mentioned on FlashCoders is to do the above, but send
(along with score and name) game statistics - number of levels played,
number of bullets fired, number of coins picked up or whatever and let
the server do some basic sanity checking (there's no way he could have
got 1200 by picking up one coin!)

Annoyingly, looks like the FlashGameCoders archives for the last few
months are broken, so I can't point you at those...

HTH,
 Ian

On 9/12/06, Danny Kodicek [EMAIL PROTECTED] wrote:


 Hello everyone!
 I have a huge problem. I have made a game which also
 has a highscore feature, and I have some kid who is
 always cheating and submitting fake scores. I was
 checking this list and i have found a discussion on
 this theme from 2003. I am just interested, has
 anything changed since 2003? What is the best way to
 protect the highscore?

Depends on your game to some extent. If they've found a bug in the game
which enables them to get an artificially high score, there's nothing to do
but fix the bug. But if they're doing it by just sending their own call to
the server, bypassing your game altogether, then you can avoid this by
adding some kind of encryption to the score. One method, for example, is to
send the server three pieces of information: the score, the system clock
time, and some number which combines the two in a secret way known only to
you. (You could also encrypt the score itself, in order to make it even
harder for the user to outguess you)

Danny

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com