Jump to content

[PATCH] AuctionHouse Bot


Recommended Posts

  • Replies 702
  • Created
  • Last Reply

Top Posters In This Topic

hmmm what am i doing wrong..

git clone git://github.com/Naicisum/mangos.git ahbot

cd ahbot

git checkout origin/ahbot

git checkout -b ahbot

git diff master ahbot > auctionhousebot.patch

but that auctionhousebot.patch file is 0 in size

and its not adding the line's to the mangosd.conf.dist file

never mind i got it..but Thank You

Link to comment
Share on other sites

  • 2 weeks later...
hmmm what am i doing wrong..

git clone git://github.com/Naicisum/mangos.git ahbot

cd ahbot

git checkout origin/ahbot

git checkout -b ahbot

git diff master ahbot > auctionhousebot.patch

but that auctionhousebot.patch file is 0 in size

and its not adding the line's to the mangosd.conf.dist file

never mind i got it..but Thank You

look! you can do so

 
mkdir mangos/ahbot
cd mangos/ahbot
git init
git remote add origin git://github.com/Naicisum/mangos.git
git pull origin ahbot
git checkout origin/ahbot
git checkout -b ahbot
git diff master ahbot > auctionhousebot.patch

git apply auctionhousebot.patch

Link to comment
Share on other sites

not really sure what happened O_o

i went to bed one night, woke up the next and the AH was all clean

i hadn't made any changes, and only 1 item was in AH, which was a new players item

i dont have buyer enabled

and the seller has never given me a problem since install

***EDIT***

apparently my friend enabled ally/horde interactions, aka grouping,mailing,etc and it didn't like that

fix'd

Link to comment
Share on other sites

AllowTwoSide.Accounts = 1
AllowTwoSide.Interaction.Chat = 1
AllowTwoSide.Interaction.Channel = 1
AllowTwoSide.Interaction.Group = 0
AllowTwoSide.Interaction.Guild = 0
AllowTwoSide.Interaction.Auction = 0
AllowTwoSide.Interaction.Mail = 0
AllowTwoSide.WhoList = 1
AllowTwoSide.AddFriend = 1
TalentsInspecting = 0

he changed that, to

AllowTwoSide.Accounts = 1
AllowTwoSide.Interaction.Chat = 1
AllowTwoSide.Interaction.Channel = 1
AllowTwoSide.Interaction.Group = 0
AllowTwoSide.Interaction.Guild = 0
[b]AllowTwoSide.Interaction.Auction = 1
AllowTwoSide.Interaction.Mail = 1[/b]
AllowTwoSide.WhoList = 1
AllowTwoSide.AddFriend = 1
TalentsInspecting = 0

i was even able to reproduce it, cuz i just changed it to those settings again and after about a 48 hr period it just goes poof xP

ALSO, another possible bug

this is my sql data for the houses

2    Alliance    250    500    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    250    500    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    1    2    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

if you look i have my neutral house to have 2 items max, to keep it from populating, and since i have 2 house interaction off, there should only be 2 items in there

but, after the 1st 24 hr cycle, i checked it and it had 2000+ items, which i dont really understand, seeing as how even between the other 2 houses, there shouldnt be that many, and i have interaction off

Link to comment
Share on other sites

  • 2 weeks later...

I just tried to apply the patch to my Mangos 8504 and am getting a compile error.

Any ideas on what is going on?

