Ma gandeam cum sa schimb lzo din sursa client si am gasit de unde dar am o mica problema cum fac ca sa trec acele numere in Hex ca sa le pot folosi cu eternexus.
Am gasit ceva informati dar habar nam cum sa folosesc un converter python va las informati aici.
Multumesc pentru ajutor.Lzo is a data compression algorithm. It compress data and there are no "lzo keys".
On the other hand, XTEA is a block cipher which uses a 8 byte key to encrypt/decrypt data.
static DWORD s_adwEterPackKey[] =
{
45129401,
92367215,
681285731,
1710201,
};
static DWORD s_adwEterPackSecurityKey[] =
{
78952482,
527348324,
1632942,
486274726,
};
I've made a converter in python: (as requested by someone via PM)
>>> from struct import pack as spack
>>> a1=spack("LLLL", 45129401,92367215,681285731,1710201)
>>> a1.encode('hex')
'b99eb0026f69810563989b2879181a00'
>>>
>>> a2=a1.encode('hex')
>>> a2
'b99eb0026f69810563989b2879181a00'
>>> a3=a2.decode('hex')
>>> from struct import unpack as sunpack
>>> sunpack("LLLL", a3)
(45129401L, 92367215L, 681285731L, 1710201L)
>>>



