Premium Iηfιηιт²⁴ᵏ 33 Posted November 24, 2018 Premium Share Posted November 24, 2018 (edited) https://metin2.download/picture/Gg7hnjWqGE7WRKTAZKy89z4IU3aY8bRG/.gif Can anyone help me? #edit The problem was from root->interfacemodule.py Edited September 11, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Premium WeedHex 635 Posted November 24, 2018 Premium Share Posted November 24, 2018 Dude?? You opened a npc_shop, then you try to open the offline shop target. There was an LC_TEXT saying that you can't open because there is a npc_shop opened. I think that you fucked up the npc_shop check functions installing the offshop codes. Or There is a wrong check o something else. Link to comment Share on other sites More sharing options...
Premium Iηfιηιт²⁴ᵏ 33 Posted November 24, 2018 Author Premium Share Posted November 24, 2018 at least you can tell me what file to blame? Link to comment Share on other sites More sharing options...
xUniverse 18 Posted November 25, 2018 Share Posted November 25, 2018 You can't open any shop (npc shop, offline shop, etc)? or it only happens after that you try to open a npc shop? It happens after you add the offline shop system? So you must check the offline shop source. Probably you should start by checking the common functions of shop and npc shops (or trades in general). Link to comment Share on other sites More sharing options...
Premium Iηfιηιт²⁴ᵏ 33 Posted November 25, 2018 Author Premium Share Posted November 25, 2018 befor install work open npc shop/private shop,And after don't work open npc shop/private shop/Offline shop..But i don't know from where is the problem.. Link to comment Share on other sites More sharing options...
Developer Mitachi 1461 Posted March 1, 2021 Developer Share Posted March 1, 2021 (edited) For people who encounter this problem and cannot solve it, the solution is multifactorial. The first can be in the interface module, diff the file with a working one, find it online. I solved it personally by editing in char.cpp #ifdef ENABLE_OFFLINE_SHOP if (IsPC() || IsNPC() ||/*error*/ GetRaceNum() == 30000) //like to if (IsPC() || IsNPC() && GetRaceNum() == 30000) { if (!CTargetManager::instance().GetTargetInfo(pkChrCauser->GetPlayerID(), TARGET_TYPE_VID, GetVID()) || GetRaceNum() == 30000) #else if (IsPC()) { if (!CTargetManager::instance().GetTargetInfo(pkChrCauser->GetPlayerID(), TARGET_TYPE_VID, GetVID())) #endif for obscure reason, there was an && instead of || °-° before GetRaceNum if I find others I will let you know, I took this system online and it was written incorrectly. Edited March 1, 2021 by Mitachi Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now