2010/12/14 冷雨 <[email protected]>:
> As javascript run on client entirely, how can I know whether a message
> is from my script or not?

You could try using some kind of a WebSocket implementation to send
the score continuously to the server. If the server sees large gap in
the scores from 1 second to the next, then it can be considered
cheating. You could also encode the information in some public /
private key fashion, so the cheater would have to figure out the
algorithm  to encode / decode the submitted / received information.

Although I don't think there is a really good way to fight against it,
as systems like PunkBuster is also cheated, and it is binary code.
-- 
Poetro

-- 
To view archived discussions from the original JSMentors Mailman list: 
http://www.mail-archive.com/[email protected]/

To search via a non-Google archive, visit here: 
http://www.mail-archive.com/[email protected]/

To unsubscribe from this group, send email to
[email protected]

Reply via email to