Deprecated: The behavior of unparenthesized expressions containing both '.' and '+'/'-' will change in PHP 8: '+'/'-' will take a higher precedence in /home/iano/public_html/tpforums-vb5/forum/includes/class_core.php on line 5842

PHP Warning: Use of undefined constant MYSQL_NUM - assumed 'MYSQL_NUM' (this will throw an Error in a future version of PHP) in ..../includes/init.php on line 165

PHP Warning: Use of undefined constant MYSQL_ASSOC - assumed 'MYSQL_ASSOC' (this will throw an Error in a future version of PHP) in ..../includes/init.php on line 165

PHP Warning: Use of undefined constant MYSQL_BOTH - assumed 'MYSQL_BOTH' (this will throw an Error in a future version of PHP) in ..../includes/init.php on line 165

PHP Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in ..../includes/functions_navigation.php on line 588

PHP Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in ..../includes/functions_navigation.php on line 612

PHP Warning: Use of undefined constant misc - assumed 'misc' (this will throw an Error in a future version of PHP) in ..../global.php(29) : eval()'d code(6) : eval()'d code on line 1

PHP Warning: Use of undefined constant index - assumed 'index' (this will throw an Error in a future version of PHP) in ..../global.php(29) : eval()'d code(6) : eval()'d code on line 1

PHP Warning: Use of undefined constant misc - assumed 'misc' (this will throw an Error in a future version of PHP) in ..../includes/class_bootstrap.php(1422) : eval()'d code(4) : eval()'d code on line 1

PHP Warning: Use of undefined constant index - assumed 'index' (this will throw an Error in a future version of PHP) in ..../includes/class_bootstrap.php(1422) : eval()'d code(4) : eval()'d code on line 1

PHP Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4684) : eval()'d code on line 6

PHP Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4684) : eval()'d code on line 6
tibia 772 XTEA key?
Results 1 to 2 of 2

Thread: tibia 772 XTEA key?

  1. #1
    Junior Member
    Join Date
    Mar 2007
    Posts
    24

    Question tibia 772 XTEA key?

    (first, sorry if i posted in wrong board, i don't know where this fits)
    i am playing an OT with a custom 772 client,
    i suspect they changed the XTEA key, and i'd like to verify this, should be easy by referencing the original client's XTEA key with the custom client's,
    but where is this key stored?
    as far as assembly goes, i am useless, but according to PEiD's CryptoAnalzyer, there's a
    "2 DWORDs of 32-round TEAN: Negative delta and precomputed initial sum for decryption (32*Delta) :: 00108E12 "
    and following to offset 00108E12 , the first 16 bytes are:
    2037EFC6BF08000000EB038D49008BDA
    (which also, according to Ollydbg1.10 generates invalid opcodes)
    so the questions:
    is, is that the 7.72 XTEA key? (and if im wrong, what is it?)
    does the XTEA key change between tibia versions?
    how can i find the xtea key? (just my theory that i could write something in chat, trace where the text is copied to, find out where the text turns to seemingly garbage, which should be in the encryption function, and somewhere in that encryption function is a reference to the xtea key... but that's beyond my skills with the debugger.. )
    Last edited by hans henrik; 02-16-2015 at 07:16 PM.
    can't believe otfans died.. and otserv project.. both OT and RL tibia is declining in active players

  2. #2
    Senior Member
    Join Date
    Dec 2011
    Posts
    249
    Not sure about the 7.72 client but on recent Tibia clients the XTEA key is generated upon sending a login packet to the login server.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •