Hallo stagetwo,
zwar bin ich dabei alle Packete erstmal zuverarbeiten, dabei komme ich bei solchen Packeten an meine grenze.
Gibt es da Seiten wo die Packete schon beschriftet sind ?
Oder irgendwelche tools die schon auslesen ob es Uint64 oder Uint16 ist.
Danke schonmal für antworten
]
Code
- [S -> C][3013]
- CB 52 1B BE 74 07 00 00 00 01 01 00 00 00 00 00 .R..t...........
- 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
- 00 00 00 00 00 00 00 00 00 00 C8 00 00 00 C8 00 ................
- 00 00 01 00 00 00 00 00 00 00 00 00 2D 0B 01 00 ............-...
- 00 00 00 3B 0E 00 00 00 00 00 00 00 00 00 00 00 ...;............
- 27 00 00 00 00 01 00 02 00 04 00 00 00 00 3C 0E '.............<.
- 00 00 00 00 00 00 00 00 00 00 00 27 00 00 00 00 ...........'....
- 01 00 02 00 05 00 00 00 00 3D 0E 00 00 00 00 00 .........=......
- 00 00 00 00 00 00 27 00 00 00 00 01 00 02 00 06 ......'.........
- 00 00 00 00 31 0E 00 00 00 00 00 00 00 00 00 00 ....1...........
- 00 45 00 00 00 00 01 00 02 00 07 00 00 00 00 86 .E..............
- 2A 00 00 00 00 00 00 00 00 00 00 00 2E 00 00 00 *...............
- 00 01 00 02 00 0D 00 00 00 00 42 1D 00 00 01 00 ..........B.....
- 0E 00 00 00 00 43 1D 00 00 01 00 0F 00 00 00 00 .....C..........
- 8E 28 00 00 14 00 10 00 00 00 00 56 60 00 00 01 .(.........V`...
- 11 00 00 00 00 6D 5E 00 00 0C 00 12 00 00 00 00 .....m^.........
- A4 8F 00 00 05 00 05 00 00 01 01 01 00 00 00 01 ................
- 02 01 00 00 00 01 03 01 00 00 00 01 11 01 00 00 ................
- 00 01 12 01 00 00 00 01 13 01 00 00 00 01 14 01 ................
- 00 00 00 02 00 02 01 00 01 00 00 00 02 02 00 00 ................
- 00 00 00 08 01 8D 01 00 00 10 00 18 08 01 01 00 ................
- 16 00 53 4E 5F 43 4F 4E 5F 51 45 56 5F 41 4C 4C ..SN_CON_QEV_ALL
- 5F 42 41 53 49 43 5F 30 01 00 00 00 00 00 00 00 _BASIC_0........
- 00 00 2F 1C 84 00 A8 61 00 C0 68 44 A8 1D 5E BE ../....a..hD..^.
- 00 00 0B 43 1A 5E 00 01 00 1A 5E 00 00 00 00 00 ...C.^....^.....
- 00 80 41 00 00 48 42 00 00 C8 42 00 06 00 42 6C ..A..HB...B...Bl
- 61 64 65 72 00 00 00 01 00 00 00 00 00 00 00 00 ader............
- 00 00 00 00 00 00 00 FF 03 00 00 00 00 00 00 00 ................
- 18 06 00 00 00 07 04 01 4A EA 03 00 64 02 4A F0 ........J...d.J.
- 03 00 64 03 4A EE 03 00 64 04 4A F8 03 00 64 00 ..d.J...d.J...d.
- 00 00 00 00 00 00 00 01 00 01 00 00 ................
Dabei sind die Packete alle direkt nacheinander.
Habe es so ausgelesen, da ist aber irgendwo ein Fehler.
Code
- uint typID = packet.ReadUInt32();
- uint volHig = packet.ReadUInt8();
- byte level = packet.ReadUInt8();
- byte highlevel = packet.ReadUInt8();
- ulong exp = packet.ReadUInt64();
- uint spExpBar = packet.ReadUInt32();
- ulong gold = packet.ReadUInt64();
- uint read_sp = packet.ReadUInt32();
- uint attribToSpend = packet.ReadUInt16();
- ushort bersiorbs = packet.ReadUInt8();
- uint DontKnow = packet.ReadUInt32();
- uint hp = packet.ReadUInt32();
- uint mp = packet.ReadUInt32();
- ushort noobIcon = packet.ReadUInt8();
- ushort dailyPK = packet.ReadUInt8();
- uint PKLevel = packet.ReadUInt16();
- uint MurderLevel = packet.ReadUInt32();
- ushort Title = packet.ReadUInt8();
- ushort MaxItem = packet.ReadUInt8();
- // Number of Items
- byte itemcount = packet.ReadUInt8();
- Meldung("typID: " + typID + "\r\n" +
- "volHigh: " + volHig + "\r\n" +
- "Level: " + level + "\r\n" +
- "HighLevel: " + highlevel + "\r\n" +
- "Exp: " + exp + "\r\n" +
- "spExpBar: " + spExpBar + "\r\n" +
- "Gold: " + gold + "\r\n" +
- "readSP: " + read_sp + "\r\n" +
- "atrribToSpend: " + attribToSpend + "\r\n" +
- "bersiorbs: " + bersiorbs + "\r\n" +
- "DontKnow: " + DontKnow + "\r\n" +
- "HP: " + hp + "\r\n" +
- "MP: " + mp + "\r\n" +
- "NoobIcon: " + noobIcon + "\r\n" +
- "dailyPK: " + dailyPK + "\r\n" +
- "PKLevel: " + PKLevel + "\r\n" +
- "MurderLevel: " + MurderLevel + "\r\n" +
- "Title: " + Title + "\r\n" +
- "MaxItem: " + MaxItem + "\r\n" +
- "");
So wird es dann ausgegeben: