ShadowsPR0 6 Posted September 15, 2016 Share Posted September 15, 2016 (edited) On 5/13/2016 at 11:31 PM, vladbos35 said: Ok now type just %s in your shop name and watch your server crash. Edited August 20, 2022 by Metin2 Dev Core X - External 2 Internal 1 Link to comment Share on other sites More sharing options...
str0nd3r 0 Posted July 12, 2017 Share Posted July 12, 2017 someone have fix? Link to comment Share on other sites More sharing options...
str0nd3r 0 Posted July 14, 2017 Share Posted July 14, 2017 up Link to comment Share on other sites More sharing options...
klars99 4 Posted March 16, 2018 Share Posted March 16, 2018 fix like find LPCHARACTER npc = CHARACTER_MANAGER::instance().SpawnMob add Before Spoiler char szSign[SHOP_SIGN_MAX_LEN * 2 + 1]; DBManager::instance().EscapeString(szSign, sizeof(szSign), c_pszSign, strlen(c_pszSign)); if (strlen(szSign) == 0) { ChatPacket(CHAT_TYPE_INFO, "You cannot open an offline-shop without title!"); return; } m_stOfflineShopSign = szSign; if (m_stOfflineShopSign.length() == 0) return; if (CBanwordManager::instance().CheckString(m_stOfflineShopSign.c_str(), m_stOfflineShopSign.length())) { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("؛ٌ¼س¾î³ھ ہ؛¾î°، ئ÷اشµب »َء، ہج¸§ہ¸·خ »َء،ہ» ؟ ¼ِ ¾ّ½ہ´د´ظ.")); return; } std::string szSpecialCharName = m_stOfflineShopSign.c_str(); std::size_t szSpecialCheck = szSpecialCharName.find("%"); if (szSpecialCheck != std::string::npos) { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The name inserted is invalid, please don't use special characters!")); return; } Link to comment Share on other sites More sharing options...
ManiacRobert 429 Posted March 16, 2018 Share Posted March 16, 2018 delete system = no bugs 1 Link to comment Share on other sites More sharing options...
Recommended Posts