Lucky Critical Parse Packet

05/10/2018 20:16 Mr.Awesome1337#1
i have parsed my packet correctly and it is work i can now know the
KillerUniqeID/KilledUniqueID otherwise the player killed or still alive ,the dmg is critical or normal but if the player used a skill the program got error
System.IO.EndOfStreamException: 'Unable to read beyond the end of the stream.'


My parsed packet
Code:
byte isSuccess = current.ReadUInt8();
                                if (isSuccess == 0x01)
                                {
                                    current.ReadUInt8();
                                    current.ReadUInt8();
                                    current.ReadUInt32();
                                    uint KillerUniqueID = current.ReadUInt32();
                                    current.ReadUInt32();
                                    uint KilledUniqueID = current.ReadUInt32();
                                    current.ReadUInt8();
                                    current.ReadUInt8(); //error is here
                                    current.ReadUInt8();
                                    uint KilledUniqueID2 = current.ReadUInt32();
                                    byte isKilled = current.ReadUInt8();
                                    current.ReadInt8();
                                    UInt32 dmg = current.ReadUInt32();

                                    if (isKilled == 0x80)
                                    {
                                        Program.UpdateLogs($"KillerUniqueID {KillerUniqueID} has been killed => {KilledUniqueID2} with dmg => {dmg}", Color.Red);

                                    }
                                    else if (isKilled == 0x00)
                                    {
                                        Program.UpdateLogs($"isStill Alive what a Shame dmg {dmg}", Color.Red);
                                    }

                                }

[Only registered and activated users can see links. Click Here To Register...]



Loader Packet:
Code:
[S -> C][B070]
01                                                ................
02 30                                             .0..............
02 00 00 00                                       ................
DD A5 06 00                                       ................
C3 0B 00 00                                       ................
F2 A4 06 00                                       ................
01                                                ................
02                                                ................
01                                                ................
F2 A4 06 00                                       ................
00                                                ................
01 E3 00 00                                       ................
00 00 00 00                                       ................
00                                                ................
01 CD 00 00                                       ................
00 00 00 00                                       ................
Note: it works fine if the hit is normal not a skill ,what is worng in my packet?
05/13/2018 19:10 illstar#2
https://www.elitepvpers.com/forum/sro-coding-corner/4280218-opcode-0xb071.html