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
Finding containers
Results 1 to 1 of 1

Thread: Finding containers

  1. #1
    Junior Member
    Join Date
    Mar 2015
    Posts
    17

    Finding containers

    THIS WAS WITH CLIENT 5.2 AND NO LONGER WORKS SO MSG ME IF YOU WANT TO FIND CONTAINERS

    To get the open bags/containers you need to find an address in the program that will give us the start address of the containers.

    To find this goto 0x4B15CA in the program, ecx+8 is this address.



    In my case it is 0x5C2E780, add 0x70 to this address = 0x5C2E7F0.

    This will be the start of the containers, I think you can only have 20 open in the game, so there is space for 20 containers. I have 1 open in the above image.

    Reading these addresses we can find all the items in the bags, the bag name, and size of bag.

    So using that base address for every bag:
    (a) bag size=baseAddress+0x1dc
    (b) bag name address=baseAddress+0x40
    (c) item address=itemPos*4+baseAddress+0x48


    For example using the above information...
    I have one container open, the container base address is: 0x595F830

    using (a)
    bag size is at=0x595F830+0x1dc
    at that location I find 0x14 (20)

    using (b)
    bag name address=0x595F830+0x40
    and at that location I find 0595FBA4, and at that location I find "a bag".
    You can get the bag name length looking 8 bytes before the name.

    Getting the first item in the bag using (c)
    item address=0*4+0x595F830+0x48
    going to the item address i see this

    so the item id is +4 and the amount is +8 the address that is at the item address
    in this case the first item in my bag is 1 studded leggings


    It's a bit of a maze with the pointers but hopefully I have done okay to explain, hope this helps.
    feel free to msg me or reply.
    Last edited by xbv; 10-28-2015 at 11:51 PM.

Posting Permissions

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