[Question]Proxy Network

08/18/2012 12:01 Santa#1
Alright, I have decided to jump back into a proxy that I started a few months ago. Ain't no way in hell am I going to be able to keep up with TQ so for obvious reason I am choosing to develop this for private servers. 5065 Binary servers to be more exact. I have been trying for a few hour to connect to a server without success.

I think i make it through the Auth connections but fail to connect to the game server. As far as I can remember there isn't much that you HAVE to interpret between the AuthServer and client besides Packet Type 1055. What I do is resend the client the packet with Ip and port of my Proxy. The client then sends the server Packet Type 1052 with the UID, int = 10, and a string = "res.ini". After that packet is sent the Auth Server closes the connecting. At this point, the client should connect to the game server, correct? My client just disconnects saying it failed to connect to the game server.

Basically:
Client -> Server: 1051(Ignored)
Server -> Client: 1055(Edited IP/Port)
Client-> Server: 1052(UID, int = 10, string = res.ini)
Client Fails to connect to game server.

Any help would be appreciated.
08/18/2012 14:29 xmen01235#2
Checked if you have a listener socket in your proxy that is listening on the gameserver port. And one common mistake here is be sure that your proxy to server connection used the correct port when connecting to remote gameserver.
08/18/2012 19:49 Santa#3
Quote:
Originally Posted by xmen01235 View Post
Checked if you have a listener socket in your proxy that is listening on the gameserver port. And one common mistake here is be sure that your proxy to server connection used the correct port when connecting to remote gameserver.
Thank you for the response. I do have a listener set up for client connections. It successfully sets up but I guess I need to attempt to connect to it, using a makeshift client. I'm not worried about my connection to the game server just yet, if I have issues with that I won't know til I am able to connect to my proxy.

I am on my phone currently so sorry if I lack any detail this morning

Thanks.
08/18/2012 22:51 ImmuneOne#4
Quote:
Originally Posted by StarBucks View Post
Thank you for the response. I do have a listener set up for client connections. It successfully sets up but I guess I need to attempt to connect to it, using a makeshift client. I'm not worried about my connection to the game server just yet, if I have issues with that I won't know til I am able to connect to my proxy.

I am on my phone currently so sorry if I lack any detail this morning

Thanks.
Are you sure your resp pack is correct?
08/18/2012 23:21 Santa#5
Quote:
Originally Posted by ImmuneOne View Post
Are you sure your resp pack is correct?
Yes. It is correct. I'm using Null's loader and when I would send the correct game server IP/Port it would connect to my proxy because of the loader. If I changed that IP it would cause it to disconnect. This client must have protection because the encryptions are not the same. My guess is the Key is incorrect but every method I use to pull it from the client is providing the same key. Oh well, I will dig around some more.

Are there any other things to search using olly to find the key?
08/20/2012 02:14 ImmuneOne#6
Quote:
Originally Posted by StarBucks View Post
Yes. It is correct. I'm using Null's loader and when I would send the correct game server IP/Port it would connect to my proxy because of the loader. If I changed that IP it would cause it to disconnect. This client must have protection because the encryptions are not the same. My guess is the Key is incorrect but every method I use to pull it from the client is providing the same key. Oh well, I will dig around some more.

Are there any other things to search using olly to find the key?
If you're talking about the game crypt key you shouldn't need it as it doesn't even make connection to the game server yet? If it does connect however you fail to initialize a safe connection between client->proxy<-server then it's not about the key.
08/20/2012 02:30 Santa#7
Quote:
Originally Posted by ImmuneOne View Post
If you're talking about the game crypt key you shouldn't need it as it doesn't even make connection to the game server yet? If it does connect however you fail to initialize a safe connection between client->proxy<-server then it's not about the key.
Oops. Sorry for the confusion on that. When I would edit the IP to connect to the client would close te connections. If I didn't change it and let nulls loader forward the connection it connected just fine.

I was rambling about the crypt key because I must have that wrong. This client must have protection because I cannot read the key at runtime but I did find a process that is writing the key in during runtime, whether that is there to throw me off or not beats me. Its either they are really good at hiding the key or they are changing the emcryptions?

Heard of any binary servers changing their emcryptions?
08/20/2012 10:58 Korvacs#8
What are you changing the ip to in the packet? You cant use 127.0.0.1, you must use your network ip address.
08/20/2012 20:46 Santa#9
Quote:
Originally Posted by Korvacs View Post
What are you changing the ip to in the packet? You cant use 127.0.0.1, you must use your network ip address.
I suspected that as well so I took the quick and easy way and began to use hamachi. It works as far as the encryptions, and as far as I know the IP doesn't mess with that haha.
08/21/2012 03:18 ImmuneOne#10
Quote:
Originally Posted by StarBucks View Post
I suspected that as well so I took the quick and easy way and began to use hamachi. It works as far as the encryptions, and as far as I know the IP doesn't mess with that haha.
How is that easy? He was talking about your local ip address. The one that starts off with 192.168.?.???
08/21/2012 09:00 Santa#11
Quote:
Originally Posted by ImmuneOne View Post
How is that easy? He was talking about your local ip address. The one that starts off with 192.168.?.???
Are you saying hamachi is difficult to use? So how was it not?
08/21/2012 11:00 Korvacs#12
I think the point Immune is making is that there's no need for hamachi at all when using a proxy if you just change the packet so that the ip is your local/network ip ie. the one he gave you.
08/21/2012 18:45 KraHen#13
1. Uninstall hamachi.
2. Start -> cmd -> type in ipconfig

Additional, optional steps :

3. ???
4. PROFIT

Was that hard?