Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions AMBuilder
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ for sdk_target in MMSPlugin.sdk_targets:
'src/buttonwatch.cpp',
'src/topdefender.cpp',
'src/idlemanager.cpp',
'src/cvarwhitelist.cpp',
'src/cfgparser.cpp',
'src/mapmigrations.cpp',
'sdk/entity2/entitysystem.cpp',
'sdk/entity2/entityidentity.cpp',
Expand Down
4 changes: 4 additions & 0 deletions CS2Fixes.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,8 @@
<ClCompile Include="src\zombiereborn.cpp" />
<ClCompile Include="src\entitylistener.cpp" />
<ClCompile Include="src\leader.cpp" />
<ClCompile Include="src\cvarwhitelist.cpp" />
<ClCompile Include="src\cfgparser.cpp" />
<ClCompile Include="src\mapmigrations.cpp" />
<ClCompile Include="sdk\tier1\convar.cpp" />
<ClCompile Include="src\utils\entity.cpp" />
Expand Down Expand Up @@ -291,6 +293,8 @@
<ClInclude Include="src\zombiereborn.h" />
<ClInclude Include="src\entitylistener.h" />
<ClInclude Include="src\leader.h" />
<ClInclude Include="src\cvarwhitelist.h" />
<ClInclude Include="src\cfgparser.h" />
<ClCompile Include="src\mapmigrations.h" />
<ClInclude Include="src\utils\entity.h" />
<ClInclude Include="src\utils\module.h" />
Expand Down
12 changes: 12 additions & 0 deletions CS2Fixes.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,12 @@
<ClCompile Include="src\entwatch.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\cvarwhitelist.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\cfgparser.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\utils\weapon.cpp">
<Filter>Source Files\utils</Filter>
</ClCompile>
Expand Down Expand Up @@ -394,6 +400,12 @@
<ClInclude Include="src\entwatch.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="src\cvarwhitelist.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="src\cfgparser.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="src\cs2_sdk\entity\cpointworldtext.h">
<Filter>Header Files\cs2_sdk\entity</Filter>
</ClInclude>
Expand Down
2 changes: 2 additions & 0 deletions PackageScript
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,9 @@ for task in MMSPlugin.binaries:
builder.AddCopy(os.path.join('configs', 'admins.jsonc.example'), configs_folder)
builder.AddCopy(os.path.join('configs', 'discordbots.jsonc.example'), configs_folder)
builder.AddCopy(os.path.join('configs', 'maplist.jsonc.example'), configs_folder)
builder.AddCopy(os.path.join('configs', 'cvar_whitelist.jsonc.example'), configs_folder)
builder.AddCopy(os.path.join('cfg', MMSPlugin.metadata['name'], 'cs2fixes.cfg'), cfg_folder)
builder.AddCopy(os.path.join('cfg', MMSPlugin.metadata['name'], 'server.cfg.example'), cfg_folder)
builder.AddCopy(os.path.join('cfg', MMSPlugin.metadata['name'], 'maps', 'de_somemap.cfg'), mapcfg_folder)
builder.AddCopy(os.path.join('configs', 'zr', 'playerclass.jsonc.example'), zr_folder)
builder.AddCopy(os.path.join('configs', 'zr', 'weapons.cfg.example'), zr_folder)
Expand Down
1 change: 1 addition & 0 deletions cfg/cs2fixes/cs2fixes.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ cs2f_prevent_using_players 0 // Whether to prevent +use from hitting players (
cs2f_map_steamids_enable 0 // Whether to make Steam ID's available to maps
cs2f_fix_game_bans 0 // Whether to fix CS2 game bans spreading to all new joining players
cs2f_free_armor 0 // Whether kevlar (1+) and/or helmet (2) are given automatically
cs2f_cvarwhitelist_enable 0 // Whether to enable the custom ConVar whitelist for maps
cs2f_block_particle_msgs 0 // Whether to block CUserMsg_ParticleManager messages to fix lag/crashes, experimental
cs2f_disable_setmodel 0 // Whether to disable SetModel usage from maps (custom input, cs_script function)
cs2f_allow_duck_spam 0 // Whether to allow duck spamming by removing the duck slowdown, clients will only partially predict [0 = disabled, 1 = both teams, 2 = T only, 3 = CT only]
Expand Down
3 changes: 3 additions & 0 deletions cfg/cs2fixes/server.cfg.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// This config is executed every map start like cfg/server.cfg, but fixes a bug for properly bypassing the ConVar whitelist
// Like exec, use exec_custom to execute another cfg through this custom cfg parser:
// exec_custom gamemode_casual_custom
Loading