Quote:
Originally Posted by r3v3ng3r
thank you for the fast helpfull reply ^^
after I logged in to game , the client connects to 121.254.153.19 this ip addres, but i have my media.pk2 patched , both gwgt1.silkroadonline.co.kr and gwgt2.silkroadonline.co.kr . how can i patch my sro_client(?) not to connect that ip, connect 127.0.0.1
|
It's easier to just modify the packet itself when it's received from the server before the client process it. However, you would then need to make edx33 (or your own proxy) connect to that original IP. You'd also need your own hook DLL in that case since the edx33 was made for ISRO and that specific hook is hard coded for ISRO.
The design of sr33/edx33 was really Silkroad specific and now that I know a lot more than I did when I first wrote it, it's not a great design. I mean it's good, but not good enough for me. I've been working on replacements for them, but nothing is ready for release and probably won't be for some time. There are a lot of other issues to take care of with more powerful generic tools that I'm still considering.
It might be easier to just code your own tools in the mean time to work around those problems. The concept of a proxy is simple and I'm sure you can understand that part. The proxy hook for the client just needs Windows Detours (easiest way but you don't have to use it) and an injection method to get the DLL into a client. The last thing you need to do is patch the user security seed as detailed n the readme.