Gitea canonical URLs and CI repo guard; stack gems and trade goods to 200
- Point docs, clone examples, launcher package/repo defaults, and GitHub Actions repository guards at HighSocietyRaiding/Fractured (Gitea). - Add db_world update: stackable 200 for item classes 3 (gems), 7 (trade goods), and 5 (reagents) where stack size was below 200. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -30,7 +30,7 @@ env:
|
||||
jobs:
|
||||
meta:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository == 'Dawnforger/Fractured'
|
||||
if: github.repository == 'HighSocietyRaiding/Fractured'
|
||||
outputs:
|
||||
tag: ${{ steps.t.outputs.tag }}
|
||||
steps:
|
||||
@@ -46,7 +46,7 @@ jobs:
|
||||
|
||||
build-electron:
|
||||
needs: meta
|
||||
if: github.repository == 'Dawnforger/Fractured'
|
||||
if: github.repository == 'HighSocietyRaiding/Fractured'
|
||||
runs-on: windows-latest
|
||||
timeout-minutes: 45
|
||||
steps:
|
||||
@@ -82,7 +82,7 @@ jobs:
|
||||
|
||||
sync-distro:
|
||||
needs: [meta, build-electron]
|
||||
if: github.repository == 'Dawnforger/Fractured'
|
||||
if: github.repository == 'HighSocietyRaiding/Fractured'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
# Secrets: GITEA_BASE_URL, GITEA_TOKEN, GITEA_OWNER, GITEA_REPO
|
||||
# Optional variable: GITEA_TARGET_REF (see tools/fractured-launcher-electron/README.md)
|
||||
#
|
||||
# Job guard: edit `if:` if github.repository is not Dawnforger/Fractured.
|
||||
# Job guard: edit `if:` if github.repository is not HighSocietyRaiding/Fractured.
|
||||
|
||||
name: Sync release to Gitea
|
||||
|
||||
@@ -43,7 +43,7 @@ concurrency:
|
||||
jobs:
|
||||
meta:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository == 'Dawnforger/Fractured'
|
||||
if: github.repository == 'HighSocietyRaiding/Fractured'
|
||||
outputs:
|
||||
tag: ${{ steps.t.outputs.tag }}
|
||||
steps:
|
||||
@@ -76,7 +76,7 @@ jobs:
|
||||
|
||||
build-electron:
|
||||
needs: meta
|
||||
if: github.repository == 'Dawnforger/Fractured'
|
||||
if: github.repository == 'HighSocietyRaiding/Fractured'
|
||||
runs-on: windows-latest
|
||||
timeout-minutes: 45
|
||||
steps:
|
||||
@@ -123,7 +123,7 @@ jobs:
|
||||
|
||||
build-electron-linux:
|
||||
needs: meta
|
||||
if: github.repository == 'Dawnforger/Fractured'
|
||||
if: github.repository == 'HighSocietyRaiding/Fractured'
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 45
|
||||
steps:
|
||||
@@ -175,7 +175,7 @@ jobs:
|
||||
|
||||
sync-gitea:
|
||||
needs: [meta, build-electron, build-electron-linux]
|
||||
if: github.repository == 'Dawnforger/Fractured'
|
||||
if: github.repository == 'HighSocietyRaiding/Fractured'
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
GITEA_BASE_URL: ${{ secrets.GITEA_BASE_URL }}
|
||||
|
||||
@@ -127,7 +127,7 @@ brew install cmake boost openssl@3 mysql readline ncurses p7zip
|
||||
## 2. Clone the repo
|
||||
|
||||
```bash
|
||||
git clone https://github.com/Dawnforger/Fractured.git
|
||||
git clone https://git.hisora.dev/HighSocietyRaiding/Fractured.git
|
||||
cd Fractured
|
||||
```
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Fractured Client Patches
|
||||
|
||||
Binary client artifacts that pair with this server. They live on the
|
||||
[Releases page](https://github.com/Dawnforger/Fractured/releases),
|
||||
[Releases page](https://git.hisora.dev/HighSocietyRaiding/Fractured/releases),
|
||||
**not** in the tree, so the repo stays lean and binaries can be
|
||||
re-downloaded without bloating `git clone`.
|
||||
|
||||
@@ -46,7 +46,7 @@ download is the canonical clean source if you don't already have one.
|
||||
|
||||
1. Download every artifact from the latest release matching this server
|
||||
build:
|
||||
`https://github.com/Dawnforger/Fractured/releases/latest`
|
||||
`https://git.hisora.dev/HighSocietyRaiding/Fractured/releases` (open the latest release that matches this server build)
|
||||
2. Replace `Wow.exe` at the root of your client install with the patched
|
||||
one from the release. Keep a backup of the original if you want.
|
||||
3. Drop `patch-enUS-4.MPQ`, `patch-enUS-5.MPQ`, `patch-enUS-6.MPQ` into
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
-- DB update 2026_05_06_00 -> 2026_05_13_00
|
||||
-- Fractured: raise stack size to 200 for socketable gems (item class 3), all Trade Goods
|
||||
-- (class 7: cloth, leather, ore/bar, herbs, parts, elementals, dusts, etc.), and Reagents
|
||||
-- (class 5). Rows with ItemLimitCategory or maxcount still obey those limits when looting/carrying.
|
||||
|
||||
UPDATE `item_template` SET `stackable` = 200
|
||||
WHERE `class` = 3
|
||||
AND `stackable` > 0
|
||||
AND `stackable` < 200
|
||||
AND `stackable` <> 2147483647;
|
||||
|
||||
UPDATE `item_template` SET `stackable` = 200
|
||||
WHERE `class` = 7
|
||||
AND `stackable` > 0
|
||||
AND `stackable` < 200
|
||||
AND `stackable` <> 2147483647;
|
||||
|
||||
UPDATE `item_template` SET `stackable` = 200
|
||||
WHERE `class` = 5
|
||||
AND `stackable` > 0
|
||||
AND `stackable` < 200
|
||||
AND `stackable` <> 2147483647;
|
||||
@@ -1,9 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
# Clone Dawnforger/Fractured and omit Docker-only paths. Use when this script is
|
||||
# Clone HighSocietyRaiding/Fractured (Gitea) and omit Docker-only paths. Use when this script is
|
||||
# already on disk (e.g. scp). Otherwise: git clone … && cd Fractured && bash scripts/vps-sparse-checkout-no-docker.sh
|
||||
#
|
||||
# Usage:
|
||||
# bash scripts/vps-clone-without-docker.sh /path/to/Fractured git@github.com:Dawnforger/Fractured.git
|
||||
# bash scripts/vps-clone-without-docker.sh /path/to/Fractured https://git.hisora.dev/HighSocietyRaiding/Fractured.git
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
|
||||
@@ -85,7 +85,7 @@ Produces **`dist/Fractured-Launcher-${version}-Linux-x86_64.AppImage`**. Same **
|
||||
|
||||
CI workflow **Sync release to Gitea** (`.github/workflows/gitea-release-sync.yml`) runs on **every published GitHub release** on this repo:
|
||||
|
||||
1. Triggers on **release published** on **`Dawnforger/Fractured`** (or **workflow_dispatch** with a tag).
|
||||
1. Triggers on **release published** on **`HighSocietyRaiding/Fractured`** (or **workflow_dispatch** with a tag).
|
||||
2. Builds **Windows** (NSIS + portable) and **Linux** (AppImage) in parallel, each using **`tools/fractured-launcher-electron` from the default branch** (overlaid onto the tag checkout), so older release tags never ship a launcher missing new **`lib/*.js`** files.
|
||||
3. Downloads **all assets** attached to that **GitHub** release (MPQs, patched `Wow.exe`, etc.).
|
||||
4. Merges with the built launcher artifacts and uploads to a **Gitea release** with the **same tag** (existing attachments on that Gitea release are replaced). **Launcher installers** attached on GitHub (**`Fractured-Launcher*`**, case-insensitive) are **not** merged — the **CI build from the default branch** is the only source of launcher binaries, so an old installer on the GitHub release cannot “stick” on Gitea next to a newer build. **`*.blockmap`** and **`builder-debug.yml`** are omitted from the merge and from Gitea uploads.
|
||||
@@ -132,7 +132,7 @@ That script deletes only **`Fractured-Launcher*`**, **`latest.yml`** (only if yo
|
||||
2. **Manual run: tag vs title** — **Run workflow** must receive the **git tag** (e.g. `v0.7.11-paragon-…`), copied from the release page’s tag badge. Pasting the **release title** (long line with spaces/parentheses) breaks `git fetch` with `invalid refspec`.
|
||||
3. **Draft release** — Must click **Publish release**; drafts do not mirror.
|
||||
4. **Workflow on default branch** — GitHub runs `release` workflows from the **default branch** (e.g. `main`). Ensure `.github/workflows/gitea-release-sync.yml` is merged there.
|
||||
5. **Repo name guard** — Jobs use `if: github.repository == 'Dawnforger/Fractured'`. Forks or renames must change that line or runs are skipped.
|
||||
5. **Repo name guard** — Jobs use `if: github.repository == 'HighSocietyRaiding/Fractured'`. Forks or renames must change that line or runs are skipped (GitHub Actions only; canonical clone is Gitea).
|
||||
6. **Secrets** — **`GITEA_BASE_URL`**, **`GITEA_TOKEN`**, **`GITEA_OWNER`**, **`GITEA_REPO`** must be set under **Settings → Secrets and variables → Actions**. A failed “Upload to Gitea” step usually prints which is missing.
|
||||
7. **Actions tab** — Open the latest **Sync release to Gitea** run; a red **build-electron** (old tag without `package-lock.json`, etc.) or **Upload to Gitea** step shows the real error.
|
||||
8. **HTTP 422 `repo is empty`** — The Gitea repo has **no commits** yet. Push any initial commit (e.g. **Add README** in the Gitea web UI, or `git push` to **`main`**). Optionally set **`GITEA_TARGET_REF`** to match your real default branch if it is not **`main`**. From this repo you can run **`scripts/bootstrap-gitea-repo.sh`** (see script header for `GITEA_*` env or pass the HTTPS/SSH clone URL as the first argument).
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"token_env": "GITEA_TOKEN"
|
||||
},
|
||||
"github": {
|
||||
"owner": "Dawnforger",
|
||||
"owner": "HighSocietyRaiding",
|
||||
"repo": "Fractured",
|
||||
"ref": "main",
|
||||
"release_tag": "latest",
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
"main": "main.js",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/Dawnforger/Fractured.git"
|
||||
"url": "https://git.hisora.dev/HighSocietyRaiding/Fractured.git"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "electron .",
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
set -euo pipefail
|
||||
|
||||
DISTRO_REPO="${DISTRO_REPO:-Dawnforger/Fractured-Distro}"
|
||||
SOURCE_REPO="${SOURCE_REPO:-Dawnforger/Fractured}"
|
||||
SOURCE_REPO="${SOURCE_REPO:-HighSocietyRaiding/Fractured}"
|
||||
|
||||
if ! command -v gh >/dev/null 2>&1; then
|
||||
echo "Install GitHub CLI: https://cli.github.com/"
|
||||
|
||||
Reference in New Issue
Block a user