Skip to content

darkerz7/CSSharp-Fixes

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CS#Fixes

CS#Fixes is a CounterStrikeSharp plugin that fixes some bugs in Counter-Strike 2 and adds some commonly requested features. This plugin is intended to replace CS2Fixes for servers that run CS# since CS2Fixes often conflicts with CS# plugins. (Unlike cs2fixes, every feature in this plugin is optional and can be enabled or disabled via ConVars).

Features

  • Water Fix: Fixes being stuck to the floor underwater, allowing players to swim up.
  • trigger_push Fix: Reverts trigger_push behaviour to that seen in CS:GO.
  • CPhysBox Use Patch: Fixes CPhysBox use. Makes func_physbox pass itself as the caller in OnPlayerUse.
  • No Block: Prevent players from blocking each other. (Sets debris collision on every player).
  • Disable Team Messages: Disables team chat messages and wheel.
  • Disable Subtick Movement: Disables sub-tick movement.
  • Movement Unlocker: Enables movement unlocker.
  • Force Full Alltalk: Enforces sv_full_alltalk 1.
  • HammerID Fix: Fixes a bug when the entity is missing m_sUniqueHammerID.
  • Emit Sound Volume Fix: Fixes the problem that volume is not being applied when using EmitSound function in any type of plugins.

ConVars

  • css_fixes_water_fix: Enable or disable the water fix. Default is 1.
  • css_fixes_trigger_push_fix: Enable or disable the trigger_push fix. Default is 0.
  • css_fixes_cphys_box_use_fix: Enable or disable the CPhysBox use patch. Default is 0.
  • css_fixes_no_block: Enable or disable the no block feature. Default is 0.
  • css_fixes_disable_team_messages: Enable or disable team messages. Default is 0.
  • css_fixes_disable_sub_tick_movement: Enable or disable the disable subtick movement feature. Default is 0.
  • css_fixes_enable_movement_unlocker: Enable or disable the movement unlocker feature. Default is 0.
  • css_fixes_enforce_full_alltalk: Enable or disable the force full alltalk feature. Default is 0.
  • css_fixes_navmesh_lookup_lag_fix: Enable or disable lag fix with map-integrated navmeshes(Enable bots). Default is 0.
  • css_fixes_hammerid_fix: Enable or disable the HammerID fix. Default is 0.
  • css_fixes_emit_sound_volume_fix: Enable or disable EmitSoundVolume fix. Default is 0.

Why make this plugin when CS2Fixes already exists?

The primary motive for making this plugin was because I wanted the water fix from cs2fixes, but I couldn't run cs2fixes on my server because it conflicted with other plugins. Specifically it consumed chat commands in a way that conflicted with command handling in CS#. Additionally, I could have forked cs2fixes and kept it as a MetaMod plugin, but then I would have had the problem of maintaining a C++ plugin for both windows and linux, whereas with CS# I can just compile one plugin that is platform-agnostic, thus lowering the maintenance burden. Additionally, there are more developers making plugins for CS# than there are for MetaMod, so I figured it would be easier for others to assist in maintaining the plugin if it were written in C#. Also, it should be noted that unlike CS2Fixes, this plugin is not made for the Zombie Escape gamemode, thus it doesn't have the features that are specific to that gamemode or that I felt should probably be implemented in their own plugins like administrative features and ZE specific features.

About

CS#Fixes - A CounterStrikeSharp plugin with common fixes and features for CS2 servers.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%