Quote:
Originally Posted by abdoumatrix
my only error as i think is in here
PHP Code:
// wtr.Write((uint)1684852); // wtr.Write((uint)1684852); uint uid2 = Conquer_Online_Server.BitConverter.ToUInt32(packet, ((40 * xxChi.Tigerss[b].rank) + (16 * (xxChi.Tigerss[b].rank - 1)))); wtr.Write((uint)uid2); wtr.Write((uint)uid2);
as it change at each rank and didnt't make the right value of the next.
the other offest r right.
u looked at the pic or the codes
cuz the pic the value is right i set it to that.
Anyway Ty and GL
I will give it a look again.
|
Code:
.
.
.
if (uid == 0x03938704)
wtr.Write((uint)(Math.Min(xxChi.Turtless.Count, 10)));
[COLOR="Red"]wtr.Write((uint)0);[/COLOR]
#region Dragon
if (uid == 0x03938701)
{
for (int b = (int)pagenumber * 10; b <= pagenumber * 10 + Math.Min(10, xxChi.Dragonss.Count) - 1; b++)
{
if (pagenumber == 1)
wtr.Write((uint)xxChi.Dragonss[b].rank);
wtr.Write((uint)0);
wtr.Write((uint)xxChi.Dragonss[b].dragons);//amount points
wtr.Write((uint)0);
wtr.Write(client.uid);
wtr.Write(client.uid);
// next add name....
for (int s = 0; s < 16; s++)
{
if (s < xxChi.Dragonss[b].name.Length)
{
wtr.Write((byte)xxChi.Dragonss[b].name[s]);
}
else
wtr.Write((byte)0);
}
for (int s = 0; s < 16; s++)
{
if (s < xxChi.Dragonss[b].name.Length)
{
wtr.Write((byte)xxChi.Dragonss[b].name[s]);
}
else
wtr.Write((byte)0);
}