Skip to content

Commit

Permalink
[core] change productstringversion
Browse files Browse the repository at this point in the history
  • Loading branch information
maecry committed Apr 12, 2024
1 parent 2590403 commit 9ea1a5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cstrike/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* - used to verify game version
*/

#define CS_PRODUCTSTRINGVERSION CS_XOR("1.39.9.5")
#define CS_PRODUCTSTRINGVERSION CS_XOR("1.40.0.2")

/*
* game's modules
Expand Down
2 changes: 1 addition & 1 deletion cstrike/core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ static bool Setup(HMODULE hModule)
}
L_PRINT(LOG_NONE) << L::SetColor(LOG_COLOR_FORE_GREEN | LOG_COLOR_FORE_INTENSITY) << CS_XOR("interfaces initialization completed");

// verify game version
// @note: this doesn't affect much, but it's good to know if we're using different version of the game
if (CRT::StringCompare(I::Engine->GetProductVersionString(), CS_PRODUCTSTRINGVERSION) != 0)
L_PRINT(LOG_WARNING) << L::SetColor(LOG_COLOR_FORE_YELLOW | LOG_COLOR_FORE_INTENSITY) << CS_XOR("version mismatch! local CS2 version: ") << CS_PRODUCTSTRINGVERSION << CS_XOR(", current CS2 version: ") << I::Engine->GetProductVersionString() << CS_XOR(". asphyxia might not function as normal.");

Expand Down

3 comments on commit 9ea1a5f

@recoil24
Copy link

Choose a reason for hiding this comment

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

actually nice and no doubt everyone is thankful for your base guys but i wish you and Exlodium kept it qo0`s way without gatekeeping the code you were also given by some1 else :(

@maecry
Copy link
Owner Author

@maecry maecry commented on 9ea1a5f Apr 15, 2024

Choose a reason for hiding this comment

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

actually nice and no doubt everyone is thankful for your base guys but i wish you and Exlodium kept it qo0`s way without gatekeeping the code you were also given by some1 else :(

What code did i even gatekeep lol i only did this base for learning purposes and dont even have any intention to make it complicated

@maecry
Copy link
Owner Author

@maecry maecry commented on 9ea1a5f Apr 15, 2024

Choose a reason for hiding this comment

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

Ah i saw your post saying stuffs about my base on qo0's repo, ic u just want a fully functional base, and fyi im not even Turkish

Please sign in to comment.