Page 1 of 1

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

Posted: Sat Apr 25, 2020 2:44 pm
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...

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

Posted: Tue May 12, 2020 7:27 am
by Paul44
Small update + added 2 scripts to collect structnames...

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

Posted: Tue May 12, 2020 12:51 pm
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

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

Posted: Wed May 13, 2020 6:10 am
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) ...

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

Posted: Wed May 13, 2020 6:38 am
by SunBeam
^ They apply to other Anvil games :) Not to Ubi games in general.

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

Posted: Sun Sep 11, 2022 1:46 pm
by Burch
Many thanks!