DeiLyred 3 Report post Posted July 8, 2020 Столкнулся с проблемой что была в теме ниже и понял что нужно что то вписать в move что бы не отключало при входе в портал. Через команду телепортирует. Вписывал и Demonic World и Мир Демонов и постоянно отключает. Такая же фигня и с Серебрянным хаосом. -------------------------------------------------------------------------- -- -- -- -- -- entry.lua -- -- (Мир демонов) -- -- -- -------------------------------------------------------------------------- function config_entry(entry) SetMapEntryEntiID(entry, 193,1) end function after_create_entry(entry) local copy_mgr = GetMapEntryCopyObj(entry, 0) map_name, posx, posy, tmap_name = GetMapEntryPosInfo(entry) Notice("\206\225\250\255\226\235\229\237\232\229: \192\241\234\224\240\238\237 ["..posx..","..posy.."] \239\238\255\226\232\235\241\255 \239\238\240\242\224\235 \226\229\228\243\249\232\233 \226 [\204\232\240 \196\229\236\238\237\238\226]. \209\235\229\228\232\242\229 \231\224 \237\238\226\238\241\242\255\236\232.") end function after_destroy_entry_puzzleworld(entry) map_name, posx, posy, tmap_name = GetMapEntryPosInfo(entry) Notice("\206\225\250\255\226\235\229\237\232\229: \207\238\240\242\224\235 \226 [\204\232\240 \196\229\236\238\237\238\226] \231\224\234\240\251\235\241\255. \209\235\229\228\232\242\229 \231\224 \237\238\226\238\241\242\255\236\232. \211\228\224\247\232!") end function after_player_login_puzzleworld(entry, player_name) map_name, posx, posy, tmap_name = GetMapEntryPosInfo(entry) ChaNotice(player_name, "\206\225\250\255\226\235\229\237\232\229: \192\241\234\224\240\238\237 ["..posx..","..posy.."] \239\238\255\226\232\235\241\255 \239\238\240\242\224\235 \226\229\228\243\249\232\233 \226 [\204\232\240 \196\229\236\238\237\238\226]. \209\235\229\228\232\242\229 \231\224 \237\238\226\238\241\242\255\236\232.") end function check_can_enter_puzzleworld( role, copy_mgr ) if Lv(role) >=50 then return 1 else SystemNotice(role, "\194\251 \228\238\235\230\237\251 \225\251\242\252 \237\229 \237\232\230\229 50 \243\240\238\226\237\255, \247\242\238\225\251 \226\238\233\242\232 \226 \204\232\240 \196\229\236\238\237\238\226 ") return 0 end end function begin_enter_puzzleworld(role, copy_mgr) SystemNotice(role,"\194\245\238\228 \226 [\204\232\240 \196\229\236\238\237\238\226]") MoveCity(role, "Мир Демонов") end Quote Share this post Link to post Share on other sites
DeiLyred 3 Report post Posted July 10, 2020 Может кто подсказать? Quote Share this post Link to post Share on other sites
DeiLyred 3 Report post Posted July 10, 2020 ? Quote Share this post Link to post Share on other sites
V3ct0r 2,117 Report post Posted July 10, 2020 В birth_conf.lua есть точка "Мир Демонов"? 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
DeiLyred 3 Report post Posted July 10, 2020 19 минут назад, V3ct0r сказал: В birth_conf.lua есть точка "Мир Демонов"? --Мир демонов 1 AddBirthPoint("\204\232\240 \228\229\236\238\237\238\226 1", "puzzleworld", 36, 20) AddBirthPoint("\204\232\240 \228\229\236\238\237\238\226 1", "puzzleworld", 522, 32) AddBirthPoint("\204\232\240 \228\229\236\238\237\238\226 1", "puzzleworld", 36, 527) AddBirthPoint("\204\232\240 \228\229\236\238\237\238\226 1", "puzzleworld", 510, 527) --AddBirthPoint("Мир демонов 1", "puzzleworld", 36, 20) --AddBirthPoint("Мир демонов 1", "puzzleworld", 522, 32) --AddBirthPoint("Мир демонов 1", "puzzleworld", 36, 527) --AddBirthPoint("Мир демонов 1", "puzzleworld", 510, 527) Quote Share this post Link to post Share on other sites
DeiLyred 3 Report post Posted July 10, 2020 Есть еще рядом копия бирх конф.луа AddBirthPoint("魔方世界", "puzzleworld", 36, 20) AddBirthPoint("魔方世界", "puzzleworld", 522, 32) AddBirthPoint("魔方世界", "puzzleworld", 36, 527) AddBirthPoint("魔方世界", "puzzleworld", 510, 527) Quote Share this post Link to post Share on other sites
kiberhack 5 Report post Posted July 11, 2020 -- Мир Демонов AddBirthPoint("Demonic World", "puzzleworld", 36, 20) AddBirthPoint("Demonic World", "puzzleworld", 522, 32) AddBirthPoint("Demonic World", "puzzleworld", 36, 527) AddBirthPoint("Demonic World", "puzzleworld", 510, 527) удали все что связано с Мир демонов в этом файле и ставь что что скинул Quote Share this post Link to post Share on other sites
DeiLyred 3 Report post Posted July 11, 2020 4 часа назад, kiberhack сказал: -- Мир Демонов AddBirthPoint("Demonic World", "puzzleworld", 36, 20) AddBirthPoint("Demonic World", "puzzleworld", 522, 32) AddBirthPoint("Demonic World", "puzzleworld", 36, 527) AddBirthPoint("Demonic World", "puzzleworld", 510, 527) удали все что связано с Мир демонов в этом файле и ставь что что скинул Я и поставил все равно выкидывает. Если есть у кого birth_conf.lua нормальный может скинуть? Quote Share this post Link to post Share on other sites
V3ct0r 2,117 Report post Posted July 11, 2020 @DeiLyred, привет! Точка, указанная в вызове функции MoveCity(), должна слово в слово совпадать с точкой, определенной в файле birth_conf.lua. У тебя: MoveCity(role, "Мир Демонов") и определенная точка: AddBirthPoint("\204\232\240 \228\229\236\238\237\238\226 1", "puzzleworld", 36, 20) То есть, точки не совпадают: 1) В entry.lua "Мир Демонов", а в birth_conf.lua "Мир демонов 1"; 2) Все русские строки для избежания проблем нужно шифровать кодировщиком. Попробуй сделать так: entry.lua MoveCity(role, "\204\232\240 \228\229\236\238\237\238\226 1") birth_conf.lua -- Мир Демонов 1 AddBirthPoint("\204\232\240 \228\229\236\238\237\238\226 1", "puzzleworld", 36, 20) AddBirthPoint("\204\232\240 \228\229\236\238\237\238\226 1", "puzzleworld", 522, 32) AddBirthPoint("\204\232\240 \228\229\236\238\237\238\226 1", "puzzleworld", 36, 527) AddBirthPoint("\204\232\240 \228\229\236\238\237\238\226 1", "puzzleworld", 510, 527) 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
DeiLyred 3 Report post Posted July 11, 2020 1 час назад, V3ct0r сказал: @DeiLyred, привет! Точка, указанная в вызове функции MoveCity(), должна слово в слово совпадать с точкой, определенной в файле birth_conf.lua. У тебя: MoveCity(role, "Мир Демонов") и определенная точка: AddBirthPoint("\204\232\240 \228\229\236\238\237\238\226 1", "puzzleworld", 36, 20) То есть, точки не совпадают: 1) В entry.lua "Мир Демонов", а в birth_conf.lua "Мир демонов 1"; 2) Все русские строки для избежания проблем нужно шифровать кодировщиком. Попробуй сделать так: entry.lua MoveCity(role, "\204\232\240 \228\229\236\238\237\238\226 1") birth_conf.lua -- Мир Демонов 1 AddBirthPoint("\204\232\240 \228\229\236\238\237\238\226 1", "puzzleworld", 36, 20) AddBirthPoint("\204\232\240 \228\229\236\238\237\238\226 1", "puzzleworld", 522, 32) AddBirthPoint("\204\232\240 \228\229\236\238\237\238\226 1", "puzzleworld", 36, 527) AddBirthPoint("\204\232\240 \228\229\236\238\237\238\226 1", "puzzleworld", 510, 527) ОГРОМНОЕ СПАСИБО ТЕБЕ Я С ФЕВРАЛЯ МУЧАЛСЯ С ЭТИМ! Quote Share this post Link to post Share on other sites
DeiLyred 3 Report post Posted July 12, 2020 . Quote Share this post Link to post Share on other sites