OldTimeRadio wrote...
...If you're seeing it in the code, it's hard coded. What's the location? I have IDA Pro and I'd be interested to poke (or is it peek?) around there.
I wish it was that simple. I do agree that I am 99% on it being hard coded. the 1% is because of how little I have traced past it checking against 4. If the code simply replaced the value over with a default value I would be 100%. For All I know it may try to derive new Max values if the value is over 4. My 1% uncertenty still remains.
Back on track...
If you are changing the value in memory after the server is running the location is: 0x0058A872
If you are hacking the .exe the location is at : 0x0018A872 in the file.
and just incase I have done something to my copy of the exe that has offset the location in the file here is a hexstring with the needed value highlighted.
14 02 00 00 E9 6B 02 00 00 8B 45 0C 83 F8 31 BA
04 00 00 00 74 21 83 F8 65 74 1C 83 F8 68 74 17 83 F8 1A 75 0B 85 C9 75 22 BA 03 00 00 00 EB 24