FapFap 13 Report post Posted September 3, 2018 How to fix this errors? i know DoString(0) is normal but is there a way to stop it? also where to find/fix the other one event_cha_lifetime Quote Share this post Link to post Share on other sites
BETEP/macs509 87 Report post Posted September 27, 2018 up Quote Share this post Link to post Share on other sites
Fomin 53 Report post Posted February 20, 2019 up Quote Share this post Link to post Share on other sites
GreM 0 Report post Posted February 20, 2019 (edited) @FapFap, @BETEP / macs509 , @Fomin; Ищите этот код на Вашем игровом сервере: 8B 45 0C 50 68 A8 76 5B 00 68 A0 76 5B 00 E8 2D 5A 0e 00 Замените на 90, в конце концов, это должно быть: 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 Это изменение полностью удаляет запись для отсутствующих функций карты. Edited February 20, 2019 by GreM Quote Share this post Link to post Share on other sites
mkhzaleh 131 Report post Posted February 21, 2019 (edited) _G["0"] = function(e) end _G["event_cha_lifetime"] = function(e) end Edited February 21, 2019 by mkhzaleh Quote Share this post Link to post Share on other sites
V3ct0r 2,117 Report post Posted February 21, 2019 if(IsPlayerCha()==false && IsNpc()==false) { if(CheckLifeTime()) { if(m_HostCha && m_HostCha->IsPlayerCha()) { int nPetNum = m_HostCha->GetPlyMainCha()->GetPetNum(); if(nPetNum > 0) m_HostCha->GetPlyMainCha()->SetPetNum(nPetNum - 1); } g_CParser.DoString("event_cha_lifetime", enumSCRIPT_RETURN_NONE, 0, enumSCRIPT_PARAM_LIGHTUSERDATA, 1, this, DOSTRING_PARAM_END); Free(); return; } } I think this is function like cha_timer(), but only for monsters: function event_cha_lifetime(role) end 16 hours ago, GreM said: Это изменение полностью удаляет запись для отсутствующих функций карты. It is simpler to add missing functions to scripts, as @mkhzaleh suggests, than remove them from GameServer.exe Quote Some useful links / Полезные ссылки Tips for making a topic in 'Questions & Help' / Рекомендации по созданию тем в разделе "Помощь" Server Advertising Section Rules / Правила раздела "Реклама серверов" Available e-mail domains for registration / Допустимые e-mail домены для регистрации User groups / Группы пользователей User ranks / Звания пользователей "Broken" pictures on the forum / "Битые" изображения на форуме Beware of scammers! / Осторожно, мошенники! My developments / Мои разработки Mods for client and server / Моды для клиента и сервера PKOdev.NET website for Tales of Pirates Server / PKOdev.NET веб-обвязка для сервера Пиратии I do not provide any help in private messages and outside the forum. Use 'Questions & Help' section please. Thank you for understanding! Я не оказываю какую-либо помощь в личных сообщениях и вне форума. Пожалуйста, используйте раздел "Пиратия: Помощь". Благодарю за понимание! Share this post Link to post Share on other sites
GreM 0 Report post Posted February 21, 2019 Why write for each function if you can simply refuse to log missing ones? Quote Share this post Link to post Share on other sites
mkhzaleh 131 Report post Posted February 21, 2019 3 hours ago, GreM said: Why write for each function if you can simply refuse to log missing ones? you tried it before? Quote Share this post Link to post Share on other sites