|
You last visited: Today at 20:13
Advertisement
5200 Packets
Discussion on 5200 Packets within the CO2 Private Server forum part of the Conquer Online 2 category.
11/18/2011, 05:58
|
#1
|
elite*gold: 0
Join Date: Apr 2010
Posts: 17
Received Thanks: 17
|
5200 Packets
Does anybody have 5200 packets? In need of CharacterInfo and Entity right now. I got everything right with charinfo except for the name. I've tried every offset from 90-109, nothing working at all, anybody got some help?
|
|
|
11/18/2011, 17:35
|
#2
|
elite*gold: 0
Join Date: Feb 2011
Posts: 185
Received Thanks: 55
|
Alright arco, use my account, nbd
|
|
|
11/18/2011, 17:47
|
#3
|
elite*gold: 28
Join Date: Jun 2010
Posts: 2,225
Received Thanks: 868
|
I believe they're both actually out there.
Well characterinfo is DEFIANTLY out there. You wont get em for free.
|
|
|
11/18/2011, 18:46
|
#4
|
elite*gold: 0
Join Date: Apr 2010
Posts: 17
Received Thanks: 17
|
Quote:
Originally Posted by _DreadNought_
I believe they're both actually out there.
Well characterinfo is DEFIANTLY out there. You wont get em for free.
|
Charinfo for 5200 isn't out there afaik. Haven't seen it.
|
|
|
11/18/2011, 21:05
|
#5
|
elite*gold: 28
Join Date: Jun 2010
Posts: 2,225
Received Thanks: 868
|
Well I most certianly have. My own thread actually <3
For 5180* but it works for 5200
|
|
|
11/18/2011, 21:12
|
#6
|
elite*gold: 0
Join Date: Apr 2010
Posts: 17
Received Thanks: 17
|
Quote:
Originally Posted by _DreadNought_
Well I most certianly have. My own thread actually <3
For 5180* but it works for 5200
|
I tried 5180 charinfo, didn't work. Well the name portion at least.
|
|
|
11/18/2011, 21:42
|
#7
|
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,190
|
Maybe you're not guessing correctly.
I'm going to make a wiki sooner or later with the packets for every patch... but uhm... that won't be for a long time. If you want to wait and just use 5187 for now, then u could do that... You're best option right now is to guess offsets. I made a thread a while ago about packets (on 4botters)... you can check for that if you want. It's not that good of an explanation though.
|
|
|
11/18/2011, 22:00
|
#8
|
elite*gold: 0
Join Date: Apr 2010
Posts: 17
Received Thanks: 17
|
Quote:
Originally Posted by Fаng
Maybe you're not guessing correctly.
I'm going to make a wiki sooner or later with the packets for every patch... but uhm... that won't be for a long time. If you want to wait and just use 5187 for now, then u could do that... You're best option right now is to guess offsets. I made a thread a while ago about packets (on 4botters)... you can check for that if you want. It's not that good of an explanation though.
|
I know how to guess offsets, thats easy. But here's my thing.
5180 the offsets for the strings in charinfo were as follows.
Offset[89] = StringCount, which is 2.
Offset[90] = Name.Length
Offset[91] = Name;
Offset [92+90] = Spouse.Length
Offset[92+91] = Spouse;
Then in 5250
Offset[106] = StringCount, which is 2.
Offset[107] = Name.Length
Offset[108] = Name;
Offset [109+107] = Spouse.Length
Offset[108+107] = Spouse;
So I'm 100% sure it has to be in between those 2 groups of offsets, and i've tried all, doesn't work. And it won't be any higher than 5250 offsets because TQ doesn't do that with its char info packet. Make a higher patches offsets value lower than a lower patches offsets.
|
|
|
11/18/2011, 22:14
|
#9
|
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,190
|
Here's a 5223 Character Info Packet from an old source of mine:
byte[] Packet = new byte[117 + client.Entity.FirstName.Length + client.Entity.LastName.Length + client.Entity.Spouse.Length];
WriteUInt16((ushort)(Packet.Length - 8), 0, Packet);
WriteUInt16(1006, 2, Packet);
WriteUInt32(client.Entity.UID, 4, Packet);
WriteUInt32(client.Entity.Mesh, 8, Packet);
WriteUInt16(client.Entity.HairStyle, 12, Packet);
WriteUInt32(client.Entity.Money, 14, Packet);
WriteUInt32(client.Entity.ConquerPoints, 18, Packet);
WriteUInt64(client.Entity.Experience, 22, Packet);
WriteUInt16(client.Entity.Strength, 50, Packet);
WriteUInt16(client.Entity.Agility, 52, Packet);
WriteUInt16(client.Entity.Vitality, 54, Packet);
WriteUInt16(client.Entity.Spirit, 56, Packet);
WriteUInt16(client.Entity.Attributes, 58, Packet);
WriteUInt16((ushort)client.Entity.Hitpoints, 60, Packet);
WriteUInt16(client.Entity.Mana, 62, Packet);
WriteUInt16(client.Entity.PKPoints, 64, Packet);
Packet[66] = client.Entity.Level;
Packet[67] = client.Entity.Class;
Packet[68] = client.Entity.FirstRebornClass;
Packet[69] = client.Entity.SecondRebornClass;
Packet[71] = client.Entity.Reborn;
WriteUInt32(client.Entity.QuizPoints, 73, Packet);
WriteUInt16((ushort)(client.Entity.EnlightenPoints * 100), 77, Packet);
WriteUInt16(client.Entity.Enlightened, 79, Packet);
WriteUInt32(client.Entity.BoundCPs, 89, Packet);
Packet[93] = 0x03;
WriteByte((byte)(client.Entity.FirstName.Length), 94, Packet);
WriteString(client.Entity.FirstName, 95, Packet);
WriteByte((byte)(client.Entity.LastName.Length), 95 + client.Entity.FirstName.Length, Packet);
WriteString(client.Entity.LastName, 96 + client.Entity.FirstName.Length, Packet);
WriteByte((byte)(client.Entity.Spouse.Length), 96 + client.Entity.FirstName.Length + client.Entity.LastName.Length, Packet);
WriteString(client.Entity.Spouse, 97 + client.Entity.FirstName.Length + client.Entity.LastName.Length, Packet);
return Packet;
|
|
|
11/18/2011, 22:31
|
#10
|
elite*gold: 0
Join Date: Apr 2010
Posts: 17
Received Thanks: 17
|
So wait, when were these "second names" added? o.O
|
|
|
11/18/2011, 22:42
|
#11
|
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,190
|
Quote:
Originally Posted by -virTuaL
So wait, when were these "second names" added? o.O
|
5212, removed in 5250.
I know I'm advertising when I say this and someone's going to hammer on me sooner or later...
but you can see patch info at co.91.com or summarized into one place on my blog:
|
|
|
11/19/2011, 00:17
|
#12
|
elite*gold: 0
Join Date: Apr 2010
Posts: 17
Received Thanks: 17
|
Quote:
Originally Posted by Fаng
5212, removed in 5250.
I know I'm advertising when I say this and someone's going to hammer on me sooner or later...
but you can see patch info at co.91.com or summarized into one place on my blog: 
|
Well thanks Fang. Iunno maybe I didn't test those offsets, but it worked. Next thing to work on is Entity. Gosh, that ones always a hassle.
|
|
|
11/19/2011, 01:15
|
#13
|
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,190
|
Quote:
Originally Posted by -virTuaL
Well thanks Fang. Iunno maybe I didn't test those offsets, but it worked. Next thing to work on is Entity. Gosh, that ones always a hassle.
|
My 5523 source didn't go very far, but I have the length and x and y offsets:
Code:
WriteUInt16((ushort)(169 + FirstName.Length), 0, SpawnPacket);
WriteUInt16(10014, 2, SpawnPacket);
SpawnPacket[165] = 1;
SpawnPacket[166] = (byte)_Name.Length;
WriteString(_Name, 167, SpawnPacket);
X:
WriteUInt16(value, 72, SpawnPacket);
Y:
WriteUInt16(value, 74, SpawnPacket);
|
|
|
11/23/2011, 09:44
|
#14
|
elite*gold: 0
Join Date: Apr 2010
Posts: 17
Received Thanks: 17
|
Quote:
Originally Posted by Fаng
My 5523 source didn't go very far, but I have the length and x and y offsets:
Code:
WriteUInt16((ushort)(169 + FirstName.Length), 0, SpawnPacket);
WriteUInt16(10014, 2, SpawnPacket);
SpawnPacket[165] = 1;
SpawnPacket[166] = (byte)_Name.Length;
WriteString(_Name, 167, SpawnPacket);
X:
WriteUInt16(value, 72, SpawnPacket);
Y:
WriteUInt16(value, 74, SpawnPacket);
|
Great I can use this and try offsets between 5180 and 5223.
|
|
|
Similar Threads
|
[QUESTION]What are the packets 5200+ uses ?
03/03/2010 - CO2 Private Server - 15 Replies
What is the 5200 packets ?
what are the packets the 5200+ uses ?
Anyhelp would be nice
P.S I have a 5200+ client and oldCODB
|
All times are GMT +1. The time now is 20:14.
|
|