Skip to content

Commit 5ae522a

Browse files
authored
Merge pull request #31 from ReDevCafe/dev
update/2.0
2 parents c017dc5 + a2bd4c3 commit 5ae522a

4 files changed

Lines changed: 82 additions & 7 deletions

File tree

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: "[BUG REPORT] "
5+
labels: bug
6+
assignees: AmeliaCute, EltyDev
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**To Reproduce**
14+
Steps to reproduce the behavior:
15+
```
16+
17+
18+
19+
```
20+
21+
22+
**Expected behavior**
23+
```
24+
25+
26+
27+
```
28+
29+
**Screenshots / Videos**
30+
If applicable, add screenshots to help explain your problem.
31+
32+
FLiAPI Version: `1.10`
33+
34+
Mod list:
35+
```
36+
-
37+
-
38+
39+
```
40+
41+
42+
**Additional context**
43+
Add any other context about the problem here.
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: "Update submodule to latest"
2+
3+
on:
4+
pull_request:
5+
branches: [ "master" ]
6+
7+
permissions:
8+
contents: write
9+
10+
jobs:
11+
update-submodule:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout repo
15+
uses: actions/checkout@v4
16+
with:
17+
fetch-depth: 0
18+
submodules: recursive
19+
token: ${{ secrets.GITHUB_TOKEN }}
20+
21+
- name: Config user
22+
run: |
23+
git config user.name "github-actions[bot]"
24+
git config user.email "github-actions[bot]@users.noreply.github.com"
25+
26+
- name: Update submodule
27+
run: |
28+
git submodule set-branch --branch main include
29+
git submodule update --init --remote include
30+
git add include
31+
if ! git diff --staged --quiet; then
32+
git commit -m "[skip ci] update include submodule to latest main"
33+
git push origin HEAD:${{github.head_ref}}
34+
else
35+
echo "No update required"
36+
fi

include

src/ModLoader.cpp

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,15 @@ DWORD WINAPI ModLoader::init(LPVOID lpParam) {
1414
patcher.add(new EventHook(EventType::ClickEvent, 0x657DC32));
1515
patcher.applyPatches(baseAddress);
1616
gameData = new GameData(reinterpret_cast<uintptr_t>(GetModuleHandle(nullptr)));
17-
gameData->initOthersData();
1817

1918
gameCache = new GameCache();
2019
modEnvironnement = new ModEnvironnement("../../Content/Mods");
2120
modEnvironnement->PreLoad();
2221

2322
gameCache->PostLoadCache();
23+
gameData->initOthersData();
2424
modEnvironnement->PostLoad();
25-
26-
UGDSRequestQuestConfig* test = nullptr;
27-
gameData->waitObject(&test, "GDSRequestQuestConfig", 1);
28-
logger->error(test->m_dataMap.Data.Count);
29-
25+
3026
return 0;
3127
}
3228

0 commit comments

Comments
 (0)