Skip to content

Commit 781ede4

Browse files
authored
feat. Update module (#9)
* feat. Update module * fix. Misc * Fix. build * Fix. Build
1 parent 58f83e4 commit 781ede4

File tree

10 files changed

+458
-232
lines changed

10 files changed

+458
-232
lines changed

.editorconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[*]
2+
charset = utf-8
3+
indent_style = space
4+
indent_size = 4
5+
tab_width = 4
6+
insert_final_newline = true
7+
trim_trailing_whitespace = true
8+
max_line_length = 80

.gitattributes

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
## AUTO-DETECT
2+
## Handle line endings automatically for files detected as
3+
## text and leave all files detected as binary untouched.
4+
## This will handle all files NOT defined below.
5+
* text=auto eol=lf
6+
7+
# Text
8+
*.conf text
9+
*.conf.dist text
10+
*.cmake text
11+
12+
## Scripts
13+
*.sh text
14+
*.fish text
15+
*.lua text
16+
17+
## SQL
18+
*.sql text
19+
20+
## C++
21+
*.c text
22+
*.cc text
23+
*.cxx text
24+
*.cpp text
25+
*.c++ text
26+
*.hpp text
27+
*.h text
28+
*.h++ text
29+
*.hh text
30+
31+
32+
## For documentation
33+
34+
# Documents
35+
*.doc diff=astextplain
36+
*.DOC diff=astextplain
37+
*.docx diff=astextplain
38+
*.DOCX diff=astextplain
39+
*.dot diff=astextplain
40+
*.DOT diff=astextplain
41+
*.pdf diff=astextplain
42+
*.PDF diff=astextplain
43+
*.rtf diff=astextplain
44+
*.RTF diff=astextplain
45+
46+
## DOCUMENTATION
47+
*.markdown text
48+
*.md text
49+
*.mdwn text
50+
*.mdown text
51+
*.mkd text
52+
*.mkdn text
53+
*.mdtxt text
54+
*.mdtext text
55+
*.txt text
56+
AUTHORS text
57+
CHANGELOG text
58+
CHANGES text
59+
CONTRIBUTING text
60+
COPYING text
61+
copyright text
62+
*COPYRIGHT* text
63+
INSTALL text
64+
license text
65+
LICENSE text
66+
NEWS text
67+
readme text
68+
*README* text
69+
TODO text
70+
71+
## GRAPHICS
72+
*.ai binary
73+
*.bmp binary
74+
*.eps binary
75+
*.gif binary
76+
*.ico binary
77+
*.jng binary
78+
*.jp2 binary
79+
*.jpg binary
80+
*.jpeg binary
81+
*.jpx binary
82+
*.jxr binary
83+
*.pdf binary
84+
*.png binary
85+
*.psb binary
86+
*.psd binary
87+
*.svg text
88+
*.svgz binary
89+
*.tif binary
90+
*.tiff binary
91+
*.wbmp binary
92+
*.webp binary
93+
94+
95+
## ARCHIVES
96+
*.7z binary
97+
*.gz binary
98+
*.jar binary
99+
*.rar binary
100+
*.tar binary
101+
*.zip binary
102+
103+
## EXECUTABLES
104+
*.exe binary
105+
*.pyc binary
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
name: Bug report
2+
description: Create a bug report to help us improve.
3+
title: "Bug: "
4+
body:
5+
- type: textarea
6+
id: current
7+
attributes:
8+
label: Current Behaviour
9+
description: |
10+
Description of the problem or issue here.
11+
Include entries of affected creatures / items / quests / spells etc.
12+
If this is a crash, post the crashlog (upload to https://gist.github.com/) and include the link here.
13+
Never upload files! Use GIST for text and YouTube for videos!
14+
validations:
15+
required: true
16+
- type: textarea
17+
id: expected
18+
attributes:
19+
label: Expected Behaviour
20+
description: |
21+
Tell us what should happen instead.
22+
validations:
23+
required: true
24+
- type: textarea
25+
id: reproduce
26+
attributes:
27+
label: Steps to reproduce the problem
28+
description: |
29+
What does someone else need to do to encounter the same bug?
30+
placeholder: |
31+
1. Step 1
32+
2. Step 2
33+
3. Step 3
34+
validations:
35+
required: true
36+
- type: textarea
37+
id: extra
38+
attributes:
39+
label: Extra Notes
40+
description: |
41+
Do you have any extra notes that can help solve the issue that does not fit any other field?
42+
placeholder: |
43+
None
44+
validations:
45+
required: false
46+
- type: textarea
47+
id: commit
48+
attributes:
49+
label: AC rev. hash/commit
50+
description: |
51+
Copy the result of the `.server debug` command (if you need to run it from the client get a prat addon)
52+
validations:
53+
required: true
54+
- type: input
55+
id: os
56+
attributes:
57+
label: Operating system
58+
description: |
59+
The Operating System the Server is running on.
60+
i.e. Windows 11 x64, Debian 10 x64, macOS 12, Ubuntu 20.04
61+
validations:
62+
required: true
63+
- type: textarea
64+
id: custom
65+
attributes:
66+
label: Custom changes or Modules
67+
description: |
68+
List which custom changes or modules you have applied, i.e. Eluna module, etc.
69+
placeholder: |
70+
None
71+
validations:
72+
required: false
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Feature request
2+
description: Suggest an idea for this project
3+
title: "Feature: "
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Thank you for taking your time to fill out a feature request. Remember to fill out all fields including the title above.
9+
An issue that is not properly filled out will be closed.
10+
- type: textarea
11+
id: description
12+
attributes:
13+
label: Describe your feature request or suggestion in detail
14+
description: |
15+
A clear and concise description of what you want to happen.
16+
validations:
17+
required: true
18+
- type: textarea
19+
id: solution
20+
attributes:
21+
label: Describe a possible solution to your feature or suggestion in detail
22+
description: |
23+
A clear and concise description of any alternative solutions or features you've considered.
24+
validations:
25+
required: false
26+
- type: textarea
27+
id: additional
28+
attributes:
29+
label: Additional context
30+
description: |
31+
Add any other context or screenshots about the feature request here.
32+
validations:
33+
required: false
File renamed without changes.

.github/workflows/core-build.yml

Lines changed: 5 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,12 @@
11
name: core-build
22
on:
33
push:
4+
branches:
5+
- 'master'
46
pull_request:
57

68
jobs:
79
build:
8-
strategy:
9-
fail-fast: false
10-
matrix:
11-
compiler: [clang]
12-
runs-on: ubuntu-latest
13-
name: ${{ matrix.compiler }}
14-
env:
15-
COMPILER: ${{ matrix.compiler }}
16-
steps:
17-
- uses: actions/checkout@v2
18-
with:
19-
repository: 'azerothcore/azerothcore-wotlk'
20-
ref: 'master'
21-
submodules: 'recursive'
22-
- uses: actions/checkout@v2
23-
with:
24-
submodules: 'recursive'
25-
path: 'modules/mod-better-item-reloading'
26-
- name: Cache
27-
uses: actions/[email protected]
28-
with:
29-
path: /home/runner/.ccache
30-
key: ccache:${{ matrix.compiler }}:${{ github.ref }}:${{ github.sha }}
31-
restore-keys: |
32-
ccache:${{ matrix.compiler }}:${{ github.ref }}
33-
ccache:${{ matrix.compiler }}
34-
- name: Configure OS
35-
run: source ./apps/ci/ci-install.sh
36-
env:
37-
CONTINUOUS_INTEGRATION: true
38-
- name: Import db
39-
run: source ./apps/ci/ci-import-db.sh
40-
- name: Build
41-
run: source ./apps/ci/ci-compile.sh
42-
- name: Dry run
43-
run: source ./apps/ci/ci-worldserver-dry-run.sh
44-
- name: Check startup errors
45-
run: source ./apps/ci/ci-error-check.sh
10+
uses: azerothcore/reusable-workflows/.github/workflows/core_build_modules.yml@main
11+
with:
12+
module_repo: ${{ github.event.repository.name }}

.gitignore

Lines changed: 44 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,48 @@
1-
# Prerequisites
2-
*.d
1+
!.gitignore
32

4-
# Compiled Object files
5-
*.slo
6-
*.lo
7-
*.o
8-
*.obj
3+
#
4+
#Generic
5+
#
96

10-
# Precompiled Headers
11-
*.gch
12-
*.pch
7+
.directory
8+
.mailmap
9+
*.orig
10+
*.rej
11+
*.*~
12+
.hg/
13+
*.kdev*
14+
.DS_Store
15+
CMakeLists.txt.user
16+
*.bak
17+
*.patch
18+
*.diff
19+
*.REMOTE.*
20+
*.BACKUP.*
21+
*.BASE.*
22+
*.LOCAL.*
1323

14-
# Compiled Dynamic libraries
15-
*.so
16-
*.dylib
17-
*.dll
24+
#
25+
# IDE & other softwares
26+
#
27+
/.settings/
28+
/.externalToolBuilders/*
29+
# exclude in all levels
30+
nbproject/
31+
.sync.ffs_db
32+
*.kate-swp
1833

19-
# Fortran module files
20-
*.mod
21-
*.smod
22-
23-
# Compiled Static libraries
24-
*.lai
25-
*.la
26-
*.a
27-
*.lib
28-
29-
# Executables
30-
*.exe
31-
*.out
32-
*.app
34+
#
35+
# Eclipse
36+
#
37+
*.pydevproject
38+
.metadata
39+
.gradle
40+
tmp/
41+
*.tmp
42+
*.swp
43+
*~.nib
44+
local.properties
45+
.settings/
46+
.loadpath
47+
.project
48+
.cproject

include.sh

Whitespace-only changes.

pull_request_template.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<!-- First of all, THANK YOU for your contribution. -->
2+
3+
## Changes Proposed:
4+
-
5+
-
6+
7+
## Issues Addressed:
8+
<!-- If your fix has a relating issue, link it below -->
9+
- Closes
10+
11+
## SOURCE:
12+
<!-- If you can, include a source that can strengthen your claim -->
13+
14+
## Tests Performed:
15+
<!-- 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 -->
16+
-
17+
-
18+
19+
20+
## How to Test the Changes:
21+
<!-- Describe in a detailed step-by-step order how to test the changes -->
22+
23+
1.
24+
2.
25+
3.

0 commit comments

Comments
 (0)