From 8606dcc25fbc3e33088e27aa0de63fdb2c9ddb82 Mon Sep 17 00:00:00 2001 From: Pyromaniac Date: Tue, 19 Jul 2011 07:14:14 +0400 Subject: [PATCH] [11745] Use less CPU/HDD loading value for AuctionHouseBot.ItemsPerCycle.Boost Update it in your habot.conf version if you have haby load at mangosd startup time from ahbot activity Signed-off-by: VladimirMangos --- src/game/AuctionHouseBot/AuctionHouseBot.cpp | 2 +- src/game/AuctionHouseBot/ahbot.conf.dist.in | 4 ++-- src/shared/revision_nr.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/game/AuctionHouseBot/AuctionHouseBot.cpp b/src/game/AuctionHouseBot/AuctionHouseBot.cpp index 7a6735077..998c3a76e 100644 --- a/src/game/AuctionHouseBot/AuctionHouseBot.cpp +++ b/src/game/AuctionHouseBot/AuctionHouseBot.cpp @@ -321,7 +321,7 @@ void AuctionBotConfig::GetConfigFromFile() setConfig(CONFIG_BOOL_AHBOT_BUYPRICE_SELLER , "AuctionHouseBot.BuyPrice.Seller" , true); - setConfig(CONFIG_UINT32_AHBOT_ITEMS_PER_CYCLE_BOOST , "AuctionHouseBot.ItemsPerCycle.Boost" , 1000); + setConfig(CONFIG_UINT32_AHBOT_ITEMS_PER_CYCLE_BOOST , "AuctionHouseBot.ItemsPerCycle.Boost" , 75); setConfig(CONFIG_UINT32_AHBOT_ITEMS_PER_CYCLE_NORMAL , "AuctionHouseBot.ItemsPerCycle.Normal" , 20); setConfig(CONFIG_UINT32_AHBOT_ITEM_MIN_ITEM_LEVEL , "AuctionHouseBot.Items.ItemLevel.Min" , 0); diff --git a/src/game/AuctionHouseBot/ahbot.conf.dist.in b/src/game/AuctionHouseBot/ahbot.conf.dist.in index 0ccab7390..c8cac2824 100644 --- a/src/game/AuctionHouseBot/ahbot.conf.dist.in +++ b/src/game/AuctionHouseBot/ahbot.conf.dist.in @@ -63,7 +63,7 @@ ConfVersion=2010102201 # 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 +# Default 75 # # AuctionHouseBot.ItemsPerCycle.Normal # This value is used to fill DB normal way with less cpu/db using. @@ -172,7 +172,7 @@ AuctionHouseBot.Bind.Use = 1 AuctionHouseBot.Bind.Quest = 0 AuctionHouseBot.LockBox.Enabled = 0 -AuctionHouseBot.ItemsPerCycle.Boost = 1000 +AuctionHouseBot.ItemsPerCycle.Boost = 75 AuctionHouseBot.ItemsPerCycle.Normal = 20 AuctionHouseBot.BuyPrice.Seller = 1 AuctionHouseBot.Alliance.Price.Ratio = 200 diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 2259b7976..daf42a9e9 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "11744" + #define REVISION_NR "11745" #endif // __REVISION_NR_H__