AC 4: Black Flag ~ HowTo get data structure from its name

Section's for general approaches on hacking various options in games. No online-related discussions/posts OR warez!
Post Reply
Paul44
RCE Fanatics
RCE Fanatics
Posts: 887
Joined: Thu Jul 27, 2017 9:02 am
Reputation: 566

AC 4: Black Flag ~ HowTo get data structure from its name

Post by Paul44 »

I got this info taught to me by #Sunbeam some time back (so definitely to his credits). Just in case you are wondering why/how he got all those structure names in the 1st place...

Find doc here: [ [Link] ]

Still a document in progress (there are few things I do need to update); but I have some (minuscule) hope that we are going to see these names pop-ing up in no-AC titles as well...
Last edited by Paul44 on Fri Mar 12, 2021 6:51 pm, edited 1 time in total.

Paul44
RCE Fanatics
RCE Fanatics
Posts: 887
Joined: Thu Jul 27, 2017 9:02 am
Reputation: 566

Re: AC 4: Black Flag ~ HowTo get data structure from its name

Post by Paul44 »

Small update + added 2 scripts to collect structnames...

User avatar
SunBeam
Administration
Administration
Posts: 4932
Joined: Sun Feb 04, 2018 7:16 pm
Reputation: 4630

Re: AC 4: Black Flag ~ HowTo get data structure from its name

Post by SunBeam »

Note that AC1 and Wildlands don't have the Class names stored. Instead, the developers chose to "space" them out. GetName leads to a string of 1 byte that's a 0x20 (ASCII for space character). We'll see what Valhalla brings to the table :P

Paul44
RCE Fanatics
RCE Fanatics
Posts: 887
Joined: Thu Jul 27, 2017 9:02 am
Reputation: 566

Re: AC 4: Black Flag ~ HowTo get data structure from its name

Post by Paul44 »

^ are we talking about the same AC1; just tested iit: (most names definiitely differ with future titles, but do seem to pop up for some)
172A858 ~ SocialStealthData (invisible flag)
17259D0 ~ DNAMemoryManager (health)
168C748 ~ Entity (coordinates)
...

That said: good to know that them "rules" also apply to other Ubi-games (using those particular game engines, I assume) ...

User avatar
SunBeam
Administration
Administration
Posts: 4932
Joined: Sun Feb 04, 2018 7:16 pm
Reputation: 4630

Re: AC 4: Black Flag ~ HowTo get data structure from its name

Post by SunBeam »

^ They apply to other Anvil games :) Not to Ubi games in general.

Burch
Noobzor
Noobzor
Posts: 7
Joined: Tue May 16, 2017 4:50 pm
Reputation: 3

Re: AC 4: Black Flag ~ HowTo get data structure from its name

Post by Burch »

Many thanks!

Post Reply

Who is online

Users browsing this forum: No registered users