Jump to content

juker

Member
  • Posts

    26
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by juker

  1. In  cube.cpp

    search:

         if (resultText.size() - 20 >= CHAT_MAX_LEN)
            {
                sys_err("[CubeInfo] Too long cube result list text. (NPC: %d, length: %d)", npcVNUM, resultText.size());
                resultText.clear();
                resultCount = 0;
            }

    change with:

     

          int WildFantasytFIXED;
            if (resultText.size() < 20)
            {
                WildFantasytFIXED = 20 - resultText.size();
            }
            else
            {
                WildFantasytFIXED = resultText.size() - 20;
            }
            if (WildFantasytFIXED >= CHAT_MAX_LEN)
            {
                sys_err("[CubeInfo] Too long cube result list text. (NPC: %d, FIXED_size_value_exygo: %d, length: %d)", npcVNUM, WildFantasytFIXED, resultText.size());
                resultText.clear();
                resultCount = 0;
            }

×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / 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.