make[3]: Entering directory `/home/mangos2/mangos/objdir/src/mangosd'
/bin/sh ../../libtool --tag=CXX   --mode=link g++  -DDO_MYSQL -g -O2 -L../../dep/src/sockets -L../../dep/src/g3dlite -L../bindings/universal/ -L/opt/mangos/lib ../../dep/ACE_wrappers/ace/libACE.la  -L/usr/lib/mysql -lmysqlclient_r -lz -lpthread -lcrypt -lnsl -lm -lpthread -L/usr/lib -lssl -lcrypto -lz  -L/usr/kerberos/lib -lssl -lcrypto -ldl -lz    -export-dynamic  -o mangos-worldd CliRunnable.o Main.o Master.o RASocket.o WorldRunnable.o ../bindings/universal/libmangosscript.la ../game/libmangosgame.a ../shared/Database/libmangosdatabase.a ../shared/Config/libmangosconfig.a ../shared/Auth/libmangosauth.a ../shared/libmangosshared.a ../shared/vmap/libmangosvmaps.a ../framework/libmangosframework.a ../../dep/src/sockets/libmangossockets.a ../../dep/src/g3dlite/libg3dlite.a -lpthread 
g++ -DDO_MYSQL -g -O2 -o .libs/mangos-worldd CliRunnable.o Main.o Master.o RASocket.o WorldRunnable.o -Wl,--export-dynamic  -L/home/mangos2/mangos/objdir/dep/src/sockets -L/home/mangos2/mangos/objdir/dep/src/g3dlite -L/home/mangos2/mangos/objdir/src/bindings/universal -L/opt/mangos/lib ../../dep/ACE_wrappers/ace/.libs/libACE.so -lrt -L/usr/lib/mysql -lmysqlclient_r -lcrypt -lnsl -lm -L/usr/lib -L/usr/kerberos/lib -lssl -lcrypto -ldl -lz ../bindings/universal/.libs/libmangosscript.so ../game/libmangosgame.a ../shared/Database/libmangosdatabase.a ../shared/Config/libmangosconfig.a ../shared/Auth/libmangosauth.a ../shared/libmangosshared.a ../shared/vmap/libmangosvmaps.a ../framework/libmangosframework.a ../../dep/src/sockets/libmangossockets.a ../../dep/src/g3dlite/libg3dlite.a -lpthread  -Wl,--rpath -Wl,/opt/mangos/lib
../game/libmangosgame.a(Level3.o): In function `ChatHandler::HandleAHBotOptionsCommand(char const*)':
/home/mangos2/mangos/objdir/src/game/../../../src/game/Level3.cpp:98: undefined reference to `AuctionHouseBot::Commands(unsigned int, unsigned int, unsigned int, char*)'
/home/mangos2/mangos/objdir/src/game/../../../src/game/Level3.cpp:108: undefined reference to `AuctionHouseBot::Commands(unsigned int, unsigned int, unsigned int, char*)'
/home/mangos2/mangos/objdir/src/game/../../../src/game/Level3.cpp:128: undefined reference to `AuctionHouseBot::Commands(unsigned int, unsigned int, unsigned int, char*)'
/home/mangos2/mangos/objdir/src/game/../../../src/game/Level3.cpp:118: undefined reference to `AuctionHouseBot::Commands(unsigned int, unsigned int, unsigned int, char*)'
/home/mangos2/mangos/objdir/src/game/../../../src/game/Level3.cpp:138: undefined reference to `AuctionHouseBot::Commands(unsigned int, unsigned int, unsigned int, char*)'
../game/libmangosgame.a(Level3.o):/home/mangos2/mangos/objdir/src/game/../../../src/game/Level3.cpp:235: more undefined references to `AuctionHouseBot::Commands(unsigned int, unsigned int, unsigned int, char*)' follow
../game/libmangosgame.a(Level3.o): In function `MaNGOS::Singleton<AuctionHouseBot, MaNGOS::SingleThreaded<AuctionHouseBot>, MaNGOS::OperatorNew<AuctionHouseBot>, MaNGOS::ObjectLifeTime<AuctionHouseBot> >::DestroySingleton()':
/home/mangos2/mangos/objdir/src/game/../../../src/game/../framework/Policies/SingletonImp.h:66: undefined reference to `MaNGOS::Singleton<AuctionHouseBot, MaNGOS::SingleThreaded<AuctionHouseBot>, MaNGOS::OperatorNew<AuctionHouseBot>, MaNGOS::ObjectLifeTime<AuctionHouseBot> >::si_instance'
../game/libmangosgame.a(Level3.o): In function `MaNGOS::OperatorNew<AuctionHouseBot>::Destroy(AuctionHouseBot*)':
/home/mangos2/mangos/objdir/src/game/../../../src/game/../framework/Policies/CreationPolicy.h:35: undefined reference to `AuctionHouseBot::~AuctionHouseBot()'
../game/libmangosgame.a(Level3.o): In function `MaNGOS::Singleton<AuctionHouseBot, MaNGOS::SingleThreaded<AuctionHouseBot>, MaNGOS::OperatorNew<AuctionHouseBot>, MaNGOS::ObjectLifeTime<AuctionHouseBot> >::DestroySingleton()':
/home/mangos2/mangos/objdir/src/game/../../../src/game/../framework/Policies/SingletonImp.h:67: undefined reference to `MaNGOS::Singleton<AuctionHouseBot, MaNGOS::SingleThreaded<AuctionHouseBot>, MaNGOS::OperatorNew<AuctionHouseBot>, MaNGOS::ObjectLifeTime<AuctionHouseBot> >::si_instance'
/home/mangos2/mangos/objdir/src/game/../../../src/game/../framework/Policies/SingletonImp.h:68: undefined reference to `MaNGOS::Singleton<AuctionHouseBot, MaNGOS::SingleThreaded<AuctionHouseBot>, MaNGOS::OperatorNew<AuctionHouseBot>, MaNGOS::ObjectLifeTime<AuctionHouseBot> >::si_destroyed'
../game/libmangosgame.a(Level3.o): In function `MaNGOS::Singleton<AuctionHouseBot, MaNGOS::SingleThreaded<AuctionHouseBot>, MaNGOS::OperatorNew<AuctionHouseBot>, MaNGOS::ObjectLifeTime<AuctionHouseBot> >::Instance()':
/home/mangos2/mangos/objdir/src/game/../../../src/game/../framework/Policies/SingletonImp.h:37: undefined reference to `MaNGOS::Singleton<AuctionHouseBot, MaNGOS::SingleThreaded<AuctionHouseBot>, MaNGOS::OperatorNew<AuctionHouseBot>, MaNGOS::ObjectLifeTime<AuctionHouseBot> >::si_instance'
../game/libmangosgame.a(Level3.o): In function `MaNGOS::ObjectLifeTime<AuctionHouseBot>::ScheduleCall(void (*)())':
/home/mangos2/mangos/objdir/src/game/../../../src/game/../framework/Policies/ObjectLifeTime.h:37: undefined reference to `MaNGOS::Singleton<AuctionHouseBot, MaNGOS::SingleThreaded<AuctionHouseBot>, MaNGOS::OperatorNew<AuctionHouseBot>, MaNGOS::ObjectLifeTime<AuctionHouseBot> >::si_instance'
../game/libmangosgame.a(Level3.o): In function `MaNGOS::Singleton<AuctionHouseBot, MaNGOS::SingleThreaded<AuctionHouseBot>, MaNGOS::OperatorNew<AuctionHouseBot>, MaNGOS::ObjectLifeTime<AuctionHouseBot> >::Instance()':
/home/mangos2/mangos/objdir/src/game/../../../src/game/../framework/Policies/SingletonImp.h:43: undefined reference to `MaNGOS::Singleton<AuctionHouseBot, MaNGOS::SingleThreaded<AuctionHouseBot>, MaNGOS::OperatorNew<AuctionHouseBot>, MaNGOS::ObjectLifeTime<AuctionHouseBot> >::si_destroyed'
../game/libmangosgame.a(Level3.o): In function `MaNGOS::OperatorNew<AuctionHouseBot>::Create()':
/home/mangos2/mangos/objdir/src/game/../../../src/game/../framework/Policies/CreationPolicy.h:34: undefined reference to `AuctionHouseBot::AuctionHouseBot()'
../game/libmangosgame.a(Level3.o): In function `MaNGOS::Singleton<AuctionHouseBot, MaNGOS::SingleThreaded<AuctionHouseBot>, MaNGOS::OperatorNew<AuctionHouseBot>, MaNGOS::ObjectLifeTime<AuctionHouseBot> >::Instance()':
/home/mangos2/mangos/objdir/src/game/../../../src/game/../framework/Policies/SingletonImp.h:48: undefined reference to `MaNGOS::Singleton<AuctionHouseBot, MaNGOS::SingleThreaded<AuctionHouseBot>, MaNGOS::OperatorNew<AuctionHouseBot>, MaNGOS::ObjectLifeTime<AuctionHouseBot> >::si_instance'
/home/mangos2/mangos/objdir/src/game/../../../src/game/../framework/Policies/SingletonImp.h:45: undefined reference to `MaNGOS::Singleton<AuctionHouseBot, MaNGOS::SingleThreaded<AuctionHouseBot>, MaNGOS::OperatorNew<AuctionHouseBot>, MaNGOS::ObjectLifeTime<AuctionHouseBot> >::si_destroyed'
../game/libmangosgame.a(World.o): In function `World::SetInitialWorldSettings()':
/home/mangos2/mangos/objdir/src/game/../../../src/game/World.cpp:1474: undefined reference to `AuctionHouseBot::Initialize()'
../game/libmangosgame.a(World.o): In function `World::Update(unsigned int)':
/home/mangos2/mangos/objdir/src/game/../../../src/game/World.cpp:1545: undefined reference to `AuctionHouseBot::Update()'
collect2: ld returned 1 exit status
make[3]: *** [mangos-worldd] Error 1
make[3]: Leaving directory `/home/mangos2/mangos/objdir/src/mangosd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/mangos2/mangos/objdir/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mangos2/mangos/objdir'
make: *** [all] Error 2

Link to comment
Share on other sites

@neonblue

Not sure, I just updated the repo to rev 8526 and recompiled my server @ 8526 with no issues. Its up and running right now again, i logged in poked my head around and spot checked a few areas and it seems to be stable...

@cytrik

Is this still an issue, if so could you re-elaborate on whats going on if anything has changed since your posting?

Thanks!

Link to comment
Share on other sites

  • 2 weeks later...

Looks good except you need to update the tag to 8587 as this is the "final" commit before 3.2.x core transition. Looks like you are missing a few more commits still. Otherwise it looks good and will give everyone a chance to breath and use this before the switch to 3.2.2 since we all know it will take some time before 3.2.2 is ready for mainstream use. ;)

Link to comment
Share on other sites

@X-Savior

Hopefully the GIT is strong with me this time. I beleive I corrected the tag, I had to revert, remerge, retag, and force a git update of the ahbot branch, but it should be good now.

@Skirnir and Everyone

I know I know, ive been in lazy mode since getting back from my Vacation, but I'm planning on putting in some serious dev hours this weekend on getting another push up on the dev branch. Hopefully I'll make some progress and have an update on where things stand on development by Monday. Thank you all for your support and patience!

Link to comment
Share on other sites

  • 2 weeks later...
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