Page 1 of 1

Switch values to maintain file size

Posted: 04 Dec 2018 09:57
by CoolFrogDude
As the title says, I want to switch two values of different sizes in order to maintain file size.
My current method is (A being smaller, and Bbeing larger)
1. A -> unused string of same size
2. B -> A
3. Unused string -> B

The file size at the end of the process is the same but anticheet seems to detect that as a change

Re: Switch values to maintain file size

Posted: 05 Dec 2018 01:33
by Maël
It could be it uses a checksum or hash to validate that the file was not changed.

Re: Switch values to maintain file size

Posted: 05 Dec 2018 11:54
by CoolFrogDude
Thank you Maël, I have been able to change values before e.g A -> B and it seems to be fine jus tnot if I temporarily change the file size