mirror of
https://github.com/NathanHandley/mod-ah-bot-plus.git
synced 2026-01-13 01:08:37 +00:00
Update ahbot.patch
This commit is contained in:
12
ahbot.patch
12
ahbot.patch
@@ -123,18 +123,6 @@ index d1a82ee70f..7ea4386788 100644
|
||||
///- Load dynamic data tables from the database
|
||||
sLog->outString("Loading Item Auctions...");
|
||||
sAuctionMgr->LoadAuctionItems();
|
||||
@@ -1949,6 +1958,11 @@ void World::SetInitialWorldSettings()
|
||||
sEluna->OnConfigLoad(false,false); // Must be done after Eluna is initialized and scripts have run.
|
||||
#endif
|
||||
|
||||
+#ifdef MOD_AH_BOT
|
||||
+ sLog->outString("Initialize AuctionHouseBot...");
|
||||
+ auctionbot->Initialize();
|
||||
+#endif
|
||||
+
|
||||
uint32 startupDuration = GetMSTimeDiffToNow(startupBegin);
|
||||
sLog->outString();
|
||||
sLog->outError("WORLD: World initialized in %u minutes %u seconds", (startupDuration / 60000), ((startupDuration % 60000) / 1000));
|
||||
@@ -2114,6 +2128,9 @@ void World::Update(uint32 diff)
|
||||
// pussywizard: handle auctions when the timer has passed
|
||||
if (m_timers[WUPDATE_AUCTIONS].Passed())
|
||||
|
||||
Reference in New Issue
Block a user