Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[UPDATE][REQUEST] - Mod Announce #2

Open
wants to merge 69 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
17fa069
Fix build error added missing constructor
milestorme Mar 2, 2019
2116123
eluna fix
milestorme Mar 2, 2019
caefba8
fix build.
AyaseCore Mar 2, 2019
6eea168
Use the new config loading method.
AyaseCore Mar 2, 2019
a66dcb0
update patch.
AyaseCore Mar 2, 2019
ce19f85
Merge branch 'master' of https://github.com/milestorme/mod-ah-bot
AyaseCore Mar 2, 2019
b362eb2
Merge pull request #3 from milestorme/master
AyaseCore Mar 2, 2019
c0e5209
fix typo
AyaseCore Mar 3, 2019
833e101
Fix worldserver complaining about invalid config
deku Mar 23, 2019
0592394
Build: Fix build in actual AC (#5)
Winfidonarleyan Apr 13, 2019
73fb4f6
Update AuctionHouseBot.h
Winfidonarleyan Aug 27, 2019
f7ff6fe
Travis fixes (#9)
rbedfordpro Dec 21, 2019
80b5c18
Update ahbot.patch
BarbzYHOOL Jan 30, 2020
7bb2f66
Update ahbot.patch
BarbzYHOOL Jan 30, 2020
3efff73
fix: Update ahbot.patch
BarbzYHOOL Feb 5, 2020
6198ee2
fix(CORE): Core Patch was missing a part
BarbzYHOOL Feb 13, 2020
ec404ca
feat(Hook): Use hooks instead of the patch file (#15)
Feb 27, 2020
2a60942
docs: Add usage explanation to the README (#17)
BarbzYHOOL Feb 27, 2020
b992a8c
feat(DB): Manage disabled items in DB
Feb 28, 2020
8b96057
feat(DB): Set disabled items in DB (#19)
BarbzYHOOL Mar 3, 2020
794525f
chore(sql): Renamed the sql file
BarbzYHOOL Apr 7, 2020
591fe83
Fixed type for percentages parameters
peti446 May 29, 2020
26de524
fix: indentation
locus313 Aug 13, 2020
75bc002
Merge pull request #26 from locus313/indentation-fixes
Helias Aug 13, 2020
06648ad
feat(CI): move from Travis to GitHub Actions
Helias Aug 30, 2020
45cdc1c
Merge pull request #27 from azerothcore/github-actions
Helias Aug 30, 2020
11ffa4c
docs(readme): Update build status badge (#30)
locus313 Nov 22, 2020
a261516
fix(Filter): uncomment RequiredSkillRank filters
Feb 23, 2021
e8c8e20
Merge pull request #24 from peti446/patch-1
Helias Feb 23, 2021
05efbc1
Merge pull request #31 from azerothcore/RequiredSkillRank
Helias Feb 24, 2021
134b756
fix: uncomment debug_out for min/max items (#33)
locus313 Mar 10, 2021
5949116
ObjectGuid - Part I. (#35)
UltraNix Apr 27, 2021
93c751c
chore(Database): add support new api Transaction (#36)
Winfidonarleyan May 8, 2021
096cd50
fix(CI): correction
FrancescoBorzi Jun 26, 2021
85a76fe
feat(Core/Socket): switch to new core network api (#37)
Winfidonarleyan Jul 16, 2021
6bb67db
feat(Cmake): add support new script loader api (#38)
Winfidonarleyan Jul 25, 2021
7e16a2d
feat(Config): replace deprecated config options (#43)
Winfidonarleyan Oct 2, 2021
49c01ed
chore(Commands): ignore new chatcommant functions (#44)
Winfidonarleyan Oct 22, 2021
b9aa86b
chore(BotScript): add missing includes (#48)
Winfidonarleyan Nov 20, 2021
a1b2cd5
feat(Time): add support game time (#47)
Winfidonarleyan Jan 24, 2022
669e505
feat(Logging): add support new logging (#49)
Winfidonarleyan Jan 27, 2022
1b92bd1
feat(DBLayer): add support new db api (#50)
Winfidonarleyan Feb 4, 2022
21e8bc6
Fix: build (#52)
Nefertumm Feb 5, 2022
09bf2ef
fix(Query): wrong integer type (#56)
Kitzunu Feb 14, 2022
a1e7437
chore: switch to reusable module workflow (#58)
locus313 Apr 9, 2022
94d0872
chore(Module/Structure): update structure (#72)
pangolp Jun 16, 2023
c34c10a
chore(Bot): add db env include
Winfidonarleyan Jul 3, 2023
12fc952
refactor: AHBot command passing (#85)
dedmen May 10, 2024
f3d285e
Renamed sql file to enable autoinstall (#88)
mornil Jun 28, 2024
8b06eb4
Update cs_ah_bot.cpp (#95)
Kitzunu Jul 18, 2024
139bea2
Renamed sql file to enable autoinstall (#97)
biosfree Aug 20, 2024
5189b72
Overall cleanup and extension of the mod (#96)
kewinrausch Aug 22, 2024
450239c
fix(DB) Disable trash/disabled/old/deprecated/unbalanced items (#98)
YggdrasilWotLK Aug 26, 2024
cb89a9d
Update AuctionHouseBotConfig.cpp
Nyeriah Aug 31, 2024
86f62d2
Market price adaptation mechanism (#102)
kewinrausch Sep 8, 2024
29ae6b0
Change of the selling priority, following item quality instead of a r…
kewinrausch Sep 14, 2024
03b59dc
Fixed the module config description (#118)
TheSCREWEDSoftware Nov 9, 2024
b6b9a01
fix: build (#120)
FrancescoBorzi Nov 13, 2024
eea2e77
feat: profession items (#111)
BieJay93 Nov 30, 2024
b4e1653
Add compatibility with AH threading PR request (#124)
Takenbacon Dec 18, 2024
ce277a4
fix: bug only finds a single auction #129 from azerothcore\mod-ah-bot…
Jaytapp Jan 16, 2025
3e6a254
Fix issue 123 Fix Bug: wrong variable read from the config (#133)
Jaytapp Jan 17, 2025
4c1ae1e
resolve format string error (#135)
xSparky911x Feb 2, 2025
63d48c0
Restock AH without a server restart or config reload (#134)
icemansparks Feb 10, 2025
d2d8353
Fix various issues in code like AH restocking and proper item ratio d…
Jaytapp Feb 18, 2025
e2b8607
add enabled hook lists for performance improvement (#140)
sudlud Feb 22, 2025
db4165e
Fix ahbot bids no longer saved to the database issue#141 (#142)
Jaytapp Feb 26, 2025
60d80b8
fix: integer underflow in buyer algorithm (#145)
stubbornick Mar 9, 2025
7cfa6c9
rotation bids fix, fix int and no random, why use this idk (#146)
lotjib Apr 5, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
72 changes: 72 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -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 changes: 33 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -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
12 changes: 12 additions & 0 deletions .github/workflows/core-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: core-build
on:
push:
branches:
- 'master'
pull_request:

jobs:
build:
uses: azerothcore/reusable-workflows/.github/workflows/core_build_modules.yml@main
with:
module_repo: ${{ github.event.repository.name }}
8 changes: 0 additions & 8 deletions CMakeLists.txt

This file was deleted.

64 changes: 54 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,70 @@
# Mod-AHBOT
# ![logo](https://raw.githubusercontent.com/azerothcore/azerothcore.github.io/master/images/logo-github.png) AzerothCore
## Mod-AHBOT
- Latest build status with azerothcore: [![Build Status](https://github.com/azerothcore/mod-ah-bot/workflows/core-build/badge.svg?branch=master&event=push)](https://github.com/azerothcore/mod-ah-bot)


## Description
## Important notes

You have to use at least AzerothCore commit [9adba48](https://github.com/azerothcore/azerothcore-wotlk/commit/9adba482c236f1087d66a672e97a99f763ba74b3).

A ahbot module for azerothcore.
If you use an old version of this module please update the table structure using this SQL statement:

```sql
ALTER TABLE `auctionhousebot` RENAME TO `mod_auctionhousebot`;
```

## Description

An auction house bot for the best core: AzerothCore.
This mod works by selling and bidding auctions in the factions auction house. It can be instructed to do both the operations independently.

## Installation

```
1. Apply ahbot.patch to your core.
2. Simply place the module under the `modules` directory of your AzerothCore source.
3. Import the SQL manually to the right Database (auth, world or characters) or with the `db_assembler.sh` (if `include.sh` provided).
4. Re-run cmake and launch a clean build of AzerothCore.
1. Simply place the module under the `modules` directory of your AzerothCore source.
1. Import the SQL manually to the right Database (auth, world or characters).
1. Re-run cmake and launch a clean build of AzerothCore.
```

## Usage

Edit the module configuration and add a player account ID and a character ID.
This character will sell and buy items in the auction house so give him a good name.
If you only specify the account ID, all the characters created within that account will be involved in selling and bidding on the markets.

Specify what operation must be performed (`EnableSeller`, `EnableBuyer` or both).

Notes:
- The account used does not need any security level and can be a player account.
- The character used by the ahbot is not meant to be used ingame. If you use it to browse the auction house, you might have issues like "Searching for items..." displaying forever.

## Edit module configuration (optional)

If you need to change the module configuration, go to your server configuration folder (where your `worldserver` or `worldserver.exe` is)
rename the file mod_ahbot.conf.dist to mod_ahbot.conf and edit it.
If you need to change the module configuration, go to your server configuration folder (where your `worldserver` or `worldserver.exe` is) in `modules` you will have to copy and rename (the copy) the file `mod_ahbot.conf.dist` to `mod_ahbot.conf` and edit it. This will change the overall behavior of the bot.

If you need to change a more specific value (for example the quotas of item sold), you will need to update values int the `mod_auctionhousebot` table or use the command line.

The default quotas of all the auction houses for trade goods are:
- Gray = 0
- White = 27
- Green = 12
- Blue = 10
- Purple = 1
- Orange = 0
- Yellow = 0

The default quotas of all the auction houses for non trade goods items are:
- Gray = 0
- White = 10
- Green = 30
- Blue = 8
- Purple = 2
- Orange = 0
- Yellow = 0

The sum of the percentage for these categories must always be 100, or otherwise the defaults values will be used and the modifications will not be accepted.

## Credits
ayase

- Ayase: ported the bot to AzerothCore
- Other contributors (check the contributors list)
Loading