Outdated[3.13.8.0]Base pointer and offsets to develop your own external ESP

Posts 115 of 22 · Page 1 of 2
[3.13.8.0]Base pointer and offsets to develop your own external ESP
Hello cheaters,

I am currently trying to develop my very first external ESP and this is a long road but I release the pointers i found in game's memory for now and maybe it would help someone else.
At this moment I am currently working on finding base pointers for arrays of vehicles/on-floor items and other players

IN SINGLEPLAYER
Values like ammunation, vehicle fuel, player health or player xp can be modified using CheatEngine

IN MULTIPLAYER
All values have to be set by server, values are read only and will be overwritten if you try to edit them

To see how to use those addresses in CheatEngine, please take a look at uncypher's post which is already very well explained
For those who didn't know, the bool type can only take 2 values : 0x0 which means False or 0x1 meaning True

 
Pointer to LocalPlayer

Pointer to struct at Unturned.exe + 0110C3C8
offsets have to be set from bottom to top in CheatEngine
3.13.7.1 offsets : { 7D0, 3F8, 98, 600, 18 }
3.13.8.0 offsets : { 7D0, 3F8, 98, 608, 18 }
At the adress found is a pointer to Player data structure, so you can add a 0 offset to this address to go directly to Player Structure


Player Structure content:

 
Player Inventory - Offset 40

- offset 68 -> pointer to in hand item
[In-Hand Item Structure]
|- offset 16C holdingTKey (attaching equipment) (size byte; type bool)
|- offset 178 isShooting (do not edit) (size byte; type bool)
|- offset 192 ammo if item is gun (size byte; decimal) (edits only working on single player, max 255, shoot to take effect)
|- offset 1A6 isAiming (size byte; type bool)

 
Player Status - Offset 48

- offset 90 -> isalive (size byte; type bool)
- offset 91 -> Health (size byte; type decimal)
- offset 92 -> Health also (?) (size byte; type decimal)
- offset 93 -> Food (size byte; type decimal)
- offset 94 -> Drink (size byte; type decimal)
- offset 95 -> Poison (size byte; type decimal)
- offset 96 -> unknown (size byte; type bool)
- offset 97 -> Stamina (size byte)
- offset 99 -> Bleeding (size byte, type bool)
- offset 9A -> Fracture (size byte; type bool)
- offset 9B -> Freezing - untested (size byte; type bool)

Thanks to uncypher earlier work in this region

 
Player Skills - Offset 58

- offset 54 -> current XP (size 4 bytes; type decimal)

 
Player Position - offset 60
The first three values are not update when player is inside a vehicle
- offset 80 -> z position (type float)
- offset 84 -> y position (type float)
- offset 88 -> X position (type float)
- offset C8 -> pointer to vehicle player is in (or 0x0 if none)
[Vehicle Structure]
|- offset A2 -> vehicle ID (size 2 bytes)
|- offset A4 -> fuel (size 2 bytes; 0 to 65535)
|- offset A6 -> vehicle vitality (size 2 bytes; 0 to 65535)
|- offset F4 -> z position (type float)
|- offset F8 -> y position (type float)
|- offset FC -> x position (type float)
|- offset 100 -> initial z (type float)
|- offset 104 -> initial y (type float)
|- offset 108 -> initial x (type float)

 
Player View - offset 68

- offset 88 -> xoy player view angle in degrees (size 4 bytes; type float)
- offset 8C -> xoz player view angle in degrees, modulo 360 (size 4 bytes; type float)


I did not tried to edit all these values so please feedback yours.
Enjoy
I did not understand anything! You can make a video or something please
Quote Originally Posted by gogaz View Post
Hello cheaters,

I am currently trying to develop my very first external ESP and this is a long road but I release the pointers i found in game's memory for now and maybe it would help someone else.
At this moment I am currently working on finding base pointers for arrays of vehicles/on-floor items and other players

IN SINGLEPLAYER
Values like ammunation, vehicle fuel, player health or player xp can be modified using CheatEngine

IN MULTIPLAYER
All values have to be set by server, values are read only and will be overwritten if you try to edit them

To see how to use those addresses in CheatEngine, please take a look at uncypher's post which is already very well explained
For those who didn't know, the bool type can only take 2 values : 0x0 which means False or 0x1 meaning True

 
Pointer to LocalPlayer

Pointer to struct at Unturned.exe + 0110C3C8
offsets have to be set from bottom to top in CheatEngine
3.13.7.1 offsets : { 7D0, 3F8, 98, 600, 18 }
3.13.8.0 offsets : { 7D0, 3F8, 98, 608, 18 }
At the adress found is a pointer to Player data structure, so you can add a 0 offset to this address to go directly to Player Structure


Player Structure content:

 
Player Inventory - Offset 40

- offset 68 -> pointer to in hand item
[In-Hand Item Structure]
|- offset 16C holdingTKey (attaching equipment) (size byte; type bool)
|- offset 178 isShooting (do not edit) (size byte; type bool)
|- offset 192 ammo if item is gun (size byte; decimal) (edits only working on single player, max 255, shoot to take effect)
|- offset 1A6 isAiming (size byte; type bool)

 
Player Status - Offset 48

