Jump to content

Recommended Posts

Posted
Auto-merging src/mangosd/mangosd.conf.dist.in

CONFLICT (content): Merge conflict in src/mangosd/mangosd.conf.dist.in

Auto-merging win/VC90/game.vcproj

Automatic merge failed; fix conflicts and then commit the result.

Mightylink@ZVC /c/Northrend (RPPVP)/Mangos Source/mangos + ahbot + playerbot/man

gos (master|MERGING)

$

im sry but this is just plain sad :(

you should know that that merge was completely eady to be compiled! the only conflict was in the mangosd.conf which most everyone manually configure that anyway

  • Replies 1.8k
  • Created
  • Last Reply

Top Posters In This Topic

Posted
im sry but this is just plain sad :(

you should know that that merge was completely eady to be compiled! the only conflict was in the mangosd.conf which most everyone manually configure that anyway

I did not know that, I thought it stopped 20% of the way through... yes I can easily edit the config later, I will do that next time.

Btw, I hate to be one of those guys who gets help and bugs for more but I only have a question now not a problem, how do I get my bot to loot boe items?

I searched all over the site and all I found was:

/t BOTNAME reset (will reset states, orders and loot list)

I made a druid bot and it works quite well, goes into moonkin form to cast, goes to human form to heal, buffs me... I took it on a run through steamvault and what do you know the first boss dropped a good druid belt, but dam my bot wouldnt loot it, am I missing a command that wasnt in the help file?

Posted

Help me plz with my error (sorry i am not say english):

Compiling...

WorldRunnable.cpp

WheatyExceptionReport.cpp

RASocket.cpp

Master.cpp

Main.cpp

CliRunnable.cpp

Compiling resources...

Linking...

Creating library .\\mangosd__Win32_Release\\mangosd.lib and object .\\mangosd__Win32_Release\\mangosd.exp

game.lib(CharacterHandler.obj) : error LNK2001: unresolved external symbol "public: virtual __thiscall PlayerbotMgr::~PlayerbotMgr(void)" (??1PlayerbotMgr@@UAE@XZ)

game.lib(Group.obj) : error LNK2019: unresolved external symbol "public: virtual __thiscall PlayerbotMgr::~PlayerbotMgr(void)" (??1PlayerbotMgr@@UAE@XZ) referenced in function "public: virtual void * __thiscall PlayerbotMgr::`scalar deleting destructor'(unsigned int)" (??_GPlayerbotMgr@@UAEPAXI@Z)

game.lib(Player.obj) : error LNK2001: unresolved external symbol "public: virtual __thiscall PlayerbotMgr::~PlayerbotMgr(void)" (??1PlayerbotMgr@@UAE@XZ)

game.lib(WorldSession.obj) : error LNK2001: unresolved external symbol "public: virtual __thiscall PlayerbotMgr::~PlayerbotMgr(void)" (??1PlayerbotMgr@@UAE@XZ)

game.lib(NPCHandler.obj) : error LNK2001: unresolved external symbol "public: virtual __thiscall PlayerbotMgr::~PlayerbotMgr(void)" (??1PlayerbotMgr@@UAE@XZ)

game.lib(Group.obj) : error LNK2019: unresolved external symbol "public: void __thiscall PlayerbotMgr::RemoveAllBotsFromGroup(void)" (?RemoveAllBotsFromGroup@PlayerbotMgr@@QAEXXZ) referenced in function "public: unsigned int __thiscall Group::RemoveMember(unsigned __int64 const &,unsigned char const &)" (?RemoveMember@Group@@QAEIAB_KABE@Z)

game.lib(Player.obj) : error LNK2019: unresolved external symbol "public: virtual __thiscall PlayerbotAI::~PlayerbotAI(void)" (??1PlayerbotAI@@UAE@XZ) referenced in function "public: virtual void * __thiscall PlayerbotAI::`scalar deleting destructor'(unsigned int)" (??_GPlayerbotAI@@UAEPAXI@Z)

game.lib(WorldSession.obj) : error LNK2001: unresolved external symbol "public: virtual __thiscall PlayerbotAI::~PlayerbotAI(void)" (??1PlayerbotAI@@UAE@XZ)

game.lib(ChatHandler.obj) : error LNK2001: unresolved external symbol "public: virtual __thiscall PlayerbotAI::~PlayerbotAI(void)" (??1PlayerbotAI@@UAE@XZ)

game.lib(QuestHandler.obj) : error LNK2001: unresolved external symbol "public: virtual __thiscall PlayerbotAI::~PlayerbotAI(void)" (??1PlayerbotAI@@UAE@XZ)

game.lib(Player.obj) : error LNK2019: unresolved external symbol "public: void __thiscall PlayerbotMgr::Stay(void)" (?Stay@PlayerbotMgr@@QAEXXZ) referenced in function "public: bool __thiscall Player::TeleportTo(unsigned int,float,float,float,float,unsigned int)" (?TeleportTo@Player@@QAE_NIMMMMI@Z)

game.lib(Player.obj) : error LNK2019: unresolved external symbol "public: void __thiscall PlayerbotMgr::UpdateAI(unsigned int)" (?UpdateAI@PlayerbotMgr@@QAEXI@Z) referenced in function "public: virtual void __thiscall Player::Update(unsigned int)" (?Update@Player@@UAEXI@Z)

game.lib(Player.obj) : error LNK2019: unresolved external symbol "public: void __thiscall PlayerbotAI::UpdateAI(unsigned int)" (?UpdateAI@PlayerbotAI@@QAEXI@Z) referenced in function "public: virtual void __thiscall Player::Update(unsigned int)" (?Update@Player@@UAEXI@Z)

game.lib(Chat.obj) : error LNK2019: unresolved external symbol "protected: bool __thiscall ChatHandler::HandlePlayerbotCommand(char const *)" (?HandlePlayerbotCommand@ChatHandler@@IAE_NPBD@Z) referenced in function "protected: class ChatCommand * __thiscall ChatHandler::getCommandTable(void)" (?getCommandTable@ChatHandler@@IAEPAVChatCommand@@XZ)

game.lib(WorldSession.obj) : error LNK2019: unresolved external symbol "public: void __thiscall PlayerbotMgr::HandleMasterOutgoingPacket(class WorldPacket const &)" (?HandleMasterOutgoingPacket@PlayerbotMgr@@QAEXABVWorldPacket@@@Z) referenced in function "public: void __thiscall WorldSession::SendPacket(class WorldPacket const *)" (?SendPacket@WorldSession@@QAEXPBVWorldPacket@@@Z)

game.lib(WorldSession.obj) : error LNK2019: unresolved external symbol "public: void __thiscall PlayerbotAI::HandleBotOutgoingPacket(class WorldPacket const &)" (?HandleBotOutgoingPacket@PlayerbotAI@@QAEXABVWorldPacket@@@Z) referenced in function "public: void __thiscall WorldSession::SendPacket(class WorldPacket const *)" (?SendPacket@WorldSession@@QAEXPBVWorldPacket@@@Z)

game.lib(WorldSession.obj) : error LNK2019: unresolved external symbol "public: void __thiscall PlayerbotMgr::LogoutAllBots(void)" (?LogoutAllBots@PlayerbotMgr@@QAEXXZ) referenced in function "public: void __thiscall WorldSession::LogoutPlayer(bool)" (?LogoutPlayer@WorldSession@@QAEX_N@Z)

game.lib(WorldSession.obj) : error LNK2019: unresolved external symbol "public: void __thiscall PlayerbotAI::HandleTeleportAck(void)" (?HandleTeleportAck@PlayerbotAI@@QAEXXZ) referenced in function "public: bool __thiscall WorldSession::Update(unsigned int)" (?Update@WorldSession@@QAE_NI@Z)

game.lib(WorldSession.obj) : error LNK2019: unresolved external symbol "public: void __thiscall PlayerbotMgr::HandleMasterIncomingPacket(class WorldPacket const &)" (?HandleMasterIncomingPacket@PlayerbotMgr@@QAEXABVWorldPacket@@@Z) referenced in function "public: bool __thiscall WorldSession::Update(unsigned int)" (?Update@WorldSession@@QAE_NI@Z)

game.lib(Creature.obj) : error LNK2019: unresolved external symbol "public: bool __thiscall Creature::isBotGiver(void)" (?isBotGiver@Creature@@QAE_NXZ) referenced in function "public: bool __thiscall Creature::UpdateEntry(unsigned int,unsigned int,struct CreatureData const *)" (?UpdateEntry@Creature@@QAE_NIIPBUCreatureData@@@Z)

game.lib(NPCHandler.obj) : error LNK2001: unresolved external symbol "public: bool __thiscall Creature::isBotGiver(void)" (?isBotGiver@Creature@@QAE_NXZ)

game.lib(Creature.obj) : error LNK2019: unresolved external symbol "public: void __thiscall Creature::LoadBotMenu(class Player *)" (?LoadBotMenu@Creature@@QAEXPAVPlayer@@@Z) referenced in function "public: void __thiscall Creature::PrepareGossipMenu(class Player *,unsigned int)" (?prepareGossipMenu@Creature@@QAEXPAVPlayer@@I@Z)

game.lib(NPCHandler.obj) : error LNK2019: unresolved external symbol "public: void __thiscall PlayerbotMgr::LogoutPlayerBot(unsigned __int64)" (?LogoutPlayerBot@PlayerbotMgr@@QAEX_K@Z) referenced in function "public: void __thiscall WorldSession::HandleGossipSelectOptionOpcode(class WorldPacket &)" (?HandleGossipSelectOptionOpcode@WorldSession@@QAEXAAVWorldPacket@@@Z)

game.lib(NPCHandler.obj) : error LNK2019: unresolved external symbol "public: class Player * __thiscall PlayerbotMgr::GetPlayerBot(unsigned __int64)const " (?GetPlayerBot@PlayerbotMgr@@QBEPAVPlayer@@_K@Z) referenced in function "public: void __thiscall WorldSession::HandleGossipSelectOptionOpcode(class WorldPacket &)" (?HandleGossipSelectOptionOpcode@WorldSession@@QAEXAAVWorldPacket@@@Z)

game.lib(NPCHandler.obj) : error LNK2019: unresolved external symbol "public: __thiscall PlayerbotMgr::PlayerbotMgr(class Player * const)" (??0PlayerbotMgr@@QAE@QAVPlayer@@@Z) referenced in function "public: void __thiscall WorldSession::HandleGossipSelectOptionOpcode(class WorldPacket &)" (?HandleGossipSelectOptionOpcode@WorldSession@@QAEXAAVWorldPacket@@@Z)

game.lib(ChatHandler.obj) : error LNK2019: unresolved external symbol "public: void __thiscall PlayerbotAI::HandleCommand(class std::basic_string,class std::allocator > const &,class Player &)" (?HandleCommand@PlayerbotAI@@QAEXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AAVPlayer@@@Z) referenced in function "public: void __thiscall WorldSession::HandleMessagechatOpcode(class WorldPacket &)" (?HandleMessagechatOpcode@WorldSession@@QAEXAAVWorldPacket@@@Z)

game.lib(QuestHandler.obj) : error LNK2019: unresolved external symbol "public: void __thiscall PlayerbotAI::AcceptQuest(class Quest const *,class Player *)" (?AcceptQuest@PlayerbotAI@@QAEXPBVQuest@@PAVPlayer@@@Z) referenced in function "public: void __thiscall WorldSession::HandlePushQuestToParty(class WorldPacket &)" (?HandlePushQuestToParty@WorldSession@@QAEXAAVWorldPacket@@@Z)

game.lib(CharacterHandler.obj) : error LNK2019: unresolved external symbol "public: void __thiscall PlayerbotMgr::OnBotLogin(class Player * const)" (?OnBotLogin@PlayerbotMgr@@QAEXQAVPlayer@@@Z) referenced in function "public: void __thiscall CharacterHandler::HandlePlayerBotLoginCallback(class QueryResult *,class SqlQueryHolder *)" (?HandlePlayerBotLoginCallback@CharacterHandler@@QAEXPAVQueryResult@@PAVSqlQueryHolder@@@Z)

..\\..\\bin\\Win32_Release\\mangosd.exe : fatal error LNK1120: 20 unresolved externals

Posted

@Winslow

I can't build on linux without this:

diff --git a/src/game/Makefile.am b/src/game/Makefile.am
index 1a587ea..fb226c2 100644
--- a/src/game/Makefile.am
+++ b/src/game/Makefile.am
@@ -222,6 +222,8 @@ libmangosgame_a_SOURCES = \\
    PlayerbotHunterAI.h \\
    PlayerbotMageAI.cpp \\
    PlayerbotMageAI.h \\
+    PlayerbotMgr.cpp \\
+    PlayerbotMgr.h \\
    PlayerbotPaladinAI.cpp \\
    PlayerbotPaladinAI.h \\
    PlayerbotPriestAI.cpp \\

EDIT: On github.com/winslow/Playerbot

Posted

for some reason my server just freezes sometimes. i type server exit in the window and nothing happens. I am like 100% sure it has to do with the bots cause never had this when i just run a normal server. heres the

what it says in the window

sESSION: received not allowed opcode UMSG_UNKNOWN_1203 (0x04B3)

any ideas why this happens?

Posted

@leon

sESSION: received not allowed opcode UMSG_UNKNOWN_1203 (0x04B3)
you can just ignore that.

What version are you using mine or there's and do you have any other patches mine has been up for a day and no problems.:)

Posted

Well this script is really great, a few problems though, and this cost me many wipes in important raids :P

The druid does not seem to heal when it is attacking, I tried both assist and stay, which is the 2 only combat orders working so far (besides protect which is not useful here), in both cases, once the druid shifted into bear form, he would not cast anything else... My druid is in restoration talents btw but he will not use tree of life form, I even tried cast tree of life and he still just stands there, i also tried with the cast <spell link> of the form, still nothing.

My death knight bot, seems to cast bone shield when it does not have it, ok no complaints there i guess its part of the ai, but what is a problem is it keeps switching pressence in combat, it keeps casting all 3, blood frost, unholy over and over and most of the time without frost pressence its tanking sucks, my dk is frost btw...

I think both problems are related, I guess there is nothing I can do untill the heal combat order is coded, according to the todo list it is not done yet...

Also my paladins a douche bag lol, he is in holy taletns and holy gear but he acts like a tank buffing rightousfury, though I been browsing the source and im starting to edit these buffs myself now. Also the paladin doesnt seem to heal... ever...

I dont mean to sound negative, I only talk about these so they can be looked at, on the posative side I think this is a great script and it does work really well for most classes, its a much better alternative to pets plus you can actually use that extra gear you get in raids, like if im a death knight then my bot can be a mail, leather or cloth wearer to be more useful.

Great mod and keep up the good work, I look forward to updates.

The feature I want to see most is have the bot join the bg when the master joins, this is for when I group horde and ally together and I set my bg to 1 per team, dont care if he does anything I just want to enter ^_^

[Edit] I would also like to see auto arena team invites and guild invites, I tried a guild invite he wouldnt accept, had to log in 2 accounts to get him to join.

Posted

its linux, ill cheak the cpu next time it happens but don't think cpu is it, cause i am running 2 servers on the same pc and other still runs when the other freezes

Posted
hey i am using http://github.com/playerbot/mangos/commits/master with ahb happens once a while for no reason last week i tried just the ahb and worked fine so idk

it's AHBot doing the freeze. Especially if you have it set to put alot of items on the AH and have frequent buy/sell settings with AH bot. When I haven't had my server up for a couple of days I have to wait like an hour for AH bot to do its thing before I can log in. Then it causes occasional lag spikes.

Posted

ok thxs yea i do have alot of items

yea i notice that i by mistake put 30000 instead of 3000

also wanted to point out a bot crash idk if someone reported this

but seems like when the bot dies sometimes u can see it standing but with 0 hp and if u do bot remove or log out server crashes

BuildPlayerRepop: player Rona(111115110) already has a corpse

mangos-worldd: ../../../src/game/Player.cpp:4078: void Player::BuildPlayerRepop(): Assertion `false' failed.

Aborted

Posted

Heya mates.

I'm 'freshening' my 3.1.3 server and wanted to add the PlayerBot into the mix...I currently run Mangos with AHBot (gigelf version).

When I try to git the mangos master, ahbot master, and playerbot master I get a couple of merge errors:

$ git pull git://github.com/Gigelf/mangos.git auctionhouse

remote: Counting objects: 100, done.

remote: Compressing objects: 100% (43/43), done.

remote: Total 65 (delta 51), reused 28 (delta 22)

Unpacking objects: 100% (65/65), done.

From git://github.com/Gigelf/mangos

* branch auctionhouse -> FETCH_HEAD

Auto-merging src/game/Chat.cpp

Auto-merging src/game/Chat.h

Auto-merging src/game/Level3.cpp

Auto-merging src/game/Mail.cpp

Auto-merging src/game/Makefile.am

Auto-merging src/game/World.cpp

Auto-merging src/mangosd/mangosd.conf.dist.in

CONFLICT (content): Merge conflict in src/mangosd/mangosd.conf.dist.in

Auto-merging win/VC80/game.vcproj

Auto-merging win/VC90/game.vcproj

Automatic merge failed; fix conflicts and then commit the result.

The above was from merging the master mangos, then playerbot and finally AHBot...I get similar errors if I do mangos then ahbot, then playerbot.

After attempting a compile, the AuctionHouseBot cpp file squacks about minimailloadindb not found for player (something similar as I killed the compile window and am going off memory).

1) Is playerbot compatible with gigelf AHBot or should I use the *new* ahbot by narc? The conflict looks trivial as I'm sure I could file compare the files for differences (just config files) and make the appropriate edits, but I just want to make sure that this conflict isn't indicative of something I am doing wrong.

2) Is the narc version as stable as the old gigelf version?

Thanks in advance for any help you can provide.

Best Regards,

T.

Posted

You can ignore those errors in conf file because you can just let it run as default value, or just patch manually by yourself, they shouldn't be hard...... (but you have to patch AHbot first because its configuration is more significant than PlayerbotAI)

About stability, well, the recently changes from mangos is killing the project. The crash problem from zone changing never get fixed. Unless you put a bot master map check to prevent bots do anything before it get teleport to master's location, it will crash when bot is in different zone/map.

Posted

I can get this to work in 3.1.3 but the 3.2 core when tring to merg i cant get these 2 to merg

Conflicts:

src/game/CharacterHandler.cpp

src/game/WorldSession.cpp

any idea's or just need to wait for update on the script for 3.2?

Posted

i fixed the bug if anyone else has it all i did was delete some code in the playerai file that handles the corpse of the bot or something and no more crash if anyone needs exactly what i did post

ok thxs yea i do have alot of items

yea i notice that i by mistake put 30000 instead of 3000

also wanted to point out a bot crash idk if someone reported this

but seems like when the bot dies sometimes u can see it standing but with 0 hp and if u do bot remove or log out server crashes

BuildPlayerRepop: player Rona(111115110) already has a corpse

mangos-worldd: ../../../src/game/Player.cpp:4078: void Player::BuildPlayerRepop(): Assertion `false' failed.

Aborted

Posted

Can anyone say how to set maximum number of allowed bot for one player. Now it is 9. How to allow only 3 bots for exemple?

p.s. thanks and sorry for my english.

Posted

Unfortunately there's a conflict between CWN's anticheat and playerbot, both of them want to write to the mangos.config.dist.in at the same location in the file. I tried making 2 copies of the config then switching them out between patches in the hope of manually pasting the anticheat settings into he config by hand, but it gave me a patch error saying the config is out of date.

Anyone know what I can do?

Posted

Okay, Crash Down again.. Last six version of server Crash Down.. I`m missing something I think..

OS Ubuntu 9.4

Mangos Revision: 8393

I use only SD2 and Playerbot patches

Changed only StartMony XP Rates etc. on mangos.conf file

I Like my bots and our players too.. I don`t want give up Playerbot

How can I fix this issue??

Thanks for helps..

I rarely get this errors and then server goes down:

(Last 15 lines of log)

CHARACTER: Sent Initial Spells

Initializing Action Buttons for '4'

Action Buttons for '4' Initialized

Creating player data for himself 4

Sending SMSG_INIT_WORLD_STATES to Map:0, Zone: 85

STORAGE: DestroyZoneLimitedItem in map 0 and area 85

Sending SMSG_SPELL_GO id=836

Spell: Effect : 46

WORLD: Spell Effect DUMMY

map::setNGrid() Invalid grid coordinates found: -2147483585, -2147483585!

mangos-worldd: ../../../src/game/Map.cpp:2068: void Map::setNGrid(NGridType*, uint32, uint32): Assertion `false' failed.

Aborted

kansu@TERs_DEbbiE:~/zfun/mangosw/bin$

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