diff --git a/.github/workflows/sync-with-gitlab.yml b/.github/workflows/sync-with-gitlab.yml new file mode 100644 index 0000000..ac90586 --- /dev/null +++ b/.github/workflows/sync-with-gitlab.yml @@ -0,0 +1,31 @@ +name: Automatic sync with Gitlab's read-only mirror + +on: [workflow_dispatch, push] + +jobs: + mirror: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Set up SSH key for Runner + env: + SSH_KEY: ${{ secrets.GITLAB_DEPLOY_KEY }} + run: | + mkdir -p ~/.ssh + echo "$SSH_KEY" > ~/.ssh/id_ed25519 + chmod 600 ~/.ssh/id_ed25519 + ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts + ssh-keyscan -t rsa gitlab.com >> ~/.ssh/known_hosts + + - name: Clone repository from GitHub as mirror and push to Gitlab + env: + REPO_ORIGINAL: "https://github.com/rehlds/relocalizebugfix.git" + REPO_TARGET: "git@gitlab.com:rehlds/relocalizebugfix.git" + run: | + git clone --mirror "$REPO_ORIGINAL" repo-mirror + cd repo-mirror + git remote set-url origin "$REPO_TARGET" + git push --mirror --force diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..09f3395 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,21 @@ +# [hitboxtracker](https://github.com/rehlds/relocalizebugfix) Changelog + +> [!WARNING] +> This project is now outdated and incompatible with modern ReHLDS versions. + +ReLocalizeBug Fix was created to resolve localization issues in Half-Life dedicated servers. +However, with the updates and advancements in the ReHLDS engine, this plugin is now deprecated and not compatible with current ReHLDS builds. + +Initially developed as an extension of [LocalizeBugFix by s1lentq](https://github.com/s1lentq/localizebugfix) for HLDS, it aimed to fix localization-related bugs in the server environment but is no longer maintained. + +> [!IMPORTANT] +> This project has been [deprecated since 2017](https://github.com/rehlds/rehlds/issues/328#issuecomment-275837883). + +--- + +## [`v2.8`](https://github.com/rehlds/relocalizebugfix/releases/tag/v2.8) - 2016-11-03 + +### Added +- Public release compatible with ReHLDS + +**Full Changelog**: [v1.0](https://github.com/rehlds/hitboxtracker/commits/v2.8) diff --git a/README.md b/README.md index 360d4eb..744303a 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,20 @@ -#ReLocalizeBug Fix +## ReLocalizeBug Fix +> [!WARNING] +> This project is now outdated and incompatible with modern ReHLDS versions. -Fix exploit localization strings in chat +### Installation +To install the ReLocalizeBug Fix, add the following lines to your `addons/metamod/plugins.ini` file: + +```ini +win32 addons\relocalizebugfix\relocalizebugfix_mm.dll +linux addons/relocalizebugfix/relocalizebugfix_mm_i386.so +``` + +### Overview +ReLocalizeBug Fix was created to resolve localization issues in Half-Life dedicated servers. However, with the updates and advancements in the ReHLDS engine, this plugin is now deprecated and not compatible with current ReHLDS builds. Initially developed as an extension of [LocalizeBugFix by s1lentq](https://github.com/s1lentq/localizebugfix) for HLDS, it aimed to fix localization-related bugs in the server environment but is no longer maintained. + +> [!IMPORTANT] +> This project has been [deprecated since 2017](https://github.com/rehlds/rehlds/issues/328#issuecomment-275837883). + +### Warning +Using this plugin with newer versions of ReHLDS may lead to instability and unexpected behavior. We recommend utilizing supported plugins and features available in the latest releases.