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

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

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

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

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 Addresses 10.20
Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Tibia Addresses 10.20

  1. #1
    Junior Member
    Join Date
    Aug 2012
    Posts
    21

    Tibia Addresses 10.20

    Code:
        Public Const Version As Integer = &H57E455
        Public Const Graphic As Integer = &H3C3C3C
        Public Const FPSPointer As Integer = &H58D1BC
        Public Const GuiStart As Integer = &H3C2840
        Public Const TibiaExpHour As Integer = &H40F7B4
        Public Const ChaseType As Integer = &H3C9550
        Public Const FightMode As Integer = &H3CB984 
        Public Const DoveMode As Integer = &H3C9558
        Public Const playerID As Integer = &H556034
        Public Const playerConected As Integer = &H3CBBBC
        Public Const playerAccount As Integer = &H553A4C
        Public Const playerPassword As Integer = &H553A68
        Public Const playerXor As Integer = &H3C2210
        Public Const playerHp As Integer = &H556000
        Public Const playerHpMax As Integer = &H55602C
        Public Const playerMana As Integer = &H3C2264
        Public Const playerManaMax As Integer = &H3C2214
        Public Const playerCap As Integer = &H556024
        Public Const playerLevel As Integer = &H3C224C
        Public Const playerExp As Integer = &H3C2220
        Public Const playerStamina As Integer = &H3C2298
        Public Const playerSoul As Integer = &H3C2250
        Public Const playerOffTrain As Integer = &H3C2204
        Public Const playerMagic As Integer = &H3C2254
        Public Const playerMagicPC As Integer = &H3C225C
        Public Const playerFist As Integer = &H556008
        Public Const playerClub As Integer = &H55600C
        Public Const playerSword As Integer = &H556010
        Public Const playerAxe As Integer = &H556014
        Public Const playerDistance As Integer = &H556018
        Public Const playerShield As Integer = &H55601C
        Public Const playerFish As Integer = &H556020
        Public Const playerFistPC As Integer = &H3C226C
        Public Const playerClubPC As Integer = &H3C2270
        Public Const playerSwordPC As Integer = &H3C2274
        Public Const playerAxePC As Integer = &H3C2278
        Public Const playerDistancePC As Integer = &H3C227C
        Public Const playerShieldPC As Integer = &H3C2280
        Public Const playerFishPC As Integer = &H3C2284
        Public Const PlayerX As Integer = &H556038
        Public Const PlayerY As Integer = &H55603C
        Public Const PlayerZ As Integer = &H556040
        Public Const playerXGo As Integer = 0
        Public Const playerYGo As Integer = &H578E98
        Public Const playerZGo As Integer = 0
        Public Const playerFlags As Integer = &H3C21D4
        Public Const playerRedSquare As Integer = &H3C2208
        Public Const playerGreenSquare As Integer = &H3C2260
        Public Const playerWhiteSquare As Integer = 0
        Public Const playerUsedMouseItem As Integer = &H553174
        Public Const playerDragMouseItem As Integer = &H5531B8
        Public Const htkTextStart As Integer = &H3C9560
        Public Const htkSendStart As Integer = &H3CB990
        Public Const htkItemStart As Integer = &H3CBA2C
        Public Const htkTypeStart As Integer = &H3CBAF8
        Public Const battleListStart As Integer = &H5AC238
        Public Const containerStart As Integer = &H5EA13C
        Public Const equipamentsStart As Integer = &H5E9284
        Public Const mapStart As Integer = &H5E93AC
        Public Const lastStatusBar As Integer = &H40D810
    Code:
     
        I do not know if they are good??????
    
        Public Const charSelectNames As Integer = &H553A38
        Public Const charSelectQtds As Integer = &H5EA6B4
        Public Const coolDownCategoryStart As Integer = &H40F72C
        Public Const coolDownItemsStart As Integer = &H40F71C
        Public Const coolDownItems As Integer = &H40F728

  2. #2
    Good Job

  3. #3
    Junior Member
    Join Date
    Jul 2013
    Location
    PL
    Posts
    16
    Is there any chance of posting uint addresses?

  4. #4
    Administrator
    Join Date
    Mar 2007
    Posts
    1,723
    Quote Originally Posted by tretus View Post
    Is there any chance of posting uint addresses?
    Wow...you should probably read up a little more.

    (uint Address = 0x123456;) and (int Address = 0x123456;) are, for the most part, exactly the same. Both uint and int hold 32-bit (4-byte) integers, one is signed and the other is unsigned (uint is obviously unsigned). The main difference is, uint can hold values ranging from 0 through 4,294,967,295. int, however, can hold values ranging from -2,147,483,648 through 2,147,483,647. Most people use unsigned data types (uint, ushort, etc.) when storing addresses from the Tibia client because they are always positive. As far as speed is concerned, for what you're doing it doesn't matter if you use uint or int.

  5. #5
    Quote Originally Posted by Jo3Bingham View Post
    Both uint and int hold 32-bit (4-byte) integers, one is signed and the other is unsigned (uint is obviously unsigned).
    Usually they are 32 bit, but it depends from platform.

  6. #6
    Junior Member
    Join Date
    Jul 2013
    Location
    PL
    Posts
    16
    Quote Originally Posted by Jo3Bingham View Post
    Wow...you should probably read up a little more.

    (uint Address = 0x123456 and (int Address = 0x123456 are, for the most part, exactly the same. Both uint and int hold 32-bit (4-byte) integers, one is signed and the other is unsigned (uint is obviously unsigned). The main difference is, uint can hold values ranging from 0 through 4,294,967,295. int, however, can hold values ranging from -2,147,483,648 through 2,147,483,647. Most people use unsigned data types (uint, ushort, etc.) when storing addresses from the Tibia client because they are always positive. As far as speed is concerned, for what you're doing it doesn't matter if you use uint or int.
    Great explanation, but as you can see UINT != INTEGER ,
    so I cannot use this addreses, because my methods works for UINT types, and they do not expect Integer and i'm not gonna change whole code just because first person was an Integer Man, and when next update would came and UINT man shared his addresses as first I would had to change my code again and again...
    So I raise my first request:
    Could someone share with Uint32 addresses here?

  7. #7
    Senior Member
    Join Date
    Jan 2012
    Posts
    417
    Quote Originally Posted by tretus View Post
    Great explanation, but as you can see UINT != INTEGER ,
    so I cannot use this addreses, because my methods works for UINT types, and they do not expect Integer and i'm not gonna change whole code just because first person was an Integer Man, and when next update would came and UINT man shared his addresses as first I would had to change my code again and again...
    So I raise my first request:
    Could someone share with Uint32 addresses here?
    Could you simply put a single 'U' in front of all these "Integer"? If so, you got the job done.

    Hint: you can use THE_ADDRESS_LIST.Replace("Integer", "UInteger") or any kind of regex strategy available in most programming languages. Otherwise, replace it by hand because there are just a few lines.

  8. #8
    Senior Member
    Join Date
    Apr 2008
    Posts
    689
    He must be trolling

  9. #9
    Junior Member
    Join Date
    Jul 2013
    Location
    PL
    Posts
    16
    Quote Originally Posted by Farsa View Post
    He must be trolling
    My bad, those "&H" misly me.
    Now I see that conversion, which I have to use is simply:

    Integer = &H57E455 => uint = 0x57E455

    Thanks for replies.
    Great job with addresses!

  10. #10
    Senior Member
    Join Date
    Sep 2007
    Posts
    230
    Quote Originally Posted by tretus View Post
    Integer = &H57E455 => uint = 0x57E455
    That's not right, it's not the type that determines what to use it's the language itself. &H is the prefix used in Visual Basic (and some other BASIC-based languages) to designate a hexadecimal number literal while C (and some of its derived languages such as C#) use a 0x prefix instead.

Posting Permissions

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