Elders 4 Posted July 31, 2022 Share Posted July 31, 2022 you can help me with this error? 17>PythonItemModule.obj : error LNK2001: unresolved external symbol "public: __thiscall CGrid::CGrid(int,int)" (??0CGrid@@QAE@HH@Z) 17>PythonItemModule.obj : error LNK2001: unresolved external symbol "public: __thiscall CGrid::~CGrid(void)" (??1CGrid@@QAE@XZ) 17>PythonItemModule.obj : error LNK2001: unresolved external symbol "public: void __thiscall CGrid::Clear(void)" (?Clear@CGrid@@QAEXXZ) 17>PythonItemModule.obj : error LNK2001: unresolved external symbol "public: int __thiscall CGrid::FindBlank(int,int)" (?FindBlank@CGrid@@QAEHHH@Z) 17>PythonItemModule.obj : error LNK2001: unresolved external symbol "public: bool __thiscall CGrid::Put(int,int,int)" (?Put@CGrid@@QAE_NHHH@Z) 1 1 Link to comment Share on other sites More sharing options...
SamuraiHUN 1548 Posted August 1, 2022 Share Posted August 1, 2022 20 hours ago, Elders said: you can help me with this error? 17>PythonItemModule.obj : error LNK2001: unresolved external symbol "public: __thiscall CGrid::CGrid(int,int)" (??0CGrid@@QAE@HH@Z) 17>PythonItemModule.obj : error LNK2001: unresolved external symbol "public: __thiscall CGrid::~CGrid(void)" (??1CGrid@@QAE@XZ) 17>PythonItemModule.obj : error LNK2001: unresolved external symbol "public: void __thiscall CGrid::Clear(void)" (?Clear@CGrid@@QAEXXZ) 17>PythonItemModule.obj : error LNK2001: unresolved external symbol "public: int __thiscall CGrid::FindBlank(int,int)" (?FindBlank@CGrid@@QAEHHH@Z) 17>PythonItemModule.obj : error LNK2001: unresolved external symbol "public: bool __thiscall CGrid::Put(int,int,int)" (?Put@CGrid@@QAE_NHHH@Z) you forget add grid.cc to eterbase project. right click eterbase -> add -> existing item and select grid.cc in eterbase libary. 1 Link to comment Share on other sites More sharing options...
EnchikO 0 Posted August 1, 2022 Share Posted August 1, 2022 (edited) 3 hours ago, SamuraiHUN said: you forget add grid.cc to eterbase project. right click eterbase -> add -> existing item and select grid.cc in eterbase libary. Thanks that helped me but those 2 errors remains ? "public: class std::vector<unsigned long,class std::allocator<unsigned long> > const * __thiscall CItemManager::GetItemDropInfoVec(unsigned long)const " (?GetItemDropInfoVec@CItemManager@@QBEPBV?$vector@KV?$allocator@K@std@@@std@@K@Z) public: bool __thiscall CItemManager::LoadChestDropInfo(char const *)" (?LoadChestDropInfo@CItemManager@@QAE_NPBD@Z) Any idea ? EDIT : I applied same method -> Added ItemManager to UserInterface, but my game after Ctrl+Click crash out with uiChestDropInfo.py(line:48) __LoadWindow uiChestDropInfo.py(line:69) __BindObject ui.py(line:2799) GetChild ChestDropInfoWindow.__LoadWindow.__BindObject - <type 'exceptions.KeyError'>:'CurrentPage' in sysserr EDIT: Fixed in ui.py Edited August 1, 2022 by EnchikO new error Link to comment Share on other sites More sharing options...
meku977 0 Posted December 28, 2022 Share Posted December 28, 2022 Hey, i have a problem with your system. Everything works fine but it seems like your system also reads some drops from source somehow? There are few items that can drop things and they are not included in special_item_group or fishing.txt. Is there any way to change it? Edit: It doesn't read form source, i disabled source drop but these items still appear in chest drop info although they don't drop anything: 30093 - 30096 Link to comment Share on other sites More sharing options...
Premium ‚Point‘ 20 Posted December 29, 2022 Premium Share Posted December 29, 2022 (edited) On 1/7/2022 at 1:41 AM, Mithras01 said: Maybe you can add autoresize of slots there are not too many items, because it is look too empty :-? Hide contents Working perfect - thank you for the release! Is it normal, that it shows 3 slots for 1 slot chests? Best Regards Edited December 29, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
SussyFlore96 2 Posted January 2, 2023 Share Posted January 2, 2023 Hello! How I can use this system for special storage? Thanks! Link to comment Share on other sites More sharing options...
josehdelaro 5 Posted January 4, 2023 Share Posted January 4, 2023 (edited) On 1/2/2023 at 5:50 AM, SussyFlore96 said: Hello! How I can use this system for special storage? Thanks! for the special inventory it is the same step as for the normal inventory, look for def __UseItem(self, slotIndex): and after item.SelectItem(ItemVNum) paste the tutorial lines works without any problems Edited January 4, 2023 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
SussyFlore96 2 Posted January 7, 2023 Share Posted January 7, 2023 (edited) On 1/4/2023 at 10:23 AM, josehdelaro said: for the special inventory it is the same step as for the normal inventory, look for def __UseItem(self, slotIndex): and after item.SelectItem(ItemVNum) paste the tutorial lines works without any problems Thanks for you relpy! I tryed, but it's doesn't work. Edited January 7, 2023 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
SussyFlore96 2 Posted January 9, 2023 Share Posted January 9, 2023 On 1/7/2023 at 11:50 AM, SussyFlore96 said: Thanks for you relpy! I tryed, but it's doesn't work. Fixed, the problem was from interface. Link to comment Share on other sites More sharing options...
c0mApvp 1 Posted February 28, 2023 Share Posted February 28, 2023 (edited) Alternative download links → Alternate_1 or Alternate_2 or Alternate_3 Any solution? Later edit : in my case on def Close function, i've deleted the self. wndChestDrop.. and after this i tried to hide in the same function and that's why.. so just hide first and after delete the self.wndChestDrop.. Spoiler Edited February 28, 2023 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
sfavi 16 Posted April 12, 2023 Share Posted April 12, 2023 thank you Mali, work perfectly ! Link to comment Share on other sites More sharing options...
Reuchlin 0 Posted April 14, 2023 Share Posted April 14, 2023 hi i have problem with lzo... it s exactly like in item_manager.cpp, and i have error when i logg in.. Link to comment Share on other sites More sharing options...
Premium Beforekk 88 Posted September 23, 2023 Premium Share Posted September 23, 2023 password please? I always wanted to be a hero, but destiny given me a role of a villain throw my whole life - Tenebris Viator Link to comment Share on other sites More sharing options...
Premium DemOnJR 564 Posted October 18, 2023 Premium Share Posted October 18, 2023 (edited) Working without any extra code just follow the tutorial. Edited October 18, 2023 by DemOnJR Link to comment Share on other sites More sharing options...
Fenczu 2 Posted November 21, 2023 Share Posted November 21, 2023 I have problem with not showing emoji only text. Link to comment Share on other sites More sharing options...
Premium DemOnJR 564 Posted November 21, 2023 Premium Share Posted November 21, 2023 (edited) 2 hours ago, Fenczu said: I have problem with not showing emoji only text. You have installed the: https://metin2.dev/topic/20397-emoji-in-textline/ ? Edited November 21, 2023 by DemOnJR Link to comment Share on other sites More sharing options...
Fenczu 2 Posted November 21, 2023 Share Posted November 21, 2023 Yes, already solved, I made a mistake in the source Link to comment Share on other sites More sharing options...
Gopinich 42 Posted January 24 Share Posted January 24 Works perfectly, thanks @ Mali Link to comment Share on other sites More sharing options...
josehdelaro 5 Posted February 12 Share Posted February 12 Any mod to open the chests from the system? Link to comment Share on other sites More sharing options...
Tester 0 Posted February 17 Share Posted February 17 Hello, first thank you for share. Please, I can't see a drop in any chest and a shortcut to show the drop (both in special_item_group.txt and in chest_drop are added). However, in items that contain lucky_box, the system also shows me the command to show the drop and it shows me the drop even if these items are only written in lucky_box.txt. (chest_drop or special_idem_group.txt does not contain these item IDs) Spoiler #if defined(ENABLE_CHEST_DROP_INFO) PyObject* itemHasDropInfo(PyObject* poSelf, PyObject* poArgs) { int iItemIndex; if (!PyTuple_GetInteger(poArgs, 0, &iItemIndex)) return Py_BadArgument(); bool bMain; if (!PyTuple_GetBoolean(poArgs, 1, &bMain)) return Py_BadArgument(); CItemManager::TChestDropItemInfoVec* vDropInfo = nullptr; if (bMain) vDropInfo = CItemManager::Instance().GetItemDropInfoVec(iItemIndex); else vDropInfo = CItemManager::Instance().GetBaseItemDropInfoVec(iItemIndex); return Py_BuildValue("b", (vDropInfo && !vDropInfo->empty())); } static int __CreateDropPage(CItemManager::TChestDropItemInfoVec* vDropInfo, PyObject* poList) { int iPageCount(0); CGrid grid(5, 8); if (vDropInfo && !vDropInfo->empty()) { for (CItemManager::TChestDropItemInfoVec::const_iterator it = vDropInfo->begin(); it != vDropInfo->end(); ++it) { const CItemManager::SDropItemInfo& dwDropInfo = *it; CItemData* pItemData; if (!CItemManager::Instance().GetItemDataPointer(dwDropInfo.dwDropVnum, &pItemData)) continue; const BYTE bItemSize = pItemData->GetSize(); while (true) { const int iPos = grid.FindBlank(1, bItemSize); if (iPos >= 0) { grid.Put(iPos, 1, bItemSize); PyList_Append(poList, Py_BuildValue("iiii", iPageCount, iPos, dwDropInfo.dwDropVnum, dwDropInfo.iCount)); break; } else { grid.Clear(); ++iPageCount; } } } } return iPageCount; } PyObject* itemGetDropInfo(PyObject* poSelf, PyObject* poArgs) { int iItemIndex; if (!PyTuple_GetInteger(poArgs, 0, &iItemIndex)) return Py_BadArgument(); bool bMain; if (!PyTuple_GetBoolean(poArgs, 1, &bMain)) return Py_BadArgument(); PyObject* poList = PyList_New(0); CItemManager::TChestDropItemInfoVec* vDropInfo = nullptr; if (bMain) vDropInfo = CItemManager::Instance().GetItemDropInfoVec(iItemIndex); else vDropInfo = CItemManager::Instance().GetBaseItemDropInfoVec(iItemIndex); return Py_BuildValue("iO", __CreateDropPage(vDropInfo, poList), poList); } #endif Thanks for help. Have a nice day. Link to comment Share on other sites More sharing options...
Marcos17 19 Posted February 28 Share Posted February 28 On 7/31/2022 at 6:21 PM, Elders said: you can help me with this error? 17>PythonItemModule.obj : error LNK2001: unresolved external symbol "public: __thiscall CGrid::CGrid(int,int)" (??0CGrid@@QAE@HH@Z) 17>PythonItemModule.obj : error LNK2001: unresolved external symbol "public: __thiscall CGrid::~CGrid(void)" (??1CGrid@@QAE@XZ) 17>PythonItemModule.obj : error LNK2001: unresolved external symbol "public: void __thiscall CGrid::Clear(void)" (?Clear@CGrid@@QAEXXZ) 17>PythonItemModule.obj : error LNK2001: unresolved external symbol "public: int __thiscall CGrid::FindBlank(int,int)" (?FindBlank@CGrid@@QAEHHH@Z) 17>PythonItemModule.obj : error LNK2001: unresolved external symbol "public: bool __thiscall CGrid::Put(int,int,int)" (?Put@CGrid@@QAE_NHHH@Z) Did not add EterBase files to Visual Studio Working perfectly... Thanks @ Mali... Link to comment Share on other sites More sharing options...
B3AT 0 Posted March 4 Share Posted March 4 On 12/1/2021 at 11:08 AM, Mali said: This is the hidden content, please Sign In or Sign Up Metin2 Download This is the hidden content, please Sign In or Sign Up It's working without serverside. Reveal hidden contents For tooltip: What is the Passwort for the archive? Link to comment Share on other sites More sharing options...
Management AZICKO 7343 Posted March 4 Management Share Posted March 4 1 hour ago, B3AT said: What is the Passwort for the archive? In download page. Scamming ? Reselling ? metin2.download | metin2.dev | fr.metin2.dev | metin2dev.org | metin2.top | top-metin2.org Link to comment Share on other sites More sharing options...
Order66 12 Posted May 3 Share Posted May 3 After log in it crashes and no syser. Any idea? Link to comment Share on other sites More sharing options...
Order66 12 Posted May 3 Share Posted May 3 2 hours ago, Order66 said: After log in it crashes and no syser. Any idea? Solution: have the same special_item_group.txt and fishing.txt like in server side and generate a new chest_drop file. Link to comment Share on other sites More sharing options...
Recommended Posts