Hi, I Need The Analys Of Champion Arena Packet
With Some explanation
TY :handsdown:
With Some explanation
TY :handsdown:
79 6f 6c 6f 73 77 61 67 20 6f 70 20 69 73 20 77 68 61 63 6b 2e 20 68 65 20 73 75 63 6b 73 20 64 69 63 6b 20 6f 6e 20 68 69 73 20 63 61 6d 65 6c 73 20 73 61 63 6b 2e
i want to Analys it Myself ;)Quote:
use this [Only registered and activated users can see links. Click Here To Register...]
TY :handsdown:Quote:
Code:79 6f 6c 6f 73 77 61 67 20 6f 70 20 69 73 20 77 68 61 63 6b 2e 20 68 65 20 73 75 63 6b 73 20 64 69 63 6b 20 6f 6e 20 68 69 73 20 63 61 6d 65 6c 73 20 73 61 63 6b 2e
Hope To Be Not Bad & To Help Me To Finish ItQuote:
namespace MrBibOProject.Network.GamePackets
{
public class ChamboinStatistic : Writer, IPacket
{
private byte[] Buffer = new byte[60];
public const uint SignUp = 0;
public const uint DialogCountdown = 1;
public const uint OpponentInfo = 4;
public const uint WinDialog = 6;
public const uint LoseDialog = 7;
public const uint MatchStats = 8;
public ChamboinStatistic(bool Create)
{
Writer.WriteUInt16(0x34, 0, this.Buffer);
Writer.WriteUInt16(2604, 2, this.Buffer);
}
public void Deserialize(byte[] buffer)
{
this.Buffer = buffer;
}
public void Send(GameState client)
{
client.Send(this.ToArray());
}
public byte[] ToArray()
{
return this.Buffer;
}
public bool AcceptBox { get; set; }
public DateTime AcceptBoxShow { get; set; }
public byte Class { get; set; }
public uint CurrentHonor
{
get
{
return BitConverter.ToUInt32(this.Buffer, 0x20);
}
set
{
Writer.WriteUInt32(value, 0x20, this.Buffer);
}
}
public uint EntityID { get; set; }
public uint HistoryHonor
{
get
{
return BitConverter.ToUInt32(this.Buffer, 0x1c);
}
set
{
Writer.WriteUInt32(value, 0x1c, this.Buffer);
}
}
public uint LastSeasonLose { get; set; }
public uint LastSeasoChamboinPoints { get; set; }
public uint LastSeasonRankch { get; set; }
public uint LastSeasonWin { get; set; }
public DateTime LastChamboinPointFill { get; set; }
public byte Level { get; set; }
public uint Model { get; set; }
public string Name { get; set; }
public uint PlayWith { get; set; }
public uint ChamboinPoints
{
get
{
return BitConverter.ToUInt32(this.Buffer, 0x24);
}
set
{
Writer.WriteUInt32(value, 0x24, this.Buffer);
}
}
public uint Rank
{
get
{
return BitConverter.ToUInt32(this.Buffer, 4);
}
set
{
Writer.WriteUInt32(value, 4, this.Buffer);
}
}
public uint Status
{
get
{
return BitConverter.ToUInt32(this.Buffer, 8);
}
set
{
Writer.WriteUInt32(value, 8, this.Buffer);
}
}
public uint TodayBattles
{
get
{
return BitConverter.ToUInt32(this.Buffer, 0x18);
}
set
{
Writer.WriteUInt32(value, 0x18, this.Buffer);
}
}
public uint TodayWin
{
get
{
return BitConverter.ToUInt32(this.Buffer, 20);
}
set
{
Writer.WriteUInt32(value, 20, this.Buffer);
}
}
public uint TotalLose
{
get
{
return BitConverter.ToUInt32(this.Buffer, 0x10);
}
set
{
Writer.WriteUInt32(value, 0x10, this.Buffer);
}
}
public uint TotalWin
{
get
{
return BitConverter.ToUInt32(this.Buffer, 12);
}
set
{
Writer.WriteUInt32(value, 12, this.Buffer);
}
}
public uint YesterdayTotal
{
get
{
return (this.LastSeasonWin + this.LastSeasonLose);
}
}
}
}
Sry, I Can't understand Please More Explan :DQuote:
I Dont like this Way of Sending Packet beside that u dont need all those vriables for sending... i Prefer using smthing Like
public static void SendSignUp(Client.GameState Player)
{
byte[] Buffer = new byte[Length + 8];
Using Writer.cs Class to Add values in offsets
Player.Send(Buffer); // Sending
}