From 9f4bccc2368d4f50f95c0303bd90916831d2403e Mon Sep 17 00:00:00 2001 From: AmeliaCute <48628282+AmeliaCute@users.noreply.github.com> Date: Wed, 17 Sep 2025 08:19:41 +0100 Subject: [PATCH 01/12] Auto action --- .github/workflows/header-update.yml | 36 +++++++++++++++++++++++++++++ include | 2 +- src/ModLoader.cpp | 7 +----- 3 files changed, 38 insertions(+), 7 deletions(-) create mode 100644 .github/workflows/header-update.yml diff --git a/.github/workflows/header-update.yml b/.github/workflows/header-update.yml new file mode 100644 index 0000000..e7c7675 --- /dev/null +++ b/.github/workflows/header-update.yml @@ -0,0 +1,36 @@ +name: "Update submodule to latest" + +on: + push: + branches: [ "auto/action-fix-branch" ] + +permissions: + contents: write + +jobs: + update-submodule: + runs-on: ubuntu-latest + steps: + - name: Checkout repo + uses: actions/checkout@v4 + with: + fetch-depth: 0 + submodules: recursive + token: ${{ secrets.GITHUB_TOKEN }} + + - name: Config user + run: | + git config user.name "github-actions[bot]" + git config user.email "github-actions[bot]@users.noreply.github.com" + + - name: Update submodule + run: | + git submodule set-branch --branch main include + git submodule update --init --remote include + git add include + if ! git diff --staged --quiet; then + git commit -m "[skip ci] update include submodule to latest main" + git push + else + echo "No update required" + fi diff --git a/include b/include index 4c675e9..e9e22b6 160000 --- a/include +++ b/include @@ -1 +1 @@ -Subproject commit 4c675e998261276b2c3f0f13422e4713a3943b6a +Subproject commit e9e22b6a9f2372c0180654abc4bc2c2fd03d1577 diff --git a/src/ModLoader.cpp b/src/ModLoader.cpp index 9a04cb2..2a193a5 100644 --- a/src/ModLoader.cpp +++ b/src/ModLoader.cpp @@ -14,19 +14,14 @@ DWORD WINAPI ModLoader::init(LPVOID lpParam) { patcher.add(new EventHook(EventType::ClickEvent, 0x657DC32)); patcher.applyPatches(baseAddress); gameData = new GameData(reinterpret_cast(GetModuleHandle(nullptr))); - gameData->initOthersData(); gameCache = new GameCache(); modEnvironnement = new ModEnvironnement("../../Content/Mods"); modEnvironnement->PreLoad(); gameCache->PostLoadCache(); + gameData->initOthersData(); modEnvironnement->PostLoad(); - - UGDSRequestQuestConfig* test = nullptr; - gameData->waitObject(&test, "GDSRequestQuestConfig", 1); - logger->error(test->m_dataMap.Data.Count); - return 0; } From 92b31ff7b62ca9e89ce26aa7a38084ca53281cd1 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 17 Sep 2025 07:20:19 +0000 Subject: [PATCH 02/12] [skip ci] update include submodule to latest main --- include | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include b/include index e9e22b6..ad5f236 160000 --- a/include +++ b/include @@ -1 +1 @@ -Subproject commit e9e22b6a9f2372c0180654abc4bc2c2fd03d1577 +Subproject commit ad5f23663f0bfe21bd1c1da72040ba08a6804f75 From 0cbffff3d64793ad505a85c6cecb52b7b782b93e Mon Sep 17 00:00:00 2001 From: AmeliaCute <48628282+AmeliaCute@users.noreply.github.com> Date: Wed, 17 Sep 2025 08:21:18 +0100 Subject: [PATCH 03/12] Okay it work :3 --- .github/workflows/header-update.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/header-update.yml b/.github/workflows/header-update.yml index e7c7675..aac9aee 100644 --- a/.github/workflows/header-update.yml +++ b/.github/workflows/header-update.yml @@ -2,7 +2,7 @@ name: "Update submodule to latest" on: push: - branches: [ "auto/action-fix-branch" ] + branches: [ "master" ] permissions: contents: write From 6bc4c153421d4e4b6cdad0a40c92193c1b52813b Mon Sep 17 00:00:00 2001 From: Amelia <48628282+AmeliaCute@users.noreply.github.com> Date: Fri, 19 Sep 2025 06:25:08 +0100 Subject: [PATCH 04/12] Update include commit when doing a pull request on Master --- .github/workflows/header-update.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/header-update.yml b/.github/workflows/header-update.yml index aac9aee..98017d2 100644 --- a/.github/workflows/header-update.yml +++ b/.github/workflows/header-update.yml @@ -1,7 +1,7 @@ name: "Update submodule to latest" on: - push: + pull_request: branches: [ "master" ] permissions: From 06703df990343e14821d0029683351b1b1c590ef Mon Sep 17 00:00:00 2001 From: Amelia <48628282+AmeliaCute@users.noreply.github.com> Date: Fri, 19 Sep 2025 06:34:46 +0100 Subject: [PATCH 05/12] Update header-update.yml --- .github/workflows/header-update.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/header-update.yml b/.github/workflows/header-update.yml index 98017d2..d3af65c 100644 --- a/.github/workflows/header-update.yml +++ b/.github/workflows/header-update.yml @@ -30,7 +30,7 @@ jobs: git add include if ! git diff --staged --quiet; then git commit -m "[skip ci] update include submodule to latest main" - git push + git push origin HEAD:${github.head_ref} else echo "No update required" fi From 1dd8efbbaf21188f9350548f9523ace1effcb50d Mon Sep 17 00:00:00 2001 From: Amelia <48628282+AmeliaCute@users.noreply.github.com> Date: Fri, 19 Sep 2025 06:36:19 +0100 Subject: [PATCH 06/12] Bouffone* --- .github/workflows/header-update.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/header-update.yml b/.github/workflows/header-update.yml index d3af65c..99c7021 100644 --- a/.github/workflows/header-update.yml +++ b/.github/workflows/header-update.yml @@ -30,7 +30,7 @@ jobs: git add include if ! git diff --staged --quiet; then git commit -m "[skip ci] update include submodule to latest main" - git push origin HEAD:${github.head_ref} + git push origin HEAD:${{github.head_ref}} else echo "No update required" fi From fdb13a1ab5f2672b451d392013547d8f8ee9cace Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 19 Sep 2025 05:36:31 +0000 Subject: [PATCH 07/12] [skip ci] update include submodule to latest main --- include | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include b/include index ad5f236..0eff87d 160000 --- a/include +++ b/include @@ -1 +1 @@ -Subproject commit ad5f23663f0bfe21bd1c1da72040ba08a6804f75 +Subproject commit 0eff87d9f0c2983260666c366173018925dcef96 From 34b601ab346322858b5524b392f6be5632679dfe Mon Sep 17 00:00:00 2001 From: Amelia <48628282+AmeliaCute@users.noreply.github.com> Date: Mon, 24 Nov 2025 08:55:13 +0000 Subject: [PATCH 08/12] Update issue templates --- .github/ISSUE_TEMPLATE/bug_report.md | 43 ++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000..49bc779 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,43 @@ +--- +name: Bug report +about: Create a report to help us improve +title: "[BUG REPORT] " +labels: bug +assignees: AmeliaCute, EltyDev + +--- + +**Describe the bug** +A clear and concise description of what the bug is. + +**To Reproduce** +Steps to reproduce the behavior: +``` + + + +``` + + +**Expected behavior** +``` + + + +``` + +**Screenshots / Videos** +If applicable, add screenshots to help explain your problem. + +FLiAPI Version: `1.10` + +Mod list: +``` +- +- + +``` + + +**Additional context** +Add any other context about the problem here. From 8e04408ee2e498346a404fe4410d8b41501fc639 Mon Sep 17 00:00:00 2001 From: AmeliaCute <48628282+AmeliaCute@users.noreply.github.com> Date: Wed, 24 Dec 2025 13:10:16 +0000 Subject: [PATCH 09/12] Update offsets for GObjects, GNames, and GWorld in Offset.h --- include | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include b/include index 0eff87d..9a00f65 160000 --- a/include +++ b/include @@ -1 +1 @@ -Subproject commit 0eff87d9f0c2983260666c366173018925dcef96 +Subproject commit 9a00f65bd1c8ef365956078fc5c0afe04ec0dbfd From ba838b0260550191f5fdaa8da0a88ae90fec0119 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 24 Dec 2025 13:11:08 +0000 Subject: [PATCH 10/12] [skip ci] update include submodule to latest main --- include | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include b/include index 9a00f65..0eff87d 160000 --- a/include +++ b/include @@ -1 +1 @@ -Subproject commit 9a00f65bd1c8ef365956078fc5c0afe04ec0dbfd +Subproject commit 0eff87d9f0c2983260666c366173018925dcef96 From ff5bd77a94d24dc2e7b2ae231bc00f4a89ce418d Mon Sep 17 00:00:00 2001 From: AmeliaCute <48628282+AmeliaCute@users.noreply.github.com> Date: Wed, 24 Dec 2025 13:15:48 +0000 Subject: [PATCH 11/12] update submodule to latest commit --- include | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include b/include index 0eff87d..9a9aac2 160000 --- a/include +++ b/include @@ -1 +1 @@ -Subproject commit 0eff87d9f0c2983260666c366173018925dcef96 +Subproject commit 9a9aac298dc96e87bf250a26aa722e30bd685377 From a2bd4c388c26540427cd57ba2ea85a7e216f1065 Mon Sep 17 00:00:00 2001 From: AmeliaCute <48628282+AmeliaCute@users.noreply.github.com> Date: Wed, 24 Dec 2025 13:17:58 +0000 Subject: [PATCH 12/12] MAIS LAISSE MOI PR --- src/ModLoader.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ModLoader.cpp b/src/ModLoader.cpp index 2a193a5..8625c73 100644 --- a/src/ModLoader.cpp +++ b/src/ModLoader.cpp @@ -22,6 +22,7 @@ DWORD WINAPI ModLoader::init(LPVOID lpParam) { gameCache->PostLoadCache(); gameData->initOthersData(); modEnvironnement->PostLoad(); + return 0; }