Skip to content

Conversation

@eisbaer66
Copy link
Contributor

When in DEBUG this message is used when a unknown NetMessageType is encountered. The DebugMessage first assumes it has a length of 1 and tries to parse the rest of the stream. Increasing the size and restarting the parse whenever it encouters an error. If the remaining stream can be parsed successfully we Debug.Write that size for further investigation.

not really tested just used it for the unknown NetMessageType 34 (/pull/3)
could maybe figure out the length of multiple unkown messages but i have it set up so it restarts when it finds the second unknown message (to try an other size). Also never tested this!

tries to parse the stream with increaseing sizes of unknown messages;
not really tested just used it for the unknown NetMessageType 34;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant