Skip to content

Commit 663c9da

Browse files
authored
Merge pull request #11 from NoxMax/true-master
Updating no-pvp-near-fly-inn with master
2 parents ee0821f + 9bd94cb commit 663c9da

231 files changed

Lines changed: 8418 additions & 2918 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: C++ Codestyle
2+
on:
3+
pull_request:
4+
types:
5+
- opened
6+
- reopened
7+
- synchronize
8+
- ready_for_review
9+
paths:
10+
- src/**
11+
- "!README.md"
12+
- "!docs/**"
13+
14+
concurrency:
15+
group: "codestyle-cppcheck-${{ github.event.pull_request.number }}"
16+
cancel-in-progress: true
17+
18+
jobs:
19+
triage:
20+
runs-on: ubuntu-latest
21+
name: C++
22+
if: github.event.pull_request.draft == false
23+
steps:
24+
- uses: actions/checkout@v4
25+
- name: Setup python
26+
uses: actions/setup-python@v5
27+
with:
28+
python-version: '3.10'
29+
- name: AzerothCore codestyle
30+
run: python ./apps/codestyle/codestyle-cpp.py
31+
- name: C++ Advanced
32+
run: |
33+
sudo apt update -y
34+
sudo apt install -y cppcheck
35+
cppcheck --force --inline-suppr --suppressions-list=./.suppress.cppcheck src/ --output-file=report.txt
36+
37+
if [ -s report.txt ]; then # if file is not empty
38+
cat report.txt
39+
exit 1 # let github action fails
40+
fi

.suppress.cppcheck

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cppcheckError

README.md

Lines changed: 23 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
|
44
<a href="https://github.com/mod-playerbots/mod-playerbots/blob/master/README_CN.md">中文</a>
55
|
6-
<a href="https://github.com/brighton-chi/mod-playerbots/blob/readme/README_ES.md">Español</a>
6+
<a href="https://github.com/mod-playerbots/mod-playerbots/blob/master/README_ES.md">Español</a>
77
</p>
88

99

@@ -18,25 +18,27 @@
1818
</div>
1919

2020
# Playerbots Module
21-
`mod-playerbots` is an [AzerothCore](https://www.azerothcore.org/) module that adds player-like bots to a server. The project is based off [IKE3's Playerbots](https://github.com/ike3/mangosbot) and requires a custom branch of AzerothCore to compile and run: [mod-playerbots/azerothcore-wotlk/tree/Playerbot](https://github.com/mod-playerbots/azerothcore-wotlk/tree/Playerbot).
21+
`mod-playerbots` is an [AzerothCore](https://www.azerothcore.org/) module that adds player-like bots to a server. The project is based off [IKE3's Playerbots](https://github.com/ike3/mangosbot).
2222

2323
Features include:
2424

25-
- The ability to log in alt characters as bots, allowing players to interact with their other characters, form parties, level up, and more;
26-
- Random bots that wander through the world, complete quests, and otherwise behave like players, simulating the MMO experience;
27-
- Bots capable of running most raids and battlegrounds;
28-
- Highly configurable settings to define how bots behave;
29-
- Excellent performance, even when running thousands of bots.
25+
- The ability to log in alt characters as bots, allowing players to interact with their other characters, form parties, level up, and more
26+
- Random bots that wander through the world, complete quests, and otherwise behave like players, simulating the MMO experience
27+
- Bots capable of running most raids and battlegrounds
28+
- Highly configurable settings to define how bots behave
29+
- Excellent performance, even when running thousands of bots
3030

31-
**This project is still under development**. If you encounter any errors or experience crashes, we kindly request that you [report them as GitHub issues](https://github.com/mod-playerbots/mod-playerbots/issues/new?template=bug_report.md). Your valuable feedback will help us improve this project collaboratively.
32-
33-
`mod-playerbots` has a **[Discord server](https://discord.gg/NQm5QShwf9)** where you can discuss the project, ask questions, and get involved in the community!
31+
We also have a **[Discord server](https://discord.gg/NQm5QShwf9)** where you can discuss the project, ask questions, and get involved in the community!
3432

3533
## Installation
3634

37-
### Classic Installation
35+
Supported platforms are Ubuntu, Windows, and macOS. Other Linux distributions may work, but may not receive support.
36+
37+
**All `mod-playerbots` installations require a custom branch of AzerothCore: [mod-playerbots/azerothcore-wotlk/tree/Playerbot](https://github.com/mod-playerbots/azerothcore-wotlk/tree/Playerbot).** This branch allows the `mod-playerbots` module to build and function. Updates from the upstream are implemented regularly to this branch. Instructions for installing this required branch and this module are provided below.
38+
39+
### Cloning the Repositories
3840

39-
As noted above, `mod-playerbots` requires a custom branch of AzerothCore: [mod-playerbots/azerothcore-wotlk/tree/Playerbot](https://github.com/mod-playerbots/azerothcore-wotlk/tree/Playerbot). To install the module, simply run:
41+
To install both the required branch of AzerothCore and the `mod-playerbots` module from source, run the following:
4042

4143
```bash
4244
git clone https://github.com/mod-playerbots/azerothcore-wotlk.git --branch=Playerbot
@@ -48,7 +50,7 @@ For more information, refer to the [AzerothCore Installation Guide](https://www.
4850

4951
### Docker Installation
5052

51-
**Docker installation is considered experimental.** To install the module on a Docker installation, run:
53+
Docker installations are considered experimental (unofficial with limited support), and previous Docker experience is recommended. To install `mod-playerbots` on Docker, first clone the required branch of AzerothCore and this module:
5254

5355
```bash
5456
git clone https://github.com/mod-playerbots/azerothcore-wotlk.git --branch=Playerbot
@@ -85,28 +87,23 @@ Use `docker compose up -d --build` to build and run the server. For more informa
8587

8688
## Documentation
8789

88-
The [Playerbots Wiki](https://github.com/mod-playerbots/mod-playerbots/wiki) contains an extensive overview of addons, commands, raids with programmed bot strategies, and recommended performance configurations. Please note that documentation may be incomplete or out-of-date in some sections. Contributions are welcome.
90+
The [Playerbots Wiki](https://github.com/mod-playerbots/mod-playerbots/wiki) contains an extensive overview of AddOns, commands, raids with programmed bot strategies, and recommended performance configurations. Please note that documentation may be incomplete or out-of-date in some sections, and contributions are welcome.
8991

90-
## Frequently Asked Questions
92+
Bots are controlled via chat commands. For larger bot groups, this can be cumbersome. Because of this, community members have developed client AddOns to allow controlling bots through the in-game UI. We recommend you check out their projects listed in the [AddOns and Submodules](https://github.com/mod-playerbots/mod-playerbots/wiki/Playerbot-Addons-and-Sub%E2%80%90Modules) page.
9193

92-
- **Why aren't my bots casting spells?** Please make sure that the necessary English DBC file (enUS) is present.
93-
- **What platforms are supported?** We support Ubuntu, Windows, and macOS. Other Linux distros may work, but will not receive support.
94-
- **Why isn't my source compiling?** Please ensure that you are compiling with the required [custom branch of AzerothCore](https://github.com/mod-playerbots/azerothcore-wotlk/tree/Playerbot). Additionally, please [check the build status of our CI](https://github.com/mod-playerbots/mod-playerbots/actions). If the latest build is failing, rever to the last successful commit until we address the issue.
94+
## Contributing
9595

96-
## Code standards
97-
- https://www.azerothcore.org/wiki/cpp-code-standards
96+
This project is still under development. We encourage anyone to make contributions, anything from pull requests to reporting issues. If you encounter any errors or experience crashes, we encourage you [report them as GitHub issues](https://github.com/mod-playerbots/mod-playerbots/issues/new?template=bug_report.md). Your valuable feedback will help us improve this project collaboratively.
9897

99-
## Addons
98+
If you make coding contributions, `mod-playerbots` complies with the [C++ Code Standards](https://www.azerothcore.org/wiki/cpp-code-standards) established by AzerothCore. Each Pull Request must include all test scenarios the author performed, along with their results, to demonstrate that the changes were properly verified.
10099

101-
Typically, bots are controlled via chat commands. For larger bot groups, this can be unwieldy. As an alternative, community members have developed client Add-Ons to allow controlling bots through the in-game UI. We recommend you check out their projects:
100+
We recommend joining the [Discord server](https://discord.gg/NQm5QShwf9) to make your contributions to the project easier, as a lot of active support is carried out through this server.
102101

103-
- [Multibot](https://github.com/Macx-Lio/MultiBot) (by Macx-Lio), which includes English, Chinese, French, German, Korean, Russian, and Spanish support [note: active development is temporarily continuing on a fork in Macx-Lio's absence (https://github.com/Wishmaster117/MultiBot)]
104-
- [Unbot Addon (zh)](https://github.com/liyunfan1223/unbot-addon) (Chinese version by Liyunfan) [note: no longer under active development]
105-
- [Unbot Addon (en)](https://github.com/noisiver/unbot-addon/tree/english) (English version translated by @Revision) [note: no longer under active development]
102+
Please click on the "⭐" button to stay up to date and help us gain more visibility on GitHub!
106103

107104
## Acknowledgements
108105

109-
`mod-playerbots` is is based off [ZhengPeiRu21/mod-playerbots](https://github.com/ZhengPeiRu21/mod-playerbots) and [celguar/mangosbot-bots](https://github.com/celguar/mangosbot-bots). We extend our gratitude to [@ZhengPeiRu21](https://github.com/ZhengPeiRu21) and [@celguar](https://github.com/celguar) for the continued efforts in maintaining the module.
106+
`mod-playerbots` is based on [ZhengPeiRu21/mod-playerbots](https://github.com/ZhengPeiRu21/mod-playerbots) and [celguar/mangosbot-bots](https://github.com/celguar/mangosbot-bots). We extend our gratitude to [@ZhengPeiRu21](https://github.com/ZhengPeiRu21) and [@celguar](https://github.com/celguar) for their continued efforts in maintaining the module.
110107

111108
Also, a thank you to the many contributors who've helped build this project:
112109

0 commit comments

Comments
 (0)