Skip to content

Commit

Permalink
Merge branch 'master' of github.com:phyzical/cs2-modded-server
Browse files Browse the repository at this point in the history
master
  • Loading branch information
phyzical committed May 30, 2024
2 parents 153ebea + dbb8a27 commit d7371ef
Show file tree
Hide file tree
Showing 155 changed files with 2,256 additions and 253 deletions.
83 changes: 49 additions & 34 deletions README.md

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions custom_files_example/cfg/MatchZy/config.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -91,5 +91,11 @@ matchzy_allow_force_ready true
// Maximum number of grenade history that may be saved per-map, per-client. Set to 0 to disable the limit and allow unlimited grenades to be stored. Default value: 512
matchzy_max_saved_last_grenades 512

// Whether player-specific smoke color is enabled or not. Default: false
matchzy_smoke_color_enabled false

// If set to true, all the players will have admin privilege. Default: false
matchzy_everyone_is_admin false

// Whether to show 'MatchZy Plugin by WD-' message on match start. Default: true
matchzy_show_credits_on_match_start false
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.233": {
"CounterStrikeSharp.API/1.0.235": {
"dependencies": {
"McMaster.NETCore.Plugins": "1.4.0",
"Microsoft.CSharp": "4.7.0",
Expand Down Expand Up @@ -523,7 +523,7 @@
}
},
"libraries": {
"CounterStrikeSharp.API/1.0.233": {
"CounterStrikeSharp.API/1.0.235": {
"type": "project",
"serviceable": false,
"sha512": ""
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@
"exec wingman"
]
},
"Casual-1.6": {
"Text": "{Green}Casual-1.6",
"Commands": [
"exec Casual-1.6.cfg"
]
},
"Deathmatch": {
"Text": "{Green}Deathmatch",
"Commands": [
Expand Down Expand Up @@ -135,6 +141,12 @@
"Commands": [
"exec soccer"
]
},
"Casual-1.6": {
"Text": "{Green}Casual-1.6",
"Commands": [
"exec Casual-1.6.cfg"
]
}
},
"DefaultOption": "No",
Expand Down Expand Up @@ -532,6 +544,33 @@
"Permissions": []
}
},
{
"Command": "1.6",
"CommandAliases": [
"casual-1.6"
],
"Description": "Switch game mode to Casual-1.6?",
"TimeToVote": 30,
"Options": {
"Yes": {
"Text": "{Green}Yes",
"Commands": [
"exec Casual-1.6.cfg"
]
},
"No": {
"Text": "{Red}No",
"Commands": []
}
},
"DefaultOption": "No",
"Style": "center",
"MinVotePercentage": 50,
"Permission": {
"RequiresAll": false,
"Permissions": []
}
},
{
"Command": "deathrun",
"CommandAliases": [],
Expand Down Expand Up @@ -665,6 +704,33 @@
"Permissions": []
}
},
{
"Command": "1.6",
"CommandAliases": [
"casual-1.6"
],
"Description": "Switch game mode to Casual-1.6?",
"TimeToVote": 30,
"Options": {
"Yes": {
"Text": "{Green}Yes",
"Commands": [
"exec Casual-1.6.cfg"
]
},
"No": {
"Text": "{Red}No",
"Commands": []
}
},
"DefaultOption": "No",
"Style": "center",
"MinVotePercentage": 50,
"Permission": {
"RequiresAll": false,
"Permissions": []
}
},
{
"Command": "cs_italy",
"CommandAliases": [],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@
"hns",
"soccer",
"dm",
"ar"
"ar",
"Casual-1.6"
]
},
"ConfigVersion": 2
Expand Down
41 changes: 24 additions & 17 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": 93,
"linux": 92
"windows": 98,
"linux": 97
}
},
"CCSPlayerController_Respawn": {
"offsets": {
"windows": 244,
"linux": 246
"windows": 254,
"linux": 256
}
},
"CBasePlayerController_SetPawn": {
"signatures": {
"library": "server",
"windows": "44 88 4C 24 20 55 57 41 54 41 56 41 57 48 8D 6C 24 ? 48 81 EC ?",
"linux": "55 48 89 E5 41 57 41 56 41 55 41 54 49 89 FC 53 48 89 F3 48 81 EC C8 00 00 00"
"windows": "44 88 4C 24 ? 55 56 57 41 54 41 56 48 8D 6C 24 ?",
"linux": "55 48 89 E5 41 57 41 56 41 89 D6 41 55 49 89 FD 41 54 45 89 C4"
}
},
"CCSPlayerPawnBase_PostThink": {
Expand All @@ -46,11 +46,18 @@
"linux": "55 48 89 E5 41 56 41 55 41 54 53 48 89 FB 48 83 EC 30 E8 ? ? ? ?"
}
},
"CGameEventManager_Init": {
"signatures": {
"library": "server",
"windows": "40 53 48 83 EC 20 48 8B 01 48 8B D9 FF 50 10",
"linux": "55 48 89 E5 41 54 49 89 FC 48 83 EC 08 48 8B 07 FF 50 18"
}
},
"GiveNamedItem": {
"signatures": {
"library": "server",
"windows": "48 89 5C 24 ? 48 89 74 24 ? 55 57 41 ? 41 ? 41 ? 48 ? ? ? ? 48 ? ? ? ? ? ? 4D ? ? 48",
"linux": "55 48 89 E5 41 57 41 56 49 89 D6 41 55 49 89 FD 41 54 48"
"linux": "55 48 89 E5 41 57 41 56 49 89 D6 41 55 49 89 CD 41 54 49 89 F4 53 48 89 FB 48 8D 3D D3 CC 7B 00"
}
},
"UTIL_Remove": {
Expand All @@ -64,7 +71,7 @@
"signatures": {
"library": "server",
"windows": "44 89 4C 24 20 44 88 44 24 18",
"linux": "55 48 89 E5 41 57 49 89 FF 41 56 41 55 41 54 4D 89 C4"
"linux": "55 48 89 E5 41 57 41 56 41 89 D6 41 55 4D 89 C5"
}
},
"CBaseModelEntity_SetModel": {
Expand Down Expand Up @@ -108,8 +115,8 @@
"CCSGameRules_TerminateRound": {
"signatures": {
"library": "server",
"windows": "48 ? ? 4C 89 48 ? 48 89 48 ? 55 41",
"linux": "55 48 89 E5 41 57 41 56 41 55 41 54 49 89 FC 53 48 81 EC E8 01 00 00 48 8D 05 ? ? ? ?"
"windows": "48 8B C4 4C 89 48 ? 48 89 48 ? 55 56",
"linux": "55 48 89 E5 41 57 41 56 41 55 41 54 49 89 FC 53 48 81 EC 88 00 00 00 48 8D 05 ? ? ? ?"
}
},
"UTIL_CreateEntityByName": {
Expand Down Expand Up @@ -144,13 +151,13 @@
"signatures": {
"library": "server",
"windows": "48 8B 15 ? ? ? ? 48 85 D2 74 ? 85 C9 74",
"linux": "48 8B 05 ? ? ? ? 48 85 C0 74 ? 83 FF 3F 76 ? 31 C0"
"linux": "48 8B 05 ? ? ? ? 48 85 C0 74 ? 85 FF"
}
},
"CBasePlayerPawn_CommitSuicide": {
"offsets": {
"windows": 360,
"linux": 360
"windows": 372,
"linux": 372
}
},
"CBasePlayerPawn_RemovePlayerItem": {
Expand All @@ -162,15 +169,15 @@
},
"CBaseEntity_Teleport": {
"offsets": {
"windows": 149,
"linux": 148
"windows": 155,
"linux": 154
}
},
"CBaseEntity_TakeDamageOld": {
"signatures": {
"library": "server",
"windows": "40 56 57 48 83 EC 58 48 8B 41 10",
"linux": "55 48 89 E5 41 57 41 56 41 55 41 54 49 89 FC 53 48 83 EC 38 4C 8D 2D ? ? ? ? 49 8B 7D 00 48 85 FF 0F 84 ? ? ? ?"
"windows": "48 89 74 24 20 57 48 83 EC 60 48 8B 41 10",
"linux": "55 48 89 E5 41 57 41 56 41 55 41 54 49 89 FC 53 48 83 EC 48 4C 8D 2D ? ? ? ? 49 8B 7D 00 48 85 FF 0F 84 ? ? ? ?"
}
},
"CBaseTrigger_StartTouch": {
Expand Down
Loading

0 comments on commit d7371ef

Please sign in to comment.