Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


DeleteThisTopic

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
Hans Henrik
Expert Cheater
Reputation: 0

Joined: 18 Feb 2007
Posts: 178

PostPosted: Tue Apr 29, 2008 12:50 am    Post subject: DeleteThisTopic Reply with quote

cud som1 delete this topic please? lol "normal users" aint allowed to delete there own posts o.0
_________________
Im not around.

im almost never checking the forum anymore


Last edited by Hans Henrik on Wed May 21, 2008 10:02 am; edited 1 time in total
Back to top
View user's profile Send private message MSN Messenger
imeantobebad
Master Cheater
Reputation: 0

Joined: 11 Jan 2007
Posts: 469
Location: Moree

PostPosted: Tue Apr 29, 2008 1:53 am    Post subject: Reply with quote

You know of a program that can decript tibia's packets?
Back to top
View user's profile Send private message
Hans Henrik
Expert Cheater
Reputation: 0

Joined: 18 Feb 2007
Posts: 178

PostPosted: Tue Apr 29, 2008 3:59 am    Post subject: Reply with quote

"decript tibia packets"?


you mean Decode, or De-crypt?


tibia 7.71 and up use packet-encryption... described how to decrypt in Delphi, C, C++, VB in www.tibiafans.com somewhere i think... (dont remember exactly where, but just use search function x.x)

_________________
Im not around.

im almost never checking the forum anymore
Back to top
View user's profile Send private message MSN Messenger
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6301

PostPosted: Tue Apr 29, 2008 10:28 am    Post subject: Reply with quote

Hans Henrik:
If you will write out a tutorial in this thread on doing a script like you have described i will sticky it.
Back to top
View user's profile Send private message
Hans Henrik
Expert Cheater
Reputation: 0

Joined: 18 Feb 2007
Posts: 178

PostPosted: Tue Apr 29, 2008 10:48 am    Post subject: Reply with quote

ill try to get for delphi/VB l8r (swear i have seen it for those 2, but didnt find it x.x), but here is at least for C#/C++
For tibia 7.1 - 8.11 (and possibly newer versions??)
Decrypt:
Code:
void decipher(unsigned int num_rounds, unsigned long* v, unsigned long* k) {
    unsigned long v0=v[0], v1=v[1], i;
    unsigned long delta=0x9E3779B9, sum=delta*num_rounds;
    for(i=0; i<num_rounds; i++) {
        v1 -= (((v0 << 4) ^ (v0 >> 5)) + v0) ^ (sum + k[(sum>>11) & 3]);
        sum -= delta;
        v0 -= (((v1 << 4) ^ (v1 >> 5)) + v1) ^ (sum + k[sum & 3]);
    }
    v[0]=v0; v[1]=v1;
}


and Encrypt:
Code:
void encipher(unsigned int num_rounds, unsigned long* v, unsigned long* k) {
    unsigned long v0=v[0], v1=v[1], i;
    unsigned long sum=0, delta=0x9E3779B9;
    for(i=0; i<num_rounds; i++) {
       v0 += (((v1 << 4) ^ (v1 >> 5)) + v1) ^ (sum + k[sum & 3]);
        sum += delta;
        v1 += (((v0 << 4) ^ (v0 >> 5)) + v0) ^ (sum + k[(sum>>11) & 3]);
    }
    v[0]=v0; v[1]=v1;
}



and Tibia 7.1 - 8.11 use XTEA-encryption

EDIT: and if your intrested in Tibia Packet-editing, you should check out KTibiaX Packet Analyzer Wink

_________________
Im not around.

im almost never checking the forum anymore
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites