How come I can't find an exe that have ip in it?
There is just one client in the whole forum with ip in it and it's UltimatePT client which released years ago.
Printable View
How come I can't find an exe that have ip in it?
There is just one client in the whole forum with ip in it and it's UltimatePT client which released years ago.
If I recall, that would be Quantum Fusions 1873/4 you're referring to. I've been out of the loop for a while but im fairly sure any client without a changable IP at the bottom in Hex is well... hex-protected. Therefore it would seem all the newer releases on RZ are meant for localplay only and not meant for one to host over the internet.
It's probably using the original behavior, which is reading the IP from the ptreg.rgx file.
Having the IP hardcoded inside the client is a modification already.
I'll third that. No official client has an IP in it. Quantumfusion edited clients used one of a couple of methods of embedding the IP in the game.exe file it's self.
There is an advantage to this, if you use an exe compressor or encryption, since decoding so that you can change the IP will also change the "signature" of the client, preventing it from connecting to your server after this change. (this would stop you using a local proxy on packets sent from your client)
However, it doesn't prevent WinSock API hooking, which can also modify packets before sending them. :(:
There is also the opportunity to avoid "user support" issues where users play on multiple PT servers. If all clients get the host IP from the same registry key(s) or file(s) then each installation will overwrite the settings of the other. :wink:
Aside from those points, it would be better to store your setting in a server or user specific location... but not necessarily the game.exe file.