Skip to content

u/ardonite

In this archive from Jun 2011 to May 2013

3
posts
33
comments
0
media
242
score

Top posts

Top comments

The simple answer is don't trust anything the client sends you.

More specifically, have the client send the server intents, e.g. move in this direction, etc. You'll probably want some data calculated by the client, e.g. expected destination of the movement, but these should be verified by the server. Don't just verify gameplay data, verify everything, including variable string lengths, etc. Otherwise you might new char[0xFFFFFFFF].

Be paranoid. If you have time, ensure your communication is resiliant against random perturbations in your data. Don't want your ragequitter to take down the entire server with him.

MITM attacks, aka proxy bots were an issue in the 90s. Probably reduced because of wire-to-wire encryption methodologies. But don't discount them.

There's a fine line you have to find between cheating and not. e.g. many FPS games measure your accuracy rate and kick you if its 100%, or you shoot in the opposite direction you're aiming, or your packet loss gets too high.

Speaking of packet loss. There's a MITM attack called the Halo footpedal, which simply inhibits packets from being sent in one direction while the pedal is pressed. This enables the player to "teleport" around the map in Halo (and most games). Really the only thing you can do to prevent it is be aggressive about packetloss / latency. And a good user of the pedal will be able to ride whatever threshold you set.

In reality you probably just want to convey a feeling of safety to the non-cheaters. And that is achieved by listening and responding to your users.

One funny story i've heard is to migrate all cheaters to a sandbox, where they can cheat themselves happily ever after.

Also, I'd like to see someone utilize Zero Knowledge Proofs to eliminate map hacking.

33 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.