Skip to content

Do not error when failing to read NetChannel message - #209

Merged
marchc1 merged 2 commits into
SourceDotNET:mainfrom
wrldspawn:fix/netchannel-soft-fail
Oct 19, 2026
Merged

marchc1 merged 2 commits into
SourceDotNET:mainfrom
wrldspawn:fix/netchannel-soft-fail

Conversation

@wrldspawn

Copy link
Copy Markdown
Contributor

(Some?) Servers send empty CmdKeyValues to the client when connecting.

GMod just has this as DevMsg
Screenshot of ProcessMessages in IDA, showing 'failed reading' is DevMsg

@ZehMatt ZehMatt left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable, one line needs removing.

Comment thread Source.Engine/NetChannel.cs Outdated
@marchc1
marchc1 merged commit 377cf62 into SourceDotNET:main Oct 19, 2026
4 checks passed
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.

3 participants