Jump to content

[Patch] Auction House Bot (Xeross' Branch)


Recommended Posts

  • Replies 717
  • Created
  • Last Reply

Top Posters In This Topic

A few things, and sorry if some of them are newbish. :)

How often does a "cycle" take place? If you've got it set to add 5000 items per cycle does it add that many items at that time or restart clean with 5000 items?

AHbot didn't buy the items I put up for sale. I have it enabled but it didn't seem to work. Maybe I did something wrong so if someone can confirm this works with latest Mangos.

I've had performance issues (lag) since adding AHbot on a pretty fast Windows 7 computer. I did change the settings to allow more items (vendor items, grey items) and increase the number of items added so that's not too surprising. Even so auction house doesn't really have a huge amount of items available. I actually had to reduce the items once because I set them really high and it took more than 5 minutes to log in after restarting the server. Could this be coded differently to not "lock" Mangos while a cycle is starting?

This is my first time adding a patch to Mangos, in fact I'm pretty new to setting it up from scratch in general, so thanks to everyone who posted extra setup info (stupid whitespaces) in this thread. Thanks for maintaining/updating this. Appreciated. :)

Link to comment
Share on other sites

I'm almost at the point of giving up. Everything I try just comes up with errors.

This is what I get atm:-

$ git apply --check ahbot/ahbot.patch

error: README.AHBOT: already exists in working directory

error: sql/characters_auctionhousebot.sql: already exists in working directory

error: sql/characters_auctionhousebot_update.sql: already exists in working dire

ctory

error: src/game/AuctionHouseBot.cpp: already exists in working directory

error: src/game/AuctionHouseBot.h: already exists in working directory

error: patch failed: src/game/AuctionHouseHandler.cpp:28

error: src/game/AuctionHouseHandler.cpp: patch does not apply

error: patch failed: src/game/AuctionHouseMgr.cpp:462

error: src/game/AuctionHouseMgr.cpp: patch does not apply

error: patch failed: src/game/AuctionHouseMgr.h:84

error: src/game/AuctionHouseMgr.h: patch does not apply

error: patch failed: src/game/Chat.cpp:681

error: src/game/Chat.cpp: patch does not apply

error: patch failed: src/game/Chat.h:108

error: src/game/Chat.h: patch does not apply

error: patch failed: src/game/Level3.cpp:52

error: src/game/Level3.cpp: patch does not apply

error: patch failed: src/game/Mail.cpp:37

error: src/game/Mail.cpp: patch does not apply

error: patch failed: src/game/Makefile.am:37

error: src/game/Makefile.am: patch does not apply

error: patch failed: src/game/Player.h:1439

error: src/game/Player.h: patch does not apply

error: patch failed: src/game/World.cpp:60

error: src/game/World.cpp: patch does not apply

error: patch failed: src/game/World.h:181

error: src/game/World.h: patch does not apply

error: patch failed: src/mangosd/mangosd.conf.dist.in:1405

error: src/mangosd/mangosd.conf.dist.in: patch does not apply

error: patch failed: win/VC100/game.vcxproj:349

error: win/VC100/game.vcxproj: patch does not apply

Here is my server info....in case that helps.

server info

MaNGOS/0.16.0-DEV (* * Revision 10005 - *) for Win32 (little-endian)

Using script library: Default MaNGOS scripting library

Using World DB: UDB 0.12.0 (391) for MaNGOS 9999 with SD2 SQL for rev. 1702

Using creature EventAI: ACID 3.0.4 - Final Release for Mangos (3.3.2 Client)

Link to comment
Share on other sites

EARTHWALKER

I see 2 things that may cause the problems

error: README.AHBOT: already exists in working directory

error: sql/characters_auctionhousebot.sql: already exists in working directory

error: sql/characters_auctionhousebot_update.sql: already exists in working dire

This looks like you've already applied the patch, try using it on a clean repository

The other thing could be it's incompatible with the newer revisions, would have to update it then.

Link to comment
Share on other sites

EARTHWALKER

I see 2 things that may cause the problems

This looks like you've already applied the patch, try using it on a clean repository

The other thing could be it's incompatible with the newer revisions, would have to update it then.

