Skip to content

examineSearchInfo packet.searchComment malformed and truncated #77

@sadtaco

Description

@sadtaco

struct.searchComment = MachinaModels.getString(struct.data, 0x24, 0x30); can't possibly be right, as far as I understand the code, because searchComment can be up to 60 characters and 60 characters wouldn't fit in there.

I'm seeing things like.
01234567nopqrstuvwxyz when it shows in game as abcdefghijklmnopqrstuvwxyz01234567. Both missing characters and putting the end of it at the front while missing the end of it, if that makes sense.

I would presume it needs to be 0x24 to 0x84 to fit all 60 characters? Or it might only be 0x24 to 0x64 in my testing on the other examine searchComment (op code 439), but not exactly sure for the examineSearchInfo.
I'm not sure what's causing it to have the end part swapped with the middle, though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions