Skip to content
Open
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 Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ FROM debian:bullseye-20240211-slim

USER root

# Run an apt update and add package dependencies
RUN apt-get update --fix-missing \
&& apt-get install -y --no-install-recommends \
sudo \
Expand Down Expand Up @@ -29,6 +30,7 @@ ENV STEAM_ACCOUNT=""
RUN echo "steam ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/steam \
&& chmod 0440 /etc/sudoers.d/steam

# $Home for the installation of cs2
ENV HOME="/home/steam/cs2/"

RUN mkdir -p $HOME && \
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ Getting up and running:
Mod | Version | Why
--- | --- | ---
[Metamod:Source](https://www.metamodsource.net/downloads.php?branch=dev) | `2.0.0-1364` | Sits between the Game and the Engine, and allows plugins to intercept calls that flow between
[CounterStrikeSharp](https://github.com/roflmuffin/CounterStrikeSharp) | `1.0.334` | Attempts to implement a .NET Core scripting layer on top of a Metamod Source Plugin, allowing developers to create plugins that interact with the game server in a modern language (C#)
[CounterStrikeSharp](https://github.com/roflmuffin/CounterStrikeSharp) | `1.0.335` | Attempts to implement a .NET Core scripting layer on top of a Metamod Source Plugin, allowing developers to create plugins that interact with the game server in a modern language (C#)
[MultiAddonManager](https://github.com/Source2ZE/MultiAddonManager) | `1.4.5` | Allows you to use multiple workshop addons at once and have clients download them
[ServerListPlayersFix](https://github.com/Source2ZE/ServerListPlayersFix) | `1.0.2` | Fixes players not showing up in the server browser
[MovementUnlocker](https://github.com/Source2ZE/MovementUnlocker)| `1.5` | Removes max speed limitation from players on the ground, feels like CS:S [How?](#i-run-a-surfkzbhop-server-and-want-movementunlocker-and-cs2fixes-rampbugfix-permanently-on)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v8.0": {
"CounterStrikeSharp.API/1.0.334": {
"CounterStrikeSharp.API/1.0.335": {
"dependencies": {
"McMaster.NETCore.Plugins": "1.4.0",
"Microsoft.CSharp": "4.7.0",
Expand Down Expand Up @@ -532,7 +532,7 @@
}
},
"libraries": {
"CounterStrikeSharp.API/1.0.334": {
"CounterStrikeSharp.API/1.0.335": {
"type": "project",
"serviceable": false,
"sha512": ""
Expand Down
Binary file not shown.
Binary file modified game/csgo/addons/counterstrikesharp/api/CounterStrikeSharp.API.pdb
Binary file not shown.
Binary file not shown.
28 changes: 14 additions & 14 deletions game/csgo/addons/counterstrikesharp/gamedata/gamedata.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,21 @@
},
"CCSPlayerController_ChangeTeam": {
"offsets": {
"windows": 107,
"linux": 106
"windows": 106,
"linux": 105
}
},
"CCSPlayerController_Respawn": {
"offsets": {
"windows": 276,
"linux": 278
"windows": 275,
"linux": 277
}
},
"CBasePlayerController_SetPawn": {
"signatures": {
"library": "server",
"windows": "48 89 5C 24 ? 57 41 54 41 55 41 56 41 57 48 83 EC ? 4C 8B 15",
"linux": "55 48 8D 87 10 08 00 00"
"linux": "55 48 8D 87 ? ? ? ? 48 89 E5 41 57 45 89 C7"
}
},
"CCSPlayerPawnBase_PostThink": {
Expand Down Expand Up @@ -78,7 +78,7 @@
"signatures": {
"library": "server",
"windows": "48 89 5C 24 ? 48 89 6C 24 ? 56 57 41 56 48 83 EC ? 48 8B 01 48 8B FA",
"linux": "55 48 8D 15 E8 EC FF FF"
"linux": "55 48 8D 15 ? ? ? ? 48 89 E5 41 55 41 54 49 89 FC 53 48 89 F3 48 83 EC ? 48 8B 07 48 8B 80 ? ? ? ?"
}
},
"CCSPlayer_ItemServices_CanAcquire": {
Expand All @@ -97,8 +97,8 @@
},
"CCSPlayer_ItemServices_GiveNamedItem": {
"offsets": {
"windows": 19,
"linux": 20
"windows": 18,
"linux": 19
}
},
"CCSPlayer_ItemServices_DropActivePlayerWeapon": {
Expand All @@ -109,8 +109,8 @@
},
"CCSPlayer_ItemServices_RemoveWeapons": {
"offsets": {
"windows": 21,
"linux": 22
"windows": 22,
"linux": 23
}
},
"CGameSceneNode_GetSkeletonInstance": {
Expand Down Expand Up @@ -189,15 +189,15 @@
},
"CBaseEntity_Teleport": {
"offsets": {
"windows": 166,
"linux": 165
"windows": 165,
"linux": 164
}
},
"CBaseEntity_TakeDamageOld": {
"signatures": {
"library": "server",
"windows": "48 89 74 24 ? 57 48 81 EC ? ? ? ? 48 8B 41 ? 48 8B FA",
"linux": "55 48 89 E5 41 57 49 89 F7 41 56 41 55 41 54 53 48 89 FB 48 81 EC 88 00 00 00 F6 46 78 02"
"windows": "4C 8B DC 56 57 48 81 EC ? ? ? ? 48 8B 41",
"linux": "55 48 89 E5 41 57 41 56 41 55 41 54 53 48 89 FB 48 81 EC ? ? ? ? 4C 8D 25 ? ? ? ? 49 8B 3C 24"
}
},
"CBaseTrigger_StartTouch": {
Expand Down
Binary file added game/csgo/counterstrikesharp-linux-1.0.335.zip
Binary file not shown.
5 changes: 4 additions & 1 deletion install_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,10 @@ echo "Installing mods"
cp -R /home/cs2-modded-server/game/csgo/ /home/${user}/cs2/game/

echo "Merging in custom files"
cp -RT /home/custom_files/ /home/${user}/cs2/game/csgo/
cp -Rf /home/cs2-modded-server/custom_files/* /home/${user}/cs2/game/csgo/

echo "Current CSS admins.json File:"
cat /home/${user}/cs2/game/csgo/addons/counterstrikesharp/configs/admins.json

chown -R ${user}:${user} /home/${user}

Expand Down