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
Internal Function Addresses
Results 1 to 5 of 5

Thread: Internal Function Addresses

  1. #1
    Senior Member
    Join Date
    Jan 2010
    Location
    Venezuela
    Posts
    366

    Internal Function Addresses

    A thread to post internal function addresses, i'll be posting them as soon as i find them up on Olly.

    ContainerClose (Arg1 = Container Number[0 = first bp])
    Code:
    0043564E   |.  E8 2D16FDFF             CALL Tibia.00406C80                             ; \Tibia.00406C80

  2. #2
    Super Moderator
    Join Date
    May 2007
    Posts
    1,191

    RE: Internal Function Addresses

    Why did you post this in the Delphi section? Internal functions can be used by other languages as well.

  3. #3
    Senior Member
    Join Date
    Aug 2007
    Posts
    232

    RE: Internal Function Addresses

    Moving character:

    stdcall - 0x004D4A40
    1 argument - direction

    direction =
    0x10d - left
    0x10e - right
    0x10c - up
    0x10f - down
    0x118 - up-left
    0x117 - down-right
    0x119 - up-right
    0x116 - down-left

    If move is impossible ("sorry not possible" appears) function will return -2.

    [hr]

    Moving items:

    cdecl - 0x00405480
    9 arguments.

    Arg1 = fromX
    Arg2 = fromY
    Arg3 - fromZ
    Arg4 = itemID
    Arg5 = fromStackPos
    Arg6 = toX
    Arg7 = toY
    Arg8 = toZ
    Arg9 = count

    Specified locations(xyz) can be backpacks for example.

    [hr]

  4. #4
    Senior Member
    Join Date
    Jan 2010
    Location
    Venezuela
    Posts
    366

    RE: Internal Function Addresses

    This code is kinda weird all it does is extract the latest said message by the character, and the lastest message shown in screen, I've seen there "You see a wooden floor."
    etc...

    Code:
    Func: 00546710  /$ 55             PUSH EBP
    
    0012ED10   00000001 // Channel Type 
    1 - Default - Say
    2 - Whisper 
    3 - Yell
    4 - ?
    5 - NPC Channel
    
    0012ED14   0012F178  ASCII "Finarfin"
    0012ED18   FFFFFFFF
    0012ED1C   0012ED30  ASCII "It's a wise idea to store your money on your bank account."
    It's in TibiaAPI too tho.

  5. #5
    Quote Originally Posted by beziak View Post
    Specified locations(xyz) can be backpacks for example.

    [hr]
    I am really sorry to bump, but how do you define the xyz of backpack then

Posting Permissions

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