Jump to content

[fixed]enable AHBot


Recommended Posts

Hi everybody,

Got two questions;

My AHBot auction house is installed but I cant find the order line to enable it, I have the following message in my console :

2011-03-14 13:41:38 Initialize AuctionHouseBot...

2011-03-14 13:41:38

2011-03-14 13:41:38 -------------------------------

2011-03-14 13:41:38 ------- AuctionHouseBot -------

2011-03-14 13:41:38 -------------------------------

2011-03-14 13:41:38

2011-03-14 13:41:38 AHBot> New CORE by Cyberium (Original by Xeross, Naicisum, ChrisK, Paradox)

2011-03-14 13:41:38 AHBot> Includes AHBuyer by Kerbe and Paradox (beta)

2011-03-14 13:41:38 ERROR:AHBot> Unable to open configuration file(ahbot.conf). AHBOT is Disabled.

2011-03-14 13:41:38 WORLD: World initialized

2011-03-14 13:41:38 SERVER STARTUP TIME: 0 minutes 30 seconds

2011-03-14 13:41:38

2011-03-14 13:41:38 mangosd process priority class set to HIGH

2011-03-14 13:41:38

2011-03-14 13:48:44 ERROR:SESSION: opcode CMSG_SHOWING_HELM (0x02B9) have unprocessed tail data (read stop at 0 from 1)

2011-03-14 13:48:44 ERROR:SESSION: opcode CMSG_SHOWING_CLOAK (0x02BA) have unprocessed tail data (read stop at 0 from 1)

2011-03-14 14:00:02 GameEvent 16 "Gurubashi Arena Booty Run" removed.

2011-03-14 14:14:12 ERROR:Summoned pet (Entry: 32751) not have pet stats data in DB

2011-03-14 14:16:52 ERROR:WORLD: CMSG_ITEM_NAME_QUERY for item 42635 failed (item listed in Item.dbc but not exist in DB)

2011-03-14 14:16:52 ERROR:WORLD: CMSG_ITEM_NAME_QUERY for item 42636 failed (item listed in Item.dbc but not exist in DB)

2011-03-14 14:16:52 ERROR:WORLD: CMSG_ITEM_NAME_QUERY for item 42637 failed (item listed in Item.dbc but not exist in DB)

2011-03-14 14:16:52 ERROR:WORLD: CMSG_ITEM_NAME_QUERY for item 42638 failed (item listed in Item.dbc but not exist in DB)

2011-03-14 14:16:52 ERROR:WORLD: CMSG_ITEM_NAME_QUERY for item 42639 failed (item listed in Item.dbc but not exist in DB)

2011-03-14 14:18:15 ERROR:Creature 47640 (Entry: 17105) have UNIT_NPC_FLAG_TRAINER but have empty trainer spell list.

Here is my AHBot conf.:

################################################

# MANGOS Auction House Bot Configuration file #

################################################

[AhbotConf]

ConfVersion=2010102201

###################################################################################################################

# AUCTION HOUSE BOT SETTINGS

#

# AuctionHouseBot.Alliance.Items.Amount.Ratio

# Enable/Disable (disabled if 0) the part of AHBot that puts items up for auction on Alliance AH

# Default 100 (Enabled with 100% of items specified in AuctionHouse.Items.Amount.color section)

#

# AuctionHouseBot.Horde.Items.Amount.Ratio

# Enable/Disable (disabled if 0) the part of AHBot that puts items up for auction on Horde AH

# Default 100 (Enabled with 100% of items specified in AuctionHouse.Items.Amount.color section)

#

# AuctionHouseBot.Neutral.Items.Amount.Ratio

# Enable/Disable (disabled if 0) the part of AHBot that puts items up for auction on Neutral AH

# Default 100 (Enabled with 100% of items specified in AuctionHouse.Items.Amount.color section)

#

# AuctionHouseBot.Alliance.Items.Amount.Ratio

# Enable/Disable (disabled if 0) the part of AHBot that puts items up for auction on Alliance AH

# Default 100 (Enabled with 100% of items specified in AuctionHouse.Items.Amount.color section)

# AuctionHouseBot.Buyer.Enabled

# Enable/Disable the part of AHBot that buys items from players

# Default 0 (disabled)

#

# AuctionHouseBot.Name

# If you want show other name in place of "AHBot" to auction house, just type it between the quote

# Default: "AhBot" ("AhBot" name)

#

# AuctionHouseBot.MinTime

