Skip to content

Commit 0935bc4

Browse files
committed
1.0.2
- remove movement unlocker - update readme
1 parent a9ba56a commit 0935bc4

File tree

7 files changed

+3
-60
lines changed

7 files changed

+3
-60
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,11 @@ CS#Fixes but for SharpTimer
66

77
- Water Fix: Fixes being stuck to the floor underwater, allowing players to swim up.
88
- trigger_push Fix: Reverts trigger_push behaviour to that seen in CS:GO.
9-
- Disable Subtick Movement: Currently sets movement to 128t, will be configurable in future.
10-
- Movement Unlocker: Enables movement unlocker.
9+
- Configure Subtick Movement: Completely desubtick + set desired tickrate on server
1110

1211
## ConVars
1312

1413
- css_fixes_water_fix: Enable or disable the water fix. Default is 1.
1514
- css_fixes_trigger_push_fix: Enable or disable the trigger_push fix. Default is 1.
1615
- css_fixes_disable_sub_tick_movement: Enable or disable the disable subtick movement feature. Default is 1.
17-
- css_fixes_enable_movement_unlocker: Enable or disable the movement unlocker feature. Default is 0.
16+
- css_fixes_desired_tickrate: Set desired tickrate float. Default is 64.0f

STFixes/ConVars.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,13 @@ public partial class STFixes
3030
public FakeConVar<bool> EnableTriggerPushFix = new("css_fixes_trigger_push_fix", "Reverts trigger_push behaviour to that seen in CS:GO.", true);
3131
public FakeConVar<bool> DisableSubTickMovement = new("css_fixes_disable_sub_tick_movement", "Disables sub-tick movement.", true);
3232
public FakeConVar<float> DesiredTickrate = new("css_fixes_desired_tickrate", "Desired tickrate for the server.", 64.0f);
33-
public FakeConVar<bool> EnableMovementUnlocker = new("css_fixes_enable_movement_unlocker", "Enables movement unlocker.", false);
3433

3534
private void RegisterConVars()
3635
{
3736
EnableWaterFix.ValueChanged += (sender, value) => { _configuration.EnableWaterFix = value; };
3837
EnableTriggerPushFix.ValueChanged += (sender, value) => { _configuration.EnableTriggerPushFix = value; };
3938
DisableSubTickMovement.ValueChanged += (sender, value) => { _configuration.DisableSubTickMovement = value; };
4039
DesiredTickrate.ValueChanged += (sender, value) => { _configuration.DesiredTickrate = value; };
41-
EnableMovementUnlocker.ValueChanged += (sender, value) => { _configuration.EnableMovementUnlocker = value; };
4240

4341
RegisterFakeConVars(typeof(ConVar));
4442
}

STFixes/Config/Configuration.cs

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ public class Configuration(ILogger<STFixes> logger, FixManager fixManager) : INo
3030
private bool enableTriggerPushFix = true;
3131
private bool disableSubTickMovement = true;
3232
public static float desiredTickrate = 64.0f;
33-
private bool enableMovementUnlocker = false;
3433

3534
public event PropertyChangedEventHandler? PropertyChanged;
3635

@@ -122,18 +121,5 @@ public float DesiredTickrate
122121
}
123122
}
124123
}
125-
126-
public bool EnableMovementUnlocker
127-
{
128-
get => enableMovementUnlocker;
129-
set
130-
{
131-
if (enableMovementUnlocker != value)
132-
{
133-
enableMovementUnlocker = value;
134-
OnPropertyChanged();
135-
}
136-
}
137-
}
138124
}
139125
}

STFixes/Config/ModuleInformation.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ namespace STFixes.Config;
2222
public class ModuleInformation
2323
{
2424
public string ModuleName => "ST-Fixes";
25-
public string ModuleVersion => "1.0.1";
25+
public string ModuleVersion => "1.0.2";
2626
public string ModuleAuthor => "hypnos <hyps.dev>, rcnoob";
2727
public string ModuleDescription => "SharpTimer Fixes";
2828
}

STFixes/Fixes/MovementUnlockerFix.cs

Lines changed: 0 additions & 33 deletions
This file was deleted.

STFixes/Managers/FixManager.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ public void Start()
8484
_fixes.Add(new WaterFix());
8585
_fixes.Add(new TriggerPushFix());
8686
_fixes.Add(new SubTickMovementFix());
87-
_fixes.Add(new MovementUnlockerFix());
8887
}
8988

9089
public void Stop()

STFixes/Managers/PatchManager.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,19 +61,13 @@ private void LoadCommonPatches()
6161
AddServerPatch("FixWaterFloorJump", "CheckJumpButtonWater", "11 43");
6262
AddServerPatch("WaterLevelGravity", "WaterLevelGravity", "3C 02");
6363
AddServerPatch("CategorizeUnderwater", "CategorizeUnderwater", "0F 42");
64-
65-
// Server Movement Unlocker
66-
AddServerPatch("ServerMovementUnlock", "ServerMovementUnlock", "90 90 90 90 90 90");
6764
}
6865
else
6966
{
7067
// Water Fix
7168
AddServerPatch("FixWaterFloorJump", "CheckJumpButtonWater", "11 43");
7269
AddServerPatch("WaterLevelGravity", "WaterLevelGravity", "3C 02");
7370
AddServerPatch("CategorizeUnderwater", "CategorizeUnderwater", "73");
74-
75-
// Server Movement Unlocker
76-
AddServerPatch("ServerMovementUnlock", "ServerMovementUnlock", "EB");
7771
}
7872
}
7973

0 commit comments

Comments
 (0)