Jump to content

[Patch] Auction House Bot (Xeross' Branch)


Recommended Posts

Guys i tried like everythjing atleast 5 times.

recompiled my core 5 times - when with the patch it doesnt work...

also i use only UDB.. maybe someone could have a look at my conf or the patch itself?

double check your conf "section" and the table inside character database

Link to comment
Share on other sites

  • Replies 717
  • Created
  • Last Reply

Top Posters In This Topic

Look in the auction housebot table in characters(if you did apply it, if you didn't just check your sql folder for a file called auctionhousebot.sql and apply it) and set min and max items on each of those auctions.Then set Numer of items per round or soemthing like that in mangos.conf and thats it , let 10 mins till the server loads all the items and voila!

Link to comment
Share on other sites

I still have a problem...Folks he's talking about World Looting (Creature Drops) if I read his message correctly and has stated ahbot is working fine.

@vladex yes SD2 does have everything to do with looting and so does Acid...where do you think the drop tables really come from...UDB/YTDB makes the base and SD2 and Acid scripts in all of the rest including World Critters...look at some of the base scripts wrote lately, Plus thier making every thing into pools now, Look at your pools_tables, there not ther just for Mining anymore.

so like I was getting at his problem is eather the core compiled wrong, something missing, or a messed up Database. The only mods I can think of that would effect the world drops are ones that have drops in the world, ie vehicles, outdoorpvp and he's not running them.

Link to comment
Share on other sites

SD2 is just for scripting creatures,objects,adding spells to object/npc,making them act,adding voice actors and so,and looting on special creatures(bosses,elites) mostly from dungeons/instances.Mangos has a loot handler.SD2 just makes the world better and so does Acid.

Link to comment
Share on other sites

It's all right there in the README for AuctionHouse Bot. Follow every step, exactly!

rhaziel's trouble with mobs not dropping correct loot is not related to AHBot, unless he's completely screwed up his core with botched patches/merges. AHBot does not touch those areas of the source or database that deal with looting.

Either way, learning how to properly patch/merge your source and mob loot drops are matters that you can get help with elsewhere in these forums. I recommend the sections labeled Source Code Management, Installation And Upgrades, and General Help.

You have to learn the basics before you can step up to the more complex matters of working with patches. To do otherwise is inviting troubles and a broken server.

Link to comment
Share on other sites

Hi all !

I'm sorry, i didn't came to those forums for a while.

I was using AHBot for months and came back to update my home mangos. I missed lots of updates. And Naicisum end of Ahbot maintainance.

Maybe, i'm wrong and it's been already done somewhere but I started my own AHBOT port against mangos in this fork:

http://github.com/FrenchW/mangos/tree/mangos-ahbot

Another branch is mangos-fr-ahbot with french translation.

I compiled correctly the different changes but did not tryed already.

If this can help...

Link to comment
Share on other sites

First, thanks to FrenchW!!!

Last, and after banging my head against my desk. Neutral auctions work great, just no items in horde or alliance. I have the database set to put 1000 items in each auction.

mangos.conf

AuctionHouseBot.EnableSeller = 1
AuctionHouseBot.EnableBuyer = 1
AuctionHouseBot.Account = 24
AuctionHouseBot.GUID = 366
AuctionHouseBot.VendorItems = 0
AuctionHouseBot.LootItems = 1
AuctionHouseBot.OtherItems = 1
AuctionHouseBot.No_Bind = 1
AuctionHouseBot.Bind_When_Picked_Up = 1
AuctionHouseBot.Bind_When_Equipped = 1
AuctionHouseBot.Bind_When_Use = 1
AuctionHouseBot.Bind_Quest_Item = 1
AuctionHouseBot.ItemsPerCycle = 200
AuctionHouseBot.UseBuyPriceForSeller = 0
AuctionHouseBot.UseBuyPriceForBuyer = 0

characters database

replace into `auctionhousebot`(`auctionhouse`,`name`,`minitems`,`maxitems`,`mintime`,`maxtime`,`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',0,1000,8,24,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,1,5,12,15,20,22,1,1),
(6,'Horde',0,1000,8,24,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,1,5,12,15,20,22,1,1),
(7,'Neutral',0,1000,8,24,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,1,5,12,15,20,22,1,1);

Server.log

2010-08-06 20:29:45 Initialize AuctionHouseBot...
2010-08-06 20:29:46 AuctionHouseBot:
2010-08-06 20:29:46 loaded 5 grey trade goods
2010-08-06 20:29:46 loaded 423 white trade goods
2010-08-06 20:29:46 loaded 61 green trade goods
2010-08-06 20:29:46 loaded 32 blue trade goods
2010-08-06 20:29:46 loaded 7 purple trade goods
2010-08-06 20:29:46 loaded 2 orange trade goods
2010-08-06 20:29:46 loaded 0 yellow trade goods
2010-08-06 20:29:46 loaded 1284 grey items
2010-08-06 20:29:46 loaded 2216 white items
2010-08-06 20:29:46 loaded 8187 green items
2010-08-06 20:29:46 loaded 4761 blue items
2010-08-06 20:29:46 loaded 5131 purple items
2010-08-06 20:29:46 loaded 15 orange items
2010-08-06 20:29:46 loaded 3 yellow items
2010-08-06 20:29:46 AuctionHouseBot [AHBot-004-HotFix-08] is now loaded
2010-08-06 20:29:46 AuctionHouseBot updated by Naicisum (original by ChrisK and Paradox)
2010-08-06 20:29:46 AuctionHouseBot now includes AHBuyer by Kerbe and Paradox

Any help would be greatly appreciated.

Link to comment
Share on other sites

Okay I must have missed something or doing this completely wrong, but line 4 is /dev/null:

Script for compiling

git apply src/bindings/ScriptDev2/patches/MaNGOS-9519-ScriptDev2.patch
git apply 453749.cpp
autoreconf --install --force
mkdir objdir
cd objdir
../configure --prefix=/opt/mangos --sysconfdir=/opt/mangos/etc --enable-cli --datadir=/opt/mangos/data --with-python --enable-ra
make

Patch file (first few lines)

diff --git a/README.AHBOT b/README.AHBOT
new file mode 100644
index 0000000..1f5215d
--- /dev/null
+++ b/README.AHBOT
@@ -0,0 +1,145 @@

Error

fatal: git apply: bad git-diff - expected /dev/null on line 4

Link to comment
Share on other sites

As I said, I didn't already tryed the core i've built beause I missed a lots of updates.

I've spent last time developping a c# program that will help me maintaining the db up to date symply by pointing to mangos.conf ans the /sql folder.

It's working now and soon posted to my github repo :

http://github.com/FrenchW/Mangos-Translations-ToolSets

In between, can someone point me to the differences of my starting patch about ally/horde and neutral population ?

I'll update my core soon to fix the ally/horde fill of the AH ...

(Naicisum branch was perfectly working at home. Can't figure what I missed...)

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • 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