Cheyron Posted February 7 Share Posted February 7 (edited) Hey all, after not working on mods for this game for over a decade, I decided to come back and mess around with my old mods. I am now on Complete Edition on Steam and using the latest .Net Scripthook found in this download: GTA 4 2020 Complete Edition ASI Loader + ScriptHook Mod - GTAinside.com I have noticed that the .Net ScriptHook Ped class can no longer get relationship groups. The old code was using a memory offset to read the data from memory directly. My guess is this must have changed. Does anyone know if someone has updated the script hook to fix this or can anyone help me using IDA or OllyDbg to figure it out. I decided to see if I can find some native functions in the exe file using both those debuggers but was not able to find anything in searched. For example, I converted the name "CREATE_CAR" to a hash using Jenkins One At A Time (JOOAT) and then searched for its hex value but was not finding anything. Bing Copilot did its best to help me. If anyone could help me I would appreciate it, if you can actually teach me how to find offsets for gta classes like CPed, I'd gladly donate to a paypal or patreon for the assistance. I basically would like to be able to find the function that uses a CPed relationship group and find out how it calculate the address for it. My goal would to be to be able to find the offset for relationship groups and then read the value to convert to the .net scripthook RelationshipGroup enum. Thanks! Edited February 7 by Cheyron more info Link to comment https://gtaforums.com/topic/1000591-gta-iv-complete-edition-scripthookdotnet-relationshipgroup-bug/ Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now