Jump to content

kaxias

Members
  • Posts

    53
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

About kaxias

  • Birthday 01/01/1

kaxias's Achievements

Advanced Member

Advanced Member (3/3)

0

Reputation

  1. BlueBoy u can set PlayerbotAI.RestrictBotLevel = 80 max level 60 default https://github.com/blueboy/portalzero/blob/master/src/game/playerbot/playerbot.conf.dist.in#L67
  2. [gist]3755633[/gist] why did u need this changes in Playerbotzero?
  3. fix to mangos 11430 but not sure if this the right way! diff --git a/src/game/playerbot/PlayerbotMgr.cpp b/src/game/playerbot/PlayerbotMgr.cpp index 404430b..bcf2612 100644 --- a/src/game/playerbot/PlayerbotMgr.cpp +++ b/src/game/playerbot/PlayerbotMgr.cpp @@ -9,6 +9,7 @@ #include "../Chat.h" #include "../Language.h" #include "../Guild.h" +#include "../GuildMgr.h" #include "../WaypointMovementGenerator.h" class LoginQueryHolder; @@ -662,7 +663,7 @@ void PlayerbotMgr::HandleMasterIncomingPacket(const WorldPacket& packet) uint32 GuildId = bot->GetGuildId(); if (!GuildId) return; - Guild *pGuild = sObjectMgr.GetGuildById(GuildId); + Guild *pGuild = sGuildMgr.GetGuildById(GuildId); if (!pGuild) return; pGuild->LogBankEvent(GUILD_BANK_LOG_REPAIR_MONEY, 0, bot->GetGUIDLow(), TotalCost);
  4. I'm not sure if does only warning! i'm use vc90 and i spot this warning when i install playerbot!
  5. warning fix in vc10 diff --git a/win/VC100/game.vcxproj.filters b/win/VC100/game.vcxproj.filters index daf1591..0f04dea 100644 --- a/win/VC100/game.vcxproj.filters +++ b/win/VC100/game.vcxproj.filters @@ -495,6 +495,7 @@ </ClCompile> <ClCompile Include="..\\..\\src\\game\\playerbot\\PlayerbotWarriorAI.cpp"> <Filter>World/Handlers</Filter> + </ClCompile> <ClCompile Include="..\\..\\src\\game\\vmap\\BIH.cpp"> <Filter>vmaps</Filter> </ClCompile> @@ -953,6 +954,7 @@ </ClInclude> <ClInclude Include="..\\..\\src\\game\\playerbot\\PlayerbotWarriorAI.h"> <Filter>World/Handlers</Filter> + </ClInclude> <ClInclude Include="..\\..\\src\\game\\vmap\\BIH.h"> <Filter>vmaps</Filter> </ClInclude>
  6. hi Blueboy! observed some changes not necessary. https://gist.github.com/957756
  7. Hi Guys! I found this code LFG on the Internet! but do not know who the author of the code! LINK I believe was taken from the RSA my problem when I compile and give me this error. ObjectMgr.cpp ..\\..\\src\\game\\ObjectMgr.cpp(202): error C2663: 'std::_Hash<_Traits>::find' : 2 overloads have no legal conversion for 'this' pointer with [ _Traits=std::tr1::_Umap_traits<uint32,Group *,std::_Hash_compare<uint32,std::hash<uint32>,std::equal_to<size_t>>,std::allocator<std::pair<const uint32,Group *>>,false> ] file ObjectMgr.cpp Group* ObjectMgr::GetGroup(ObjectGuid guid) const { GroupMap::const_iterator itr = mGroupMap.find(guid); if (itr != mGroupMap.end()) return itr->second; return NULL; } if possible someone help me. I will be grateful.
  8. i did but it is not right way to do!
  9. dont work after core 10156 m_spellproto in aura HandlePhase broken!
  10. Hello! you has the mangos-ru to speak your language! and this is not discrimination by language, because I'm not British or American. There is not a site like mangos in my language. so I have to speak in English. please speak in English for all to understand what you speak!
  11. Please do not interpret me wrong! but I just want to help because I love this patch! fix white space was to avoid conflicts in the future!
  12. by your ripo in chat.cpp have 1 space http://github.com/blueboy/mangos/blob/master/src/game/Chat.cpp#L707 for the mangos have 8 space http://github.com/mangos/mangos/blob/master/src/game/Chat.cpp#L705 so you have white space to fix!
  13. try on! md playbot cd playbot git pull git://github.com/mangos/mangos.git git branch playbot git pull git://github.com/blueboy/mangos.git git diff master playbot > playerbot .diff so you can see the difference diff --git a/src/game/Chat.cpp b/src/game/Chat.cpp index 8dc9148..10020d7 100644 --- a/src/game/Chat.cpp +++ b/src/game/Chat.cpp @@ -702,7 +702,9 @@ ChatCommand * ChatHandler::getCommandTable() { "flusharenapoints",SEC_ADMINISTRATOR, false, &ChatHandler::HandleFlushArenaPointsCommand, "", NULL }, { "repairitems", SEC_GAMEMASTER, true, &ChatHandler::HandleRepairitemsCommand, "", NULL }, { "waterwalk", SEC_GAMEMASTER, false, &ChatHandler::HandleWaterwalkCommand, "", NULL }, - { "quit", SEC_CONSOLE, true, &ChatHandler::HandleQuitCommand, "", NULL }, + //Playerbot mod + { "bot", SEC_PLAYER, false, &ChatHandler::HandlePlayerbotCommand, "", NULL }, + { "quit", SEC_CONSOLE, true, &ChatHandler::HandleQuitCommand, "", NULL }, { NULL, 0, false, NULL, "", NULL } }; @@ -935,7 +937,7 @@ bool ChatHandler::ExecuteCommandInTable(ChatCommand *table, const char* text, co fullcmd.c_str(),p->GetName(),GetAccountId(),p->GetPositionX(),p->GetPositionY(),p->GetPositionZ(),p->GetMapId(), sel_guid.GetString().c_str()); } - else // 0 account -> console + else // 0 account -> console { sLog.outCommand(GetAccountId(),"Command: %s [Account: %u from %s]", fullcmd.c_str(),GetAccountId(),GetAccountId() ? "RA-connection" : "Console");
  14. hi Blueboy FIX white space, VC80 and VC100 http://www.mediafire.com/?ymxmudedjwd
×
×
  • 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