Jump to content

pedstats.dat memory address


Strs

Recommended Posts

as title says all 

 

i need pedstats.dat memory address get and set 

 

 

Link to comment
Share on other sites

none knows it 

 

ok i need it badly

Link to comment
Share on other sites

CPed + 0x59C //m_pStats  dd  offset to CPedStat

00000000 CPedStat        struc ; (sizeof=0x34, mappedto_536)
00000000 m_dwId          dd ?
00000004 m_acName        db 24 dup(?)
0000001C m_fFleeDistance dd ?
00000020 m_fHeadingChangeRate dd ?
00000024 m_nFear         db ?
00000025 m_nTemper       db ?
00000026 m_nLawfullness  db ?
00000027 m_nSexiness     db ?
00000028 m_fAttackStrength dd ?
0000002C m_fDefendWeakness dd ?
00000030 m_wShootingRate dw ?
00000032 m_nDefaultDecisionMaker db ?
00000033 _pad            db ?
00000034 CPedStat        ends

 

Link to comment
Share on other sites

Posted (edited)

Thanks bro now i can make mods

Edited by Strs
got it
Link to comment
Share on other sites

 

0A96: 2@ = ped 1@ struct //get Ped struct
2@ += 0x59C 
0A8D: 3@ = read_memory 2@ size 4 virtual_protect 0 //get PedStat offset
3@ += 0x25 //PedStat->m_nTemper
0A8D: 4@ = read_memory 3@ size 1 virtual_protect 0 //get Temper

 

Link to comment
Share on other sites

MiranDMC

Generally stuff like that you can try find yourself. Even if it is not already documented anywhere.

Modify the file you are interested in by typing is some very specific value, like for example "123.456", start the game and use CheatEngine memory search to find where that value is stored now.

Link to comment
Share on other sites

Generally stuff like that you can try find yourself. Even if it is not already documented anywhere.

Modify the file you are interested in by typing is some very specific value, like for example "123.456", start the game and use CheatEngine memory search to find where that value is stored now.

 

i try cheate engine reason is idk how to use it i watch youtube and even read documents i didnt get how to get exact static memory stuff static and struct memory they make me confuse

 

i cant remember stuff this is why i keep asking 🙄

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.