Skip to content

Commit 48fd9c9

Browse files
heyitsbenchpangolp
andauthored
Fix compile. (#6)
* Update README.md * Update README.md * Update npc_morph.sql * Update npc_morph.sql * Update core-build.yml * Update npc_morph.sql * Update npc_morph.sql * Update npc_morph.sql * Update npc_morph.sql * Update npc_morph.sql * Update npc_morph.sql * Update npc_morph.sql * Update npc_morph.cpp * Update npc_morph.cpp * Update npc_morph.cpp * chore. update api and module --------- Co-authored-by: Benjamin Jackson <[email protected]> Co-authored-by: Pagani Walter <[email protected]>
1 parent 7807c44 commit 48fd9c9

24 files changed

+237
-254
lines changed

.git_commit_template.txt

Lines changed: 0 additions & 49 deletions
This file was deleted.

.gitattributes

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
## Handle line endings automatically for files detected as
33
## text and leave all files detected as binary untouched.
44
## This will handle all files NOT defined below.
5-
* text=auto eol=lf
5+
* text eol=lf
66

77
# Text
88
*.conf text
@@ -28,20 +28,19 @@
2828
*.h++ text
2929
*.hh text
3030

31-
3231
## For documentation
3332

3433
# 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
34+
*.doc diff=astextplain
35+
*.DOC diff=astextplain
36+
*.docx diff=astextplain
37+
*.DOCX diff=astextplain
38+
*.dot diff=astextplain
39+
*.DOT diff=astextplain
40+
*.pdf diff=astextplain
41+
*.PDF diff=astextplain
42+
*.rtf diff=astextplain
43+
*.RTF diff=astextplain
4544

4645
## DOCUMENTATION
4746
*.markdown text
@@ -59,13 +58,13 @@ CHANGES text
5958
CONTRIBUTING text
6059
COPYING text
6160
copyright text
62-
*COPYRIGHT* text
61+
COPYRIGHT text
6362
INSTALL text
6463
license text
6564
LICENSE text
6665
NEWS text
6766
readme text
68-
*README* text
67+
README text
6968
TODO text
7069

7170
## GRAPHICS
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

.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: [clang6, clang9, clang10]
12-
runs-on: ubuntu-20.04
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-npc-morph'
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: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,27 @@
33
#
44
#Generic
55
#
6-
76
.directory
87
.mailmap
9-
*.orig
10-
*.rej
11-
*.*~
12-
.hg/
13-
*.kdev*
8+
* .orig
9+
* .rej
10+
* .*~
11+
.hg /
12+
*.kdev *
1413
.DS_Store
1514
CMakeLists.txt.user
16-
*.bak
17-
*.patch
18-
*.diff
19-
*.REMOTE.*
20-
*.BACKUP.*
21-
*.BASE.*
22-
*.LOCAL.*
15+
* .bak
16+
* .patch
17+
* .diff
18+
* .REMOTE.*
19+
* .BACKUP.*
20+
* .BASE.*
21+
* .LOCAL.*
2322

2423
#
2524
# IDE & other softwares
2625
#
27-
/.settings/
26+
/ .settings/
2827
/.externalToolBuilders/*
2928
# exclude in all levels
3029
nbproject/

CMakeLists.txt

Lines changed: 0 additions & 7 deletions
This file was deleted.

README.md

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
# ![logo](https://raw.githubusercontent.com/azerothcore/azerothcore.github.io/master/images/logo-github.png) AzerothCore
2+
23
## mod-npc-morph
4+
35
### This is a module for [AzerothCore](http://www.azerothcore.org)
6+
47
- Latest build status with azerothcore: [![Build Status](https://github.com/azerothcore/mod-npc-morph/workflows/core-build/badge.svg?branch=master&event=push)](https://github.com/azerothcore/mod-npc-morph)
58

69
#### Features:
10+
711
- Character services:
12+
813
1. Morph character in Gnome, male
914
2. Morph character in Gnome, female
1015
3. Morph character in Human, male
@@ -15,24 +20,15 @@
1520
8. Morph character in Tauren, female
1621
9. Will be added more morphs soon..
1722

23+
### Usage
1824

19-
### This module currently requires:
20-
- AzerothCore v1.0.1+
21-
22-
### How to install
23-
1. Simply place the module `mod-npc-morph` under the `modules` folder of your AzerothCore source folder.
24-
2. Re-run cmake and launch a clean build of AzerothCore
25-
3. Navigate in `modules` `mod-npc-morph` open folder SQL/World and import `npc_morph.sql` in your base.
26-
4. Done :)
25+
- Enable this module, spawn Morph NPC `.npc add 55004` and talk with him.
2726

28-
### Usage
29-
- Enable this module, spawn Morph NPC (.npc add 55004) and talk with him.
27+
### Showcase / Video
3028

31-
### Showcase / Video
3229
[Watch Video here](https://youtu.be/7UPJatFJN-8)
3330

3431

3532
## Credits
36-
* [Poszer](https://github.com/Poszer): (author of the module):
37-
38-
AzerothCore: [repository](https://github.com/azerothcore) - [website](http://azerothcore.org/) - [discord chat community](https://discord.gg/PaqQRkd)
33+
* [Poszer](https://github.com/Poszer): (author of the module)
34+
* AzerothCore: [repository](https://github.com/azerothcore) - [website](http://azerothcore.org/) - [discord chat community](https://discord.gg/PaqQRkd)

_config.yml

Lines changed: 0 additions & 1 deletion
This file was deleted.

cmake_install.cmake

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)