Ash Katchup
01-08-2015, 05:55 AM
Hello there.
I've seen a couple of new users having trouble when gathering data from Tibianic's client. As i was bored tonight, i've decided to download this custom client and take a look around.
Bad news: Indeed, the health addresses changes every time we reload Tibia.
Good news: There is an easy way to workaround this "anti-bot feature"!
Before we start, i'd like to formally write my thanks to:
-XtrmJash, who explained me the concept of pointers and why would someone use them;
-LordOfWar, owner of the legendary TibiabotNG and who posted a thread showing an easy way to find pointers (http://tpforums.org/forum/threads/4076-How-to-find-static-pointers-in-Tibia-s-memory?p=37360&viewfull=1#post37360)
Also, there are tons of posts and threads on TPForums about memory reading and pointers. Each one of them was made by people who got more knowledge than me. Anyway, i'm going to explain some concepts with my words, even if the explanation isn't 100% accurate.
So, let's start.
Basically there are two kinds of memory addresses:
-Statics: the ones that didn't change when you reload your client (eg.: health, mana, battlelist start);
-Non-statics: as the name suggest, the kind of addresses that changes every time you open a new client (eg.: Tibia GUI pointer, Tibia MAP pointer);
It's easy as hell to find static addresses: open tibia, open CheatEngine, do your search until you get a green address (static).
The problem comes when there isn't a green address. You'll probably find addresses that shows the data you're looking for, but they're going to became useless as just you reopen Tibia Client.
And this is what happens on Tibianic health address (and maybe others; I can’t test with mana because I’m a lv 1 and don’t want to play now).
Here comes our savior: pointers
What on earth a pointer is?
Well, let us imagine that a normal address is like a door to your fridge. If you open the door (read the address), you’ll find what you want (bacon <3).
Now, imagine that you’re living a fucking nightmare that your fridge (address) moves itself every time you get home (open the client). What happens? No bacon D:
There is two ways to fight this:
(1) = Look for your fridge every time you get home;
(2) = Tie a piece of string to the fridge’s door
The first option would work fine if you own a small house. But Tibianic is a big house. You know, Beckham’s mansion like. And you fucking love bacon.
Let’s go for 2nd option, guys.
Basically, this is how a pointer works.
You have no clue where the data (bacon) you need is stored at (fridge), but you know that a pointer (string) will lead the way.
And the string’s length is called offset.
So, as Tibianic’s health address changes, you’ll need to find a pointer that goes to this tricky address.
How? This is where LordOfWar’s guide comes into hand.
CheatEngine offer us a really easy way to found pointers: it is called “Pointer Scan”.
Just follow this steps:
1. Log-in into Tibianic and search for your own health;
http://s13.postimg.org/if9z140tj/image.jpg
2. You’ll get many addresses. Maybe tons. Just lose/gain some health and repeat the process with “Next Scan” button.
3. Repeat Step 2 until you get ONE address.
http://s23.postimg.org/ibwev61bv/image.jpg
4. Double click on the address to send it to the “bottom list”.
http://s28.postimg.org/h6lq1lut9/image.jpg
5. On this “bottom list”, right click on the address and select Pointer scan for this address.
http://s18.postimg.org/by05sm1t5/image.jpg
I've seen a couple of new users having trouble when gathering data from Tibianic's client. As i was bored tonight, i've decided to download this custom client and take a look around.
Bad news: Indeed, the health addresses changes every time we reload Tibia.
Good news: There is an easy way to workaround this "anti-bot feature"!
Before we start, i'd like to formally write my thanks to:
-XtrmJash, who explained me the concept of pointers and why would someone use them;
-LordOfWar, owner of the legendary TibiabotNG and who posted a thread showing an easy way to find pointers (http://tpforums.org/forum/threads/4076-How-to-find-static-pointers-in-Tibia-s-memory?p=37360&viewfull=1#post37360)
Also, there are tons of posts and threads on TPForums about memory reading and pointers. Each one of them was made by people who got more knowledge than me. Anyway, i'm going to explain some concepts with my words, even if the explanation isn't 100% accurate.
So, let's start.
Basically there are two kinds of memory addresses:
-Statics: the ones that didn't change when you reload your client (eg.: health, mana, battlelist start);
-Non-statics: as the name suggest, the kind of addresses that changes every time you open a new client (eg.: Tibia GUI pointer, Tibia MAP pointer);
It's easy as hell to find static addresses: open tibia, open CheatEngine, do your search until you get a green address (static).
The problem comes when there isn't a green address. You'll probably find addresses that shows the data you're looking for, but they're going to became useless as just you reopen Tibia Client.
And this is what happens on Tibianic health address (and maybe others; I can’t test with mana because I’m a lv 1 and don’t want to play now).
Here comes our savior: pointers
What on earth a pointer is?
Well, let us imagine that a normal address is like a door to your fridge. If you open the door (read the address), you’ll find what you want (bacon <3).
Now, imagine that you’re living a fucking nightmare that your fridge (address) moves itself every time you get home (open the client). What happens? No bacon D:
There is two ways to fight this:
(1) = Look for your fridge every time you get home;
(2) = Tie a piece of string to the fridge’s door
The first option would work fine if you own a small house. But Tibianic is a big house. You know, Beckham’s mansion like. And you fucking love bacon.
Let’s go for 2nd option, guys.
Basically, this is how a pointer works.
You have no clue where the data (bacon) you need is stored at (fridge), but you know that a pointer (string) will lead the way.
And the string’s length is called offset.
So, as Tibianic’s health address changes, you’ll need to find a pointer that goes to this tricky address.
How? This is where LordOfWar’s guide comes into hand.
CheatEngine offer us a really easy way to found pointers: it is called “Pointer Scan”.
Just follow this steps:
1. Log-in into Tibianic and search for your own health;
http://s13.postimg.org/if9z140tj/image.jpg
2. You’ll get many addresses. Maybe tons. Just lose/gain some health and repeat the process with “Next Scan” button.
3. Repeat Step 2 until you get ONE address.
http://s23.postimg.org/ibwev61bv/image.jpg
4. Double click on the address to send it to the “bottom list”.
http://s28.postimg.org/h6lq1lut9/image.jpg
5. On this “bottom list”, right click on the address and select Pointer scan for this address.
http://s18.postimg.org/by05sm1t5/image.jpg