How to Make Offset Script and Offset Explained
Introduction
Hello friends. In this video, we are going to talk about offsets and how to use them in a memory editor called Game Guardian.
In Game Guardian, you can open an address view by searching a value, tapping the value, and then tapping Go To. The green text you see there is the value address in hexadecimal (hex) format.
What Is Offset?
The simplest explanation is: offset means distance. It is the distance between two values in memory.
To calculate offset between two values, select both values and use the distance feature. It is just subtraction of one hex address from another.
Why Use Offset in Scripts?
- Faster script activation: Search one nearby value, then apply offset to reach the main value and refine quickly.
- Extra script protection: Simple group-search scripts are easier to copy. Offset-based flow can be harder for beginners to understand from logs.
- Value chaining: If one value (for example, diamond) is near another value (for example, gold), you can jump between them using offset very fast.
How to Make an Offset Script
Take this game as an example where score is 12. Tap the score value and tap Go To. Choose a nearby value that is stable and useful for your group search.
Select your main value and nearby non-changing value, then find the offset. Copy the nearby value and start script recording.
Search the nearby value, save results, apply offset, and reach your real score value. Stop recording. Game Guardian will generate a script file with code.
Run that code to verify output. Then open the recorded script file, edit the generated code, and reuse it in your own script menu.
Final Notes
If you do not know group search, watch Tutorial 9 in the Telegram channel first. If you are new to script writing, check the beginner scripting videos or the free beginner guidebook.
Keep practicing. Offset usage becomes much easier after a few real examples.