- offset 90 -> isalive (size byte; type bool)
- offset 91 -> Health (size byte; type decimal)
- offset 92 -> Health also (?) (size byte; type decimal)
- offset 93 -> Food (size byte; type decimal)
- offset 94 -> Drink (size byte; type decimal)
- offset 95 -> Poison (size byte; type decimal)
- offset 96 -> unknown (size byte; type bool)
- offset 97 -> Stamina (size byte)
- offset 99 -> Bleeding (size byte, type bool)
- offset 9A -> Fracture (size byte; type bool)
- offset 9B -> Freezing - untested (size byte; type bool)

Thanks to uncypher earlier work in this region

 
Player Skills - Offset 58

- offset 54 -> current XP (size 4 bytes; type decimal)

 
Player Position - offset 60
The first three values are not update when player is inside a vehicle
- offset 80 -> z position (type float)
- offset 84 -> y position (type float)
- offset 88 -> X position (type float)
- offset C8 -> pointer to vehicle player is in (or 0x0 if none)
[Vehicle Structure]
|- offset A2 -> vehicle ID (size 2 bytes)
|- offset A4 -> fuel (size 2 bytes; 0 to 65535)
|- offset A6 -> vehicle vitality (size 2 bytes; 0 to 65535)
|- offset F4 -> z position (type float)
|- offset F8 -> y position (type float)
|- offset FC -> x position (type float)
|- offset 100 -> initial z (type float)
|- offset 104 -> initial y (type float)
|- offset 108 -> initial x (type float)

 
Player View - offset 68

- offset 88 -> xoy player view angle in degrees (size 4 bytes; type float)
- offset 8C -> xoz player view angle in degrees, modulo 360 (size 4 bytes; type float)


I did not tried to edit all these values so please feedback yours.
Enjoy
Are you trying to make an ESP using CE?
son...
I am currently trying to develop my very first external ESP and this is a long road but I release the pointers i found in game's memory for now and maybe it would help someone else.
@orsofir11 @SolarHacks
Quote Originally Posted by gogaz View Post
I am currently trying to develop my very first external ESP and this is a long road but I release the pointers i found in game's memor...
Learn to read goddammit.
Make a video pls :v
Are you honestly trying to make esp with ce?
Quote Originally Posted by Lividia View Post
Are you honestly trying to make esp with ce?
Yes I am.
I'm locating pointers with CheatEngine and then I'll add their addresses to my C# source code with visual studio...
Actually I'll need work on this because I'm going to use some MW3 external esp source code I found randomly (or maybe the DayZ esp, I'll see)

Problem ?
Quote Originally Posted by Lividia View Post
Are you honestly trying to make esp with ce?
If he got his Console/App with another sourcecode already, he really just need to find the Values and Cheat Engine is a proper way to do that. He doesnt even need to find a way to draw the textures, if hes able to scan for the right values, I would already call it a functioning ESP
Quote Originally Posted by orsofir11 View Post
I did not understand anything! You can make a video or something please
Quote Originally Posted by BetoMpz View Post
Make a video pls :v
Ok, sorry for advanced users but this will be a very detailed reply as I won't release any video of this, but here is a

Little tutorial to get it work

Let's say you want to access to in-hand gun ammunation amount

1. open Unturned
2. open CheatEngine and stay on its window
3. click on top left icon to select process to open and choose Unturned.exe
4. click on "Add address manually" in the center right of the window
5. in the opened box click on the "Pointer" checkbox and fill the lowermost address textbox with "Unturned.exe + 0110C3C8"
6. now click "Add offset" 4 times, and fill boxes, from bottom to top with values : { 7D0, 3F8, 98, 608, 18 } and click OK
7. you now have an address recorded in CE which address should look like "P->XXXXXXXX"
8. now go back to game and start a game in singleplayer mode on your favourite map and get a gun into hands
9. go back to CE and do steps 4 and 5 again
10. this time, in the address field, put the address after the P-> you found at step 9
11. scroll back to my post and you can see the ammo value is contained by the "player's inventory" structure which is located at offset 40; so set offset 40 (within the chevron buttons)
12. You also see the ammo value is inside the "In-Hand Item" structure which is at offset 68 in the player's inventory structure so click add offset and put offset 68
13. now add offset 192 to get to the ammo
14. finally set the Type to byte because ammo is stored as byte and click ok
(15.) right click on the entry you just added and go to "Change record > Value" and put whatever you want here (255 is the max for a byte record) and now try to shoot in game and if you're not in multi, you should have your ammo changed

If you do not have the correct value after step 14 get sure you put the correct type and offsets orders
Hope this helps
can you make tutorial in stamina???

- - - Updated - - -

what happend after step 10 cant understand it
Quote Originally Posted by astharoth890 View Post
can you make tutorial in stamina???

- - - Updated - - -

what happend after step 10 cant understand it
After step 10, don't close the small window opened by cheatEngine to add offsets to get to ammo

Actually there's some little errors in my post, the stamina offset is 9C and not 97 as I wrote
And the stamina value can be edited in multiplayer to have infinite stamina
Quote Originally Posted by gogaz View Post
After step 10, don't close the small window opened by cheatEngine to add offsets to get to ammo

Actually there's some little errors in my post, the stamina offset is 9C and not 97 as I wrote
And the stamina value can be edited in multiplayer to have infinite stamina
hehehe so maybe thats the reason why i cant get it hahah thanks
Hey ! ist sound cool , but some people dont know who use that , please make a video. And thanks for ist post.
So, nobody developed it yet I guess?
Posts 115 of 22 · Page 1 of 2

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?