Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

motdfile console variable can't be empty: FATAL ERROR (shutting down): COM_LoadFile: Bad path length: #919

Closed
SmileYzn opened this issue May 23, 2022 · 2 comments

Comments

@SmileYzn
Copy link

I was used motdfile variable to control motd.txt file name.

But for some reason in Linux (In Winodws works) the motdfile "" (Empty) cause a FATAL ERROR:

FATAL ERROR (shutting down): COM_LoadFile: Bad path length:

Segmentation fault

Ps. i used as empty variable to avoid MOTD to be show to players.

Someone can confirm this?

@dystopm
Copy link
Contributor

dystopm commented May 25, 2022

Testing on a random server:

motdfile
"motdfile" is "motd.txt"
motdfile ""
motdfile
"motdfile" is ""
version
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
ReHLDS version: 3.8.0.711-dev
Build date: 13:13:38 Feb 6 2021 (2492)
Build from: 722e19d

@SmileYzn
Copy link
Author

The crash occours when player enter in game with motdfile ""

Tested on 3.11.0.776 - Latest

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

No branches or pull requests

2 participants