[pythian] Re: CODE - Network

  • From: "Steven Soroka" <ssoroka@xxxxxxxxxx>
  • To: <pythian@xxxxxxxxxxxxx>
  • Date: Mon, 29 Jul 2002 09:55:59 -0500

> - The player presses the forward key
> - The client sends a message to the server saying "I am
> moving forward"
> - The client's PhysicsEngine simulates the movement forward
> - The server receives the message and simulates the movement
> forward in
> its PhysicsEngine
> - The server sends back an updated state
> - The client adjusts its state to match the server

Or we could do that. ;P

> I see an easy opportunity for cheating.  It would be easy to hack the
> client so that other players and NPCs are visible through walls.  I
> could do it in about 1 line of code, actually.  I think by having an
> open source multi-player game we are setting the world of
> anti-cheating
> games back by about a decade.  Oh well :/

that should be easy to solve. (But worth the computation time? dunno).
Have the server do a line of sight calculation to see if anything obstructs
the view of the two characters. If there is no obstruction, tell them about
eachother, otherwise, don't. ;)


Other related posts: