Results 1 to 2 of 2
  1. #1
    nero1232's Avatar
    Join Date
    Mar 2017
    Gender
    male
    Posts
    11
    Reputation
    10
    Thanks
    0

    AOB Script Saving Addresses

    Hi,

    I have a AOB script that compares a certain offset in the base address to '3653' if it is 3653 then I want to save this address in my own array (thousands of addresses are referenced by this instruction but I only need 8 of them, these 8 all have that 3653 in common).

    How can I do this in the script? I would want a space in memory to write these specific 8 addresses when they are found but have no clue how to do this.

    Also how can I then get a pointer to that new array I have made in memory?

    E.g. I would want globalalloc(myarray,32) to hold the 8 values one after the other and then have some kind of pointer that I can access to this array, so I can then write some c++ to access it or something like that.

    Thanks

  2. #2
    Nimboso's Avatar
    Join Date
    Sep 2015
    Gender
    male
    Posts
    554
    Reputation
    21
    Thanks
    2,636
    Quote Originally Posted by nero1232 View Post
    Hi,

    I have a AOB script that compares a certain offset in the base address to '3653' if it is 3653 then I want to save this address in my own array (thousands of addresses are referenced by this instruction but I only need 8 of them, these 8 all have that 3653 in common).

    How can I do this in the script? I would want a space in memory to write these specific 8 addresses when they are found but have no clue how to do this.

    Also how can I then get a pointer to that new array I have made in memory?

    E.g. I would want globalalloc(myarray,32) to hold the 8 values one after the other and then have some kind of pointer that I can access to this array, so I can then write some c++ to access it or something like that.

    Thanks
    So if I understand you correctly you have an instruction that you want to hook, and if the address it accesses + your offsets has a value of 3653, add it to a list?

Similar Threads

  1. Introduction to Updating Auto Assembly Scripts (AOB Scan)
    By Blitz in forum Game Hacking Tutorials
    Replies: 4
    Last Post: 04-28-2011, 12:23 AM
  2. [Tutorial] [How]Save your account for script.
    By cottar blood in forum WarRock Discussions
    Replies: 10
    Last Post: 04-22-2011, 02:55 AM
  3. [Help]Reading address values and saving them? - VB
    By master131 in forum Visual Basic Programming
    Replies: 17
    Last Post: 09-26-2010, 08:31 AM
  4. 1.0.117 - Memory Addresses + CheatEngine Save File
    By Raener in forum Call of Duty Modern Warfare 2 Coding / Programming / Source Code
    Replies: 2
    Last Post: 01-21-2010, 01:54 AM
  5. Saving Addresses plz help
    By critan in forum Combat Arms Hacks & Cheats
    Replies: 9
    Last Post: 08-18-2008, 09:24 PM