Jump to content

djericphillips

Members
  • Posts

    12
  • Joined

  • Last visited

  • Donations

    0.00 GBP 

About djericphillips

  • Birthday 01/01/1

djericphillips's Achievements

Member

Member (2/3)

0

Reputation

  1. Ok I will check this. I don't use DKBots so I will see what I can do
  2. Ok I did some research and there is a core mod for trinity. Look here: http://www.trinitycore.org/forum/npcbot-for-tc2-t4758.html
  3. Anyone seen Collin lately? Wondering the status of an actual fix.
  4. Possibly, but I'm sure you'd have to change the code for it.
  5. Ok... give a bit more info? I have not froze up at all with this. Anyone else having this problem? Which patches you using and revision?
  6. To be more specific on the fix for ChatHandler.cpp: <<<<<<< HEAD:src/game/ChatHandler.cpp <--- Delete Line bool WorldSession::ProcessChatmessageFurtherAfterSecurityChecks(std::string& msg, uint32 lang) { if (lang != LANG_ADDON) { // strip invisible characters for non-addon messages if(sWorld.getConfig(CONFIG_CHAT_FAKE_MESSAGE_PREVENTING)) stripLineInvisibleChars(msg); if (sWorld.getConfig(CONFIG_CHAT_STRICT_LINK_CHECKING_SEVERITY) && GetSecurity() < SEC_MODERATOR && !ChatHandler(this).isValidChatMessage(msg.c_str())) { sLog.outError("Player %s (GUID: %u) sent a chatmessage with an invalid link: %s", GetPlayer()->GetName(), GetPlayer()->GetGUIDLow(), msg.c_str()); if (sWorld.getConfig(CONFIG_CHAT_STRICT_LINK_CHECKING_KICK)) KickPlayer(); return false; } } return true; } ======= <--- Delete Line // Playerbot mod <---Move to headers section #include "PlayerbotAI.h" <---Move to headers section >>>>>>> 2243f3c3ec59852bd219a80c45995b907d28a6f6:src/game/ChatHandler.cpp <--- Delete Line
  7. Again.. easy fix. When you cut and moved the header file, you left the >>>>>>>>> lines (should be 2 of them) and the line marked ======= delete these full lines and you will be fine
  8. This is not a solid fix, its a quick and dirty one as stated before. The bots are not auto accepting quests unless shared in the quest log, and they are not turning them in themselves. Once these get fixed then it should be committed
  9. That has nothing to do with that code I assure you, I have compiled and played fine on the newest Revision of Mangos. Your trouble lies elsewhere. What other patches are you using?
  10. I received no compile errors on mine. I am using the latest version of Mangos with the Auction House Bot and Player Bot patches. Which errors are you getting? *UPDATE ok I see where I messed up on posting.... must not of had much sleep that day. I updated my post above. In the worldsession.cpp file you need to find and replace this section: while (! pBotWorldSession->_recvQueue.empty()) { WorldPacket* const packet = pBotWorldSession->_recvQueue.next(); OpcodeHandler& opHandle = opcodeTable[packet->GetOpcode()]; (pBotWorldSession->*opHandle.handler)(*packet); delete packet; } with the following: while (pBotWorldSession->_recvQueue.next(packet) == true) // empty())) { //WorldPacket* const packet = pBotWorldSession->_recvQueue.next(*packet); WorldPacket* const packet2 = packet; OpcodeHandler& opHandle = opcodeTable[packet2->GetOpcode()]; (pBotWorldSession->*opHandle.handler)(*packet2); delete packet2; } And that should fix your 3 errors while compiling. Like I said, I updated the post above.
  11. By the way.. good job with this mod. It was enough to make me comment on the boards after more then a year lol
  12. Taking the suggestions here and glancing over the files, I was able to fix mine so it compiled and worked. For those of you who do not know how to fix this, here are the real simple steps. Open you source folder for your mangos files (The one you download and patch to before compiling) Go into your src folder go into your game folder Look for the file called worldsession.cpp Open it up with your editor. Now all you have to do is scroll through and find the following line: while (! pBotWorldSession->_recvQueue.empty()) Make sure it reads as follows: while (pBotWorldSession->_recvQueue.next(packet) == true) // empty())) { //WorldPacket* const packet = pBotWorldSession->_recvQueue.next(*packet); WorldPacket* const packet2 = packet; OpcodeHandler& opHandle = opcodeTable[packet2->GetOpcode()]; (pBotWorldSession->*opHandle.handler)(*packet2); delete packet2; } Save the file after the changes and in the same folder find the file called ChatHandler.cpp This fix is easy. Scroll down until you find the following line: // Playerbot mod #include PlayerbotAI.h Select it and cut it out of the program... then scroll up and paste it with the other headers at the top. The bottom of the headers line works, and I even kept the //Playerbot mod comment for future reference. I compiled fine and tested it. Everything works except I have had to manually share quests in the quest log and they do not turn them in themselves for some reason. So this is a temp fix and the quick and dirty version. Hope the actual fix comes out soon
×
×
  • 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