Definitely not applied as each time fails, so I'll try it on a spinky clean repo and see. if it doesn;t work then, it has to be it needs updating to latest core. I wish I was more knowledgeable as I do have some time :D

Did that and now I have these errors:-

$ git apply Addon/AHBot/ahbot.patch
Addon/AHBot/ahbot.patch:3526: trailing whitespace.

error: README.AHBOT: already exists in working directory
error: sql/characters_auctionhousebot.sql: already exists in working directory
error: sql/characters_auctionhousebot_update.sql: already exists in working dire
ctory
error: src/game/AuctionHouseBot.cpp: already exists in working directory
error: src/game/AuctionHouseBot.h: already exists in working directory

Mangos rev 9999 btw

Link to comment
Share on other sites

@EARTHWALKER

read again error

$ git apply Addon/AHBot/ahbot.patch
Addon/AHBot/ahbot.patch:3526: trailing whitespace.

error: README.AHBOT: already exists in working directory
error: sql/characters_auctionhousebot.sql: already exists in working directory
error: sql/characters_auctionhousebot_update.sql: already exists in working dire
ctory
error: src/game/AuctionHouseBot.cpp: already exists in working directory
error: src/game/AuctionHouseBot.h: already exists in working directory

its clear that u didnt apply patch over clean mangos,

for gods sake just use git instead of dealing with patch, as u clearly have problems with it

u can do it either by the way xeross tells in first post

git clone git://github.com/xeross/mangos.git ahbot
cd ahbot
git checkout -b ahbot origin/ahbot

or

git clone git://github.com/mangos/mangos.git
cd mangos
git pull git://github.com/xeross/mangos.git ahbot

Link to comment
Share on other sites

Ok, try this, Your source folder... Dump into the trash...now for the good stuff in order and it worked for me...

1) git pull git://github.com/mangos/mangos.git (Enter)

2) git pull git://github.com/Xeross/mangos.git ahbot (Enter)

3) compile

4) Delete DB's

5) Re-install DB's from the bottom up with SQLYog

6) make folder at c: (md c:/mangos)

7) copy files from /src/bin/ to /mangos

8) copy /src/game/mangos(and)realmd/*.conf.dist.in

9) Delete the .dist.in and save

10) edit the .conf's with your info

11) Have fun!

Link to comment
Share on other sites

Ok, try this, Your source folder... Dump into the trash...now for the good stuff in order and it worked for me...

1) git pull git://github.com/mangos/mangos.git (Enter)

2) git pull git://github.com/Xeross/mangos.git ahbot (Enter)

3) compile

4) Delete DB's

5) Re-install DB's from the bottom up with SQLYog

6) make folder at c: (md c:/mangos)

7) copy files from /src/bin/ to /mangos

8) copy /src/game/mangos(and)realmd/*.conf.dist.in

9) Delete the .dist.in and save

10) edit the .conf's with your info

11) Have fun!

Swap step 1 and 2 to get an up-to-date mangos version with AHBot else it'll try to downgrade to the revision the ahbot is currently at.

Link to comment
Share on other sites

Should there be an upcoming 003 release, there's one feature I'd really like to see... forbidding specific items by their ID, except where placed for auction by a player. I've found some occurrences where players have purchased some very rare items that otherwise required a high-level profession or exalted faction reputation.

For example, I just don't think having the Mechano-Hog placed at auction by the AHBot should even be allowed. Same goes for gear that normally would only drop from major instance bosses, like any loot that drops from Kil'jaeden or Arthas.

Link to comment
Share on other sites

Ihave have made a rebuild i have patched sql file and all things.

when core starts console said 400 auctions build ^^

but there ist no one ^^

did you take a look at the readme, and the detail explanation on "how to " on this topic ?

it is allways a parameter problem

Link to comment
Share on other sites

Hmm, a seperate column with forbidden items might work, however a better thing might be a table for it, and that table can be expanded for price increase/decreases for specific items and whatnot.

I like it m8.

What I would like to see if that goes ahead or not is a way of changing the multiplier for the ahbuyer. atm I have it at x3 but that is for all items. Would be nice to see that split up for greens/blues/epic as blues and epics will always sell on retail for much much more, but with our current system we would lose out...so to speak.

It's not hugely important as the seller and buyer works flawlessly on my system :) Change is always good though.

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