mirror of
https://github.com/azerothcore/mod-solo-lfg
synced 2025-11-29 15:58:17 +08:00
chore(Module/Structure): update structure (#36)
* chore(Module/Structure): update structure * fix build * update readme
This commit is contained in:
72
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
Normal file
72
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
Normal file
@@ -0,0 +1,72 @@
|
|||||||
|
name: Bug report
|
||||||
|
description: Create a bug report to help us improve.
|
||||||
|
title: "Bug: "
|
||||||
|
body:
|
||||||
|
- type: textarea
|
||||||
|
id: current
|
||||||
|
attributes:
|
||||||
|
label: Current Behaviour
|
||||||
|
description: |
|
||||||
|
Description of the problem or issue here.
|
||||||
|
Include entries of affected creatures / items / quests / spells etc.
|
||||||
|
If this is a crash, post the crashlog (upload to https://gist.github.com/) and include the link here.
|
||||||
|
Never upload files! Use GIST for text and YouTube for videos!
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: expected
|
||||||
|
attributes:
|
||||||
|
label: Expected Behaviour
|
||||||
|
description: |
|
||||||
|
Tell us what should happen instead.
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: reproduce
|
||||||
|
attributes:
|
||||||
|
label: Steps to reproduce the problem
|
||||||
|
description: |
|
||||||
|
What does someone else need to do to encounter the same bug?
|
||||||
|
placeholder: |
|
||||||
|
1. Step 1
|
||||||
|
2. Step 2
|
||||||
|
3. Step 3
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: extra
|
||||||
|
attributes:
|
||||||
|
label: Extra Notes
|
||||||
|
description: |
|
||||||
|
Do you have any extra notes that can help solve the issue that does not fit any other field?
|
||||||
|
placeholder: |
|
||||||
|
None
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
|
- type: textarea
|
||||||
|
id: commit
|
||||||
|
attributes:
|
||||||
|
label: AC rev. hash/commit
|
||||||
|
description: |
|
||||||
|
Copy the result of the `.server debug` command (if you need to run it from the client get a prat addon)
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: input
|
||||||
|
id: os
|
||||||
|
attributes:
|
||||||
|
label: Operating system
|
||||||
|
description: |
|
||||||
|
The Operating System the Server is running on.
|
||||||
|
i.e. Windows 11 x64, Debian 10 x64, macOS 12, Ubuntu 20.04
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: custom
|
||||||
|
attributes:
|
||||||
|
label: Custom changes or Modules
|
||||||
|
description: |
|
||||||
|
List which custom changes or modules you have applied, i.e. Eluna module, etc.
|
||||||
|
placeholder: |
|
||||||
|
None
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
33
.github/ISSUE_TEMPLATE/feature_request.yml
vendored
Normal file
33
.github/ISSUE_TEMPLATE/feature_request.yml
vendored
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
name: Feature request
|
||||||
|
description: Suggest an idea for this project
|
||||||
|
title: "Feature: "
|
||||||
|
body:
|
||||||
|
- type: markdown
|
||||||
|
attributes:
|
||||||
|
value: |
|
||||||
|
Thank you for taking your time to fill out a feature request. Remember to fill out all fields including the title above.
|
||||||
|
An issue that is not properly filled out will be closed.
|
||||||
|
- type: textarea
|
||||||
|
id: description
|
||||||
|
attributes:
|
||||||
|
label: Describe your feature request or suggestion in detail
|
||||||
|
description: |
|
||||||
|
A clear and concise description of what you want to happen.
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: solution
|
||||||
|
attributes:
|
||||||
|
label: Describe a possible solution to your feature or suggestion in detail
|
||||||
|
description: |
|
||||||
|
A clear and concise description of any alternative solutions or features you've considered.
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
|
- type: textarea
|
||||||
|
id: additional
|
||||||
|
attributes:
|
||||||
|
label: Additional context
|
||||||
|
description: |
|
||||||
|
Add any other context or screenshots about the feature request here.
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
43
.github/workflows/core-build.yml
vendored
43
.github/workflows/core-build.yml
vendored
@@ -7,43 +7,6 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
strategy:
|
uses: azerothcore/reusable-workflows/.github/workflows/core_build_modules.yml@main
|
||||||
fail-fast: false
|
with:
|
||||||
matrix:
|
module_repo: ${{ github.event.repository.name }}
|
||||||
compiler: [clang]
|
|
||||||
runs-on: ubuntu-20.04
|
|
||||||
name: ${{ matrix.compiler }}
|
|
||||||
env:
|
|
||||||
COMPILER: ${{ matrix.compiler }}
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
repository: 'azerothcore/azerothcore-wotlk'
|
|
||||||
ref: 'master'
|
|
||||||
submodules: 'recursive'
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
submodules: 'recursive'
|
|
||||||
path: 'modules/mod-solo-lfg'
|
|
||||||
- name: Cache
|
|
||||||
uses: actions/cache@v2
|
|
||||||
with:
|
|
||||||
path: var/ccache
|
|
||||||
key: ccache:${{ matrix.compiler }}:${{ github.ref }}:${{ github.sha }}
|
|
||||||
restore-keys: |
|
|
||||||
ccache:${{ matrix.compiler }}:${{ github.ref }}
|
|
||||||
ccache:${{ matrix.compiler }}
|
|
||||||
- name: Configure OS
|
|
||||||
run: source ./acore.sh install-deps
|
|
||||||
env:
|
|
||||||
CONTINUOUS_INTEGRATION: true
|
|
||||||
- name: Create conf/config.sh
|
|
||||||
run: source ./apps/ci/ci-conf.sh
|
|
||||||
- name: Import db
|
|
||||||
run: source ./apps/ci/ci-import-db.sh
|
|
||||||
- name: Build
|
|
||||||
run: source ./apps/ci/ci-compile.sh
|
|
||||||
- name: Dry run
|
|
||||||
run: source ./apps/ci/ci-worldserver-dry-run.sh
|
|
||||||
- name: Check startup errors
|
|
||||||
run: source ./apps/ci/ci-error-check.sh
|
|
||||||
|
|||||||
@@ -1,9 +0,0 @@
|
|||||||
CU_SET_PATH("CMAKE_LFG_SOLO_DIR" "${CMAKE_CURRENT_LIST_DIR}")
|
|
||||||
|
|
||||||
AC_ADD_SCRIPT("${CMAKE_CURRENT_LIST_DIR}/src/Lfg_Solo.cpp")
|
|
||||||
|
|
||||||
AC_ADD_SCRIPT_LOADER("LfgSolo" "${CMAKE_CURRENT_LIST_DIR}/src/loader.h")
|
|
||||||
|
|
||||||
AC_ADD_CONFIG_FILE("${CMAKE_CURRENT_LIST_DIR}/conf/SoloLfg.conf.dist")
|
|
||||||
|
|
||||||
message("-- Solo LFG CONFIGURED --")
|
|
||||||
@@ -1,5 +1,11 @@
|
|||||||
|
#  AzerothCore
|
||||||
|
|
||||||
# Solo Dungeon Finder
|
# Solo Dungeon Finder
|
||||||
|
|
||||||
|
- Latest build status with azerothcore:
|
||||||
|
|
||||||
|
[](https://github.com/azerothcore/mod-solo-lfg)
|
||||||
|
|
||||||
## Description
|
## Description
|
||||||
|
|
||||||
Allows for players to use dungeon finder solo or in groups less than and up to 5 players. Use on azerothcore 3.3.5a. Good companion module for mod-solocraft and mod-autobalance.
|
Allows for players to use dungeon finder solo or in groups less than and up to 5 players. Use on azerothcore 3.3.5a. Good companion module for mod-solocraft and mod-autobalance.
|
||||||
@@ -41,7 +47,6 @@ copy the file SoloLfg.conf.dist to SoloLfg.conf and edit it (keep both files).
|
|||||||
b. Then do a docker-compose up
|
b. Then do a docker-compose up
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Credits
|
## Credits
|
||||||
* [Traesh: Original Script](https://github.com/Traesh)
|
* [Traesh: Original Script](https://github.com/Traesh)
|
||||||
* [Micrah/Milestorme: Module Creator](https://github.com/milestorme).
|
* [Micrah/Milestorme: Module Creator](https://github.com/milestorme).
|
||||||
|
|||||||
25
pull_request_template.md
Normal file
25
pull_request_template.md
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
<!-- First of all, THANK YOU for your contribution. -->
|
||||||
|
|
||||||
|
## Changes Proposed:
|
||||||
|
-
|
||||||
|
-
|
||||||
|
|
||||||
|
## Issues Addressed:
|
||||||
|
<!-- If your fix has a relating issue, link it below -->
|
||||||
|
- Closes
|
||||||
|
|
||||||
|
## SOURCE:
|
||||||
|
<!-- If you can, include a source that can strengthen your claim -->
|
||||||
|
|
||||||
|
## Tests Performed:
|
||||||
|
<!-- Does it build without errors? Did you test in-game? What did you test? On which OS did you test? Describe any other tests performed -->
|
||||||
|
-
|
||||||
|
-
|
||||||
|
|
||||||
|
|
||||||
|
## How to Test the Changes:
|
||||||
|
<!-- Describe in a detailed step-by-step order how to test the changes -->
|
||||||
|
|
||||||
|
1.
|
||||||
|
2.
|
||||||
|
3.
|
||||||
6
src/LFG_loader.cpp
Normal file
6
src/LFG_loader.cpp
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
void AddLfgSoloScripts();
|
||||||
|
|
||||||
|
void Addmod_solo_lfgScripts()
|
||||||
|
{
|
||||||
|
AddLfgSoloScripts();
|
||||||
|
}
|
||||||
@@ -44,6 +44,6 @@ public:
|
|||||||
|
|
||||||
void AddLfgSoloScripts()
|
void AddLfgSoloScripts()
|
||||||
{
|
{
|
||||||
new lfg_solo_announce();
|
new lfg_solo_announce();
|
||||||
new lfg_solo();
|
new lfg_solo();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
void AddLfgSoloScripts();
|
|
||||||
Reference in New Issue
Block a user