Jump to content

[PATCH] AuctionHouse Bot


Recommended Posts

  • Replies 702
  • Created
  • Last Reply

Top Posters In This Topic

I got this error during compiling.

2>..\\..\\src\\game\\Player.cpp(14860) : error C2039: 'GetObjectInWorld' : is not a member of 'ObjectAccessor'

2> c:\\users\\dingyao\\documents\\wow\\src\\game\\ObjectAccessor.h(79) : see declaration of 'ObjectAccessor'

2>..\\..\\src\\game\\Player.cpp(14860) : error C3861: 'GetObjectInWorld': identifier not found

Why is this happening?

Link to comment
Share on other sites

It seems like everything is working, but again nothing shows up in the AH. I verified I assigned the correct Account/ID settings in the conf file for my AH account/toon. I even made sure and log in with him once before enabling the bot.

Ok here's how I got it to work in the characters DB auctionhousebot table you have 2 columns marked minitems and maxitems I changed all three rows from 0 to 500 in minitems and 30,000 in maxitems. Then restarted my server and all 3 AH's were up and running.:D

Link to comment
Share on other sites

Ok here's how I got it to work in the characters DB auctionhousebot table you have 2 columns marked minitems and maxitems I changed all three rows from 0 to 500 in minitems and 30,000 in maxitems. Then restarted my server and all 3 AH's were up and running.:D

Hey thanks, you rock! And here I was thinking it was just using that as a base and then referencing the .conf file for the correct values I'd set up there! ;)

Ran this on the characters table and everything seems to work great! (updated)

REPLACE INTO `auctionhousebot` VALUES
('2', 'Alliance', '79000', '88000', '8', '24', '1', '8', '8', '4', '4', '0', '0', '1', '8', '45', '9', '12', '0', '0', '100', '150', '150', '250', '250', '450', '450', '850', '850', '1700', '1700', '3400', '3400', '6800', '70', '100', '70', '100', '80', '100', '75', '100', '80', '100', '80', '100', '80', '100', '0', '0', '0', '0', '0', '0', '0', '1', '1', '5', '12', '15', '20', '22', '10', '200');
REPLACE INTO `auctionhousebot` VALUES
('6', 'Horde', '79000', '88000', '8', '24', '1', '8', '8', '4', '4', '0', '0', '1', '8', '45', '9', '12', '0', '0', '100', '150', '150', '250', '250', '450', '450', '850', '850', '1700', '1700', '3400', '3400', '6800', '70', '100', '70', '100', '80', '100', '75', '100', '80', '100', '80', '100', '80', '100', '0', '0', '0', '0', '0', '0', '0', '1', '1', '5', '12', '15', '20', '22', '10', '200');
REPLACE INTO `auctionhousebot` VALUES
('7', 'Neutral', '79000', '88000', '8', '24', '1', '8', '8', '4', '4', '0', '0', '1', '8', '45', '9', '12', '0', '0', '100', '150', '150', '250', '250', '450', '450', '850', '850', '1700', '1700', '3400', '3400', '6800', '70', '100', '70', '100', '80', '100', '75', '100', '80', '100', '80', '100', '80', '100', '0', '0', '0', '0', '0', '0', '0', '1', '1', '5', '12', '15', '20', '22', '10', '200');

Now I just have to tweak the values a bit more. =)

*EDIT: I noticed with the shared AH enabled in mangos conf the bot wasn’t posting a min-max number of items to each auction house (alliance, horde, and neutral) and then showing the results of all three combined. Instead it seemed only to do it once for all three, so my previous settings felt way too low with a max of only 15000 auctions. I also tweaked the price ratios for item qualities to something which tends to match the wowhead going rates more closely, as well as offset the ratios of item preference so less useless stuff is posted and more variety at various levels emerges.

Man I love stuff like this!

Link to comment
Share on other sites

hey guys, i've read and i saw somebody is having trouble the same as me .

Im trying to stop the bot to auction purple trade good & items.

I've already set the percentage to 0 on both but the bot still add up purple items in the auction house.

Any pointers to stop the AHbot from doing that would be appreciated. Thanks!

Link to comment
Share on other sites

hey guys, i've read and i saw somebody is having trouble the same as me .

Im trying to stop the bot to auction purple trade good & items.

I've already set the percentage to 0 on both but the bot still add up purple items in the auction house.

Any pointers to stop the AHbot from doing that would be appreciated. Thanks!

If I am right when you decrease purple's percentage you have to increase others (white green blue) to keep sum in 100%.

Link to comment
Share on other sites

I'm sorry, I did read but figured maybe a fix had been placed in the git pull. If at all possible when there is a fix could you please post the diff in this section or a pastebin? I have to manually fix mine as I have many core changes that will not allow me to pull from git without reworking everything. Thanks!

Link to comment
Share on other sites

@Everyone

Sorry for the Delay. I have a patch finished for the changes and im in the process of testing the patch for functionality and stability. It should be a minor fix but I wanted to run through the new mail code and make sure I understood it and didnt miss anything. If all goes well, ill push to my repo to github and were golden again.

Ill post another update when ive pushed the changes and update my first post.

Link to comment
Share on other sites

when the AH populates i get sitting at retrieving characters

INSERT INTO `auctionhousebot` VALUES

(2,'Alliance',2000,30000,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',2000,30000,8,24,0,27,12,10,1,0,0,0,10,30,8,2,0,0,100,150,1

50,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',2000,

30000,8,24,0,27,12,10,1,0,0,0,10,30,8,2,0,0,100,150,150,250,800,1400,1250,1750,2

250,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);

thats my mysql i think it has something to do with that..

well its rather slow anyway.

Link to comment
Share on other sites

@Everyone

[AHBot-004-HotFix-04] is now live which address the Mail change. Stability seems to be ok with no issues I have noticed thus far.

Thank you Naicisum, I've tryed the new patch as of yesterday and it's working fine sofar no problems to report other than my stupidity for not setting the character up right :eek: but after that works good. ^_^

Link to comment
Share on other sites

Hello,

I'm having problems incorporating the latest AHBot change into my existing 322A master version with working AHbot (from previous patch install).

Since I already have your previous patch installed, the scripts listed at the beginning of this post do not work - and I would like to be able to include the latest AHBot so I can continue to merge in new 322A master changes as they are released. I am NOT a git expert, nor skilled at C++, so please try to exercise some care in explaining what steps I need to go thru to add this patch mod. Thank you for for your time and patience. This is the superlative website for WOW server development (IMHO)!!

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