Tekken Posted May 30, 2012 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 66 Reputation: 1 Joined: 03/14/12 Last Seen: October 23, 2014 Share Posted May 30, 2012 (edited) Скажите пожалуйста что за ошибка такая? Спасибо за ранее!!! npc/instances/EndlessCellar.txt script error on npc/instances/EndlessCellar.txt line 311 parse_line: need ';' 306 : if('EC_Floor == 77) 307 : set .@map$,has_instance("5@new"); 308 : else if('EC_Floor < 77) 309 : set .@map$,has_instance((('EC_Floor-1) / 20 + 1)+"@new"); 310 : mes "Alive mobs(variable): "+'EC_Mobs; * 311 : mes "Alive mobs(real): "+getmapmobs'('.@map$); 312 : close; 313 : case 5: 314 : mes "Are you sure?"; 315 : next; 316 : if(select("Yes:No") == 2) close; Edited May 30, 2012 by Bazar2009 Quote Link to comment Share on other sites More sharing options...
Sparrow Posted May 31, 2012 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 34 Reputation: 0 Joined: 05/19/12 Last Seen: September 1, 2013 Share Posted May 31, 2012 mes "Alive mobs(real): "+getmapmobs'('.@map$); - не хватает закрывающих ковычек. mes "Alive mobs(real): "+getmapmobs'('.@map$)""; - как то так Quote Link to comment Share on other sites More sharing options...
kadze Posted May 31, 2012 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 58 Reputation: 5 Joined: 12/12/11 Last Seen: March 10, 2024 Share Posted May 31, 2012 @Sparrow вы не правы.после переменной не нужно закрывать кавычки. Quote Link to comment Share on other sites More sharing options...
Lilith Posted May 31, 2012 Group: Members Topic Count: 14 Topics Per Day: 0.00 Content Count: 407 Reputation: 159 Joined: 11/18/11 Last Seen: November 15, 2014 Share Posted May 31, 2012 (edited) Заглянули бы сперва в script_commands.txt, затем писали бы ответы. mes "Alive mobs(real): "+getmapmobs(.@map$); заменить на mes "Alive mobs(real): "+mobcount(.@map$,"all"); Edited May 31, 2012 by Lilith 1 Quote Link to comment Share on other sites More sharing options...
Tekken Posted June 1, 2012 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 66 Reputation: 1 Joined: 03/14/12 Last Seen: October 23, 2014 Author Share Posted June 1, 2012 Lilith спасибо большое Появилась еще одна проблемка, как сделать так чтоб доступ был только у групп пользователей id 1, в char_athena.conf я делал доступ id 1 и в login_athena.conf тоже ставил, но вот в чем проблема, кроме этой группы больше ни кто не сможет зайти, даже сам ГМ. Как сделать так чтобы заходили определенные группы? Quote Link to comment Share on other sites More sharing options...
Lilith Posted June 1, 2012 Group: Members Topic Count: 14 Topics Per Day: 0.00 Content Count: 407 Reputation: 159 Joined: 11/18/11 Last Seen: November 15, 2014 Share Posted June 1, 2012 login_athena.conf // Required account group id to connect to server.// -1: disabled // 0 or more: group id group_id_to_connect: 1 Quote Link to comment Share on other sites More sharing options...
Tekken Posted June 2, 2012 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 66 Reputation: 1 Joined: 03/14/12 Last Seen: October 23, 2014 Author Share Posted June 2, 2012 Я вот и говорю что если я поставлю там 1 то ГМ не сможет зайти, вот в чем проблема. Quote Link to comment Share on other sites More sharing options...
Lilith Posted June 2, 2012 Group: Members Topic Count: 14 Topics Per Day: 0.00 Content Count: 407 Reputation: 159 Joined: 11/18/11 Last Seen: November 15, 2014 Share Posted June 2, 2012 Обнови эмулятор, добавлена опция минимальной группы в этом же файле. // Minimum account group id required to connect to server.// Will not function if group_id_to_connect config is enabled. // -1: disabled // 0 or more: group id min_group_id_to_connect: 1 Quote Link to comment Share on other sites More sharing options...
Tekken Posted July 17, 2012 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 66 Reputation: 1 Joined: 03/14/12 Last Seen: October 23, 2014 Author Share Posted July 17, 2012 (edited) Скажите пожалуйста в чем проблема, в двух скриптах МАП сервер ругается. 1 скрипт: Второй раз потом запускается и не работает. [Error]: script_rid2sd: fatal error ! player not attached! [Debug]: Source (NPC): announce_monster (invisible/not on a map) [Warning]: script:get_val: cannot access player variable '@monsterh', defaulting to 0 2 скрипт: [Error]: npc_event: event not found [announce2::OnMobDead] Edited July 17, 2012 by Tekken Quote Link to comment Share on other sites More sharing options...
kadze Posted July 18, 2012 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 58 Reputation: 5 Joined: 12/12/11 Last Seen: March 10, 2024 Share Posted July 18, 2012 1.Нет приаттаченного игрока - некому присвоить переменную.Как вариант поменять тип переменной,если она не нужна только для 1 персонажа на время. 2.Проверьте названия нпц с эвентом OnMobDead - announce2 Quote Link to comment Share on other sites More sharing options...
Tekken Posted July 18, 2012 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 66 Reputation: 1 Joined: 03/14/12 Last Seen: October 23, 2014 Author Share Posted July 18, 2012 А как 1 исправить? Quote Link to comment Share on other sites More sharing options...
Tekken Posted July 22, 2012 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 66 Reputation: 1 Joined: 03/14/12 Last Seen: October 23, 2014 Author Share Posted July 22, 2012 Помогите пожалуйста исправить 1 и 2 проблему. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.