Jump to content

flatik

Premium
  • Posts

    94
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    100%

Everything posted by flatik

  1. I didn't really look into the source code, but the packet error made it easy to find the cause. You also need to rewrite TPlayerSkill in binary source code.
  2. why are you using the old version? 2022 in visual studio is 64bit, it won't freeze up all the time.
  3. There is an error message because the weapon has no animation. try: std::shared_ptr<CGrannyMotion> CGraphicThing::GetMotionPointer(int iMotion) { if (!CheckMotionIndex(iMotion)) return nullptr; if (m_motions.empty()) return nullptr; return m_motions.at(iMotion); }
  4. without modify (HowToc++20 it's not neccessary)
  5. if you don't understand, you don't need to update. it won't get any better.
  6. cannot find the text in the locale_string.txt file. try check encoding
  7. If you don't understand it, it was unnecessary to switch to c ++ 17.
  8. do_safebox_size small fix: void CInputDB::SafeboxLoad(LPDESC d, const char * c_pData { *** BYTE bSize = std::clamp<BYTE>(p->bSize, 0, 3); *** } ACMD(do_safebox_size) { char arg1[256]; one_argument(argument, arg1, sizeof(arg1)); int size = 0; if (*arg1) str_to_number(size, arg1); size = std::clamp(size, 0, 3); ch->ChatPacket(CHAT_TYPE_INFO, "Safebox size set to %d", size); ch->SetSafeboxSize(size * SAFEBOX_PAGE_SIZE); }
  9. packet problem. it is up to you to find the cause. Check the tutorial again.
  10. char optstring[9] = "npverltI"; while ((ch = getopt(argc, argv, optstring)) != -1) or set c ++latest to c ++ 17 or c ++ 14...
  11. Hi all! This is recommended for those who are testing or running on windows. The reason for the error is that they have a 100% chance of dropp. C++11. Based on the video, you can watch: number_ex old version: [Hidden Content] number_ex fixed: [Hidden Content] FIX: #include <random> int number_ex(int from, int to, const char* file, int line) { if (from > to) { int tmp = from; sys_err("number(): first argument is bigger than second argument %d -> %d, %s %d", from, to, file, line); from = to; to = tmp; } int returnValue = 0; std::random_device rd; std::mt19937 gen(rd()); std::uniform_int_distribution<> distrib(from, to); if ((to - from + 1) != 0) returnValue = distrib(gen); else sys_err("number(): devided by 0"); return returnValue; }
  12. if the platform toolset has changed, the library must also be updated.
  13. It’s 2020, it’s not true that no one can understand the mistake.
  14. faster loading is more useful why is client size so important?
  15. The item_table structure does not match. check dump_proto ...
  16. 1. check cpp files is in visual studio. 2. removed function from cpp files: if the function is in a header (xy.h) and you called it, it will not build ...
×
×
  • 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.