# Minimum time for the new auction

# Default 1 (Hour)

#

# AuctionHouseBot.MaxTime

# Maximum time for the new auction

# Default 72 (Hours)

#

# AuctionHouseBot.Items.Vendor

# Include items that can be bought from vendors.

# Default 0

#

# AuctionHouseBot.Items.Loot

# Include items that can be looted or fished for.

# Default 1

#

# AuctionHouseBot.Items.Misc

# Include misc. items.

# Default 0

#

# AuctionHouseBot.Bind.*

# Indicates which bonding types to allow the bot to put up for auction

# No - Items that don't bind Default 1 (Allowed)

# Pickup - Items that bind on pickup Default 0 (Not Allowed)

# Equip - Items that bind on equip Default 1 (Allowed)

# Use - Items that bind on use Default 1 (Allowed)

# Quest - Quest Items Default 0 (Not Allowed)

#

# AuctionHouseBot.LockBox.Enabled

# Enable or not lockbox in auctionhouse

# Default 0 (Disabled)

#

# AuctionHouseBot.ItemsPerCycle.Boost

# This value is used to fill DB faster than normal when there is more than this value missed items.

# Normaly this value is used only first start of the server with empty auction table.

# Default 1000

#

# AuctionHouseBot.ItemsPerCycle.Normal

# This value is used to fill DB normal way with less cpu/db using.

# Normaly this value is used always when auction table is already initialised.

# Default 20

#

# AuctionHouseBot.BuyPrice.Seller

# Should the Seller use BuyPrice or SellPrice to determine Bid Prices

# Default 1 (use SellPrice)

#

# AuctionHouseBot.Alliance.Price.Ratio

# Define the price of selled item here for the Alliance Auction House

# Default 100

#

# AuctionHouseBot.Horde.Price.Ratio

# Define the price of selled item here for the Horde Auction House

# Default 100

#

# AuctionHouseBot.Alliance.Price.Ratio

# Define the price of selled item here for the Neutral Auction House

# Default 100

#

# AuctionHouseBot.Items.ItemLevel.*

# Prevent seller from listing items below/above this item level

# Default 0 (Disabled)

#

# AuctionHouseBot.Items.ReqLevel.*

# Prevent seller from listing items below/above this required level

# Default 0 (Disabled)

#

# AuctionHouseBot.Items.ReqSkill.*

# Prevent seller from listing items below/above this skill level

# Default 0 (Disabled)

#

# AuctionHouseBot.Items.Amount.*

# Define here for every items quality how many item you whant to be show in Auction House

# This value will be adjusted by AuctionHouseBot.FACTION.Items.Amount.Ratio to define exact amount of

# items will be show on Auction House

# Default 0, 2000, 2500, 1500, 1000, 0, 0 (grey, white, green, blue, purple, orange, yellow)

#

# AustionHouseBot.Class.*

# Here you can set the class of items you prefer to be show on AH

# These value is preference value, it's not percentage. So the maximum is 10.

# The minimum is 0 (disabled).

# Default 6,4,8,3,8,1,2,10,1,6,1,1,1,5,3

#

#

###################################################################################################################

AuctionHouseBot.Seller.Enabled = 1

AuctionHouseBot.Alliance.Items.Amount.Ratio = 100

AuctionHouseBot.Horde.Items.Amount.Ratio = 100

AuctionHouseBot.Neutral.Items.Amount.Ratio = 100

AuctionHouseBot.Name = "AhBot"

AuctionHouseBot.MinTime = 1

AuctionHouseBot.MaxTime = 72

AuctionHouseBot.Items.Vendor = 1

AuctionHouseBot.Items.Loot = 1

AuctionHouseBot.Items.Misc = 1

AuctionHouseBot.Bind.No = 1

AuctionHouseBot.Bind.Pickup = 0

AuctionHouseBot.Bind.Equip = 1

AuctionHouseBot.Bind.Use = 1

AuctionHouseBot.Bind.Quest = 0

AuctionHouseBot.LockBox.Enabled = 0

AuctionHouseBot.ItemsPerCycle.Boost = 1000

AuctionHouseBot.ItemsPerCycle.Normal = 20

AuctionHouseBot.BuyPrice.Seller = 1

AuctionHouseBot.Alliance.Price.Ratio = 200

AuctionHouseBot.Horde.Price.Ratio = 200

AuctionHouseBot.Neutral.Price.Ratio = 200

AuctionHouseBot.Items.ItemLevel.Min = 0

