Luigi Auriemma

aluigi.org (ARCHIVE-ONLY FORUM!)
It is currently 19 Jul 2012 19:55

All times are UTC [ DST ]





Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 
Author Message
 Post subject: Using enctypex_decoder_convert_to_ipport in BF2
PostPosted: 17 May 2009 00:11 

Joined: 11 May 2009 20:06
Posts: 15
I stored all data received about battlefield2 and now i need to use function
"enctypex_decoder_convert_to_ipport" to read data in text format.

How i must use this function to decode all data stored in file ?
How to use variables: infobuff_size, infobuff_offset ?


Non poso capire como devo usare questa Functione dal suo initio per decodificare tutto file.
Il maggior problema e che no capisco C++ per capire questo dal source code del gslist.
Ho bisogno di un spiego di come devo usare funzione "enctypex_decoder_convert_to_ipport", perch?? questo spiego mi aiuter?? di scrivere algoritmo in mio Delphi =).

PS: Scusate per il mio non buono italiano .. Ho abbandonato Italia quando avevo otto anni. =)

?????????????? ???????? ???????? ??????, ???????????????????? ?????? ?????????? ?????? ?????????????? ?? ?????????? ???????????? ???? ??????????, ?????? ?????????? ?????????????????? ???????????????? ?? Delphi.


Attachments:
RcvdData_CODED.Txt [30.51 KiB]
Downloaded 64 times
Top
 Profile  
 
 
 Post subject: Re: Using enctypex_decoder_convert_to_ipport in BF2
PostPosted: 17 May 2009 00:27 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
enctypex_decoder_convert_to_ipport is a secondary function, first you must decrypt the data received from the server.
you can find an entire discussion and a full usage example in the following threads:
enctype2-trying-to-get-not-only-server-list-t561.html
enctypex-t578.html


Top
 Profile  
 
 Post subject: Re: Using enctypex_decoder_convert_to_ipport in BF2
PostPosted: 17 May 2009 13:08 

Joined: 11 May 2009 20:06
Posts: 15
How to get Validate value for battlefield2 ?


Top
 Profile  
 
 Post subject: Re: Using enctypex_decoder_convert_to_ipport in BF2
PostPosted: 17 May 2009 15:07 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
validate is a random value (but nothing forces you to use a fixed one) , if you have doubts you can generate it using the following code:
Code:
char validate[9];
enctypex_decoder_rand_validate(validate);
...other encryptex functions...


Top
 Profile  
 
 Post subject: Re: Using enctypex_decoder_convert_to_ipport in BF2
PostPosted: 17 May 2009 20:58 

Joined: 11 May 2009 20:06
Posts: 15
thanks again. )


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 

All times are UTC [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron