Das Packet wird anhand der "Session-id" und anderen Verschlüsselungen verschlüsselt.
Wie man sieht wird ab Position 9, 0 Terminiert.
Allerdings brauche ich das 0x00 Byte weil es am ende ein 'o' ergibt (Ist immer unterschiedlich je nach Sessionid).
Nun ist mein Problem das ich nicht weiß wie ich das durch die Decryption jagen soll wegen der 0 Terminierung, könnte zwar das Byte dort ersetzen/löschen allerdings fehlt mir dann ein Buchstabe im Packet. :/
Nun weiß ich gerade kein weg und hoffe auf hilfe.
Es handelt sich hierbei um einen PServer den ich in der Freizeit code bin schon relativ weit aber ist blöde wenn dann jeder 10te. Client das obige Problem hat.
Es liegt aber aufjedenfall an der Session ID wodurch die 0x00 Bytes in den Packet auftauchen durch die Encryption, somit darf die Session ID vielleicht nur unter bestimmten vorraussetzungen erstellt werden z.b gerade/ungerade oder es gibt ne Lösung für das obige Problem.
C-Arrays sind veraltet, ist immer die bessere Wahl.
Danke , ist mir aber bekannt.
Habe mir anfangs einen unsauberen Coding Stil angewohnt weswegen ich noch oft zu Char Arrays greife durch gewohnheit, bin schon dabei mir das abzugewöhnen.
Hättest du vielleicht eine Idee zur Lösung des Problemes?
Danke , ist mir aber bekannt.
Habe mir anfangs einen unsauberen Coding Stil angewohnt weswegen ich noch oft zu Char Arrays greife durch gewohnheit, bin schon dabei mir das abzugewöhnen.
Hättest du vielleicht eine Idee zur Lösung des Problemes?
std::vector ist die Lösung des Problemes. Die Klasse beinhaltet die Länge des Vectors und sie interessiert sich nicht für Nullterminierung.
Und die Aussage "ich habe mir einen schelchten Stil angewöhnt" entschuldigt nichts. Gewöhn dich um, auch wenn es am Anfang schwer fällt, lohnen tut es sich auf jeden Fall.
Packet decryption problem 12/20/2011 - CO2 Private Server - 4 Replies So I tried downgrading the Albetros source to 5017 and posted this issue in that thread but since I don't know how many people actually check that thread, I'll post it here as well. The problem is as follows:
The gameserver only handles the first packet properly, in other words packet 1052 is handled ok (correct sizes, type w/e) but then when it receives the next packet, it has these weird huge sizes and wacky IDs such as the charcreation packet becoming ID 34669 instead of 1001.
pro...
XFS Decryption? 11/29/2011 - General Coding - 4 Replies Hey,
ich hab ein Problem, und zwar will ich eine Datei decrypten, die 700MB groß ist, und eine XFS ist.
Womit könnte ich das decrypten?
Weiß das jemand?
Falls jemand sich daran antasten will, kann er gerne eine gleiche Datei runterladen, die aber nur 4kb groß ist.
--
after decryption 05/20/2009 - Soldier Front Philippines - 10 Replies pagkatpos nun ano sunod?
san makikita ung mga details nung file na nadecrypt?
Decryption Problem 08/13/2006 - Lineage 2 - 0 Replies Howdie in first place.
Well i've been trying to decrypt the l2.ini using all of those l2 decrypters that are around, but I seem to have a problem... the program supossedly decrypts the l2.ini, but when I go and open it with notepad, its still encrypted.... im playing on a C4 Server, dunno if that matters for this case... im not sure if its a updated version of L2 though, but I play on that server with no problems , but I think my version is the common C4 Version u download from lineageII...
Packet decryption problem.. 06/02/2006 - Conquer Online 2 - 2 Replies In Lowfyr's packet decryption guide, first step to get key3/key4
1.) Add key 1 with key 2 205C48F4 + 0044A62E = 20A0EF22
What do I do when key1+key2 is more than 4 bytes? Discard the first byte?
Just as an example, I have gotten this from the server..
key1 363504E3 key2 D9007F2D
add them together = 10F358410
do I just discard the 1 and end up with 0F358410?