forked from NeotokyoRebuild/neo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build integrity + server print neo_version info
* Server now just prints neo_version on startup * Server and client long git hashes are now matched up on startup to check build integrity. If they don't, the client cannot connect unless they have matching git hashes. * Server convar `neo_sv_build_integrity_check` to enable/disable this integrity check feature. Enabled by default. Debug builds integrity check bypass * Debug builds will have their first byte final bit fliped to 1 to indicate it's a debug build * This will indicate to the server that it's a debug build and if the server allows bypass, then it will * Mask out final bit before comparison to allow debug build that matches hash without first byte final bit * fixes NeotokyoRebuild#437 * fixes NeotokyoRebuild#485
- Loading branch information
1 parent
8621b06
commit 303a61a
Showing
5 changed files
with
78 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#pragma once | ||
|
||
void NeoVersionPrint(); | ||
|
||
#if defined(CLIENT_DLL) && defined(DEBUG) | ||
void InitializeDbgNeoClGitHashEdit(); | ||
#endif |