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 85

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
Object address
Results 1 to 4 of 4

Thread: Object address

  1. #1

    Object address

    I see many videos on how to addresses from get hp, mp, xor, gui, etc.
    But i can't see how i can get Object, object to use, Send automatically (HKStart, HkStep, etc).

    Someone can show me how ?
    Last edited by brunopbarrote; 09-02-2014 at 08:29 PM.

  2. #2
    Senior Member Lolrapa's Avatar
    Join Date
    Mar 2014
    Posts
    125
    Are you trying to get an entire object from memory? Like a data structure?

  3. #3
    Actually im trying to know, how can i extract some addresses.
    In all videos or threads that i see, they don't show how to get some addresses. But all bot examples sources have their address. Just to exemplify, i see inside a open source bot, this code below, and that example dont seems to work, since all Text values are too strange.
    Code:
            public List<Hotkey> getHotkeys()
            {
                List<Hotkey> hks = new List<Hotkey>();
    
                for (int i = 0; i < 36; i++)
                {
                    Listinha item = new Listinha();
                    UInt32 ThisReadOffset = (fMain.Base + Hotkeys.HKStart) + (uint)(i * (int)Hotkeys.HKStep); // MessageBox.Show(Read.ReadString(Util.Base + 0x3C6B98));
    
                    // Add list order here
                    if (i < 12)
                    {
                        item.Key = "F" + Convert.ToString(i + 1);
                    }
                    else if (11 < i && i < 25)
                    {
                        item.Key = "Shift+F" + Convert.ToString(i - 12);
                    }
                    else if (24 < i && i < 36)
                    {
                        item.Key = "Ctrl+F" + Convert.ToString(i - 23);
                    }
                    item.Text = ReadString(ThisReadOffset, 256);
                    if (item.Text == "")
                    {
                        item.Text = Convert.ToString(ReadInt32(Base + Hotkeys.HKItemStart + (uint)(i * (int)Hotkeys.HKItemStep)));
                    }
                    hks.Add(item);
                }
                return hks;
            }
    So the main question is how to get those address ?
    Quote Originally Posted by Lolrapa View Post
    Are you trying to get an entire object from memory? Like a data structure?

  4. #4
    Senior Member
    Join Date
    Jan 2012
    Posts
    417
    set some sequence of hotkeys.
    ex:
    f1 = "lalala lelele"
    f2 = "lelele lalala"
    f3 = "haha hehe"
    f4 = "hehe haha"

    Search in Cheat Engine for these spells.

    f1 most likely will be the first spell in the memory (this will be your hotkeys start address)
    f2 the second
    f3 ...

    This mean you can find all hotkeys adding a certain 'step'. This step is the difference between consecutive hotkeys (f1-f2 or f2-f3, or f3-f4, etc) in address.

    ex:
    suppose the following
    f1 is at address 0xDEADBEEF
    f2 is at address 0xDEFECA7E

    so step will be 'f2 - f1 = 0xDEFECA7E - 0xDEADBEEF'

    Since there are up to 36 spells, you do a for = 1, 36 to loop through them all

Posting Permissions

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