Jump to content

Unknown values in class and character editors


CT075
 Share

Recommended Posts

Does anyone have any idea what the indexes in the character/class structs marked as "unknown" (indexes 9/10 in the class struct, indexes 7/48 in the character struct, etc) are used for? I've screwed around with putting different values into there without any obvious effects (though there may be some case that i've overlooked), but maybe my modules are just outdated.

I'm convinced that the zero values at the end of the character struct are to pad it out so it 4-aligns, though.

Link to comment
Share on other sites

Padding structs to be 4 byte aligned is a common compiler thing I'm pretty sure. The other bytes may be padding as well so that accesses of following fields are aligned.

You could try setting a breakpoint

Link to comment
Share on other sites

I tried that on some of them, nothing came up but I wasn't particularly thorough

I'm just afraid that it'll do something if there's some weird value fed into it

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...