Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 08:48

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



not receiving certain packets with proxy

Discussion on not receiving certain packets with proxy within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2012
Posts: 775
Received Thanks: 327
not receiving certain packets with proxy

well basically i did change everything for this to work but so far i haven't found the solution (re-coded entire socket system, re-coded the splitters and even did try not to use splitters at all)
the issue is that im receiving all packets and not the others
ex. attack/action packet 1022 working fine, jump packet is fine , walk packet is fine
but something like update packet 10017, sometimes i receive it and sometimes i don't

here is a packet dump for the update packets i receive after killing monster and getting cps (yup im developing it for private server)

you may notice without proxy im receiving more packets including those with update type of 0x1d which is 29d aka conquer points update (that's what really happens, it update my cps without proxy and doesn't update it while im on the proxy)

could my socket system or even the way im handling/splitting packets effect some packets and not the others even if they are within the same type and length ? that's why im mind fucked since yesterday trying to work it out :\

thanks in advance

edit: i've removed everything from the proxy to just forward the packets for client/server, just de/en them and sending them without any modification or blocking or anything, traced receiving on handler and even on the socket event, i don't even receive them
go for it is offline  
Old 07/27/2013, 15:04   #2
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,376
my guess is improper packet splitting
pro4never is offline  
Old 07/27/2013, 15:25   #3
 
elite*gold: 0
Join Date: Sep 2012
Posts: 775
Received Thanks: 327
edit : nvm it's server side and i got it , yup it was at corrupted data im receiving not the splitter
go for it is offline  
Old 07/28/2013, 04:02   #4
 
Super Aids's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 1,761
Received Thanks: 946
why do you even use a splitter? Receive 2 bytes for the size and then receive that. You may have to call receive multiple times till you have all the bytes though.
Super Aids is offline  
Old 07/28/2013, 20:06   #5
 
elite*gold: 0
Join Date: Sep 2012
Posts: 775
Received Thanks: 327
Quote:
Originally Posted by Super Aids View Post
why do you even use a splitter? Receive 2 bytes for the size and then receive that. You may have to call receive multiple times till you have all the bytes though.
i did try that, updated your async sock release to avoid throwing errors if it can't receive certain bytes due to fragmentation, still didn't work
i've made more tools in the proxy (one of them to check for the packets that i split them manually , found 4/168 packet with wrong length and sometimes not even complete seal or packet length doesn't match sealing)
it ****** me off and gone to start developing my custom source once more
maybe ill go back and write a smarter splitting base to avoid wrong packets

and maybe i've ****** up something at all of them, would give it a try later and post the base if i got it working
go for it is offline  
Old 07/28/2013, 22:40   #6
 
Super Aids's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 1,761
Received Thanks: 946
That's why you may have to call receive multiple times. The one I released does not work and never updated it with a fix LOL.
Super Aids is offline  
Old 07/28/2013, 23:05   #7
 
elite*gold: 0
Join Date: Sep 2012
Posts: 775
Received Thanks: 327
Quote:
Originally Posted by Super Aids View Post
That's why you may have to call receive multiple times. The one I released does not work and never updated it with a fix LOL.
i did update it, i've even used a better system of a custom queue, but just nvm i would go back to that when i finish a custom server
go for it is offline  
Reply


Similar Threads Similar Threads
Receiving packets
09/24/2011 - CO2 Private Server - 9 Replies
When I receive a packet I do something like this: public static void NewPacket(SocketClient Client, byte Packet) { if (Kernel.SafePacket(Client, Packet)) { //Handle } }
[Proxy] Weird packets?!
11/21/2010 - CO2 Programming - 5 Replies
What I'm doing wrong? 1) Using AuthProtocolCryptographer 2) Ain't this packet a little bit BIG? 3) As I'm reading Korvacs wiki, this packet does not looks like this: CO Packet AuthorizationResponse - Conquer Wiki Besides the offset 0 (19) with is, reversed = 52. But offset 2 does not looks like 1055. Could anyone enlighten me? :P Heres the reply from AuthServer for login/password test/test @ tiger: ...
looking for a current proxy for sending packets
01/22/2009 - CO2 Programming - 2 Replies
is there any program to recive packets in game and send then dycrpted of course, any recomadations of apps to do this type of job? what is every one using now a days?
proxy packets
06/08/2007 - Conquer Online 2 - 3 Replies
are the packets show up in the proxy decoded of some sort?like the login key?ive read the packet decrept guide its helpful but the tool ultimation made a while back was a lot easier lol.I dont know if im saying it right but wen decrpting packets is it ok using proxy packets or should i sniff the packets with somthing else.sorry if its a dumb question,and come on someone is gona say SEARCH or if i dont know i shouldent even be trying.



All times are GMT +2. The time now is 08:48.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.