-
Posts
188 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Everything posted by Denizeri24
-
thanks, I discovered another bug while trying this fix on my server
-
PY - Check and optimalize the client's NPC and MOBS
Denizeri24 replied to estrella2's topic in Tools & Programs
-
[Hidden Content]
-
fix [Bugfix] Sorting item proto tables when loading via txt
Denizeri24 replied to Sonitex's topic in Bug Fixes
I dont any use code from rubinum source, I using mainline source (razuning v2 from turkmmo). I just clear unnecessary from this function. -
fix [Bugfix] Sorting item proto tables when loading via txt
Denizeri24 replied to Sonitex's topic in Bug Fixes
idk, i use mainline sources too (razuning v2 from turkmmo) i just clean unnecessary codes from this function.. -
fix [Bugfix] Sorting item proto tables when loading via txt
Denizeri24 replied to Sonitex's topic in Bug Fixes
bool CClientManager::InitializeItemTable() { std::map<int32_t, const char *> localMap; cCsvTable nameData; if (!nameData.Load("item_names.txt", '\t')) { fmt::fprintf(stderr, "item_names.txt couldn't be loaded or its format is incorrect.\n"); return false; // There's no reason to continue without names for us (i dont like korean) } nameData.Next(); // skip the description while (nameData.Next()) { localMap[static_cast<int32_t>(std::strtol(nameData.AsStringByIndex(0), nullptr, 0))] = nameData.AsStringByIndex(1); } cCsvTable data; if (!data.Load("item_proto.txt", '\t')) { fmt::fprintf(stderr, "item_proto.txt couldn't be loaded or the format is incorrect \n"); return false; } data.Next(); // skip first row (descriptions) m_vec_itemTable.resize(data.m_File.GetRowCount() - 1); // set the size of the vector memset(&m_vec_itemTable[0], 0, sizeof(TItemTable) * m_vec_itemTable.size()); // zero initialize auto item_table = &m_vec_itemTable[0]; for (; data.Next(); ++item_table) { if (!Set_Proto_Item_Table(item_table, data, localMap)) { fmt::fprintf(stderr, "Invalid item table. VNUM: %u\n", item_table->dwVnum); } m_map_itemTableByVnum.emplace(item_table->dwVnum, item_table); } std::sort(std::execution::par, m_vec_itemTable.begin(), m_vec_itemTable.end(), FCompareVnum()); data.Destroy(); nameData.Destroy(); return true; } There's zero initialization here. So I don't think your fix is needed.. -
Just use the MT engine. We're not encrypting NSA files or running a bank with billions of users. So we don't need quantum-level security or performance.
-
-
Changing guild mark problem (DevIL 1.8.0)
Denizeri24 replied to TMP4's topic in Community Support - Questions & Answers
gcc13 is devel version, so thats normal. my files give cores sometimes too with clang-devel hehe -
Obey your owner, bring me a cappuccino.
-
Changing guild mark problem (DevIL 1.8.0)
Denizeri24 replied to TMP4's topic in Community Support - Questions & Answers
CryptoPP can be safely updated as long as it is not compiled with -O3 / -Ofast / DEVEL compilers / -march=native (problem about different CPU instruction sets). Metin2 uses certain algorithms; -
You're my slave.
-
Just open the server in Russia ( ͡° ͜ʖ ͡°)
-
Granny, Miles and SpeedTree libraries are licensed and cannot be used without a license. Additional libraries of the Miles library, such as the MP3 decoder, are also licensed separately. All GR2 models used in the game are licensed by Ymir. But I don't think Gameforge will bother with you unless your server reaches a lot of people (like rubinum / aeldra)
-
DoS vulnerability (invalid player id spam)
Denizeri24 replied to LTGT's topic in Hack Protection & Security
-
problem server related - Am I out of RAM?
Denizeri24 replied to Tuckii's topic in Community Support - Questions & Answers
check freebsd empty disk space with bpytop. also you can check ram usage / disk usage with bpytop (pkg install bpytop) if your disk is full, use this commands : pkg autoremove -y && pkg clean -y -
fix Target board HP percentage when monster HP is above 21 millions
Denizeri24 replied to Distraught's topic in Bug Fixes
p.bHPPercent = MINMAX(0, (((int64_t)GetHP()) * 100) / GetMaxHP(), 100); p.bHPPercent = std::minmax<uint8_t>((GetHP() * 100) / GetMaxHP(), 100).first; This is enough, Dear TAUMP. -
Turn off Character Spawn Effects
Denizeri24 replied to crayzsailor53's topic in Programming & Scripts
-
Real random number Generator using c++ library
Denizeri24 replied to TheDragster's topic in Programming & Scripts
[Hidden Content] -
Real random number Generator using c++ library
Denizeri24 replied to TheDragster's topic in Programming & Scripts
idk, I added it from another files a long time ago. -
Real random number Generator using c++ library
Denizeri24 replied to TheDragster's topic in Programming & Scripts
Yes, I checked and it doesn't really work. I never noticed.. i think this bonus does not affect the chance of an item drop chance, but the amount of an item count. If it worked correctly, when the item dropped, it would have dropped 2 pieces instead of 1 piece, or 10 pieces instead of 5 pieces; for my fix; search " void CHARACTER::Reward " in char_battle.cpp search again " if (ITEM_MANAGER::instance().CreateDropItem(this, pkAttacker, s_vec_item)) " add after " item = s_vec_item[0]; " this; if (pkAttacker->GetPoint(POINT_ITEM_DROP_BONUS) >= number(1, 100) && item->IsStackable()) { item->SetCount(item->GetCount() * 2); } NOTE : I just made the fix now, I don't know if there will be a problem.. -
[SUPER RELEASE] WinRAR - Remove Expired Notification
Denizeri24 replied to Papix's topic in Tools & Programs
-
core crash (GetName, SaveSingleItem?)
Denizeri24 replied to Matteo's topic in Community Support - Questions & Answers
check your item_proto