How to prevent cheating in PBEM by "doctoring" TXT
Posted: Wed Aug 15, 2007 2:44 pm
I'm playing a PBEM game with Happycat and we are implementing some house rules and changes. E. g. I suggested that we should alter the rail capacity for each side and suggested Allies: 2, Axis: 3 Russia: 4. He agreed this was a good idea and I altered the General.txt file and sent it to him too.
I then opened our existing on-going save game to make my moves and noticed the change I made for possible use in future games ALREADY was possible to use in the existing game. No information is given that the TXT file is altered. Happycat could use it too with no warnings.
I therefore realized that this means players can alter all TXT files at any time to "doctor" the rules for the game. E. g. is it possible to go into the units.txt file and make all the Axis units stronger and Allied units weaker and not let the Axis units use oil. So every time you make a move for your side you're cheating. When the save file is sent to the other player he will use the normal txt file and not get a warning about the first playing having doctored with the file.
This is a very easy way of cheating that's impossible to detect unless the cheating player becomes too greedy and gives his garrisons strength of 9 and movement of 9 and they destroyed the opponent armor units like they were understrength garrisons.
So I wonder if it's possible for a future version of the game to save all the contents from the TXT files used in the game to the save file when you save the game. Every time you load a save game you compare the content from the TXT file stored in the save game with the content of your own TXT files on the computer. If the values aren't the same then a dialog box should pop up telling that there is a mismatch and maybe what the mismatch is. Then it will not be possible to cheat by altering your own TXT files. Because the content of your TXT files will be stored into the save game you send to your opponent and compared with his TXT files when he opens your last save game file.
I know most people play and don't cheat. You have to trust your opponents. But reality shows that when you play on Internet and can hide behind nicknames etc. some people cheat. Especially if you can earn some ranks etc. like in Company of Heroes. My above example can't remove cheating completely, but it will make it harder to get a big advantage.
So I wondered if this is possible to do in for a future patch or is it too complicated?
I then opened our existing on-going save game to make my moves and noticed the change I made for possible use in future games ALREADY was possible to use in the existing game. No information is given that the TXT file is altered. Happycat could use it too with no warnings.
I therefore realized that this means players can alter all TXT files at any time to "doctor" the rules for the game. E. g. is it possible to go into the units.txt file and make all the Axis units stronger and Allied units weaker and not let the Axis units use oil. So every time you make a move for your side you're cheating. When the save file is sent to the other player he will use the normal txt file and not get a warning about the first playing having doctored with the file.
This is a very easy way of cheating that's impossible to detect unless the cheating player becomes too greedy and gives his garrisons strength of 9 and movement of 9 and they destroyed the opponent armor units like they were understrength garrisons.
So I wonder if it's possible for a future version of the game to save all the contents from the TXT files used in the game to the save file when you save the game. Every time you load a save game you compare the content from the TXT file stored in the save game with the content of your own TXT files on the computer. If the values aren't the same then a dialog box should pop up telling that there is a mismatch and maybe what the mismatch is. Then it will not be possible to cheat by altering your own TXT files. Because the content of your TXT files will be stored into the save game you send to your opponent and compared with his TXT files when he opens your last save game file.
I know most people play and don't cheat. You have to trust your opponents. But reality shows that when you play on Internet and can hide behind nicknames etc. some people cheat. Especially if you can earn some ranks etc. like in Company of Heroes. My above example can't remove cheating completely, but it will make it harder to get a big advantage.
So I wondered if this is possible to do in for a future patch or is it too complicated?