Search the Community
Showing results for tags 'how to search offset with game guardian'.
-
SIMPLE SCRIPT EASY TO UNDERSTAND HOW TO USE OFFSET WITH GAME GUARDIAN gg.setValues({{address=gg.getRangesList("libexample.so")[1].start+0xABC123,flags=gg.TYPE_FLOAT,value=345}}) Script Breakdown 1. gg.setValues(): This function is used to set new values in the memory of the application being modified by GameGuardian. It allows you to specify what memory address you want to change and what value you want to set there. 2. {{address=gg.getRangesList("libexample.so")[1].start+0xABC123, flags=gg.TYPE_FLOAT, value=345}}: This argument to `gg.setValues()` is a table (in Lua, tables are used to represent arrays and objects). Let’s dissect this table: gg.getRangesList("libexample.so"): This function retrieves a list of memory ranges associated with the specified library, in this case, `"libexample.so"`. The returned list includes information about different segments of memory related to this library. [1]: Accesses the first range/address(base Address) from the list. This typically refers to the main segment where the library’s data is stored. start: This property of the memory range object gives the starting address of the memory segment for `"libexample.so"`. +0xABC123: Adds an offset to the starting address. The offset `0xABC123` is a hexadecimal number which represents the specific location within the library’s memory where you want to make the change. flags=gg.TYPE_FLOAT: Specifies the type of data being modified at the target address. In this case, `gg.TYPE_FLOAT` indicates that the value being set is a floating-point number. value=345: This is the new value that will be set at the calculated address. Since `flags=gg.TYPE_FLOAT`, `345` will be interpreted as a floating-point number. Summary This script sets a floating-point value (`345`) at a specific address in the memory of the game or application. The exact address is determined by adding an offset (`0xABC123`) to the starting address of the memory range for the `"libexample.so"` library. This could be used to modify game behavior or data dynamically.
-
- offset
- Offset value
- (and 12 more)