|
You last visited: Today at 14:51
Advertisement
Weird DC's in proxies
Discussion on Weird DC's in proxies within the CO2 Programming forum part of the Conquer Online 2 category.
02/18/2011, 10:06
|
#1
|
elite*gold: 0
Join Date: Jun 2006
Posts: 457
Received Thanks: 67
|
Weird DC's in proxies
Do you guys have dc's on your proxies every now and then?
I tend of have a dc every 20-40 min after log in. I do not know what is causing it.
When i looked my error stack trace. It took place either at sending to client/server. Those are the times where my proxy is simply relaying packets.
What could be causing this?
EDIT[additional info]:
Code:
java.net.SocketException: Connection reset by peer: socket write error
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
at java.net.SocketOutputStream.write(SocketOutputStream.java:124)
at service.GameListener.run(XXXXXXXXX.java:77)
//In this example, the error took place when i am trying to perform proxyToClient.write(packet);
In order for this exception to occur, the client must have closed it's socket before current attempt to send packet to client is initiated...
some other times, it takes place at proxyToServer.write(packet);
Code:
This is a log of the portion of incoming packets from SERVER less the chat packets.
<--20 0 F4 3 XX XX XX XX 0 0 0 0 3A 67 46 4 C 78 E4 1A EA F2 FD 4C 60 A0 37 5A 0 0 0 0 54 51 53 65 72 76 65 72
<--50 0 F1 3 XX XX XX XX 0 0 0 0 1B 0 0 0 96 40 AC 10 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 54 51 53 65 72 76 65 72
<--48 0 21 27 XX XX XX XX 2 0 0 0 FF FF FF FF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1B 0 0 0 3C 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 54 51 53 65 72 76 65 72
<--50 0 F1 3 XX XX XX XX 0 0 0 0 1B 0 0 0 F0 67 AC 10 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 54 51 53 65 72 76 65 72
java.net.SocketException: Connection reset by peer: socket write error
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
at java.net.SocketOutputStream.write(SocketOutputStream.java:124)
at service.GameListener.run(yyyyyyyy.java:77)
//where xx xx xx xx is char id
//in my previous implementation, should any IO error takes place, close all used sockets.
//but currently i allowed the sockets to stay openned, and realized that proxy continues to try sending packets to client, and proxy still receives packets from server.
|
|
|
02/18/2011, 10:19
|
#2
|
elite*gold: 0
Join Date: Sep 2008
Posts: 694
Received Thanks: 207
|
Quote:
Originally Posted by shitboi
Do you guys have dc's on your proxies every now and then?
I tend of have a dc every 20-40 min after log in. I do not know what is causing it.
When i looked my error stack trace. It took place either at sending to client/server. Those are the times where my proxy is simply relaying packets.
What could be causing this?
|
And it does dc all your accounts at once?
|
|
|
02/18/2011, 11:00
|
#3
|
elite*gold: 0
Join Date: Jun 2006
Posts: 457
Received Thanks: 67
|
yeah..... it might be problem with the way i performed exception handling. But yes, my account is dc'ed upon socket io errors.
|
|
|
02/18/2011, 11:06
|
#4
|
elite*gold: 0
Join Date: Sep 2008
Posts: 694
Received Thanks: 207
|
Quote:
Originally Posted by shitboi
yeah..... it might be problem with the way i performed exception handling. But yes, my account is dc'ed upon socket io errors.
|
Interesting, some people from CoGen got the same problem. Dcing every 20-30 minutes. We thought it had something to do with TQ's client. O well, I can't really help, I ain't a coder =X
|
|
|
02/18/2011, 11:28
|
#5
|
elite*gold: 0
Join Date: Jun 2006
Posts: 457
Received Thanks: 67
|
i'll test again by stripping off all the bot functions
|
|
|
02/19/2011, 18:55
|
#6
|
elite*gold: 0
Join Date: Mar 2006
Posts: 88
Received Thanks: 6
|
Redundant question I'm sure but did you block tqwea.dll and block CO reporting IP address? But short answer I think you said it best socket closing. I can confirm it happening with COG too.
|
|
|
02/19/2011, 21:06
|
#7
|
elite*gold: 0
Join Date: Jun 2006
Posts: 457
Received Thanks: 67
|
Quote:
Originally Posted by Moloch Amon
Redundant question I'm sure but did you block tqwea.dll and block CO reporting IP address? But short answer I think you said it best socket closing. I can confirm it happening with COG too.
|
I actually didn't block those 2, lol. Any hints or references as to how to get them done?
|
|
|
02/19/2011, 21:13
|
#8
|
elite*gold: 0
Join Date: Dec 2006
Posts: 1,039
Received Thanks: 1,335
|
I'm using a client with zftqat and gamecheck folders deleted, ran my proxy on a noob for about an hour, no disconnects so far.
|
|
|
02/20/2011, 04:39
|
#9
|
elite*gold: 0
Join Date: Nov 2006
Posts: 805
Received Thanks: 464
|
Quote:
Originally Posted by shitboi
I actually didn't block those 2, lol. Any hints or references as to how to get them done?
|
back when I was worried about the botchecks and all of that good stuff, their gamecheck wasn't directly reporting anymore, it uses internet explorer's built in proxy service to send data to TQ, so the IP is not the same everytime.
You'd need to use something like wireshark and filter out all of the data going to and from your network based on process name in order to find out exactly how it works now.
Half the speculations around the forums are false as far as blocking said IP address will keep you safe.
best method is to make it completely randomized or mimic another application. such as skype, ventrilo, or another common one.
edit: hooks ftw, no weird issues like the one you're having ;D
but triple check and make sure nothing else in your code / one of the exceptions you are receiving will force sockets to close.
|
|
|
02/20/2011, 18:14
|
#10
|
elite*gold: 0
Join Date: Jun 2006
Posts: 457
Received Thanks: 67
|
Quote:
Originally Posted by Ian*
back when I was worried about the botchecks and all of that good stuff, their gamecheck wasn't directly reporting anymore, it uses internet explorer's built in proxy service to send data to TQ, so the IP is not the same everytime.
You'd need to use something like wireshark and filter out all of the data going to and from your network based on process name in order to find out exactly how it works now.
Half the speculations around the forums are false as far as blocking said IP address will keep you safe.
best method is to make it completely randomized or mimic another application. such as skype, ventrilo, or another common one.
edit: hooks ftw, no weird issues like the one you're having ;D
but triple check and make sure nothing else in your code / one of the exceptions you are receiving will force sockets to close.
|
as far as mimic-ing other apps, do you mean naming it different such that it doesn't contain keywords that can catch TQ's attention?
I am a newb wireshark user, i do not know wireshark can log packets on a process based level.
|
|
|
02/20/2011, 18:16
|
#11
|
elite*gold: 0
Join Date: Jun 2006
Posts: 457
Received Thanks: 67
|
Quote:
Originally Posted by gabrola
I'm using a client with zftqat and gamecheck folders deleted, ran my proxy on a noob for about an hour, no disconnects so far.
|
so, after trying that your client did not dc?
|
|
|
|
Similar Threads
|
I need IPs and proxies
02/25/2010 - Conquer Online 2 - 16 Replies
Hello :)
I hope to get help here. I am living in a hostel now because I moved from my hometown to study. And I have to use hostel's internet, where proxy is needed. Some websites and all the mmorpg games are banned here, but if you ask the administrator - he unblocks the game. But I have to give him IP addresses and proxies of CO. I tried to find it myself, found few, but I think, not every, because I can't still turn on the client (I'm not even talking about logging in).
Can anyone...
|
Any Working Proxies?
09/24/2009 - Dragonica - 1 Replies
Are there any working proxies for Dragonica (THQ) out yet?
Does anyone wanna start working on one with me?
|
are proxies any safe?
03/09/2008 - Conquer Online 2 - 9 Replies
thats rite , r they? what can i do to protect myself, and what is the proxy idea in general??
|
SOCKS5 Proxies
02/05/2008 - Lineage 2 - 0 Replies
Hi all geeks! ;) I have some problem I got ip banned and now I want to play using an proxy program, I will use SocksCap it works.. Well my quesiton is, does anyone know any fast SOCKS5 Proxy server?
Thanks! And Cheers!
:eek:
|
Co proxies
01/12/2006 - Conquer Online 2 - 2 Replies
I have read many of topic about these hacks but... :ops:
I didn't understand what they can really do exept jump anywhere, up/repair stuff from anywhere...
Could some some list me best things every one could make ? :bandit:
For example, what this one doing ? http://www.elitepvpers.com/forum/index.php?...& f=85&t=4579&s=
i won't try them 1 by 1... :?
edit : oops could u move it to main ? :rolleyes:
|
All times are GMT +1. The time now is 14:51.
|
|