AuctionHouseBot.Items.ItemLevel.Max = 0

AuctionHouseBot.Items.ReqLevel.Min = 0

AuctionHouseBot.Items.ReqLevel.Max = 0

AuctionHouseBot.Items.ReqSkill.Min = 0

AuctionHouseBot.Items.ReqSkill.Max = 0

AuctionHouseBot.Items.Amount.Grey = 0

AuctionHouseBot.Items.Amount.White = 2000

AuctionHouseBot.Items.Amount.Green = 2500

AuctionHouseBot.Items.Amount.Blue = 1500

AuctionHouseBot.Items.Amount.Purple = 1000

AuctionHouseBot.Items.Amount.Orange = 0

AuctionHouseBot.Items.Amount.Yellow = 0

AuctionHouseBot.Class.Consumable = 6

AuctionHouseBot.Class.Container = 4

AuctionHouseBot.Class.Weapon = 8

AuctionHouseBot.Class.Gem = 3

AuctionHouseBot.Class.Armor = 8

AuctionHouseBot.Class.Reagent = 1

AuctionHouseBot.Class.Projectile = 2

AuctionHouseBot.Class.TradeGood = 10

AuctionHouseBot.Class.Generic = 1

AuctionHouseBot.Class.Reciepe = 6

AuctionHouseBot.Class.Quiver = 1

AuctionHouseBot.Class.Quest = 1

AuctionHouseBot.Class.Key = 1

AuctionHouseBot.Class.Misc = 5

AuctionHouseBot.Class.Glyph = 3

###################################################################################################################

# Buyer config

#

# AuctionHouseBot.Buyer.Enabled

# General enable or disable AuctionHouseBot Buyer fonctionality

# Default 1 (Enabled)

#

# AuctionHouseBot.Buyer.FACTION.Enabled

# Enable or disable buyer independently by faction

#

# AuctionHouseBot.BuyPrice.Buyer

# Should the Buyer use BuyPrice or SellPrice to determine Bid Prices

# Default 0 (use SellPrice)

#

# AuctionHouseBot.Buyer.Recheck.Interval

# This specify time interval (in minute) between two evaluation of the same selled item.

# The less this value is, the more you give chance for item to be buyed by ahbot.

# Default 20 (20min.)

#

# AuctionHouseBot.Buyer.Alliance.Chance.Ratio

# When the evaluation of the entry is done you will have "x" chance for this entry to be buyed.

# The chance ratio is simply (x/chance ratio)

# For ex : If the evaluation give you 5000(maximum chance) chance and ratio is set 3

# you will have 5000 chance on 15000(3*5000) random number

# This for every faction independently

# Default 3 (literaly 1 chance by 3)

#

###################################################################################################################

AuctionHouseBot.Buyer.Enabled = 1

AuctionHouseBot.Buyer.Alliance.Enabled = 1

AuctionHouseBot.Buyer.Horde.Enabled = 1

AuctionHouseBot.Buyer.Neutral.Enabled = 1

AuctionHouseBot.Buyer.Buyprice = 1

AuctionHouseBot.Buyer.Recheck.Interval = 20

AuctionHouseBot.Buyer.Alliance.Chance.Ratio = 3

AuctionHouseBot.Buyer.Horde.Chance.Ratio = 3

AuctionHouseBot.Buyer.Neutral.Chance.Ratio = 3

Other question;

How do I use my console in or out of game, for example to creat in my inventory or to send to a player an item?

Found some console orders like ADD<item ID>, tryed entering the order while in game with no succes.

Thanks for your help:)

Link to comment
Share on other sites

your ahbot conf file should be named ahbot.conf and should also be in the same directory as your other mangos conf files

Once the file is named correctly and in the correct directory, a server restart or .ahbot reload should fix it

for your other question this has been asked many times that i've seen, but simply the console/gm command .help is the best tool to figure out how to use the commands. I should note however that you said you tried the add item command without success, this command only works in game and its syntax is

.additem <item_id>

you obtain the item id with .lookup item <item_name> (can be used from console)

another way to send items is by mail which can be done through the console, see

.help send items (i don't remember the syntax for the send items command at the moment)

Link to comment
Share on other sites

Thank you antiroot.

Auction works just fine! It's fun^^

I had to place it to the right directory.

Concerning the console commande, I finally found detailed answers.

For info, the order to send items is:

.send items (name of the player) "texte of the message with the mail" "subjet of the mail" (ID of the item)

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use