Jump to content

cBaraN

Member
  • Posts

    165
  • Joined

  • Last visited

  • Days Won

    3
  • Feedback

    0%

Everything posted by cBaraN

  1. That's it bro. Thanks for share. Best regards; Can BARAN...
  2. This is not used in game source , so how can it work? I renew the expression. You can look at. Best regards; Can BARAN...
  3. This is not used in game source , so how can it work? It's not working. Read above. I renew the expression. You can look at. Best regards; Can BARAN...
  4. Ow... sorry, I forgot to share resources. I add to this thread. Thx, think Best regards; Can BARAN...
  5. Correct structure works, i tested. Best regards; Can BARAN... Think about it. You added a variable which it's not used by anything. How can a simple variable, which is never used, to change how your code works? Check what you've posted again. Freebsd "gmake clean" will not work without using the code. Try again. Best regards; Can BARAN...
  6. Correct structure works, i tested. Best regards; Can BARAN...
  7. Thanks for the explanation bro. Best regards; Can BARAN...
  8. No problem Best regards; Can BARAN...
  9. Try as you will see, I told you my bro. Best regards; Can BARAN...
  10. You will see that normally would be a problem if you try bro. Best regards; Can BARAN...
  11. Hi guys! While i was watching on youtube videos , I saw accidentally noticed the problem in Metin2 videos. The problem for you, I'll help you solve the problem for you both as you know. BUG VİDEO Let's solve the bug! Open exchange.cpp and search; for (i = 0; i < INVENTORY_MAX_NUM / 2; ++i) { if (!(item = victim->GetInventoryItem(i))) continue; s_grid1.Put(i, 1, item->GetSize()); } Find this code; for (i = 0; i < INVENTORY_MAX_NUM / 2; ++i) EDİT : bool CExchange::CheckSpace() { static CGrid s_grid1(5, INVENTORY_MAX_NUM / 5 / 4 ); // inven page 1 static CGrid s_grid2(5, INVENTORY_MAX_NUM / 5 / 4); // inven page 2 static CGrid s_grid3(5, INVENTORY_MAX_NUM / 5 / 4); // inven page 3 static CGrid s_grid4(5, INVENTORY_MAX_NUM / 5 / 4); // inven page 4 s_grid1.Clear(); s_grid2.Clear(); s_grid3.Clear(); s_grid4.Clear(); LPCHARACTER victim = GetCompany()->GetOwner(); LPITEM item; int i; /* PAGE SLOT COUNT fixed exchange bug from one item copright -cBaraN- */ int INVENTORY_PAGE_SLOT_COUNT = INVENTORY_MAX_NUM/4; for (i = 0; i < INVENTORY_PAGE_SLOT_COUNT; ++i) { if (!(item = victim->GetInventoryItem(i))) continue; s_grid1.Put(i, 1, item->GetSize()); } for (i = INVENTORY_PAGE_SLOT_COUNT; i < INVENTORY_PAGE_SLOT_COUNT*2; ++i) { if (!(item = victim->GetInventoryItem(i))) continue; s_grid2.Put(i - INVENTORY_PAGE_SLOT_COUNT, 1, item->GetSize()); } for (i = INVENTORY_PAGE_SLOT_COUNT*2; i < INVENTORY_PAGE_SLOT_COUNT*3; ++i) { if (!(item = victim->GetInventoryItem(i))) continue; s_grid3.Put(i - INVENTORY_PAGE_SLOT_COUNT*2, 1, item->GetSize()); } for (i = INVENTORY_PAGE_SLOT_COUNT*3; i < INVENTORY_PAGE_SLOT_COUNT*4; ++i) { if (!(item = victim->GetInventoryItem(i))) continue; s_grid4.Put(i - INVENTORY_PAGE_SLOT_COUNT*3, 1, item->GetSize()); } // ¾Æ... ¹º°¡ °³º´½Å °°Áö¸¸... ¿ëÈ¥¼® Àκ¥À» ³ë¸Ö Àκ¥ º¸°í µû¶ó ¸¸µç ³» À߸øÀÌ´Ù ¤Ğ¤Ğ static std::vector <WORD> s_vDSGrid(DRAGON_SOUL_INVENTORY_MAX_NUM); // ÀÏ´Ü ¿ëÈ¥¼®À» ±³È¯ÇÏÁö ¾ÊÀ» °¡´É¼ºÀÌ Å©¹Ç·Î, ¿ëÈ¥¼® Àκ¥ º¹»ç´Â ¿ëÈ¥¼®ÀÌ ÀÖÀ» ¶§ Çϵµ·Ï ÇÑ´Ù. bool bDSInitialized = false; for (i = 0; i < EXCHANGE_ITEM_MAX_NUM; ++i) { if (!(item = m_apItems[i])) continue; if (item->IsDragonSoul()) { if (!victim->DragonSoul_IsQualified()) { return false; } if (!bDSInitialized) { bDSInitialized = true; victim->CopyDragonSoulItemGrid(s_vDSGrid); } bool bExistEmptySpace = false; WORD wBasePos = DSManager::instance().GetBasePosition(item); if (wBasePos >= DRAGON_SOUL_INVENTORY_MAX_NUM) return false; for (int i = 0; i < DRAGON_SOUL_BOX_SIZE; i++) { WORD wPos = wBasePos + i; if (0 == s_vDSGrid[wBasePos]) { bool bEmpty = true; for (int j = 1; j < item->GetSize(); j++) { if (s_vDSGrid[wPos + j * DRAGON_SOUL_BOX_COLUMN_NUM]) { bEmpty = false; break; } } if (bEmpty) { for (int j = 0; j < item->GetSize(); j++) { s_vDSGrid[wPos + j * DRAGON_SOUL_BOX_COLUMN_NUM] = wPos + 1; } bExistEmptySpace = true; break; } } if (bExistEmptySpace) break; } if (!bExistEmptySpace) return false; } else { int iPos = s_grid1.FindBlank(1, item->GetSize()); if (iPos >= 0) { s_grid1.Put(iPos, 1, item->GetSize()); }else { iPos = s_grid2.FindBlank(1, item->GetSize()); if (iPos >= 0) { s_grid2.Put(iPos, 1, item->GetSize()); }else { iPos = s_grid3.FindBlank(1, item->GetSize()); if (iPos >= 0) { s_grid3.Put(iPos, 1, item->GetSize()); }else { iPos = s_grid4.FindBlank(1, item->GetSize()); if (iPos >= 0) { s_grid4.Put(iPos, 1, item->GetSize()); }else { return false; } } } } } } return true; } Best regards; Can BARAN... Watch this video if you want to thank. :
  12. cBaraN

    About me!

    Eng : Will continue to deceive people with fake accounts. Unfortunately, we do not terminate it. I was sorry for you.
  13. Click and try. Best regards, Can BARAN...
  14. You deactive "IMPROVED PACKET ENCRYPTION" Will you try it? Best regards, Can BARAN...
  15. Game = mainline or mainline_released Client = Novaline Will you try it? Best regards, Can BARAN...
  16. I've done it before )) Best regards, Can BARAN...
  17. Open root > serverinfo.py MARKADDR_DICT = { # Guild Symbols Bug Fix cBaraN (16000 = CH1 Port) 10 : { "ip" : "İP ADRESS", "tcp_port" : 16000, "mark" : "10.tga", "symbol_path" : "10", }, #MilasMt2 Lonca Sembolleri # Guild Symbols Bug Fix cBaraN (18000 = CH2 Port) 20 : { "ip" : "İP ADRESS", "tcp_port" : 18000, "mark" : "20.tga", "symbol_path" : "20", }, #MilasMt2 Lonca Sembolleri # Guild Symbols Bug Fix cBaraN (21000 = CH3 Port) 30 : { "ip" : "İP ADRESS", "tcp_port" : 21000, "mark" : "30.tga", "symbol_path" : "30", }, #MilasMt2 Lonca Sembolleri # Guild Symbols Bug Fix cBaraN (23000 = CH4 Port) 40 : { "ip" : "İP ADRESS", "tcp_port" : 23000, "mark" : "40.tga", "symbol_path" : "40", }, #MilasMt2 Lonca Sembolleri } TESTADDR = { 'ip' : '"İP ADRESS"', 'tcp_port' : 50000, 'udp_port' : 50000, } Best regards, Can BARAN...
  18. *Open mysql * Player > skill_proto.sql delete skill dwVnum (6/21/36/51) And open /share/locale/****/quest/ locale.lua Search; locale.GM_SKILL_NAME_DICT = { Delete : [6] / [21] / [36] / [51] skill vnum. And open questlib.lua.. Search: special.active_skill_list = { Delete : [6] / [21] / [36] / [51] skill vnum. Finally reboot Best regards, Can BARAN...
  19. Open "priv_manager.cpp" and search value = MINMAX(0, value, 200); replace and compile... value = MINMAX(0, value, 1000); Best regards, Can BARAN...
  20. sprintf(szText, "Lv %d", level); Search in InstanceBaseEffect.ccp Best Regards, Can BARAN...
  21. mainline Self-owned "locale_string.txt" take the backup file. Will you try the file I've made? File: [Hidden Content] VirusTotal: [Hidden Content] Edit: Never install without making changes to the file. (It is necessary to change the character sets.) Best regards, Can BARAN... same ENG: I'm sorry, I can not imagine seeing. But there is one thing I'm sure of that; Notepad origin "Character sets" problem.I hope you solve. TR: Üzgünüm görmeden birşey diyemicem fakat tahminimce Notepad++'din son sürümdeki "Karakter takımı" zımbırtısından kaynaklı. Komple "locale_string" çalışmıyorsa farklı fakat, eğer sen yeni bir fonksiyon yaratıp onu locale_string'e yönlendiriceksen; ChatPacket(CHAT_TYPE_INFO, LC_TEXT("xxx duyuru xxx")); Şeklinde yönlendiriceksin. Aklıma gelen tüm yöntem ve çözümler bu şekilde görmeden birşey diyemeyeceğim. Neyse umarım çözebilirsin. Best regards, Can BARAN..
  22. mainline Self-owned "locale_string.txt" take the backup file. Will you try the file I've made? File: [Hidden Content] VirusTotal: [Hidden Content] Edit: Never install without making changes to the file. (It is necessary to change the character sets.) Best regards, Can BARAN...
×
×
  • 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.