Register for your free account! | Forgot your password?

Go Back   elitepvpers MMORPGs Conquer Online 2 CO2 Private Server
You last visited: Today at 10:58

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

Advertisement



[Help] Messaging packet version 5630+

Discussion on [Help] Messaging packet version 5630+ within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #31
 
_DreadNought_'s Avatar
 
elite*gold: 28
Join Date: Jun 2010
Posts: 2,226
Received Thanks: 868
Wasted time and effort making sure you type it right and then checking you did +8 as its an easy mistake to miss where as a a seal method just seems fool proof :P
_DreadNought_ is offline  
Old   #32
 
Super Aids's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 1,761
Received Thanks: 950
I never had to make sure about that, because I made it right from the start. Derp.
Super Aids is offline  
Thanks
1 User
Old   #33
 
JobvdH's Avatar
 
elite*gold: 0
Join Date: Nov 2010
Posts: 371
Received Thanks: 120
Alright, I've fixed the TQServer string, now I disconnect when sending the packet instead of freezing.

Heres my packet
Length: 34 + From.Length + To.Length + Message.Length
Type: 1004
Code:
            WriteUInt((uint)Color.White.ToArgb(), 4);
            WriteUInt(Type, 8);
            WriteUInt(EntityID, 12);
            WriteUInt(client.Mesh, 20);
            WriteByte(4, 24);
            WriteStringWithLength(From, 25);
            WriteStringWithLength(To, 26 + From.Length);
            WriteStringWithLength(Message, 28 + From.Length + To.Length);
And when sending it to the socket system:
Code:
            byte[] _buffer = new byte[buffer.Length + 8];
            Buffer.BlockCopy(buffer, 0, _buffer, 0, buffer.Length);
            Writer.WriteString("TQServer", _buffer.Length - 8, _buffer);
            Console.WriteLine(Server.Dump(_buffer));
            Cipher.Encrypt(ref _buffer);
            if (_socket.Connected)
            {
                _socket.Send(_buffer);
            }
Does anyone have an idea why I disconnect?
JobvdH is offline  
Old   #34
 
Super Aids's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 1,761
Received Thanks: 950
You only write the mesh on whisper if I am correct, because it's used to show the avatars of the players.

I don't think that's the problem though.
Could you make a dump of your current packet by any chance
Super Aids is offline  
Old   #35
 
JobvdH's Avatar
 
elite*gold: 0
Join Date: Nov 2010
Posts: 371
Received Thanks: 120
The mesh is 0 since it doesn't set character data before sending NEW_ROLE or ANSWER_OK, so I don't think that could hurt.
Anyways here is the dump:
JobvdH is offline  
Old   #36
 
Super Aids's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 1,761
Received Thanks: 950
The size of your packet is invalid. There is 6 offsets from your message to TQServer which should be 0.

Your written size should be 51 and your final size (after TQServer) should be 59.
Super Aids is offline  
Old   #37
 
JobvdH's Avatar
 
elite*gold: 0
Join Date: Nov 2010
Posts: 371
Received Thanks: 120
Alright I reduced the packet size to 0 bytes between TQServer and the last character of the message. Now I still get disconnected.

My packet:
Code:
            WriteUInt((uint)Color.White.ToArgb(), 4);
            WriteUInt(Type, 8);
            WriteUInt(EntityID, 12);
            WriteUInt(client.Mesh, 20);
            WriteByte(4, 24);
            WriteStringWithLength(From, 25);
            WriteStringWithLength(To, 26 + From.Length);
            WriteStringWithLength(Message, 28 + From.Length + To.Length);
Dump:
JobvdH is offline  
Old   #38
 
Super Aids's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 1,761
Received Thanks: 950
One thing that is not related to this.
Lock your crypto-

Uhmm regarding your packet.

Your dump is the first, mine is the next. I have marked a specific area in your dump and in my dump that I want you to compare.


Can you see what you are missing?
That empty byte between "to" and "message".
Super Aids is offline  
Old   #39
 
JobvdH's Avatar
 
elite*gold: 0
Join Date: Nov 2010
Posts: 371
Received Thanks: 120
Added that still didn't solve the problem
JobvdH is offline  
Reply


Similar Threads Similar Threads
Which File in source 5630 Containt Ping !
11/21/2012 - CO2 Private Server - 3 Replies
I have 2 source its same ! one of them contain many prob but i want to get the file who contain ping cuz its bad in the another !! i hope to understand me !! and am sorry for my bad English lang !!
[B] e*pvp Messaging Tool ## Autopusher coming soon! ## [S] e*gold, PSC, uKash. Paypal
04/25/2012 - Trading - 7 Replies
.
Private Messaging options
07/03/2010 - Technical Support - 2 Replies
Hi guys:mofo: I've been trying to send PMs to several members but I think my messages are not reaching because whenever i send it, it never shows up on the SEnt Messages link so im guessing i have to enable it or something?:confused: Thank you if you can help me;):handsdown::D:bandit::):cool::rolleyes:



All times are GMT +2. The time now is 11:00.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

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