Lucky 65 Report post Posted March 25, 2016 post line 52 Quote Share this post Link to post Share on other sites
MonkeyCode 453 Report post Posted March 25, 2016 (edited) the function signature has been modified, and I strongly urge that people do not modify function signatures. If you have file_exists() function in your files, try changing: exists_file -> file_exists Edited March 25, 2016 by xtc Quote Share this post Link to post Share on other sites
Anthoni 5 Report post Posted March 26, 2016 1 hour ago, xtc said: the function signature has been modified, and I strongly urge that people do not modify function signatures. If you have file_exists() function in your files, try changing: exists_file -> file_exists now have problem agaian, Quote Share this post Link to post Share on other sites
MonkeyCode 453 Report post Posted March 26, 2016 it is hard to decipher the issue now, because the table "tables" is not shown. If should you choose to use the KDR I made for BIO, then I can help if any bug does occurs. Quote Share this post Link to post Share on other sites
Anthoni 5 Report post Posted March 26, 2016 12 minutes ago, xtc said: it is hard to decipher the issue now, because the table "tables" is not shown. If should you choose to use the KDR I made for BIO, then I can help if any bug does occurs. can help me? Can a allot the KDR made BIO Quote Share this post Link to post Share on other sites
Lucky 65 Report post Posted March 27, 2016 what files u using? Quote Share this post Link to post Share on other sites
Anthoni 5 Report post Posted March 27, 2016 13 minutes ago, Lucky said: what files u using? Pko I v1.36 (2.0) , can't help me lucky? Quote Share this post Link to post Share on other sites
Lucky 65 Report post Posted March 27, 2016 if using one from @xtc should work Quote Share this post Link to post Share on other sites
Anthoni 5 Report post Posted March 27, 2016 13 minutes ago, Lucky said: if using one from @xtc should work yes work, but i have problem. why? you know lucky? i click overal rangking or other . msd function , function option unknown function! Quote Share this post Link to post Share on other sites
V3ct0r 2,117 Report post Posted March 27, 2016 @Anthoni you have to add function (that calls on Overall Ranking) in TriggerAction to MissionSdk.lua (GameServer\resource\script\MisScript) Find function ActionsProc( character, actions, npc, page, misid, scriptid, param1, param2 ) and add your function elseif actions[i].func == <Function Name> then return <Function Name>( character, actions[i].p1, params here ... ) 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
Anthoni 5 Report post Posted March 27, 2016 13 minutes ago, V3ct0r said: @Anthoni you have to add function (that calls on Overall Ranking) in TriggerAction to MissionSdk.lua (GameServer\resource\script\MisScript) Find function ActionsProc( character, actions, npc, page, misid, scriptid, param1, param2 ) and add your function elseif actions[i].func == <Function Name> then return <Function Name>( character, actions[i].p1, params here ... ) (GameServer\resource\script\MisScript) where i add function. Can you help me, I uploaded file script.rar Quote Share this post Link to post Share on other sites
V3ct0r 2,117 Report post Posted March 27, 2016 @Anthoni Sorry! Not MisScript GameServer\resource\script\MisSdk 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
Anthoni 5 Report post Posted March 27, 2016 2 minutes ago, V3ct0r said: @Anthoni Sorry! Not MisScript GameServer\resource\script\MisSdk V3ct0r I'm sorry, I'm still a beginner. in which part should I edit or add? --任務動作處理函數 function ActionsProc( character, actions, npc, page, misid, scriptid, param1, param2 ) PRINT( "ActionProc: actions proc" ) if actions == nil then PRINT( "ActionProc:quest action management function parameter actions cannot be as null!" ) SystemNotice( character, "ActionProc:quest action management function parameter actions cannot be as null!" ) return LUA_ERROR end elseif actions[i].func == <Function Name> then return <Function Name>( character, actions[i].p1, params here ... ) Quote Share this post Link to post Share on other sites
V3ct0r 2,117 Report post Posted March 29, 2016 @Anthoni, you have to add in the if statement code (see how oher functions added) elseif actions[i].func == <Function Name> then return <Function Name>( character, actions[i].p1, params here ... ) 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
Anthoni 5 Report post Posted March 29, 2016 8 minutes ago, V3ct0r said: @Anthoni, you have to add in the if statement code (see how oher functions added) elseif actions[i].func == <Function Name> then return <Function Name>( character, actions[i].p1, params here ... ) ok, I will try Quote Share this post Link to post Share on other sites
abdoelghoul 4 Report post Posted June 18, 2016 elseif conditions.func == CheckIsPvPWinner then PRINT( "ConditionsTest:CheckIsPvPWinner, p1 = ", conditions.p1 ) local ret = CheckIsPvPWinner( character, conditions.p1 ) if ret ~= LUA_TRUE then PRINT( "ConditionsTest: CheckIsPvPWinner = false" ) return LUA_FALSE end elseif conditions.func == CheckIsPvPWinner2 then PRINT( "ConditionsTest:CheckIsPvPWinner2, p1 = ", conditions.p1 ) local ret = CheckIsPvPWinner2( character, conditions.p1 ) if ret ~= LUA_TRUE then PRINT( "ConditionsTest: CheckIsPvPWinner2 = false" ) return LUA_FALSE end in your script/Misdk/MissionSdk Quote Share this post Link to post Share on other sites
Syfax 2 Report post Posted June 18, 2016 1 hour ago, abdoelghoul said: elseif conditions.func == CheckIsPvPWinner then PRINT( "ConditionsTest:CheckIsPvPWinner, p1 = ", conditions.p1 ) local ret = CheckIsPvPWinner( character, conditions.p1 ) if ret ~= LUA_TRUE then PRINT( "ConditionsTest: CheckIsPvPWinner = false" ) return LUA_FALSE end elseif conditions.func == CheckIsPvPWinner2 then PRINT( "ConditionsTest:CheckIsPvPWinner2, p1 = ", conditions.p1 ) local ret = CheckIsPvPWinner2( character, conditions.p1 ) if ret ~= LUA_TRUE then PRINT( "ConditionsTest: CheckIsPvPWinner2 = false" ) return LUA_FALSE end in your script/Misdk/MissionSdk Go facebook , send me TV user pass , let me help you on that ~_~ Quote Share this post Link to post Share on other sites
abdoelghoul 4 Report post Posted June 19, 2016 i didnt ask for help Quote Share this post Link to post Share on other sites