updated gitignore to include modules
This commit is contained in:
8
modules/mod-ah-bot/.editorconfig
Normal file
8
modules/mod-ah-bot/.editorconfig
Normal file
@@ -0,0 +1,8 @@
|
||||
[*]
|
||||
charset = utf-8
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
tab_width = 4
|
||||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
||||
max_line_length = 80
|
||||
62
modules/mod-ah-bot/.gitattributes
vendored
Normal file
62
modules/mod-ah-bot/.gitattributes
vendored
Normal file
@@ -0,0 +1,62 @@
|
||||
## AUTO-DETECT
|
||||
## Handle line endings automatically for files detected as
|
||||
## text and leave all files detected as binary untouched.
|
||||
## This will handle all files NOT defined below.
|
||||
* text=auto eol=lf
|
||||
|
||||
# Text
|
||||
*.conf
|
||||
*.conf.dist
|
||||
*.txt
|
||||
*.md
|
||||
*.cmake
|
||||
|
||||
# Bash
|
||||
*.sh text
|
||||
|
||||
# Lua if lua module?
|
||||
*.lua
|
||||
|
||||
# SQL
|
||||
*.sql
|
||||
|
||||
# C++
|
||||
*.c text
|
||||
*.cc text
|
||||
*.cxx text
|
||||
*.cpp text
|
||||
*.c++ text
|
||||
*.hpp text
|
||||
*.h text
|
||||
*.h++ text
|
||||
*.hh text
|
||||
|
||||
|
||||
## For documentation
|
||||
|
||||
# Documents
|
||||
*.doc diff=astextplain
|
||||
*.DOC diff=astextplain
|
||||
*.docx diff=astextplain
|
||||
*.DOCX diff=astextplain
|
||||
*.dot diff=astextplain
|
||||
*.DOT diff=astextplain
|
||||
*.pdf diff=astextplain
|
||||
*.PDF diff=astextplain
|
||||
*.rtf diff=astextplain
|
||||
*.RTF diff=astextplain
|
||||
|
||||
|
||||
# Graphics
|
||||
*.png binary
|
||||
*.jpg binary
|
||||
*.jpeg binary
|
||||
*.gif binary
|
||||
*.tif binary
|
||||
*.tiff binary
|
||||
*.ico binary
|
||||
# SVG treated as an asset (binary) by default. If you want to treat it as text,
|
||||
# comment-out the following line and uncomment the line after.
|
||||
*.svg binary
|
||||
#*.svg text
|
||||
*.eps binary
|
||||
12
modules/mod-ah-bot/.github/workflows/core-build.yml
vendored
Normal file
12
modules/mod-ah-bot/.github/workflows/core-build.yml
vendored
Normal file
@@ -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 }}
|
||||
48
modules/mod-ah-bot/.gitignore
vendored
Normal file
48
modules/mod-ah-bot/.gitignore
vendored
Normal file
@@ -0,0 +1,48 @@
|
||||
!.gitignore
|
||||
|
||||
#
|
||||
#Generic
|
||||
#
|
||||
|
||||
.directory
|
||||
.mailmap
|
||||
*.orig
|
||||
*.rej
|
||||
*~
|
||||
.hg/
|
||||
*.kdev*
|
||||
.DS_Store
|
||||
CMakeLists.txt.user
|
||||
*.bak
|
||||
*.patch
|
||||
*.diff
|
||||
*.REMOTE.*
|
||||
*.BACKUP.*
|
||||
*.BASE.*
|
||||
*.LOCAL.*
|
||||
|
||||
#
|
||||
# IDE & other softwares
|
||||
#
|
||||
/.settings/
|
||||
/.externalToolBuilders/*
|
||||
# exclude in all levels
|
||||
nbproject/
|
||||
.sync.ffs_db
|
||||
*.kate-swp
|
||||
|
||||
#
|
||||
# Eclipse
|
||||
#
|
||||
*.pydevproject
|
||||
.metadata
|
||||
.gradle
|
||||
tmp/
|
||||
*.tmp
|
||||
*.swp
|
||||
*~.nib
|
||||
local.properties
|
||||
.settings/
|
||||
.loadpath
|
||||
.project
|
||||
.cproject
|
||||
46
modules/mod-ah-bot/README.md
Normal file
46
modules/mod-ah-bot/README.md
Normal file
@@ -0,0 +1,46 @@
|
||||
#  AzerothCore
|
||||
## Mod-AHBOT
|
||||
- Latest build status with azerothcore: [](https://github.com/azerothcore/mod-ah-bot)
|
||||
|
||||
|
||||
## Important notes
|
||||
|
||||
You have to use at least AzerothCore commit [9adba48](https://github.com/azerothcore/azerothcore-wotlk/commit/9adba482c236f1087d66a672e97a99f763ba74b3).
|
||||
|
||||
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.
|
||||
|
||||
## Installation
|
||||
|
||||
```
|
||||
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) or with the `db_assembler.sh` (if `include.sh` provided).
|
||||
1. Re-run cmake and launch a clean build of AzerothCore.
|
||||
```
|
||||
|
||||
## 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.
|
||||
|
||||
## 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.
|
||||
|
||||
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.
|
||||
|
||||
## Credits
|
||||
|
||||
- Ayase: ported the bot to AzerothCore
|
||||
- Other contributors (check the contributors list)
|
||||
|
||||
9
modules/mod-ah-bot/conf/conf.sh.dist
Normal file
9
modules/mod-ah-bot/conf/conf.sh.dist
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
#
|
||||
# CUSTOM
|
||||
#
|
||||
|
||||
DB_WORLD_CUSTOM_PATHS+=(
|
||||
$MOD_AH_BOT_ROOT"/sql/world/base/"
|
||||
)
|
||||
266
modules/mod-ah-bot/conf/mod_ahbot.conf.dist
Normal file
266
modules/mod-ah-bot/conf/mod_ahbot.conf.dist
Normal file
@@ -0,0 +1,266 @@
|
||||
[worldserver]
|
||||
|
||||
###############################################################################
|
||||
# AUCTION HOUSE BOT SETTINGS
|
||||
#
|
||||
# AuctionHouseBot.DEBUG
|
||||
# Enable/Disable Debugging output
|
||||
# Default 0 (disabled)
|
||||
#
|
||||
# AuctionHouseBot.DEBUG_FILTERS
|
||||
# Enable/Disable Debugging output from Filters
|
||||
# Default 0 (disabled)
|
||||
#
|
||||
# AuctionHouseBot.EnableSeller
|
||||
# Enable/Disable the part of AHBot that puts items up for auction
|
||||
# Default 0 (disabled)
|
||||
#
|
||||
# AuctionHouseBot.EnableBuyer
|
||||
# Enable/Disable the part of AHBot that buys items from players
|
||||
# Default 0 (disabled)
|
||||
#
|
||||
# AuctionHouseBot.UseBuyPriceForSeller
|
||||
# Should the Seller use BuyPrice or SellPrice to determine Bid Prices
|
||||
# Default 0 (use SellPrice)
|
||||
#
|
||||
# AuctionHouseBot.UseBuyPriceForBuyer
|
||||
# Should the Buyer use BuyPrice or SellPrice to determine Bid Prices
|
||||
# Default 0 (use SellPrice)
|
||||
#
|
||||
# Auction House Bot character data
|
||||
# AuctionHouseBot.Account is the account number
|
||||
# (in realmd->account table) of the player you want to run
|
||||
# as the auction bot.
|
||||
# AuctionHouseBot.GUID is the GUID (in characters->characters table)
|
||||
# of the player you want to run as the auction bot.
|
||||
# Default: 0 (Auction House Bot disabled)
|
||||
#
|
||||
# AuctionHouseBot.ItemsPerCycle
|
||||
# Number of Items to Add/Remove from the AH during mass operations
|
||||
# Default 200
|
||||
#
|
||||
###############################################################################
|
||||
|
||||
AuctionHouseBot.DEBUG = 0
|
||||
AuctionHouseBot.DEBUG_FILTERS = 0
|
||||
AuctionHouseBot.EnableSeller = 0
|
||||
AuctionHouseBot.EnableBuyer = 0
|
||||
AuctionHouseBot.UseBuyPriceForSeller = 0
|
||||
AuctionHouseBot.UseBuyPriceForBuyer = 0
|
||||
AuctionHouseBot.Account = 0
|
||||
AuctionHouseBot.GUID = 0
|
||||
AuctionHouseBot.ItemsPerCycle = 200
|
||||
|
||||
###############################################################################
|
||||
# AUCTION HOUSE BOT FILTERS PART 1
|
||||
#
|
||||
# AuctionHouseBot.VendorItems
|
||||
# Include items that can be bought from vendors.
|
||||
# Default 0 (False)
|
||||
#
|
||||
# AuctionHouseBot.VendorTradeGoods
|
||||
# Include Trade Goods that can be bought from vendors.
|
||||
# Default 0 (False)
|
||||
#
|
||||
# AuctionHouseBot.LootItems
|
||||
# Include items that can be looted or fished for.
|
||||
# Default 1 (True)
|
||||
#
|
||||
# AuctionHouseBot.LootTradeGoods
|
||||
# Include Trade Goods that can be looted or fished for.
|
||||
# Default 1 (True)
|
||||
#
|
||||
# AuctionHouseBot.OtherItems
|
||||
# Include misc. items.
|
||||
# Default 0 (False)
|
||||
#
|
||||
# AuctionHouseBot.OtherTradeGoods
|
||||
# Include misc. Trade Goods.
|
||||
# Default 0 (False)
|
||||
#
|
||||
# AuctionHouseBot.Bonding_types
|
||||
# Indicates which bonding types to allow seller to put up for auction
|
||||
# No_Bind
|
||||
# Default 1 (True)
|
||||
# Bind_When_Picked_Up
|
||||
# Default 0 (False)
|
||||
# Bind_When_Equipped
|
||||
# Default 1 (True)
|
||||
# Bind_When_Use
|
||||
# Default 1 (True)
|
||||
# Bind_Quest_Item
|
||||
# Default 0 (False)
|
||||
#
|
||||
# AuctionHouseBot.DisablePermEnchant
|
||||
# Disable Items with a Permanent Enchantment
|
||||
# Default 0 (False)
|
||||
#
|
||||
# AuctionHouseBot.DisableConjured
|
||||
# Disable Conjured Items
|
||||
# Default 0 (False)
|
||||
#
|
||||
# AuctionHouseBot.DisableGems
|
||||
# Disable Gems
|
||||
# Default 0 (False)
|
||||
#
|
||||
# AuctionHouseBot.DisableMoney
|
||||
# Disable Items that are used as money
|
||||
# Default 0 (False)
|
||||
#
|
||||
# AuctionHouseBot.DisableMoneyLoot
|
||||
# Disable Items that have Money as a loot
|
||||
# Default 0 (False)
|
||||
#
|
||||
# AuctionHouseBot.DisableLootable
|
||||
# Disable Items that have other items as loot
|
||||
# Default 0 (False)
|
||||
#
|
||||
# AuctionHouseBot.DisableKeys
|
||||
# Disable Items that are keys
|
||||
# Default 0 (False)
|
||||
#
|
||||
# AuctionHouseBot.DisableDuration
|
||||
# Disable Items with a duration
|
||||
# Default 0 (False)
|
||||
#
|
||||
# AuctionHouseBot.DisableBOP_Or_Quest_NoReqLevel
|
||||
# Disable items that are BOP or Quest Item
|
||||
# with a Required level that is less than the Item Level
|
||||
# (This prevents a level 10 with a level 60 weapon or armor)
|
||||
# (May need further refinement)
|
||||
# Default 0 (False)
|
||||
#
|
||||
###############################################################################
|
||||
|
||||
AuctionHouseBot.VendorItems = 0
|
||||
AuctionHouseBot.VendorTradeGoods = 0
|
||||
AuctionHouseBot.LootItems = 1
|
||||
AuctionHouseBot.LootTradeGoods = 1
|
||||
AuctionHouseBot.OtherItems = 0
|
||||
AuctionHouseBot.OtherTradeGoods = 0
|
||||
AuctionHouseBot.No_Bind = 1
|
||||
AuctionHouseBot.Bind_When_Picked_Up = 0
|
||||
AuctionHouseBot.Bind_When_Equipped = 1
|
||||
AuctionHouseBot.Bind_When_Use = 1
|
||||
AuctionHouseBot.Bind_Quest_Item = 0
|
||||
AuctionHouseBot.DisablePermEnchant = 0
|
||||
AuctionHouseBot.DisableConjured = 0
|
||||
AuctionHouseBot.DisableGems = 0
|
||||
AuctionHouseBot.DisableMoney = 0
|
||||
AuctionHouseBot.DisableMoneyLoot = 0
|
||||
AuctionHouseBot.DisableLootable = 0
|
||||
AuctionHouseBot.DisableKeys = 0
|
||||
AuctionHouseBot.DisableDuration = 0
|
||||
AuctionHouseBot.DisableBOP_Or_Quest_NoReqLevel = 0
|
||||
|
||||
###############################################################################
|
||||
# AUCTION HOUSE BOT FILTERS PART 2
|
||||
#
|
||||
# These Filters are boolean (0 or 1) and will disable items that are
|
||||
# specifically meant for the Class named.
|
||||
# (UnusedClass is Class 10, which was skipped for some reason)
|
||||
# Default 0 (allowed)
|
||||
#
|
||||
###############################################################################
|
||||
|
||||
AuctionHouseBot.DisableWarriorItems = 0
|
||||
AuctionHouseBot.DisablePaladinItems = 0
|
||||
AuctionHouseBot.DisableHunterItems = 0
|
||||
AuctionHouseBot.DisableRogueItems = 0
|
||||
AuctionHouseBot.DisablePriestItems = 0
|
||||
AuctionHouseBot.DisableDKItems = 0
|
||||
AuctionHouseBot.DisableShamanItems = 0
|
||||
AuctionHouseBot.DisableMageItems = 0
|
||||
AuctionHouseBot.DisableWarlockItems = 0
|
||||
AuctionHouseBot.DisableUnusedClassItems = 0
|
||||
AuctionHouseBot.DisableDruidItems = 0
|
||||
|
||||
###############################################################################
|
||||
# AUCTION HOUSE BOT FILTERS PART 3
|
||||
#
|
||||
# AuctionHouseBot.DisabledItems
|
||||
# Prevent Seller from listing specific item(s)
|
||||
# (not used anymore, see table "mod_auctionhousebot_disabled_items")
|
||||
#
|
||||
# AuctionHouseBot.DisableItemsBelowLevel
|
||||
# Prevent Seller from listing Items below this Level
|
||||
# Default 0 (Off)
|
||||
#
|
||||
# AuctionHouseBot.DisableItemsAboveLevel
|
||||
# Prevent Seller from listing Items above this Level
|
||||
# Default 0 (Off)
|
||||
#
|
||||
# AuctionHouseBot.DisableTGsBelowLevel
|
||||
# Prevent Seller from listing Trade Goods below this Level
|
||||
# Default 0 (Off)
|
||||
#
|
||||
# AuctionHouseBot.DisableTGsAboveLevel
|
||||
# Prevent Seller from listing Trade Goods above this Level
|
||||
# Default 0 (Off)
|
||||
#
|
||||
# AuctionHouseBot.DisableItemsBelowGUID
|
||||
# Prevent Seller from listing Items below this GUID
|
||||
# Default 0 (Off)
|
||||
#
|
||||
# AuctionHouseBot.DisableItemsAboveGUID
|
||||
# Prevent Seller from listing Items above this GUID
|
||||
# Default 0 (Off)
|
||||
#
|
||||
# AuctionHouseBot.DisableTGsBelowGUID
|
||||
# Prevent Seller from listing Trade Goods below this GUID
|
||||
# Default 0 (Off)
|
||||
#
|
||||
# AuctionHouseBot.DisableTGsAboveGUID
|
||||
# Prevent Seller from listing Trade Goods above this GUID
|
||||
# Default 0 (Off)
|
||||
#
|
||||
# AuctionHouseBot.DisableItemsBelowReqLevel
|
||||
# Prevent Seller from listing Items below this Required Level
|
||||
# Default 0 (Off)
|
||||
#
|
||||
# AuctionHouseBot.DisableItemsAboveReqLevel
|
||||
# Prevent Seller from listing Items above this Required Level
|
||||
# Default 0 (Off)
|
||||
#
|
||||
# AuctionHouseBot.DisableTGsBelowReqLevel
|
||||
# Prevent Seller from listing Trade Goods below this Required Level
|
||||
# Default 0 (Off)
|
||||
#
|
||||
# AuctionHouseBot.DisableTGsAboveReqLevel
|
||||
# Prevent Seller from listing Trade Goods above this Required Level
|
||||
# Default 0 (Off)
|
||||
#
|
||||
# AuctionHouseBot.DisableItemsBelowReqSkillRank
|
||||
# Prevent Seller from listing Items below this Required Skill Rank
|
||||
# Default 0 (Off)
|
||||
#
|
||||
# AuctionHouseBot.DisableItemsAboveReqSkillRank
|
||||
# Prevent Seller from listing Items above this Required Skill Rank
|
||||
# Default 0 (Off)
|
||||
#
|
||||
# AuctionHouseBot.DisableTGsBelowReqSkillRank
|
||||
# Prevent Seller from listing Trade Goods below this Required Skill Rank
|
||||
# Default 0 (Off)
|
||||
#
|
||||
# AuctionHouseBot.DisableTGsAboveReqSkillRank
|
||||
# Prevent Seller from listing Trade Goods above this Required Skill Rank
|
||||
# Default 0 (Off)
|
||||
#
|
||||
###############################################################################
|
||||
|
||||
AuctionHouseBot.DisableItemsBelowLevel = 0
|
||||
AuctionHouseBot.DisableItemsAboveLevel = 0
|
||||
AuctionHouseBot.DisableTGsBelowLevel = 0
|
||||
AuctionHouseBot.DisableTGsAboveLevel = 0
|
||||
AuctionHouseBot.DisableItemsBelowGUID = 0
|
||||
AuctionHouseBot.DisableItemsAboveGUID = 0
|
||||
AuctionHouseBot.DisableTGsBelowGUID = 0
|
||||
AuctionHouseBot.DisableTGsAboveGUID = 0
|
||||
AuctionHouseBot.DisableItemsBelowReqLevel = 0
|
||||
AuctionHouseBot.DisableItemsAboveReqLevel = 0
|
||||
AuctionHouseBot.DisableTGsBelowReqLevel = 0
|
||||
AuctionHouseBot.DisableTGsAboveReqLevel = 0
|
||||
AuctionHouseBot.DisableItemsBelowReqSkillRank = 0
|
||||
AuctionHouseBot.DisableItemsAboveReqSkillRank = 0
|
||||
AuctionHouseBot.DisableTGsBelowReqSkillRank = 0
|
||||
AuctionHouseBot.DisableTGsAboveReqSkillRank = 0
|
||||
9
modules/mod-ah-bot/include.sh
Normal file
9
modules/mod-ah-bot/include.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
MOD_AH_BOT_ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )/" && pwd )"
|
||||
|
||||
source $MOD_AH_BOT_ROOT"/conf/conf.sh.dist"
|
||||
|
||||
if [ -f $MOD_AH_BOT_ROOT"/conf/conf.sh" ]; then
|
||||
source $MOD_AH_BOT_ROOT"/conf/conf.sh"
|
||||
fi
|
||||
368
modules/mod-ah-bot/sql/world/base/mod_auctionhousebot.sql
Normal file
368
modules/mod-ah-bot/sql/world/base/mod_auctionhousebot.sql
Normal file
@@ -0,0 +1,368 @@
|
||||
DROP TABLE IF EXISTS `mod_auctionhousebot`;
|
||||
CREATE TABLE `mod_auctionhousebot` (
|
||||
`auctionhouse` int(11) NOT NULL DEFAULT '0' COMMENT 'mapID of the auctionhouse.',
|
||||
`name` char(25) DEFAULT NULL COMMENT 'Text name of the auctionhouse.',
|
||||
`minitems` int(11) DEFAULT '0' COMMENT 'This is the minimum number of items you want to keep in the auction house. a 0 here will make it the same as the maximum.',
|
||||
`maxitems` int(11) DEFAULT '0' COMMENT 'This is the number of items you want to keep in the auction house.',
|
||||
`percentgreytradegoods` int(11) DEFAULT '0' COMMENT 'Sets the percentage of the Grey Trade Goods auction items',
|
||||
`percentwhitetradegoods` int(11) DEFAULT '27' COMMENT 'Sets the percentage of the White Trade Goods auction items',
|
||||
`percentgreentradegoods` int(11) DEFAULT '12' COMMENT 'Sets the percentage of the Green Trade Goods auction items',
|
||||
`percentbluetradegoods` int(11) DEFAULT '10' COMMENT 'Sets the percentage of the Blue Trade Goods auction items',
|
||||
`percentpurpletradegoods` int(11) DEFAULT '1' COMMENT 'Sets the percentage of the Purple Trade Goods auction items',
|
||||
`percentorangetradegoods` int(11) DEFAULT '0' COMMENT 'Sets the percentage of the Orange Trade Goods auction items',
|
||||
`percentyellowtradegoods` int(11) DEFAULT '0' COMMENT 'Sets the percentage of the Yellow Trade Goods auction items',
|
||||
`percentgreyitems` int(11) DEFAULT '0' COMMENT 'Sets the percentage of the non trade Grey auction items',
|
||||
`percentwhiteitems` int(11) DEFAULT '10' COMMENT 'Sets the percentage of the non trade White auction items',
|
||||
`percentgreenitems` int(11) DEFAULT '30' COMMENT 'Sets the percentage of the non trade Green auction items',
|
||||
`percentblueitems` int(11) DEFAULT '8' COMMENT 'Sets the percentage of the non trade Blue auction items',
|
||||
`percentpurpleitems` int(11) DEFAULT '2' COMMENT 'Sets the percentage of the non trade Purple auction items',
|
||||
`percentorangeitems` int(11) DEFAULT '0' COMMENT 'Sets the percentage of the non trade Orange auction items',
|
||||
`percentyellowitems` int(11) DEFAULT '0' COMMENT 'Sets the percentage of the non trade Yellow auction items',
|
||||
`minpricegrey` int(11) DEFAULT '100' COMMENT 'Minimum price of Grey items (percentage).',
|
||||
`maxpricegrey` int(11) DEFAULT '150' COMMENT 'Maximum price of Grey items (percentage).',
|
||||
`minpricewhite` int(11) DEFAULT '150' COMMENT 'Minimum price of White items (percentage).',
|
||||
`maxpricewhite` int(11) DEFAULT '250' COMMENT 'Maximum price of White items (percentage).',
|
||||
`minpricegreen` int(11) DEFAULT '800' COMMENT 'Minimum price of Green items (percentage).',
|
||||
`maxpricegreen` int(11) DEFAULT '1400' COMMENT 'Maximum price of Green items (percentage).',
|
||||
`minpriceblue` int(11) DEFAULT '1250' COMMENT 'Minimum price of Blue items (percentage).',
|
||||
`maxpriceblue` int(11) DEFAULT '1750' COMMENT 'Maximum price of Blue items (percentage).',
|
||||
`minpricepurple` int(11) DEFAULT '2250' COMMENT 'Minimum price of Purple items (percentage).',
|
||||
`maxpricepurple` int(11) DEFAULT '4550' COMMENT 'Maximum price of Purple items (percentage).',
|
||||
`minpriceorange` int(11) DEFAULT '3250' COMMENT 'Minimum price of Orange items (percentage).',
|
||||
`maxpriceorange` int(11) DEFAULT '5550' COMMENT 'Maximum price of Orange items (percentage).',
|
||||
`minpriceyellow` int(11) DEFAULT '5250' COMMENT 'Minimum price of Yellow items (percentage).',
|
||||
`maxpriceyellow` int(11) DEFAULT '6550' COMMENT 'Maximum price of Yellow items (percentage).',
|
||||
`minbidpricegrey` int(11) DEFAULT '70' COMMENT 'Starting bid price of Grey items as a percentage of the randomly chosen buyout price. Default: 70',
|
||||
`maxbidpricegrey` int(11) DEFAULT '100' COMMENT 'Starting bid price of Grey items as a percentage of the randomly chosen buyout price. Default: 100',
|
||||
`minbidpricewhite` int(11) DEFAULT '70' COMMENT 'Starting bid price of White items as a percentage of the randomly chosen buyout price. Default: 70',
|
||||
`maxbidpricewhite` int(11) DEFAULT '100' COMMENT 'Starting bid price of White items as a percentage of the randomly chosen buyout price. Default: 100',
|
||||
`minbidpricegreen` int(11) DEFAULT '80' COMMENT 'Starting bid price of Green items as a percentage of the randomly chosen buyout price. Default: 80',
|
||||
`maxbidpricegreen` int(11) DEFAULT '100' COMMENT 'Starting bid price of Green items as a percentage of the randomly chosen buyout price. Default: 100',
|
||||
`minbidpriceblue` int(11) DEFAULT '75' COMMENT 'Starting bid price of Blue items as a percentage of the randomly chosen buyout price. Default: 75',
|
||||
`maxbidpriceblue` int(11) DEFAULT '100' COMMENT 'Starting bid price of Blue items as a percentage of the randomly chosen buyout price. Default: 100',
|
||||
`minbidpricepurple` int(11) DEFAULT '80' COMMENT 'Starting bid price of Purple items as a percentage of the randomly chosen buyout price. Default: 80',
|
||||
`maxbidpricepurple` int(11) DEFAULT '100' COMMENT 'Starting bid price of Purple items as a percentage of the randomly chosen buyout price. Default: 100',
|
||||
`minbidpriceorange` int(11) DEFAULT '80' COMMENT 'Starting bid price of Orange items as a percentage of the randomly chosen buyout price. Default: 80',
|
||||
`maxbidpriceorange` int(11) DEFAULT '100' COMMENT 'Starting bid price of Orange items as a percentage of the randomly chosen buyout price. Default: 100',
|
||||
`minbidpriceyellow` int(11) DEFAULT '80' COMMENT 'Starting bid price of Yellow items as a percentage of the randomly chosen buyout price. Default: 80',
|
||||
`maxbidpriceyellow` int(11) DEFAULT '100' COMMENT 'Starting bid price of Yellow items as a percentage of the randomly chosen buyout price. Default: 100',
|
||||
`maxstackgrey` int(11) DEFAULT '0' COMMENT 'Stack size limits for item qualities - a value of 0 will disable a maximum stack size for that quality, which will allow the bot to create items in stack as large as the item allows.',
|
||||
`maxstackwhite` int(11) DEFAULT '0' COMMENT 'Stack size limits for item qualities - a value of 0 will disable a maximum stack size for that quality, which will allow the bot to create items in stack as large as the item allows.',
|
||||
`maxstackgreen` int(11) DEFAULT '0' COMMENT 'Stack size limits for item qualities - a value of 0 will disable a maximum stack size for that quality, which will allow the bot to create items in stack as large as the item allows.',
|
||||
`maxstackblue` int(11) DEFAULT '0' COMMENT 'Stack size limits for item qualities - a value of 0 will disable a maximum stack size for that quality, which will allow the bot to create items in stack as large as the item allows.',
|
||||
`maxstackpurple` int(11) DEFAULT '0' COMMENT 'Stack size limits for item qualities - a value of 0 will disable a maximum stack size for that quality, which will allow the bot to create items in stack as large as the item allows.',
|
||||
`maxstackorange` int(11) DEFAULT '0' COMMENT 'Stack size limits for item qualities - a value of 0 will disable a maximum stack size for that quality, which will allow the bot to create items in stack as large as the item allows.',
|
||||
`maxstackyellow` int(11) DEFAULT '0' COMMENT 'Stack size limits for item qualities - a value of 0 will disable a maximum stack size for that quality, which will allow the bot to create items in stack as large as the item allows.',
|
||||
`buyerpricegrey` int(11) DEFAULT '1' COMMENT 'Multiplier to vendorprice when buying grey items from auctionhouse',
|
||||
`buyerpricewhite` int(11) DEFAULT '3' COMMENT 'Multiplier to vendorprice when buying white items from auctionhouse',
|
||||
`buyerpricegreen` int(11) DEFAULT '5' COMMENT 'Multiplier to vendorprice when buying green items from auctionhouse',
|
||||
`buyerpriceblue` int(11) DEFAULT '12' COMMENT 'Multiplier to vendorprice when buying blue items from auctionhouse',
|
||||
`buyerpricepurple` int(11) DEFAULT '15' COMMENT 'Multiplier to vendorprice when buying purple items from auctionhouse',
|
||||
`buyerpriceorange` int(11) DEFAULT '20' COMMENT 'Multiplier to vendorprice when buying orange items from auctionhouse',
|
||||
`buyerpriceyellow` int(11) DEFAULT '22' COMMENT 'Multiplier to vendorprice when buying yellow items from auctionhouse',
|
||||
`buyerbiddinginterval` int(11) DEFAULT '1' COMMENT 'Interval how frequently AHB bids on each AH. Time in minutes',
|
||||
`buyerbidsperinterval` int(11) DEFAULT '1' COMMENT 'number of bids to put in per bidding interval',
|
||||
PRIMARY KEY (`auctionhouse`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||
|
||||
DROP TABLE IF EXISTS `mod_auctionhousebot_disabled_items`;
|
||||
CREATE TABLE `mod_auctionhousebot_disabled_items` (
|
||||
`item` mediumint(8) unsigned NOT NULL,
|
||||
PRIMARY KEY (`item`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||
|
||||
-- AHBot auctionhouse configuration
|
||||
INSERT INTO `mod_auctionhousebot` (`auctionhouse`, `name`, `minitems`, `maxitems`, `percentgreytradegoods`, `percentwhitetradegoods`, `percentgreentradegoods`, `percentbluetradegoods`, `percentpurpletradegoods`, `percentorangetradegoods`, `percentyellowtradegoods`, `percentgreyitems`, `percentwhiteitems`, `percentgreenitems`, `percentblueitems`, `percentpurpleitems`, `percentorangeitems`, `percentyellowitems`, `minpricegrey`, `maxpricegrey`, `minpricewhite`, `maxpricewhite`, `minpricegreen`, `maxpricegreen`, `minpriceblue`, `maxpriceblue`, `minpricepurple`, `maxpricepurple`, `minpriceorange`, `maxpriceorange`, `minpriceyellow`, `maxpriceyellow`, `minbidpricegrey`, `maxbidpricegrey`, `minbidpricewhite`, `maxbidpricewhite`, `minbidpricegreen`, `maxbidpricegreen`, `minbidpriceblue`, `maxbidpriceblue`, `minbidpricepurple`, `maxbidpricepurple`, `minbidpriceorange`, `maxbidpriceorange`, `minbidpriceyellow`, `maxbidpriceyellow`, `maxstackgrey`, `maxstackwhite`, `maxstackgreen`, `maxstackblue`, `maxstackpurple`, `maxstackorange`, `maxstackyellow`, `buyerpricegrey`, `buyerpricewhite`, `buyerpricegreen`, `buyerpriceblue`, `buyerpricepurple`, `buyerpriceorange`, `buyerpriceyellow`, `buyerbiddinginterval`, `buyerbidsperinterval`)
|
||||
VALUES
|
||||
(2,'Alliance',250,250,0,27,12,10,1,0,0,0,10,30,8,2,0,0,100,150,150,250,800,1400,1250,1750,2250,4550,3250,5550,5250,6550,70,100,70,100,80,100,75,100,80,100,80,100,80,100,0,0,3,2,1,1,1,1,3,5,12,15,20,22,1,1),
|
||||
(6,'Horde',250,250,0,27,12,10,1,0,0,0,10,30,8,2,0,0,100,150,150,250,800,1400,1250,1750,2250,4550,3250,5550,5250,6550,70,100,70,100,80,100,75,100,80,100,80,100,80,100,0,0,3,2,1,1,1,1,3,5,12,15,20,22,1,1),
|
||||
(7,'Neutral',250,250,0,27,12,10,1,0,0,0,10,30,8,2,0,0,100,150,150,250,800,1400,1250,1750,2250,4550,3250,5550,5250,6550,70,100,70,100,80,100,75,100,80,100,80,100,80,100,0,0,3,2,1,1,1,1,3,5,12,15,20,22,1,1);
|
||||
|
||||
-- Items unavailable to players
|
||||
INSERT INTO `mod_auctionhousebot_disabled_items`
|
||||
VALUES
|
||||
(17), (3895), (1700), (862), (4196), (3934), (2275), (4213), (4988), (4989), (4990), (4110), (4111), (4116), (3463), (3068),
|
||||
(913), (2016), (3738), (1189), (3222), (2664), (2273), (4763), (2444), (1041), (1133), (1134), (2413), (2415), (2927), (2932),
|
||||
(2443), (1487), (1623), (3031), (3034), (3762), (3772), (4981), (2693), (2808), (1254), (2442), (3137), (4191), (4193), (931),
|
||||
(1114), (1450), (2136), (1352), (2441), (3884), (4200), (2588), (2922), (3005), (3122), (1193), (1057), (3107), (3135), (3144),
|
||||
(4273), (1113), (2288), (2556), (2921), (3004), (763), (1146), (1255), (2929), (4143), (2064), (3648), (1162), (1167), (2377),
|
||||
(2920), (3003), (4965), (2497), (2499), (2501), (2599), (3320), (964), (2496), (2498), (2503), (2946), (3131), (1389), (2500),
|
||||
(2502), (4959), (1166), (1386), (2133), (4930), (1029), (2055), (2128), (2481), (2484), (2487), (3260), (2482), (2483), (2485),
|
||||
(2486), (2947), (3111), (37), (996), (119), (138), (734), (876), (895), (896), (900), (956), (958), (960), (997),
|
||||
(1014), (1020), (1021), (1024), (1025), (1027), (1324), (1356), (1672), (1923), (1977), (2410), (2477), (2586), (2638), (2668),
|
||||
(2755), (2891), (3316), (3513), (3516), (3536), (3584), (3686), (3707), (3744), (4278), (4524), (4703), (4704), (4749), (4851),
|
||||
(4868), (192), (3958), (3978), (4014), (3952), (3981), (3991), (4011), (3957), (3979), (4012), (3959), (3982), (4010), (3954),
|
||||
(3983), (3988), (4009), (3953), (3984), (4013), (3956), (3977), (4008), (3955), (3980), (4015), (2931), (3776), (1914), (4858),
|
||||
(3713), (3777), (3063), (2918), (3046), (3052), (3062), (4912), (2995), (1028), (1192), (2692), (1298), (1363), (4688), (4774),
|
||||
(4773), (4761), (2305), (2306), (4471), (88), (91), (100), (128), (143), (156), (813), (1222), (1259), (1902), (1911),
|
||||
(2081), (2184), (2550), (2705), (2715), (2810), (3148), (3168), (3245), (3368), (3675), (3774), (5828), (9372), (8708), (8586),
|
||||
(9240), (9380), (9484), (9417), (10579), (9718), (7187), (10978), (9685), (9214), (9653), (7987), (7988), (7986), (7550), (7547),
|
||||
(7548), (7994), (7748), (7953), (9888), (5010), (7497), (7466), (5008), (8840), (5004), (5005), (7467), (7427), (7426), (7948),
|
||||
(7949), (7950), (7951), (7952), (6589), (6360), (6376), (10049), (5821), (5822), (7188), (6478), (10998), (6345), (5748), (5255),
|
||||
(5968), (8350), (10939), (6343), (9602), (10595), (8079), (8008), (9421), (8076), (8078), (10683), (8171), (8546), (10662), (10818),
|
||||
(8007), (5510), (8075), (8077), (10664), (8147), (8993), (5663), (5874), (5875), (8583), (8589), (8590), (8627), (8628), (8630),
|
||||
(8633), (9254), (10620), (5513), (5522), (6357), (8365), (8366), (5509), (6715), (5108), (5518), (6355), (5632), (5845), (6352),
|
||||
(6359), (6363), (6364), (6647), (6766), (5654), (5657), (5511), (5105), (6354), (6366), (6374), (6650), (8964), (5232), (5517),
|
||||
(5660), (5013), (5024), (5603), (5823), (6292), (6294), (6295), (6309), (6310), (6311), (6351), (6353), (6358), (6645), (6754),
|
||||
(7678), (5150), (6651), (5512), (6182), (6183), (6619), (6649), (5229), (6356), (5235), (5043), (5044), (5349), (5350), (6216),
|
||||
(6291), (6643), (6891), (7807), (7808), (6648), (5056), (5184), (5220), (5330), (5333), (5353), (5389), (5400), (5410), (5417),
|
||||
(5418), (5455), (5515), (5531), (5562), (5563), (5639), (5645), (5646), (5681), (5768), (5769), (5833), (5859), (5878), (6130),
|
||||
(6276), (6277), (6278), (6279), (6280), (6435), (6490), (6491), (6492), (6495), (6496), (6497), (6498), (6500), (6501), (6516),
|
||||
(6544), (6623), (6717), (6718), (6834), (6927), (6988), (7134), (7206), (7208), (7268), (7271), (7286), (7287), (7333), (7392),
|
||||
(7679), (7680), (7681), (7716), (7725), (7733), (7737), (7867), (7923), (7970), (8072), (8426), (9280), (9281), (9282), (9284),
|
||||
(9316), (9319), (9325), (9330), (9365), (9593), (9594), (9595), (9596), (9597), (10464), (10691), (10692), (10693), (10694), (5495),
|
||||
(5863), (6307), (7769), (7770), (7771), (8164), (8383), (8585), (9311), (9438), (9440), (9441), (9443), (10790), (5550), (5549),
|
||||
(5555), (8368), (8688), (6951), (5560), (7428), (7190), (5625), (6174), (7170), (5106), (8427), (5379), (5259), (5283), (5362),
|
||||
(5363), (5364), (5367), (5370), (5371), (5377), (5435), (5600), (6131), (6150), (6225), (6227), (6232), (6297), (6301), (6455),
|
||||
(7135), (8425), (9700), (9701), (10457), (10450), (10791), (11264), (12947), (15780), (14550), (12302), (12303), (12330), (12351), (12353),
|
||||
(12354), (13317), (13326), (13327), (13328), (13329), (15292), (15293), (12731), (12588), (12970), (13080), (13090), (13092), (13936), (13950),
|
||||
(14543), (13148), (13164), (13173), (15410), (15769), (11768), (12105), (11743), (14344), (11671), (11672), (14343), (12469), (11178), (11177),
|
||||
(13325), (11139), (11138), (11084), (12325), (12326), (12327), (13323), (13324), (12616), (12617), (12615), (12904), (12104), (12106), (12107),
|
||||
(13175), (13242), (13247), (12866), (11175), (12258), (11174), (11135), (11134), (11082), (13727), (13728), (13730), (13731), (13736), (13737),
|
||||
(13738), (13739), (13740), (13741), (13742), (13743), (13744), (13745), (13746), (13747), (13748), (13749), (13762), (13763), (13764), (13765),
|
||||
(13766), (13767), (13768), (13769), (13770), (13771), (13772), (13773), (13775), (13776), (13777), (13778), (13779), (13780), (13781), (13782),
|
||||
(13783), (13784), (13785), (13788), (13791), (13794), (13797), (13798), (13801), (13802), (13803), (13804), (13805), (13806), (13807), (13808),
|
||||
(13809), (13603), (15756), (13701), (14488), (11950), (11951), (11952), (13480), (13888), (13889), (13890), (13891), (13893), (13901), (13902),
|
||||
(13903), (13904), (13905), (13906), (13907), (13908), (13910), (13911), (13912), (13914), (13915), (13916), (13917), (13918), (14481), (13477),
|
||||
(14894), (15409), (15415), (15417), (15419), (15886), (13602), (13700), (11176), (13422), (13754), (13755), (13756), (13758), (13759), (13760),
|
||||
(13875), (13876), (13877), (13878), (13879), (13880), (13881), (13882), (13883), (13884), (13885), (13886), (13887), (11903), (14062), (15326),
|
||||
(15327), (11111), (13699), (11137), (11083), (12238), (12446), (12447), (12448), (12449), (14891), (14083), (11024), (11131), (11149), (11170),
|
||||
(11222), (11230), (11282), (11364), (11413), (11470), (11507), (11508), (11512), (11513), (11582), (11602), (11609), (11613), (11616), (11947),
|
||||
(11949), (11954), (12064), (12241), (12263), (12347), (12349), (12563), (12567), (12648), (12649), (12723), (12847), (12885), (13155), (13159),
|
||||
(13370), (13673), (13726), (13732), (13733), (13734), (13787), (13790), (13793), (13796), (14339), (14390), (14392), (14645), (15448), (15843),
|
||||
(15845), (11270), (11283), (11511), (11514), (12468), (15422), (15423), (12348), (12787), (12943), (12991), (13316), (13337), (13612), (14586),
|
||||
(18582), (18583), (18584), (17182), (17782), (18881), (17142), (17067), (17068), (18608), (18609), (18713), (18715), (17075), (18813), (17078),
|
||||
(17064), (18205), (17223), (18538), (18970), (18241), (18242), (18243), (18244), (18245), (18246), (18247), (18248), (18768), (17886), (17982),
|
||||
(16369), (16391), (16392), (16393), (16396), (16397), (16401), (16403), (16405), (16406), (16409), (16410), (16413), (16414), (16415), (16416),
|
||||
(16417), (16418), (16419), (16420), (16421), (16422), (16423), (16424), (16425), (16426), (16427), (16428), (16429), (16430), (16431), (16432),
|
||||
(16433), (16434), (16435), (16436), (16485), (16487), (16489), (16490), (16491), (16492), (16494), (16496), (16498), (16499), (16501), (16502),
|
||||
(16503), (16504), (16505), (16506), (16507), (16508), (16509), (16510), (16513), (16514), (16515), (16516), (16518), (16519), (16521), (16522),
|
||||
(16523), (16524), (16525), (16526), (16527), (16528), (16530), (16531), (17562), (17564), (17566), (17567), (17568), (17569), (17570), (17571),
|
||||
(17572), (17573), (17576), (17577), (17594), (17596), (17598), (17599), (17600), (17601), (17610), (17611), (17612), (17613), (17616), (17617),
|
||||
(16337), (17967), (17968), (16999), (17733), (16334), (16336), (16340), (18303), (18304), (18320), (18341), (18342), (16315), (16203), (17966),
|
||||
(16664), (16202), (17769), (16792), (16165), (17224), (17364), (16026), (16339), (16350), (16366), (16374), (16896), (17012), (18142), (16320),
|
||||
(16362), (16378), (16356), (16387), (16047), (16171), (16330), (16383), (18636), (16041), (16042), (16373), (16389), (18651), (16325), (16349),
|
||||
(16361), (16895), (17024), (16319), (16355), (16365), (16386), (16377), (16382), (16082), (16085), (16971), (16329), (16372), (16360), (16390),
|
||||
(17019), (16348), (16354), (16385), (16893), (16967), (16318), (16324), (16381), (16364), (16371), (16388), (17027), (16057), (16328), (16359),
|
||||
(16376), (16353), (16380), (16384), (16347), (16892), (16317), (16368), (16323), (16358), (16379), (16327), (16352), (16363), (16375), (16346),
|
||||
(18964), (16316), (16357), (16351), (16322), (16326), (16331), (16302), (17195), (17302), (17305), (17308), (18002), (16321), (16180), (16642),
|
||||
(16643), (16644), (16968), (16969), (16970), (16973), (17126), (17242), (17262), (17323), (17324), (17325), (17333), (17353), (17362), (17363),
|
||||
(17442), (17505), (17506), (17507), (17696), (17758), (17882), (17887), (18151), (18153), (18492), (18540), (18566), (18643), (18799), (18154),
|
||||
(18642), (20880), (19158), (20142), (20329), (21584), (21587), (21588), (21594), (21612), (21613), (21614), (21339), (20487), (20488), (21124),
|
||||
(21125), (21127), (21890), (19879), (19951), (19952), (19953), (19954), (19955), (19956), (19957), (19958), (19959), (20698), (20725), (20887),
|
||||
(19875), (20720), (20721), (20722), (19105), (19110), (20696), (20706), (20368), (21281), (21282), (21283), (21293), (21302), (19986), (20003),
|
||||
(20005), (20502), (20522), (20524), (21044), (20381), (21785), (21786), (21878), (21772), (21773), (20086), (20965), (19803), (19805), (19806),
|
||||
(19808), (20591), (20596), (20962), (20957), (20953), (20829), (20952), (20825), (20822), (20819), (19213), (19322), (20256), (20560), (21992),
|
||||
(21159), (21175), (19012), (19013), (19696), (20498), (20500), (20501), (19010), (19011), (19807), (20065), (21228), (21243), (21153), (19450),
|
||||
(20067), (21150), (21164), (19008), (19009), (21113), (19006), (19007), (19054), (19055), (21071), (21168), (21212), (21043), (20708), (21162),
|
||||
(19004), (19005), (20913), (20979), (20981), (19160), (19422), (19642), (19725), (19775), (19880), (19882), (20018), (20020), (20021), (20364),
|
||||
(20393), (20416), (20418), (20419), (20420), (20432), (20433), (20435), (20436), (20447), (20448), (20449), (20450), (20454), (20455), (20456),
|
||||
(20709), (20902), (20903), (20904), (20977), (20984), (21106), (21107), (21109), (21111), (21114), (21131), (21152), (21158), (21160), (21161),
|
||||
(21171), (21442), (21519), (21536), (21560), (21577), (21578), (21591), (21815), (21816), (21817), (21818), (21819), (21820), (21821), (21822),
|
||||
(21823), (21831), (21975), (21979), (21980), (21981), (19960), (21140), (19924), (20030), (21141), (22736), (22726), (22819), (22821), (22798),
|
||||
(22799), (22802), (22812), (22691), (22947), (22954), (22800), (22801), (22804), (22807), (22808), (22809), (22811), (22816), (22818), (22820),
|
||||
(22935), (22936), (22937), (22938), (22939), (22940), (22941), (22943), (22960), (22961), (22967), (22968), (22981), (22983), (22988), (22994),
|
||||
(22803), (22806), (22810), (22813), (22814), (22815), (22942), (22805), (22817), (22450), (22349), (22350), (22351), (22352), (22353), (22354),
|
||||
(22355), (22356), (22357), (22358), (22359), (22360), (22361), (22362), (22363), (22364), (22365), (22366), (22367), (22368), (22369), (22370),
|
||||
(22371), (22372), (22373), (22374), (22375), (22376), (22891), (22230), (22273), (22446), (22447), (22782), (22018), (22019), (22103), (22104),
|
||||
(22105), (22116), (22182), (22187), (22189), (22797), (22044), (22179), (22186), (22788), (22128), (22184), (22646), (22795), (22895), (22181),
|
||||
(22185), (22190), (22183), (22180), (22188), (22972), (22710), (22020), (22042), (22045), (22140), (22141), (22142), (22143), (22144), (22145),
|
||||
(22154), (22155), (22156), (22157), (22158), (22159), (22160), (22161), (22162), (22163), (22164), (22165), (22166), (22167), (22168), (22169),
|
||||
(22170), (22171), (22172), (22178), (22202), (22260), (22262), (22263), (22283), (22284), (22285), (22286), (22287), (22288), (22289), (22290),
|
||||
(22291), (22292), (22293), (22294), (22295), (22296), (22297), (22298), (22299), (22300), (22386), (22387), (22584), (22733), (22754), (22822),
|
||||
(22896), (22899), (22058), (22059), (22709), (23051), (25596), (24526), (24561), (24567), (27965), (24550), (24557), (24265), (23053), (23057),
|
||||
(23058), (23040), (23041), (23043), (23045), (23046), (23047), (23048), (23049), (23050), (23072), (23362), (23363), (23054), (23056), (23577),
|
||||
(23242), (23000), (23001), (23025), (23027), (23037), (23038), (23042), (23069), (23070), (23219), (23220), (23663), (23664), (23665), (23666),
|
||||
(23667), (23668), (23004), (23005), (23006), (23009), (23017), (23018), (23019), (23020), (23021), (23023), (23028), (23029), (23030), (23031),
|
||||
(23032), (23033), (23034), (23035), (23036), (23039), (23044), (23068), (23071), (23073), (23075), (23221), (23226), (23237), (23238), (23014),
|
||||
(23457), (23458), (23459), (23461), (23462), (23193), (23545), (23547), (23548), (23549), (23714), (23705), (23709), (23716), (23773), (24412),
|
||||
(25641), (24137), (25667), (23854), (23855), (24288), (27388), (27446), (24071), (23885), (23882), (23364), (23366), (27774), (27811), (27002),
|
||||
(27007), (26368), (26372), (26655), (26738), (26128), (26129), (26130), (26131), (26132), (26133), (26134), (26135), (26464), (26465), (26513),
|
||||
(26527), (26541), (26569), (26765), (26779), (25573), (25574), (25575), (25576), (25580), (25581), (25582), (26235), (26792), (25627), (27196),
|
||||
(27718), (27719), (27720), (26324), (25145), (25159), (25173), (25285), (26843), (26548), (26180), (26173), (26174), (26175), (27218), (23147),
|
||||
(23151), (23153), (23229), (23076), (23157), (26015), (26029), (26041), (23420), (23421), (23422), (23432), (23433), (23434), (23233), (23234),
|
||||
(23235), (27864), (26045), (27863), (24243), (23731), (23755), (23840), (24315), (25877), (23137), (23131), (23141), (23730), (23130), (23135),
|
||||
(23140), (23144), (23148), (23152), (23162), (23194), (23195), (23196), (23684), (23745), (25469), (25699), (25700), (27422), (27437), (27481),
|
||||
(27511), (27513), (23578), (25900), (23579), (23683), (23711), (23734), (23846), (23365), (23368), (24227), (24100), (23003), (23008), (23010),
|
||||
(23011), (23012), (23013), (23016), (23024), (23055), (23214), (23227), (23248), (23340), (23341), (23342), (23350), (23352), (23360), (23378),
|
||||
(23471), (23486), (23552), (23567), (23584), (23586), (23670), (23686), (23726), (23754), (23878), (23879), (23880), (24156), (24226), (24317),
|
||||
(24494), (24538), (24573), (25635), (25677), (25747), (25748), (25749), (25750), (25754), (25755), (25756), (25757), (25850), (27317), (27419),
|
||||
(27590), (23560), (23561), (23562), (23750), (23858), (23866), (23867), (23868), (25814), (27443), (25407), (24242), (27441), (24235), (24190),
|
||||
(24234), (24188), (23330), (23355), (23952), (23980), (24283), (24506), (24509), (25813), (24140), (28294), (28295), (28297), (28298), (28299),
|
||||
(28300), (28302), (28305), (28307), (28308), (28309), (28310), (28312), (28313), (28314), (28319), (28320), (28346), (28358), (28383), (28385),
|
||||
(28402), (28404), (28409), (28410), (28422), (28423), (28443), (28444), (28446), (28447), (28449), (28450), (28476), (28629), (28630), (28639),
|
||||
(28640), (28641), (28642), (28644), (28645), (28974), (28975), (28976), (28977), (28980), (28982), (28983), (28985), (28986), (28987), (28990),
|
||||
(28991), (28993), (28994), (28995), (28997), (28998), (28355), (28356), (28357), (28244), (28245), (28381), (28405), (28411), (28424), (28445),
|
||||
(28448), (28451), (28605), (28638), (28643), (28646), (28973), (28978), (28981), (28984), (28988), (28989), (28992), (28996), (28999), (28117),
|
||||
(28122), (28388), (28389), (28482), (28293), (28613), (28614), (28615), (28616), (28617), (28618), (28619), (28620), (28622), (28623), (28624),
|
||||
(28625), (28626), (28627), (28628), (28679), (28680), (28681), (28683), (28684), (28685), (28686), (28687), (28688), (28689), (28690), (28691),
|
||||
(28692), (28693), (28694), (28695), (28696), (28697), (28698), (28699), (28700), (28701), (28702), (28703), (28704), (28705), (28706), (28707),
|
||||
(28708), (28709), (28710), (28711), (28712), (28713), (28714), (28715), (28716), (28717), (28718), (28719), (28720), (28721), (28722), (28723),
|
||||
(28724), (28805), (28806), (28807), (28808), (28809), (28811), (28812), (28813), (28814), (28815), (28817), (28818), (28819), (28820), (28821),
|
||||
(28831), (28832), (28833), (28834), (28835), (28836), (28837), (28838), (28839), (28840), (28841), (28842), (28843), (28844), (28845), (28846),
|
||||
(28847), (28848), (28849), (28850), (28851), (28852), (28853), (28854), (28855), (28856), (28857), (28858), (28859), (28860), (28861), (28862),
|
||||
(28863), (28864), (28865), (28866), (28867), (28868), (28869), (28870), (28871), (28872), (28873), (28874), (28875), (28917), (28918), (28919),
|
||||
(28920), (28921), (28922), (28923), (28924), (28925), (28926), (28928), (28929), (28930), (28931), (28933), (28935), (28937), (28938), (28939),
|
||||
(28940), (28941), (28942), (28943), (28944), (28945), (28946), (28947), (28948), (28949), (28950), (28951), (28952), (28953), (28954), (28955),
|
||||
(28956), (28957), (28959), (28960), (28043), (28044), (28045), (28291), (28408), (28145), (28073), (28112), (28068), (28596), (28072), (28110),
|
||||
(28131), (28071), (28047), (28099), (28500), (28676), (28738), (28739), (28784), (28039), (28023), (28489), (28905), (30320), (29828), (31958),
|
||||
(31959), (31965), (31966), (31978), (31984), (31985), (31986), (30448), (29000), (29001), (29003), (29004), (29005), (30491), (31594), (31595),
|
||||
(31596), (31597), (29885), (29002), (29006), (31598), (31599), (29237), (30559), (29120), (29225), (31584), (31585), (31586), (31587), (31588),
|
||||
(31589), (31590), (31591), (31592), (31593), (31620), (31621), (31622), (31623), (31624), (31625), (31626), (31627), (31628), (31629), (31630),
|
||||
(31631), (31632), (31633), (31634), (31635), (31636), (31637), (31638), (31639), (31640), (31641), (31642), (31643), (31644), (31646), (31647),
|
||||
(31648), (31649), (31650), (31942), (31490), (31491), (31802), (31492), (31493), (31494), (31246), (29210), (30418), (30287), (30288), (30289),
|
||||
(31730), (30845), (29024), (30427), (30703), (30760), (29539), (29547), (29548), (29569), (30309), (30499), (29041), (29311), (29749), (29751),
|
||||
(29769), (29839), (29840), (29841), (29842), (29852), (29856), (29857), (29860), (29861), (29863), (29868), (29871), (29872), (29874), (29887),
|
||||
(29961), (29963), (30193), (30197), (30430), (30438), (30524), (30525), (30526), (30539), (30567), (30595), (30613), (30630), (30658), (30659),
|
||||
(30717), (31122), (31123), (31130), (31252), (31266), (31346), (31365), (31518), (31607), (31665), (31813), (31843), (31845), (31849), (29790),
|
||||
(29805), (30632), (30805), (31530), (29410), (29419), (29565), (29571), (29575), (29576), (29645), (29712), (30414), (31824), (32824), (32466),
|
||||
(32419), (32760), (32761), (32956), (32959), (32416), (32003), (32014), (32025), (32026), (32027), (32028), (32044), (32045), (32046), (32052),
|
||||
(32053), (32054), (32055), (32961), (32962), (32963), (32964), (32944), (32418), (32422), (32482), (32955), (32958), (32450), (32451), (32452),
|
||||
(32974), (32975), (32976), (32978), (32982), (32984), (32985), (32987), (32992), (32993), (32995), (32996), (32415), (32417), (32954), (32957),
|
||||
(32973), (32977), (32983), (32986), (32991), (32994), (32093), (32094), (32095), (32096), (32097), (32098), (32099), (32100), (32101), (32102),
|
||||
(32103), (32104), (32105), (32106), (32107), (32108), (32109), (32110), (32111), (32112), (32113), (32114), (32115), (32116), (32117), (32118),
|
||||
(32119), (32120), (32121), (32122), (32123), (32124), (32125), (32126), (32127), (32128), (32129), (32130), (32131), (32132), (32133), (32134),
|
||||
(32135), (32136), (32137), (32138), (32139), (32140), (32141), (32142), (32143), (32144), (32145), (32146), (32147), (32148), (32149), (32150),
|
||||
(32151), (32152), (32153), (32154), (32155), (32156), (32157), (32158), (32159), (32160), (32161), (32162), (32163), (32164), (32165), (32166),
|
||||
(32167), (32168), (32169), (32170), (32171), (32172), (32173), (32174), (32175), (32176), (32177), (32178), (32179), (32180), (32181), (32182),
|
||||
(32183), (32184), (32185), (32186), (32187), (32188), (32189), (32190), (32192), (32414), (32421), (32655), (32656), (32914), (32735), (32895),
|
||||
(32896), (32407), (32658), (32659), (32660), (32661), (32662), (32663), (32664), (32665), (32949), (32950), (32412), (32915), (32917), (32918),
|
||||
(32919), (32920), (32465), (32542), (32566), (32594), (32773), (32764), (32765), (32766), (32618), (32642), (32543), (32544), (32545), (32546),
|
||||
(32547), (32548), (32549), (32550), (32551), (32552), (32553), (32554), (32555), (32556), (32557), (32558), (32559), (32560), (32561), (32595),
|
||||
(32598), (32601), (32840), (32844), (32845), (32846), (32847), (32762), (32763), (32767), (32972), (32320), (32364), (32408), (32626), (32627),
|
||||
(32628), (32629), (32630), (32631), (32688), (32689), (32690), (32691), (32692), (32693), (32700), (32701), (32702), (32703), (32704), (32705),
|
||||
(32706), (32707), (32708), (32709), (32710), (32711), (32712), (32713), (32734), (32911), (32971), (32578), (32906), (32725), (32615), (32633),
|
||||
(32841), (33475), (34146), (34149), (34145), (34148), (34144), (34147), (34219), (34335), (34209), (34212), (33668), (33671), (33674), (33676),
|
||||
(33679), (33682), (33684), (33690), (33693), (33699), (33700), (33703), (33717), (33720), (33726), (33729), (33732), (33744), (33747), (33753),
|
||||
(33767), (33770), (33920), (33921), (33922), (33923), (33076), (33077), (33078), (33309), (33313), (33937), (33940), (33943), (33946), (33949),
|
||||
(33952), (34576), (34577), (34578), (34579), (34580), (33987), (33997), (33054), (33065), (33066), (33067), (33068), (33482), (33964), (33936),
|
||||
(33939), (33942), (33945), (33948), (33951), (33957), (33959), (34073), (34074), (34075), (34622), (34057), (33132), (33137), (33138), (33139),
|
||||
(33141), (33142), (33809), (34544), (33080), (33225), (33182), (33184), (34835), (33350), (34138), (34139), (33803), (34143), (34142), (34221),
|
||||
(33060), (33147), (34627), (34967), (34415), (34107), (33224), (33993), (34955), (33017), (33018), (33019), (33020), (33021), (33176), (33183),
|
||||
(33219), (33223), (34492), (34499), (34518), (34519), (33197), (34484), (34486), (33455), (34025), (34030), (33312), (34062), (34024), (34126),
|
||||
(34469), (34735), (34737), (34738), (34739), (34740), (34741), (34742), (34743), (34744), (34745), (34746), (34864), (34865), (34867), (34868),
|
||||
(33823), (33824), (34467), (34663), (33096), (33218), (33041), (33081), (33087), (33105), (33111), (33121), (33315), (33336), (33341), (33477),
|
||||
(33558), (33599), (33604), (33610), (33614), (33615), (33616), (33617), (33634), (33781), (33784), (33839), (33848), (33850), (33929), (34044),
|
||||
(34077), (34112), (34115), (34116), (34117), (34120), (34123), (34135), (34158), (34187), (34191), (34494), (34497), (34501), (34623), (34645),
|
||||
(34647), (34716), (34718), (34842), (33051), (33063), (33797), (34171), (33316), (34476), (33089), (34589), (34590), (34591), (34694), (34784),
|
||||
(34880), (34907), (36942), (35290), (35291), (35292), (35317), (35319), (35327), (35494), (35495), (35496), (35497), (35507), (35508), (35509),
|
||||
(35511), (35514), (35213), (35539), (35541), (35545), (35546), (35549), (35550), (35202), (35209), (35226), (35517), (35518), (35519), (35520),
|
||||
(35521), (35522), (35523), (35524), (35525), (35526), (35527), (35528), (35529), (35530), (35531), (35532), (35533), (35535), (35537), (35538),
|
||||
(35544), (35548), (35551), (35553), (35555), (35664), (35665), (35666), (36866), (36867), (35728), (35729), (35730), (35731), (35225), (36941),
|
||||
(36454), (36477), (36491), (36505), (36519), (36533), (36547), (36561), (36575), (36589), (36603), (36617), (36631), (36645), (36659), (36673),
|
||||
(36687), (36701), (36715), (35876), (36910), (36915), (35626), (36899), (36900), (36970), (36892), (36893), (36894), (36965), (36897), (36955),
|
||||
(36967), (36895), (36960), (36912), (36914), (36968), (36959), (36889), (36890), (36891), (36966), (36896), (36964), (35285), (35286), (35396),
|
||||
(35397), (35398), (35399), (35400), (35417), (35418), (35419), (35420), (35421), (35422), (35423), (35424), (35425), (35426), (35427), (35428),
|
||||
(35429), (35430), (35431), (35432), (35433), (35434), (35435), (35436), (35437), (35438), (35439), (35440), (35441), (35442), (35443), (35444),
|
||||
(35445), (35446), (35447), (35448), (35449), (35450), (35451), (35452), (35453), (35454), (35455), (35456), (35457), (35458), (35459), (35460),
|
||||
(35461), (35462), (35313), (35946), (35126), (35229), (35289), (35692), (35701), (35718), (35722), (35738), (35777), (35803), (35840), (35854),
|
||||
(36733), (36748), (36765), (36768), (36772), (36799), (36828), (36836), (36846), (36848), (35512), (35792), (35806), (36862), (36863), (35757),
|
||||
(36794), (36795), (36829), (36830), (38691), (37739), (37740), (37611), (37127), (37128), (37597), (38287), (38288), (38289), (38290), (38282),
|
||||
(38307), (38377), (38378), (38265), (37598), (37719), (38576), (38484), (38309), (38310), (38311), (38312), (38313), (38314), (37174), (37175),
|
||||
(37176), (37196), (37197), (37243), (37244), (37245), (37290), (37364), (37365), (37366), (37410), (37587), (37590), (37624), (37625), (37646),
|
||||
(37647), (37648), (37649), (37671), (37672), (37673), (37697), (37698), (37699), (37799), (37800), (37801), (37856), (37857), (37858), (37109),
|
||||
(38442), (38443), (38444), (38445), (38387), (38388), (38389), (38390), (38572), (38468), (38243), (38244), (38245), (38246), (38247), (38248),
|
||||
(38471), (38480), (38481), (38469), (37430), (37311), (37313), (38292), (38538), (38658), (38683), (37164), (37827), (37893), (37894), (37895),
|
||||
(37896), (37897), (37297), (37298), (38301), (38578), (38916), (37955), (37967), (37976), (38052), (38140), (38204), (38383), (38524), (38525),
|
||||
(38527), (37210), (37225), (37273), (37278), (37279), (37281), (37284), (37285), (37286), (37295), (37296), (37315), (37316), (37317), (37318),
|
||||
(37321), (37323), (37324), (37385), (37386), (37400), (37420), (37433), (37444), (37448), (37450), (37451), (37453), (37454), (37455), (37457),
|
||||
(37466), (37468), (37469), (37470), (37472), (37473), (37474), (37477), (37485), (37510), (37511), (37534), (37536), (37544), (38164), (38254),
|
||||
(38255), (38256), (37343), (37345), (37346), (37338), (37326), (37329), (37335), (37336), (37337), (37710), (37312), (37163), (37154), (37126),
|
||||
(37348), (38640), (38970), (38994), (38996), (38983), (37706), (38958), (37452), (38270), (38271), (38272), (38561), (38597), (38643), (38625),
|
||||
(38957), (38567), (37161), (37157), (37158), (37489), (37898), (37900), (37901), (37902), (37903), (37904), (37905), (37906), (37907), (37908),
|
||||
(37909), (37100), (37250), (37303), (37372), (37501), (37815), (37837), (37859), (37860), (37925), (38089), (38186), (38233), (38266), (38324),
|
||||
(38380), (38382), (38483), (38498), (38512), (38577), (38600), (38606), (38619), (38621), (38622), (38623), (38624), (38629), (38630), (38631),
|
||||
(37063), (37089), (37090), (37148), (37301), (37711), (37742), (37878), (38333), (38587), (38644), (38687), (38448), (37839), (38497), (38496),
|
||||
(38626), (37467), (37579), (38261), (38263), (38264), (38268), (38269), (38273), (38274), (38605), (40481), (41900), (41911), (41995), (40549),
|
||||
(39715), (40406), (40407), (40408), (40409), (40410), (40412), (40414), (40650), (39263), (39427), (39467), (39468), (39470), (39472), (39473),
|
||||
(40307), (40553), (40440), (40441), (40442), (40443), (40444), (39769), (41749), (41342), (39303), (40480), (41605), (41606), (40762), (40777),
|
||||
(40599), (40727), (40754), (40832), (40839), (40725), (41403), (41404), (41405), (41406), (41407), (41408), (41409), (41410), (41411), (41412),
|
||||
(41413), (41414), (41415), (41416), (41417), (41418), (41419), (41420), (41421), (41422), (41423), (41796), (41125), (39370), (40232), (41133),
|
||||
(39364), (39410), (39440), (39460), (39819), (39828), (41756), (41757), (41758), (41759), (39707), (39708), (39709), (39710), (39711), (41178),
|
||||
(41750), (41753), (39685), (41147), (41166), (41174), (41196), (39644), (39687), (39738), (39969), (40199), (40776), (41091), (41093), (41111),
|
||||
(41118), (41173), (39526), (39527), (41195), (39148), (39213), (39343), (39692), (41741), (41800), (41801), (41802), (41803), (41804), (41805),
|
||||
(41806), (41807), (41808), (41809), (41810), (41811), (41812), (41813), (41814), (40773), (41194), (39342), (40484), (40948), (41193), (41172),
|
||||
(39341), (41192), (41171), (39340), (41169), (41191), (39339), (41170), (39338), (39302), (39334), (39151), (39162), (39163), (39314), (39575),
|
||||
(39576), (39614), (39739), (39748), (39903), (39904), (40110), (40218), (40219), (40220), (40221), (40222), (40223), (40224), (40225), (40226),
|
||||
(40227), (40228), (40229), (40230), (40231), (40389), (40686), (41132), (41585), (39506), (39883), (39153), (39743), (39754), (42000), (42007),
|
||||
(42013), (42019), (42083), (42238), (42207), (42226), (42231), (42236), (42241), (42254), (42259), (42264), (42269), (42274), (42279), (42284),
|
||||
(42289), (42316), (42321), (42326), (42331), (42345), (42351), (42359), (42383), (42389), (42449), (42484), (42489), (42494), (42501), (42512),
|
||||
(42518), (42524), (42530), (42536), (42558), (42563), (42569), (42577), (42582), (42587), (42596), (42601), (42606), (42613), (42619), (42654),
|
||||
(42655), (42656), (42657), (42658), (42851), (42664), (42665), (42666), (42667), (42668), (42625), (42626), (42627), (42628), (42629), (42659),
|
||||
(42660), (42661), (42662), (42663), (42690), (42691), (42692), (42693), (42694), (42695), (42696), (42697), (42698), (42699), (42630), (42631),
|
||||
(42632), (42633), (42634), (42635), (42636), (42637), (42638), (42639), (42669), (42670), (42671), (42672), (42673), (42674), (42675), (42676),
|
||||
(42677), (42678), (42680), (42681), (42682), (42683), (42684), (42685), (42686), (42687), (42688), (42689), (42703), (42704), (42705), (42706),
|
||||
(42707), (42708), (42709), (42710), (42711), (42712), (42713), (42714), (42715), (42716), (42717), (42718), (42719), (42720), (42721), (42722),
|
||||
(42197), (42198), (42199), (42200), (42201), (42202), (42976), (42206), (42212), (42213), (42214), (42215), (42216), (42217), (42218), (42219),
|
||||
(42220), (42221), (42222), (42223), (42224), (42294), (42295), (42296), (42297), (42343), (42344), (42356), (42382), (42388), (42444), (42445),
|
||||
(42446), (42447), (42448), (42511), (42517), (42523), (42529), (42535), (42556), (42557), (42568), (42574), (42575), (42576), (42593), (42594),
|
||||
(42595), (42611), (42612), (42618), (42755), (42953), (42975), (42977), (42978), (42979), (42980), (42981), (42982), (42983), (42875), (42885),
|
||||
(42886), (42174), (42179), (42425), (42147), (42434), (42171), (42545), (42180), (42181), (42182), (42186), (42189), (42190), (42191), (42192),
|
||||
(42193), (42194), (42195), (42196), (42432), (42433), (42170), (42986), (42590), (42474), (42440), (42894), (42733), (42342), (42350), (42381),
|
||||
(42776), (42940), (43651), (43727), (43728), (43729), (43730), (43731), (43460), (43611), (43612), (43613), (43732), (43733), (43734), (43735),
|
||||
(43736), (43737), (43738), (43739), (43740), (43741), (43742), (43743), (43744), (43745), (43746), (43747), (43748), (43749), (43750), (43751),
|
||||
(43752), (43753), (43754), (43755), (43756), (43757), (43758), (43759), (43760), (43761), (43762), (43763), (43764), (43765), (43766), (43767),
|
||||
(43768), (43769), (43770), (43771), (43772), (43773), (43774), (43775), (43776), (43777), (43778), (43779), (43780), (43781), (43782), (43783),
|
||||
(43784), (43785), (43786), (43787), (43788), (43789), (43790), (43791), (43792), (43793), (43794), (43795), (43796), (43797), (43798), (43799),
|
||||
(43800), (43801), (43802), (43803), (43804), (43805), (43806), (43807), (43808), (43809), (43810), (43811), (43812), (43813), (43814), (43815),
|
||||
(43816), (43817), (43818), (43819), (43820), (43822), (43069), (43071), (43072), (43075), (43076), (43079), (43080), (43083), (43267), (43963),
|
||||
(43964), (43475), (43476), (43302), (43303), (43304), (43949), (43517), (43698), (43648), (43848), (43878), (43895), (43922), (43936), (43938),
|
||||
(43109), (43563), (43108), (43298), (43562), (43107), (43561), (43106), (43560), (43105), (43559), (43104), (43558), (43103), (43557), (43150),
|
||||
(43523), (43087), (43097), (43518), (43468), (43571), (43572), (43614), (43620), (43621), (43647), (43652), (43038), (43646), (43002), (43099),
|
||||
(43136), (43144), (43149), (43269), (43270), (43272), (43274), (43275), (43276), (43308), (43336), (43337), (43384), (43362), (43006), (43093),
|
||||
(43288), (43307), (43471), (43486), (43489), (43617), (43618), (43619), (43627), (43628), (43629), (43630), (43631), (43632), (43633), (43634),
|
||||
(43635), (43636), (43637), (43638), (43639), (43640), (43641), (43650), (43695), (43215), (43493), (43659), (43003), (43321), (43325), (43326),
|
||||
(43328), (43329), (43330), (43333), (43341), (43576), (43577), (43643), (43644), (43645), (43653), (43658), (43675), (43676), (43677), (43678),
|
||||
(43679), (43680), (43681), (43682), (43683), (43684), (43685), (43686), (43687), (43694), (43701), (43702), (43703), (43704), (43705), (43706),
|
||||
(43707), (43708), (43709), (43710), (43711), (43712), (43713), (43714), (43715), (43716), (43717), (43718), (43719), (43720), (43721), (43722),
|
||||
(43723), (44090), (44807), (45457), (45459), (45460), (45461), (45462), (45605), (45455), (45538), (45539), (45540), (45541), (45542), (45543),
|
||||
(45544), (45547), (45548), (45549), (45350), (45464), (44310), (44311), (44333), (44417), (44418), (44869), (44870), (44926), (44948), (45924),
|
||||
(44924), (44555), (44556), (44557), (44871), (44872), (44873), (44874), (44164), (44175), (45280), (45024), (45037), (45173), (44191), (44415),
|
||||
(44416), (45172), (44505), (45174), (45175), (44391), (44392), (45850), (45851), (45852), (45853), (44945), (44563), (44875), (44876), (44877),
|
||||
(44878), (44879), (44880), (44881), (44882), (44883), (44884), (45705), (44451), (44619), (44627), (44629), (44600), (44811), (44158), (44148),
|
||||
(45180), (44260), (44261), (44262), (44263), (44264), (44265), (44266), (44267), (44268), (44269), (44270), (44271), (44272), (44273), (44274),
|
||||
(44275), (44277), (44278), (44279), (44280), (44281), (44282), (44284), (44285), (44286), (44287), (44288), (44289), (44290), (44291), (44292),
|
||||
(44293), (44866), (44972), (45063), (44703), (45575), (45126), (44428), (45052), (45050), (45629), (44849), (45127), (45229), (45230), (45231),
|
||||
(45500), (44817), (44607), (45006), (45007), (45008), (45009), (44506), (44507), (45279), (45863), (45901), (45909), (44221), (44229), (44598),
|
||||
(44608), (44609), (44475), (45276), (45277), (44432), (45908), (44743), (44604), (45942), (44462), (44480), (44508), (44620), (44646), (44680),
|
||||
(44832), (44851), (44852), (44856), (44915), (44981), (44988), (44989), (44991), (44992), (44993), (44994), (44996), (44997), (45003), (45026),
|
||||
(45028), (45029), (45030), (45031), (45032), (45033), (45036), (45045), (45049), (45082), (45120), (45278), (45328), (45569), (45728), (45729),
|
||||
(45730), (45748), (45749), (45750), (45751), (45752), (45754), (45759), (45765), (45860), (45899), (45902), (45903), (45904), (45905), (44304),
|
||||
(44434), (44656), (44718), (45034), (45035), (45568), (44299), (45630), (44728), (44236), (44298), (44300), (44578), (44580), (44705), (44755),
|
||||
(44760), (44761), (44833), (45061), (45176), (45177), (45178), (45179), (45188), (45189), (45190), (45191), (45194), (45195), (45196), (45197),
|
||||
(45198), (45199), (45200), (45201), (45202), (45900), (45907), (46105), (46104), (46214), (46215), (46217), (46218), (46219), (46220), (46222),
|
||||
(46225), (46227), (46228), (46230), (46232), (46233), (46234), (46235), (46236), (46237), (46238), (46239), (46240), (46241), (46242), (46243),
|
||||
(46244), (46245), (46246), (46248), (46255), (46256), (46257), (46273), (46274), (46275), (46276), (46277), (46288), (46289), (46290), (46291),
|
||||
(46292), (46293), (46294), (46295), (46296), (46297), (46298), (46299), (46300), (46301), (46302), (46303), (46304), (46305), (46306), (46307),
|
||||
(46103), (46213), (46216), (46221), (46223), (46224), (46226), (46231), (46247), (46249), (46250), (46251), (46252), (46253), (46254), (46258),
|
||||
(46259), (46260), (46261), (46262), (46263), (46264), (46265), (46266), (46267), (46268), (46269), (46270), (46271), (46272), (46278), (46279),
|
||||
(46280), (46281), (46282), (46283), (46284), (46285), (46286), (46287), (46309), (46339), (46340), (46341), (46342), (46343), (46344), (46345),
|
||||
(46346), (46347), (46350), (46351), (47497), (47229), (46101), (46778), (46331), (47246), (46709), (46767), (46802), (46892), (46780), (46765),
|
||||
(46766), (46849), (47507), (47395), (46399), (46400), (46401), (46402), (46403), (46055), (46847), (47030), (46887), (46054), (46735), (46069),
|
||||
(46070), (46106), (46319), (46395), (46783), (46830), (46978), (47036), (46852), (46957), (49686), (48435), (48438), (48440), (48442), (48444),
|
||||
(48507), (48509), (48511), (48513), (48515), (48517), (48519), (48521), (48523), (49191), (49497), (48725), (48726), (48727), (48728), (48729),
|
||||
(48730), (48731), (48732), (48733), (48734), (48735), (48736), (48737), (48738), (48739), (48740), (48741), (48742), (48743), (48744), (48745),
|
||||
(48746), (48747), (48748), (48749), (48750), (48751), (48752), (48753), (48754), (48755), (48756), (48757), (48758), (48759), (48760), (48761),
|
||||
(48762), (48763), (48764), (48769), (48770), (48771), (48772), (48773), (48774), (48775), (48776), (48777), (48778), (48781), (48782), (48783),
|
||||
(48784), (48785), (48786), (48787), (48788), (48789), (48790), (48794), (48795), (48796), (48797), (48798), (48799), (48800), (48801), (48802),
|
||||
(48803), (48804), (48805), (48806), (48807), (48808), (48809), (48810), (48811), (48812), (48813), (48814), (48815), (48816), (48817), (48818),
|
||||
(48819), (48820), (48821), (48822), (48823), (48824), (48825), (48826), (48827), (48828), (48829), (48830), (48831), (48832), (48833), (48836),
|
||||
(48837), (48838), (48839), (48840), (48841), (48842), (48843), (48844), (48845), (48846), (48847), (48848), (48849), (48850), (48851), (48852),
|
||||
(48853), (48854), (48855), (48860), (48861), (48862), (48863), (48864), (48865), (48866), (48867), (48868), (48869), (48870), (48871), (48872),
|
||||
(48873), (48874), (48875), (48876), (48877), (48878), (48879), (48880), (48881), (48882), (48883), (48884), (48885), (48886), (48887), (48888),
|
||||
(48889), (48890), (48891), (48892), (48893), (48894), (48895), (48896), (48897), (48898), (48899), (48900), (48901), (48902), (48903), (48904),
|
||||
(48905), (48906), (48907), (48908), (48909), (48910), (48911), (48912), (48913), (48914), (48915), (48916), (48917), (48918), (48919), (48922),
|
||||
(48923), (48924), (48925), (48926), (48927), (48928), (48929), (48930), (48931), (49301), (49312), (49313), (49314), (49852), (49853), (49854),
|
||||
(49855), (49334), (49703), (49704), (49706), (48945), (49050), (48527), (49662), (49663), (49665), (49693), (49343), (49640), (49917), (48601),
|
||||
(49288), (49289), (48679), (49362), (49223), (49278), (49340), (49373), (49655), (49680), (49739), (49750), (49915), (49916), (49209), (49645),
|
||||
(49689), (49708), (49733), (49873), (49984), (50442), (50204), (51682), (51683), (51684), (51685), (51686), (51687), (51688), (51689), (51690),
|
||||
(51691), (51692), (51693), (51694), (51695), (51696), (51697), (51698), (51699), (51700), (51701), (51702), (51703), (51704), (51705), (51706),
|
||||
(51707), (51708), (51709), (51710), (51711), (51712), (51713), (51714), (51715), (51716), (51717), (51718), (51719), (51720), (51721), (51722),
|
||||
(51723), (51724), (51725), (51726), (51727), (51728), (51729), (51730), (51731), (51732), (51733), (51734), (51735), (51736), (51737), (51738),
|
||||
(51739), (51740), (51741), (51742), (51743), (51744), (51745), (51746), (51747), (51748), (51749), (51750), (51751), (51752), (51753), (51754),
|
||||
(51755), (51756), (51757), (51758), (51759), (51760), (51761), (51762), (51763), (51764), (51765), (51766), (51767), (51768), (51769), (51770),
|
||||
(51771), (51772), (51773), (51774), (51775), (51776), (53491), (53492), (53493), (53494), (53495), (53496), (53497), (53498), (53499), (53500),
|
||||
(53501), (53502), (53503), (53504), (53505), (53506), (53507), (53508), (53509), (54592), (50315), (50318), (50319), (52567), (50815), (53889),
|
||||
(53890), (54069), (54860), (50840), (53891), (53924), (51997), (51998), (54847), (54857), (56806), (54212), (54452), (54810), (50093), (54822),
|
||||
(50289), (50301), (50307), (52189), (52202), (52272), (52275), (52276), (52345), (52562), (52563), (52565), (52729), (53510), (54218), (54455),
|
||||
(54467), (50248), (50431), (52011), (52062), (54291), (54470);
|
||||
1942
modules/mod-ah-bot/src/AuctionHouseBot.cpp
Normal file
1942
modules/mod-ah-bot/src/AuctionHouseBot.cpp
Normal file
File diff suppressed because it is too large
Load Diff
1260
modules/mod-ah-bot/src/AuctionHouseBot.h
Normal file
1260
modules/mod-ah-bot/src/AuctionHouseBot.h
Normal file
File diff suppressed because it is too large
Load Diff
92
modules/mod-ah-bot/src/AuctionHouseBotScript.cpp
Normal file
92
modules/mod-ah-bot/src/AuctionHouseBotScript.cpp
Normal file
@@ -0,0 +1,92 @@
|
||||
/*
|
||||
* Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU AGPL v3 license: https://github.com/azerothcore/azerothcore-wotlk/blob/master/LICENSE-AGPL3
|
||||
*/
|
||||
|
||||
#include "ScriptMgr.h"
|
||||
#include "AuctionHouseBot.h"
|
||||
#include "Log.h"
|
||||
#include "Mail.h"
|
||||
#include "Player.h"
|
||||
#include "WorldSession.h"
|
||||
|
||||
class AHBot_WorldScript : public WorldScript
|
||||
{
|
||||
public:
|
||||
AHBot_WorldScript() : WorldScript("AHBot_WorldScript") { }
|
||||
|
||||
void OnBeforeConfigLoad(bool /*reload*/) override
|
||||
{
|
||||
auctionbot->InitializeConfiguration();
|
||||
}
|
||||
|
||||
void OnStartup() override
|
||||
{
|
||||
LOG_INFO("server.loading", "Initialize AuctionHouseBot...");
|
||||
auctionbot->Initialize();
|
||||
}
|
||||
};
|
||||
|
||||
class AHBot_AuctionHouseScript : public AuctionHouseScript
|
||||
{
|
||||
public:
|
||||
AHBot_AuctionHouseScript() : AuctionHouseScript("AHBot_AuctionHouseScript") { }
|
||||
|
||||
void OnBeforeAuctionHouseMgrSendAuctionSuccessfulMail(AuctionHouseMgr* /*auctionHouseMgr*/, AuctionEntry* /*auction*/, Player* owner, uint32& /*owner_accId*/, uint32& /*profit*/, bool& sendNotification, bool& updateAchievementCriteria, bool& /*sendMail*/) override
|
||||
{
|
||||
if (owner && owner->GetGUID().GetCounter() == auctionbot->GetAHBplayerGUID())
|
||||
{
|
||||
sendNotification = false;
|
||||
updateAchievementCriteria = false;
|
||||
}
|
||||
}
|
||||
|
||||
void OnBeforeAuctionHouseMgrSendAuctionExpiredMail(AuctionHouseMgr* /*auctionHouseMgr*/, AuctionEntry* /*auction*/, Player* owner, uint32& /*owner_accId*/, bool& sendNotification, bool& /*sendMail*/) override
|
||||
{
|
||||
if (owner && owner->GetGUID().GetCounter() == auctionbot->GetAHBplayerGUID())
|
||||
sendNotification = false;
|
||||
}
|
||||
|
||||
void OnBeforeAuctionHouseMgrSendAuctionOutbiddedMail(AuctionHouseMgr* /*auctionHouseMgr*/, AuctionEntry* auction, Player* oldBidder, uint32& /*oldBidder_accId*/, Player* newBidder, uint32& newPrice, bool& /*sendNotification*/, bool& /*sendMail*/) override
|
||||
{
|
||||
if (oldBidder && !newBidder)
|
||||
oldBidder->GetSession()->SendAuctionBidderNotification(auction->GetHouseId(), auction->Id, ObjectGuid::Create<HighGuid::Player>(auctionbot->GetAHBplayerGUID()), newPrice, auction->GetAuctionOutBid(), auction->item_template);
|
||||
}
|
||||
|
||||
void OnAuctionAdd(AuctionHouseObject* /*ah*/, AuctionEntry* auction) override
|
||||
{
|
||||
auctionbot->IncrementItemCounts(auction);
|
||||
}
|
||||
|
||||
void OnAuctionRemove(AuctionHouseObject* /*ah*/, AuctionEntry* auction) override
|
||||
{
|
||||
auctionbot->DecrementItemCounts(auction, auction->item_template);
|
||||
}
|
||||
|
||||
void OnBeforeAuctionHouseMgrUpdate() override
|
||||
{
|
||||
auctionbot->Update();
|
||||
}
|
||||
};
|
||||
|
||||
class AHBot_MailScript : public MailScript
|
||||
{
|
||||
public:
|
||||
AHBot_MailScript() : MailScript("AHBot_MailScript") { }
|
||||
|
||||
void OnBeforeMailDraftSendMailTo(MailDraft* /*mailDraft*/, MailReceiver const& receiver, MailSender const& sender, MailCheckMask& /*checked*/, uint32& /*deliver_delay*/, uint32& /*custom_expiration*/, bool& deleteMailItemsFromDB, bool& sendMail) override
|
||||
{
|
||||
if (receiver.GetPlayerGUIDLow() == auctionbot->GetAHBplayerGUID())
|
||||
{
|
||||
if (sender.GetMailMessageType() == MAIL_AUCTION) // auction mail with items
|
||||
deleteMailItemsFromDB = true;
|
||||
sendMail = false;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
void AddAHBotScripts()
|
||||
{
|
||||
new AHBot_WorldScript();
|
||||
new AHBot_AuctionHouseScript();
|
||||
new AHBot_MailScript();
|
||||
}
|
||||
15
modules/mod-ah-bot/src/ah_bot_loader.cpp
Normal file
15
modules/mod-ah-bot/src/ah_bot_loader.cpp
Normal file
@@ -0,0 +1,15 @@
|
||||
/*
|
||||
* Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU AGPL v3 license: https://github.com/azerothcore/azerothcore-wotlk/blob/master/LICENSE-AGPL3
|
||||
* Copyright (C) 2021+ WarheadCore <https://github.com/WarheadCore>
|
||||
*/
|
||||
|
||||
// From SC
|
||||
void AddAHBotCommandScripts();
|
||||
void AddAHBotScripts();
|
||||
|
||||
// Add all
|
||||
void Addmod_ah_botScripts()
|
||||
{
|
||||
AddAHBotCommandScripts();
|
||||
AddAHBotScripts();
|
||||
}
|
||||
488
modules/mod-ah-bot/src/cs_ah_bot.cpp
Normal file
488
modules/mod-ah-bot/src/cs_ah_bot.cpp
Normal file
@@ -0,0 +1,488 @@
|
||||
/*
|
||||
* Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* Free Software Foundation; either version 2 of the License, or (at your
|
||||
* option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along
|
||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* ScriptData
|
||||
Name: ah_bot_commandscript
|
||||
%Complete: 100
|
||||
Comment: All ah_bot related commands
|
||||
Category: commandscripts
|
||||
EndScriptData */
|
||||
|
||||
#include "ScriptMgr.h"
|
||||
#include "Chat.h"
|
||||
#include "AuctionHouseBot.h"
|
||||
#include "Config.h"
|
||||
|
||||
#if AC_COMPILER == AC_COMPILER_GNU
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||
#endif
|
||||
|
||||
using namespace Acore::ChatCommands;
|
||||
|
||||
class ah_bot_commandscript : public CommandScript
|
||||
{
|
||||
public:
|
||||
ah_bot_commandscript() : CommandScript("ah_bot_commandscript") { }
|
||||
|
||||
std::vector<ChatCommand> GetCommands() const override
|
||||
{
|
||||
static std::vector<ChatCommand> commandTable =
|
||||
{
|
||||
{ "ahbotoptions", SEC_GAMEMASTER, true, &HandleAHBotOptionsCommand, "" },
|
||||
};
|
||||
return commandTable;
|
||||
}
|
||||
|
||||
static bool HandleAHBotOptionsCommand(ChatHandler* handler, const char*args)
|
||||
{
|
||||
uint32 ahMapID = 0;
|
||||
char* opt = strtok((char*)args, " ");
|
||||
char* ahMapIdStr = strtok(NULL, " ");
|
||||
|
||||
if (ahMapIdStr)
|
||||
{
|
||||
ahMapID = uint32(strtoul(ahMapIdStr, NULL, 0));
|
||||
switch (ahMapID)
|
||||
{
|
||||
case 2:
|
||||
case 6:
|
||||
case 7:
|
||||
break;
|
||||
default:
|
||||
opt = NULL;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (!opt)
|
||||
{
|
||||
handler->PSendSysMessage("Syntax is: ahbotoptions $option $ahMapID (2, 6 or 7) $parameter");
|
||||
handler->PSendSysMessage("Try ahbotoptions help to see a list of options.");
|
||||
return false;
|
||||
}
|
||||
|
||||
int l = strlen(opt);
|
||||
|
||||
if (strncmp(opt, "help", l) == 0)
|
||||
{
|
||||
handler->PSendSysMessage("AHBot commands:");
|
||||
handler->PSendSysMessage("ahexpire");
|
||||
handler->PSendSysMessage("minitems");
|
||||
handler->PSendSysMessage("maxitems");
|
||||
//handler->PSendSysMessage("");
|
||||
//handler->PSendSysMessage("");
|
||||
handler->PSendSysMessage("percentages");
|
||||
handler->PSendSysMessage("minprice");
|
||||
handler->PSendSysMessage("maxprice");
|
||||
handler->PSendSysMessage("minbidprice");
|
||||
handler->PSendSysMessage("maxbidprice");
|
||||
handler->PSendSysMessage("maxstack");
|
||||
handler->PSendSysMessage("buyerprice");
|
||||
handler->PSendSysMessage("bidinterval");
|
||||
handler->PSendSysMessage("bidsperinterval");
|
||||
return true;
|
||||
}
|
||||
else if (strncmp(opt, "ahexpire", l) == 0)
|
||||
{
|
||||
if (!ahMapIdStr)
|
||||
{
|
||||
handler->PSendSysMessage("Syntax is: ahbotoptions ahexpire $ahMapID (2, 6 or 7)");
|
||||
return false;
|
||||
}
|
||||
|
||||
auctionbot->Commands(0, ahMapID, 0, NULL);
|
||||
}
|
||||
else if (strncmp(opt, "minitems", l) == 0)
|
||||
{
|
||||
char* param1 = strtok(NULL, " ");
|
||||
if (!ahMapIdStr || !param1)
|
||||
{
|
||||
handler->PSendSysMessage("Syntax is: ahbotoptions minitems $ahMapID (2, 6 or 7) $minItems");
|
||||
return false;
|
||||
}
|
||||
|
||||
auctionbot->Commands(1, ahMapID, 0, param1);
|
||||
}
|
||||
else if (strncmp(opt, "maxitems", l) == 0)
|
||||
{
|
||||
char* param1 = strtok(NULL, " ");
|
||||
if (!ahMapIdStr || !param1)
|
||||
{
|
||||
handler->PSendSysMessage("Syntax is: ahbotoptions maxitems $ahMapID (2, 6 or 7) $maxItems");
|
||||
return false;
|
||||
}
|
||||
|
||||
auctionbot->Commands(2, ahMapID, 0, param1);
|
||||
}
|
||||
else if (strncmp(opt, "mintime", l) == 0)
|
||||
{
|
||||
handler->PSendSysMessage("ahbotoptions mintime has been deprecated");
|
||||
return false;
|
||||
/*
|
||||
char* param1 = strtok(NULL, " ");
|
||||
if (!ahMapIdStr || !param1)
|
||||
{
|
||||
PSendSysMessage("Syntax is: ahbotoptions mintime $ahMapID (2, 6 or 7) $mintime");
|
||||
return false;
|
||||
}
|
||||
|
||||
auctionbot.Commands(3, ahMapID, 0, param1);
|
||||
*/
|
||||
}
|
||||
else if (strncmp(opt, "maxtime", l) == 0)
|
||||
{
|
||||
handler->PSendSysMessage("ahbotoptions maxtime has been deprecated");
|
||||
return false;
|
||||
/*
|
||||
char* param1 = strtok(NULL, " ");
|
||||
if (!ahMapIdStr || !param1)
|
||||
{
|
||||
PSendSysMessage("Syntax is: ahbotoptions maxtime $ahMapID (2, 6 or 7) $maxtime");
|
||||
return false;
|
||||
}
|
||||
|
||||
auctionbot.Commands(4, ahMapID, 0, param1);
|
||||
*/
|
||||
}
|
||||
else if (strncmp(opt, "percentages", l) == 0)
|
||||
{
|
||||
char* param1 = strtok(NULL, " ");
|
||||
char* param2 = strtok(NULL, " ");
|
||||
char* param3 = strtok(NULL, " ");
|
||||
char* param4 = strtok(NULL, " ");
|
||||
char* param5 = strtok(NULL, " ");
|
||||
char* param6 = strtok(NULL, " ");
|
||||
char* param7 = strtok(NULL, " ");
|
||||
char* param8 = strtok(NULL, " ");
|
||||
char* param9 = strtok(NULL, " ");
|
||||
char* param10 = strtok(NULL, " ");
|
||||
char* param11 = strtok(NULL, " ");
|
||||
char* param12 = strtok(NULL, " ");
|
||||
char* param13 = strtok(NULL, " ");
|
||||
char* param14 = strtok(NULL, " ");
|
||||
|
||||
if (!ahMapIdStr || !param14)
|
||||
{
|
||||
handler->PSendSysMessage("Syntax is: ahbotoptions percentages $ahMapID (2, 6 or 7) $1 $2 $3 $4 $5 $6 $7 $8 $9 $10 $11 $12 $13 $14");
|
||||
handler->PSendSysMessage("1 GreyTradeGoods 2 WhiteTradeGoods 3 GreenTradeGoods 4 BlueTradeGoods 5 PurpleTradeGoods");
|
||||
handler->PSendSysMessage("6 OrangeTradeGoods 7 YellowTradeGoods 8 GreyItems 9 WhiteItems 10 GreenItems 11 BlueItems");
|
||||
handler->PSendSysMessage("12 PurpleItems 13 OrangeItems 14 YellowItems");
|
||||
handler->PSendSysMessage("The total must add up to 100%%");
|
||||
return false;
|
||||
}
|
||||
|
||||
uint32 greytg = uint32(strtoul(param1, NULL, 0));
|
||||
uint32 whitetg = uint32(strtoul(param2, NULL, 0));
|
||||
uint32 greentg = uint32(strtoul(param3, NULL, 0));
|
||||
uint32 bluetg = uint32(strtoul(param4, NULL, 0));
|
||||
uint32 purpletg = uint32(strtoul(param5, NULL, 0));
|
||||
uint32 orangetg = uint32(strtoul(param6, NULL, 0));
|
||||
uint32 yellowtg = uint32(strtoul(param7, NULL, 0));
|
||||
uint32 greyi = uint32(strtoul(param8, NULL, 0));
|
||||
uint32 whitei = uint32(strtoul(param9, NULL, 0));
|
||||
uint32 greeni = uint32(strtoul(param10, NULL, 0));
|
||||
uint32 bluei = uint32(strtoul(param11, NULL, 0));
|
||||
uint32 purplei = uint32(strtoul(param12, NULL, 0));
|
||||
uint32 orangei = uint32(strtoul(param13, NULL, 0));
|
||||
uint32 yellowi = uint32(strtoul(param14, NULL, 0));
|
||||
uint32 totalPercent = greytg + whitetg + greentg + bluetg + purpletg + orangetg + yellowtg + greyi + whitei + greeni + bluei + purplei + orangei + yellowi;
|
||||
|
||||
if (totalPercent == 0 || totalPercent != 100)
|
||||
{
|
||||
handler->PSendSysMessage("Syntax is: ahbotoptions percentages $ahMapID (2, 6 or 7) $1 $2 $3 $4 $5 $6 $7 $8 $9 $10 $11 $12 $13 $14");
|
||||
handler->PSendSysMessage("1 GreyTradeGoods 2 WhiteTradeGoods 3 GreenTradeGoods 4 BlueTradeGoods 5 PurpleTradeGoods");
|
||||
handler->PSendSysMessage("6 OrangeTradeGoods 7 YellowTradeGoods 8 GreyItems 9 WhiteItems 10 GreenItems 11 BlueItems");
|
||||
handler->PSendSysMessage("12 PurpleItems 13 OrangeItems 14 YellowItems");
|
||||
handler->PSendSysMessage("The total must add up to 100%%");
|
||||
return false;
|
||||
}
|
||||
|
||||
char param[100];
|
||||
param[0] = '\0';
|
||||
strcat(param, param1);
|
||||
strcat(param, " ");
|
||||
strcat(param, param2);
|
||||
strcat(param, " ");
|
||||
strcat(param, param3);
|
||||
strcat(param, " ");
|
||||
strcat(param, param4);
|
||||
strcat(param, " ");
|
||||
strcat(param, param5);
|
||||
strcat(param, " ");
|
||||
strcat(param, param6);
|
||||
strcat(param, " ");
|
||||
strcat(param, param7);
|
||||
strcat(param, " ");
|
||||
strcat(param, param8);
|
||||
strcat(param, " ");
|
||||
strcat(param, param9);
|
||||
strcat(param, " ");
|
||||
strcat(param, param10);
|
||||
strcat(param, " ");
|
||||
strcat(param, param11);
|
||||
strcat(param, " ");
|
||||
strcat(param, param12);
|
||||
strcat(param, " ");
|
||||
strcat(param, param13);
|
||||
strcat(param, " ");
|
||||
strcat(param, param14);
|
||||
auctionbot->Commands(5, ahMapID, 0, param);
|
||||
}
|
||||
else if (strncmp(opt, "minprice", l) == 0)
|
||||
{
|
||||
char* param1 = strtok(NULL, " ");
|
||||
char* param2 = strtok(NULL, " ");
|
||||
|
||||
if (!ahMapIdStr || !param1 || !param2)
|
||||
{
|
||||
handler->PSendSysMessage("Syntax is: ahbotoptions minprice $ahMapID (2, 6 or 7) $color (grey, white, green, blue, purple, orange or yellow) $price");
|
||||
return false;
|
||||
}
|
||||
|
||||
if (strncmp(param1, "grey", l) == 0)
|
||||
auctionbot->Commands(6, ahMapID, AHB_GREY, param2);
|
||||
else if (strncmp(param1, "white", l) == 0)
|
||||
auctionbot->Commands(6, ahMapID, AHB_WHITE, param2);
|
||||
else if (strncmp(param1, "green", l) == 0)
|
||||
auctionbot->Commands(6, ahMapID, AHB_GREEN, param2);
|
||||
else if (strncmp(param1, "blue", l) == 0)
|
||||
auctionbot->Commands(6, ahMapID, AHB_BLUE, param2);
|
||||
else if (strncmp(param1, "purple", l) == 0)
|
||||
auctionbot->Commands(6, ahMapID, AHB_PURPLE, param2);
|
||||
else if (strncmp(param1, "orange", l) == 0)
|
||||
auctionbot->Commands(6, ahMapID, AHB_ORANGE, param2);
|
||||
else if (strncmp(param1, "yellow", l) == 0)
|
||||
auctionbot->Commands(6, ahMapID, AHB_YELLOW, param2);
|
||||
else
|
||||
{
|
||||
handler->PSendSysMessage("Syntax is: ahbotoptions minprice $ahMapID (2, 6 or 7) $color (grey, white, green, blue, purple, orange or yellow) $price");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else if (strncmp(opt, "maxprice", l) == 0)
|
||||
{
|
||||
char* param1 = strtok(NULL, " ");
|
||||
char* param2 = strtok(NULL, " ");
|
||||
if (!ahMapIdStr || !param1 || !param2)
|
||||
{
|
||||
handler->PSendSysMessage("Syntax is: ahbotoptions maxprice $ahMapID (2, 6 or 7) $color (grey, white, green, blue, purple, orange or yellow) $price");
|
||||
return false;
|
||||
}
|
||||
if (strncmp(param1, "grey", l) == 0)
|
||||
auctionbot->Commands(7, ahMapID, AHB_GREY, param2);
|
||||
else if (strncmp(param1, "white", l) == 0)
|
||||
auctionbot->Commands(7, ahMapID, AHB_WHITE, param2);
|
||||
else if (strncmp(param1, "green", l) == 0)
|
||||
auctionbot->Commands(7, ahMapID, AHB_GREEN, param2);
|
||||
else if (strncmp(param1, "blue", l) == 0)
|
||||
auctionbot->Commands(7, ahMapID, AHB_BLUE, param2);
|
||||
else if (strncmp(param1, "purple", l) == 0)
|
||||
auctionbot->Commands(7, ahMapID, AHB_PURPLE, param2);
|
||||
else if (strncmp(param1, "orange",l) == 0)
|
||||
auctionbot->Commands(7, ahMapID, AHB_ORANGE, param2);
|
||||
else if (strncmp(param1, "yellow", l) == 0)
|
||||
auctionbot->Commands(7, ahMapID, AHB_YELLOW, param2);
|
||||
else
|
||||
{
|
||||
handler->PSendSysMessage("Syntax is: ahbotoptions maxprice $ahMapID (2, 6 or 7) $color (grey, white, green, blue, purple, orange or yellow) $price");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else if (strncmp(opt, "minbidprice", l) == 0)
|
||||
{
|
||||
char* param1 = strtok(NULL, " ");
|
||||
char* param2 = strtok(NULL, " ");
|
||||
|
||||
if (!ahMapIdStr || !param2 || !param2)
|
||||
{
|
||||
handler->PSendSysMessage("Syntax is: ahbotoptions minbidprice $ahMapID (2, 6 or 7) $color (grey, white, green, blue, purple, orange or yellow) $price");
|
||||
return false;
|
||||
}
|
||||
|
||||
uint32 minBidPrice = uint32(strtoul(param2, NULL, 0));
|
||||
if (minBidPrice < 1 || minBidPrice > 100)
|
||||
{
|
||||
handler->PSendSysMessage("The min bid price multiplier must be between 1 and 100");
|
||||
return false;
|
||||
}
|
||||
|
||||
if (strncmp(param1, "grey", l) == 0)
|
||||
auctionbot->Commands(8, ahMapID, AHB_GREY, param2);
|
||||
else if (strncmp(param1, "white", l) == 0)
|
||||
auctionbot->Commands(8, ahMapID, AHB_WHITE, param2);
|
||||
else if (strncmp(param1, "green", l) == 0)
|
||||
auctionbot->Commands(8, ahMapID, AHB_GREEN, param2);
|
||||
else if (strncmp(param1, "blue", l) == 0)
|
||||
auctionbot->Commands(8, ahMapID, AHB_BLUE, param2);
|
||||
else if (strncmp(param1, "purple", l) == 0)
|
||||
auctionbot->Commands(8, ahMapID, AHB_PURPLE, param2);
|
||||
else if (strncmp(param1, "orange", l) == 0)
|
||||
auctionbot->Commands(8, ahMapID, AHB_ORANGE, param2);
|
||||
else if (strncmp(param1, "yellow", l) == 0)
|
||||
auctionbot->Commands(8, ahMapID, AHB_YELLOW, param2);
|
||||
else
|
||||
{
|
||||
handler->PSendSysMessage("Syntax is: ahbotoptions minbidprice $ahMapID (2, 6 or 7) $color (grey, white, green, blue, purple, orange or yellow) $price");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else if (strncmp(opt, "maxbidprice", l) == 0)
|
||||
{
|
||||
char* param1 = strtok(NULL, " ");
|
||||
char* param2 = strtok(NULL, " ");
|
||||
|
||||
if (!ahMapIdStr || !param1 || !param2)
|
||||
{
|
||||
handler->PSendSysMessage("Syntax is: ahbotoptions maxbidprice $ahMapID (2, 6 or 7) $color (grey, white, green, blue, purple, orange or yellow) $price");
|
||||
return false;
|
||||
}
|
||||
|
||||
uint32 maxBidPrice = uint32(strtoul(param2, NULL, 0));
|
||||
if (maxBidPrice < 1 || maxBidPrice > 100)
|
||||
{
|
||||
handler->PSendSysMessage("The max bid price multiplier must be between 1 and 100");
|
||||
return false;
|
||||
}
|
||||
|
||||
if (strncmp(param1, "grey", l) == 0)
|
||||
auctionbot->Commands(9, ahMapID, AHB_GREY, param2);
|
||||
else if (strncmp(param1, "white", l) == 0)
|
||||
auctionbot->Commands(9, ahMapID, AHB_WHITE, param2);
|
||||
else if (strncmp(param1, "green", l) == 0)
|
||||
auctionbot->Commands(9, ahMapID, AHB_GREEN, param2);
|
||||
else if (strncmp(param1, "blue", l) == 0)
|
||||
auctionbot->Commands(9, ahMapID, AHB_BLUE, param2);
|
||||
else if (strncmp(param1, "purple", l) == 0)
|
||||
auctionbot->Commands(9, ahMapID, AHB_PURPLE, param2);
|
||||
else if (strncmp(param1, " orange", l) == 0)
|
||||
auctionbot->Commands(9, ahMapID, AHB_ORANGE, param2);
|
||||
else if (strncmp(param1, "yellow", l) == 0)
|
||||
auctionbot->Commands(9, ahMapID, AHB_YELLOW, param2);
|
||||
else
|
||||
{
|
||||
handler->PSendSysMessage("Syntax is: ahbotoptions max bidprice $ahMapID (2, 6 or 7) $color (grey, white, green, blue, purple, orange or yellow) $price");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else if (strncmp(opt, "maxstack",l) == 0)
|
||||
{
|
||||
char* param1 = strtok(NULL, " ");
|
||||
char* param2 = strtok(NULL, " ");
|
||||
|
||||
if (!ahMapIdStr || !param1 || !param2)
|
||||
{
|
||||
handler->PSendSysMessage("Syntax is: ahbotoptions maxstack $ahMapID (2, 6 or 7) $color (grey, white, green, blue, purple, orange or yellow) $value");
|
||||
return false;
|
||||
}
|
||||
|
||||
// uint32 maxStack = uint32(strtoul(param2, NULL, 0));
|
||||
// if (maxStack < 0)
|
||||
// {
|
||||
// handler->PSendSysMessage("maxstack can't be a negative number.");
|
||||
// return false;
|
||||
// }
|
||||
|
||||
if (strncmp(param1, "grey",l) == 0)
|
||||
auctionbot->Commands(10, ahMapID, AHB_GREY, param2);
|
||||
else if (strncmp(param1, "white", l) == 0)
|
||||
auctionbot->Commands(10, ahMapID, AHB_WHITE, param2);
|
||||
else if (strncmp(param1, "green", l) == 0)
|
||||
auctionbot->Commands(10, ahMapID, AHB_GREEN, param2);
|
||||
else if (strncmp(param1, "blue", l) == 0)
|
||||
auctionbot->Commands(10, ahMapID, AHB_BLUE, param2);
|
||||
else if (strncmp(param1, "purple", l) == 0)
|
||||
auctionbot->Commands(10, ahMapID, AHB_PURPLE, param2);
|
||||
else if (strncmp(param1, "orange", l) == 0)
|
||||
auctionbot->Commands(10, ahMapID, AHB_ORANGE, param2);
|
||||
else if (strncmp(param1, "yellow", l) == 0)
|
||||
auctionbot->Commands(10, ahMapID, AHB_YELLOW, param2);
|
||||
else
|
||||
{
|
||||
handler->PSendSysMessage("Syntax is: ahbotoptions maxstack $ahMapID (2, 6 or 7) $color (grey, white, green, blue, purple, orange or yellow) $value");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else if (strncmp(opt, "buyerprice", l) == 0)
|
||||
{
|
||||
char* param1 = strtok(NULL, " ");
|
||||
char* param2 = strtok(NULL, " ");
|
||||
|
||||
if (!ahMapIdStr || !param1 || !param2)
|
||||
{
|
||||
handler->PSendSysMessage("Syntax is: ahbotoptions buyerprice $ahMapID (2, 6 or 7) $color (grey, white, green, blue or purple) $price");
|
||||
return false;
|
||||
}
|
||||
|
||||
if (strncmp(param1, "grey", l) == 0)
|
||||
auctionbot->Commands(11, ahMapID, AHB_GREY, param2);
|
||||
else if (strncmp(param1, "white", l) == 0)
|
||||
auctionbot->Commands(11, ahMapID, AHB_WHITE, param2);
|
||||
else if (strncmp(param1, "green", l) == 0)
|
||||
auctionbot->Commands(11, ahMapID, AHB_GREEN, param2);
|
||||
else if (strncmp(param1, "blue", l) == 0)
|
||||
auctionbot->Commands(11, ahMapID, AHB_BLUE, param2);
|
||||
else if (strncmp(param1, "purple", l) == 0)
|
||||
auctionbot->Commands(11, ahMapID, AHB_PURPLE, param2);
|
||||
else if (strncmp(param1, "orange", l) == 0)
|
||||
auctionbot->Commands(11, ahMapID, AHB_ORANGE, param2);
|
||||
else if (strncmp(param1, "yellow", l) == 0)
|
||||
auctionbot->Commands(11, ahMapID, AHB_YELLOW, param2);
|
||||
else
|
||||
{
|
||||
handler->PSendSysMessage("Syntax is: ahbotoptions buyerprice $ahMapID (2, 6 or 7) $color (grey, white, green, blue or purple) $price");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else if (strncmp(opt, "bidinterval", l) == 0)
|
||||
{
|
||||
char* param1 = strtok(NULL, " ");
|
||||
|
||||
if (!ahMapIdStr || !param1)
|
||||
{
|
||||
handler->PSendSysMessage("Syntax is: ahbotoptions bidinterval $ahMapID (2, 6 or 7) $interval(in minutes)");
|
||||
return false;
|
||||
}
|
||||
|
||||
auctionbot->Commands(12, ahMapID, 0, param1);
|
||||
}
|
||||
else if (strncmp(opt, "bidsperinterval", l) == 0)
|
||||
{
|
||||
char* param1 = strtok(NULL, " ");
|
||||
|
||||
if (!ahMapIdStr || !param1)
|
||||
{
|
||||
handler->PSendSysMessage("Syntax is: ahbotoptions bidsperinterval $ahMapID (2, 6 or 7) $bids");
|
||||
return false;
|
||||
}
|
||||
|
||||
auctionbot->Commands(13, ahMapID, 0, param1);
|
||||
}
|
||||
else
|
||||
{
|
||||
handler->PSendSysMessage("Syntax is: ahbotoptions $option $ahMapID (2, 6 or 7) $parameter");
|
||||
handler->PSendSysMessage("Try ahbotoptions help to see a list of options.");
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
};
|
||||
|
||||
void AddAHBotCommandScripts()
|
||||
{
|
||||
new ah_bot_commandscript();
|
||||
}
|
||||
Reference in New Issue
Block a user