Jump to content
  • Advertisement
Sign in to follow this  
Javawizkid

Preventing TMX file editing

This topic is 2569 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey,
My client is in Java.

Is there a crafty way I can stop a TMX file being edited with Tile Map Editor so people cannot cheat.
Would I have to create some sort of signed jar that only is allowed to talk to my server if it has a certain certificate?
Thanks

Share this post


Link to post
Share on other sites
Advertisement

Hey,
My client is in Java.

Is there a crafty way I can stop a TMX file being edited with Tile Map Editor so people cannot cheat.
Would I have to create some sort of signed jar that only is allowed to talk to my server if it has a certain certificate?
Thanks


No, you cannot do this. You can make it harder, but you cannot prevent it.
Your server doesn't know who it's talking to -- it can only see the bits on the wire.
Any attacker can study what your program is doing (because they control the computer it runs on) and create an arbitrarily good replica, if they want to.

Your three options are:

1) Design the game such that editing the local tile map file doesn't give you any particular advantage.
2) Run all the simulation on the server, so that an edited local map just causes the client to be out of sync.
3) Ignore the issue, and work hard on trying to make your game popular enough that cheating actually matters, and re-look at what you can do at that point with more knowledge about the problem.



Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!