Jump to content

Recommended Posts

  • Replies 702
  • Created
  • Last Reply

Top Posters In This Topic

Posted

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

Posted

Would anyone know how to add a function so that the AHBot would leave certain items out? like perhaps give it a blacklist SQL Table for items it should NEVER sell?

@ Naicisum

have a good time on your vacation

Posted

Shouldnt Technicians winner bot have as much hp as the other winner bots? They all have in the 50,000s while his bot only has 17,000. That is probably the amount of hp that he ended with.

Just something I noticed now that I am attacking him.

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

Posted

thanks a lot! it worked perfectly on my server! (Mangos 8401), the only thing is that i had to change the values you posted at the final of the post to make it work, but is perfect! thanks a lot :] ^_^

Posted

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

Posted

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

  • 2 weeks later...
Posted

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

Posted

@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!

  • 2 weeks later...
Posted

I have merged the master branch but it looks like there might be some more core issues at the moment. I will post when I have a sucessful merge/running server with AHBot running.

Thanks for your patience.

Posted

Hi,

merged 8596 with my local ahbot brach from old 3.1 days. After manual merge fix, everything runs flawless. On Debian Lenny x64.

:)

PS: Naicisum I'm still waiting to test ahbot-dev branch ...

Posted

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. ;)

Posted

@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!

  • 2 weeks later...
Posted

I want to merge ahbot with Mangos rev. 8587, how can I do that?

I use:

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

git reset --hard :/[8587]

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

git reset correctly switch revision to 8587, but last command updates again to newest revision...

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