xSaG 15 Posted February 10, 2017 Share Posted February 10, 2017 Hello, Search in game source cmd_general.cpp and open then search ACMD(do_open_offline_shop) Add affter if (ch->IsAcceOpen()) { ch->ChatPacket(CHAT_TYPE_INFO, "Nu poti sa folosesti magazinul offline cand craftezi o esarfa."); return; } Update 1: open cmd_general.cpp and search: ACMD(do_acce) ACMD(do_acce) Add affter if (ch->GetOfflineShopOwner()) { ch->ChatPacket(CHAT_TYPE_INFO, "Nu poti crafta o esarfa cand ai magazinul offline deschis."); return; } Manifestation: Good luck ! 3 Link to comment Share on other sites More sharing options...
Fivercloud 55 Posted February 10, 2017 Share Posted February 10, 2017 thx boy! Link to comment Share on other sites More sharing options...
Premium Mano 22 Posted February 10, 2017 Premium Share Posted February 10, 2017 or in offlineshop_manger.cpp in Spoiler void COfflineShopManager::AddItem(LPCHARACTER ch, BYTE bDisplayPos, BYTE bPos, int iPrice) add Spoiler if (ch->IsAcceOpen()) { ch->ChatPacket(CHAT_TYPE_INFO, "Nu poti sa folosesti magazinul offline cand craftezi o esarfa."); return; } maybe not the same result because now it can open offlineshop when the acce window is open but he can't put any item in the offlineshop Thank you Link to comment Share on other sites More sharing options...
xSaG 15 Posted February 10, 2017 Author Share Posted February 10, 2017 Update: open cmd_general.cpp and search: ACMD(do_acce) Add affter if (ch->GetOfflineShopOwner()) { ch->ChatPacket(CHAT_TYPE_INFO, "Nu poti crafta o esarfa cand ai magazinul offline deschis."); return; } Link to comment Share on other sites More sharing options...
TuneX 1 Posted February 11, 2017 Share Posted February 11, 2017 thnx but i that is already fixed months ago Link to comment Share on other sites More sharing options...
TheEnd 3 Posted February 16, 2017 Share Posted February 16, 2017 Thank you Link to comment Share on other sites More sharing options...
Hesher 3 Posted February 17, 2017 Share Posted February 17, 2017 Much easy if you add in offlineshop_manager.cpp in function void COfflineShopManager::AddItem if (ch->IsCubeOpen() || ch->IsAcceOpen()) { ch->ChatPacket(CHAT_TYPE_INFO, "You cannot do this."); return ; } and in char.cpp in function void CHARACTER::OpenMyOfflineShop the same thing Link to comment Share on other sites More sharing options...
Fivercloud 55 Posted February 17, 2017 Share Posted February 17, 2017 1 hour ago, Hesher said: Much easy if you add in offlineshop_manager.cpp in function void COfflineShopManager::AddItem if (ch->IsCubeOpen() || ch->IsAcceOpen()) { ch->ChatPacket(CHAT_TYPE_INFO, "You cannot do this."); return ; } and in char.cpp in function void CHARACTER::OpenMyOfflineShop the same thing Or if ((ch->GetExchange() || ch->IsOpenSafebox() || ch->GetShopOwner()) || ch->IsCubeOpen() || ch->GetOfflineShopOwner() || ch->IsAcceOpen()) { ch->ChatPacket(CHAT_TYPE_INFO, "You cannot do this."); return; } 1 Link to comment Share on other sites More sharing options...
birender 2 Posted August 23, 2019 Share Posted August 23, 2019 (edited) I have a similar problem, cant block Acce combine or Acce absorption window when offline shop window is open. I applied these fixes but it didnt work.See screenshot below The commented lines are the fix I tried.But no success https://metin2.download/picture/Su6aCiRHoA9n80LW49gMrIopui0YXQXT/.png Edited September 3, 2022 by Metin2 Dev Core X - External 2 Internal 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