AnaMutaz 7 Report post Posted August 9, 2017 (edited) Any Guide For Npc Teleporter Creat ? any Guide for creat New items ? this pic is miss click... Edited August 9, 2017 by AnaMutaz Quote Share this post Link to post Share on other sites
MonkeyCode 453 Report post Posted August 10, 2017 I don't know if there is a guide. but long long ago, developers such as Saeed, Matt, and other veterans learned by looking how existing npcs work. See Argent Teleporter - Senna ? Why not trace her to her roots? Hint: start off with garnernpc.txt Quote Share this post Link to post Share on other sites
DangThao 80 Report post Posted August 10, 2017 (edited) 20 hours ago, AnaMutaz said: Any Guide For Npc Teleporter Creat ? any Guide for creat New items ? this pic is miss click... 1) NPC Teleporter: function NpcTele () Talk( 1, "Would you like to teleport to Heaven?" ) Text( 1, "Teleport to Heaven", JumpPage, 5 ) Talk( 5, "Are you sure you want to teleport to heaven?" ) Text( 5, "Teleport", GoTo, 1749, 908, "jialebi" ) end function NpcTele1() --È¡Ïû´«ËÍ·µ»ØÑ¡Ôñ´«Ë͵صãµÄ¶Ô»°ÄÚÈݺÍÒ³Ãæ±àºÅ local ReSelectTalk = "I need to reconsider¡" local ReSelectPage = 1 --È¡Ïû´«ËͺÍÍ˳ö´«Ë͵ĶԻ°ºÍÒ³Ãæ±àºÅ local CancelSelectTalk = "Forget it¡I will stay here" local CancelSelectPage = 2 --µØͼÃû³ÆÐÅÏ¢ local CurMapName1 = "garner" --°×ÒøÖ®³Ç×ø±ê local GoTo01X = 2231 local GoTo01Y = 2788 local GoTo01M = CurMapName1 Talk( 1, "Jovial: Hi! I am the Teleporter! How may I help you?" ) Text( 1, "Go to Argent City!", JumpPage, 4 ) InitTrigger() TriggerCondition( 1, LvCheck, "<", 11 ) TriggerAction( 1, GoTo, GoTo01X, GoTo01Y, GoTo01M ) TriggerCondition( 2, HasMoney, 500 ) TriggerAction( 2, TakeMoney, 500 ) TriggerAction( 2, GoTo, GoTo01X, GoTo01Y, GoTo01M ) TriggerFailure( 2, JumpPage, 23 ) Talk( 4, "Teleports to Argent City? No problem! Please pay 500G. Free for players Lv 10 and below!" ) Text( 4, "Teleport",MultiTrigger, GetMultiTrigger(), 2 ) Text( 4, CancelSelectTalk, JumpPage , CancelSelectPage ) end function NpcTele0() Talk( 1, "Would you like to return to Argent City?" ) Text( 1, "Return", JumpPage, 2 ) InitTrigger() TriggerCondition( 1, HasMoney, 5000 ) TriggerAction( 1, TakeMoney, 5000 ) TriggerAction( 1, MoveCity, "Argent City" ) TriggerFailure( 1, JumpPage, 3 ) Talk( 2, "Return to Argent City?? No problem! Please pay 5000G!" ) Text( 2, "Teleport",MultiTrigger, GetMultiTrigger(), 1 ) Text( 2, CancelSelectTalk, JumpPage , CancelSelectPage ) Talk( 3, "Sorry! You do not have enough gold to teleport." ) end These above are the most known/common ones than im awared of. 2)Creating new item? What kind of item, there are many kind, just reply with what u kind of new item (money bag, chest for items, and potion, etc) Edited August 10, 2017 by DangThao Quote Share this post Link to post Share on other sites
DangThao 80 Report post Posted August 10, 2017 Note: NpcTele - This npc will teleport directly with the assigned coordinates NpcTele1 - It uses normal teleporter like NPC Teleporter Jovial and some other with a whole list of maps and then use coordinate from it Npctele0 - If a map got multiple coordinate to spawn like Argent City, Shaitan City, icicle city and etc, this is a nice idea cause it will random spawn players to assigned coordinates in birth_conf that used the same map. Quote Share this post Link to post Share on other sites
AnaMutaz 7 Report post Posted August 10, 2017 @DangThao Thank u this really helps 2- )Creating new item? What kind of item, there are many kind, just reply with what u kind of new item (money bag, chest for items, and potion, etc) i want make a cloak give me the steps for do it if u can another question i want open a 2 main maps like ici and Argent but i can`t i tryed many time to do them on diffrent Gameserver ete Gameserver1 Gamerserver2 and if i do them on 1 gameserver i got error any help about this too ill be thank ful Good Day Quote Share this post Link to post Share on other sites
DangThao 80 Report post Posted August 10, 2017 8 minutes ago, AnaMutaz said: @DangThao Thank u this really helps 2- )Creating new item? What kind of item, there are many kind, just reply with what u kind of new item (money bag, chest for items, and potion, etc) i want make a cloak give me the steps for do it if u can another question i want open a 2 main maps like ici and Argent but i can`t i tryed many time to do them on diffrent Gameserver ete Gameserver1 Gamerserver2 and if i do them on 1 gameserver i got error any help about this too ill be thank ful Good Day Not a fan of Cloak stuff so cant help you. @KONG bro, any helps here? not a fan of it so idk, maybe u can help this guy. Install the second main map (if first main map = garner (argent) then second main map will be darkblue(Icic)) on another gameserver.cfg. When done with change ip, user and pass of the cfg to ur working one, use server launcher.exe if u got inside server file (most file should have it). From there just click on gameserver2 and it will launch the second gameserver. Hope this helps. 1 Quote Share this post Link to post Share on other sites
AnaMutaz 7 Report post Posted August 10, 2017 8 minutes ago, DangThao said: Not a fan of Cloak stuff so cant help you. @KONG bro, any helps here? not a fan of it so idk, maybe u can help this guy. Install the second main map (if first main map = garner (argent) then second main map will be darkblue(Icic)) on another gameserver.cfg. When done with change ip, user and pass of the cfg to ur working one, use server launcher.exe if u got inside server file (most file should have it). From there just click on gameserver2 and it will launch the second gameserver. Hope this helps. Yeh i understand now why i dont get the maps on i got the luncher. But always i use the double click directly on files so after i edit on the 2nd gameserver i need to lunch gameserver2 and my problem will get fixed ?? I think that thx alot if u can give me an example for how to make chest of somthing so i can search there and ill folined out the way of cloak thanks againe Quote Share this post Link to post Share on other sites
DangThao 80 Report post Posted August 10, 2017 Anything specifics about chest? Quote Share this post Link to post Share on other sites
AnaMutaz 7 Report post Posted August 10, 2017 Lets make chest that contain all black dragon gems ete Quote Share this post Link to post Share on other sites
MonkeyCode 453 Report post Posted August 11, 2017 Hello. For Cloak installation, please allow yourself to install it - and post here if bugs occur. Let us know if you need any help with anything. P.S. Get your hands dirty, this is the only good way to know the serverfiles. Quote Share this post Link to post Share on other sites
DangThao 80 Report post Posted August 11, 2017 3 hours ago, AnaMutaz said: Lets make chest that contain all black dragon gems ete Ways to make a chest: Check here see if anything is not covered. Here is Lucky's Archive Quote Share this post Link to post Share on other sites
opexone78 1 Report post Posted May 10, 2018 On 8/10/2017 at 11:50 PM, DangThao said: 1) NPC Teleporter: function NpcTele () Talk( 1, "Would you like to teleport to Heaven?" ) Text( 1, "Teleport to Heaven", JumpPage, 5 ) Talk( 5, "Are you sure you want to teleport to heaven?" ) Text( 5, "Teleport", GoTo, 1749, 908, "jialebi" ) end function NpcTele1() --È¡Ïû´«ËÍ·µ»ØÑ¡Ôñ´«Ë͵صãµÄ¶Ô»°ÄÚÈݺÍÒ³Ãæ±àºÅ local ReSelectTalk = "I need to reconsider¡" local ReSelectPage = 1 --È¡Ïû´«ËͺÍÍ˳ö´«Ë͵ĶԻ°ºÍÒ³Ãæ±àºÅ local CancelSelectTalk = "Forget it¡I will stay here" local CancelSelectPage = 2 --µØͼÃû³ÆÐÅÏ¢ local CurMapName1 = "garner" --°×ÒøÖ®³Ç×ø±ê local GoTo01X = 2231 local GoTo01Y = 2788 local GoTo01M = CurMapName1 Talk( 1, "Jovial: Hi! I am the Teleporter! How may I help you?" ) Text( 1, "Go to Argent City!", JumpPage, 4 ) InitTrigger() TriggerCondition( 1, LvCheck, "<", 11 ) TriggerAction( 1, GoTo, GoTo01X, GoTo01Y, GoTo01M ) TriggerCondition( 2, HasMoney, 500 ) TriggerAction( 2, TakeMoney, 500 ) TriggerAction( 2, GoTo, GoTo01X, GoTo01Y, GoTo01M ) TriggerFailure( 2, JumpPage, 23 ) Talk( 4, "Teleports to Argent City? No problem! Please pay 500G. Free for players Lv 10 and below!" ) Text( 4, "Teleport",MultiTrigger, GetMultiTrigger(), 2 ) Text( 4, CancelSelectTalk, JumpPage , CancelSelectPage ) end function NpcTele0() Talk( 1, "Would you like to return to Argent City?" ) Text( 1, "Return", JumpPage, 2 ) InitTrigger() TriggerCondition( 1, HasMoney, 5000 ) TriggerAction( 1, TakeMoney, 5000 ) TriggerAction( 1, MoveCity, "Argent City" ) TriggerFailure( 1, JumpPage, 3 ) Talk( 2, "Return to Argent City?? No problem! Please pay 5000G!" ) Text( 2, "Teleport",MultiTrigger, GetMultiTrigger(), 1 ) Text( 2, CancelSelectTalk, JumpPage , CancelSelectPage ) Talk( 3, "Sorry! You do not have enough gold to teleport." ) end Urgently question, somehow all my NPC teleporter that using GoTo script giving me an error... while my NPC teleporter that using MoveCity script work just find (also ticketing) how to fix this matter? Quote Share this post Link to post Share on other sites
DangThao 80 Report post Posted May 10, 2018 6 hours ago, opexone78 said: Urgently question, somehow all my NPC teleporter that using GoTo script giving me an error... while my NPC teleporter that using MoveCity script work just find (also ticketing) how to fix this matter? Post your script here. Quote Share this post Link to post Share on other sites
opexone78 1 Report post Posted May 12, 2018 sure.. here one of them -------------------------------------- --Black Dragon Lair 1: Guardian Statue -------------------------------------- function b_talk21() local ReSelectTalk = "I need to reconsider." local ReSelectPage = 1 local CancelSelectTalk = "Forget it, I will stay here" local CancelSelectPage = 5 --Map local CurMapName = "eastgoaf" --Coordinate local GoTo01X = 767 local GoTo01Y = 602 local GoTo01M = CurMapName Talk( 1, "Guardian Statue: \"I am the Goddess that sealed Death within.\"" ) Text( 1, "Go to Black Dragon Lair 2!", JumpPage, 2 ) InitTrigger() TriggerCondition( 1, HasItem, 179,1 ) TriggerCondition( 1, HasItem, 3084,1 ) TriggerCondition( 1, HasItem, 3085,1 ) TriggerAction( 1, TakeItem, 179,1 ) TriggerAction( 1, TakeItem, 3084,1 ) TriggerAction( 1, TakeItem, 3085,1 ) TriggerAction( 1, GoTo, GoTo01X, GoTo01Y, GoTo01M ) TriggerFailure( 1, JumpPage, 4 ) Talk( 2, "Teleport to Black Dragon Lair 2 requires 1<ySigil of Anubis>, 1 <yMask of Mummy King> and 1 <yTimeless Machine>!" ) Text( 2, "Teleport",MultiTrigger, GetMultiTrigger(), 2 ) Text( 2, CancelSelectTalk, JumpPage , CancelSelectPage ) Talk( 3, "Guardian Statue: \"¡¡¡¡¡¡^$&#&^%¡¡¡¡¡¡\"" ) InitTrigger() TriggerCondition( 1, HasRecord, 330 ) TriggerAction( 1, JumpPage, 1 ) TriggerCondition( 2, NoRecord, 330 ) TriggerAction( 2, JumpPage, 3 ) Start( GetMultiTrigger(), 3 ) Talk( 4, "Sorry, you have not collect all 3 items!" ) Talk( 5, "Remember to look for me again if you need to teleport", CloseTalk ) end Quote Share this post Link to post Share on other sites
opexone78 1 Report post Posted May 16, 2018 anyone? help? pliss? Quote Share this post Link to post Share on other sites
SoundX 14 Report post Posted May 18, 2018 On 5/16/2018 at 6:24 AM, opexone78 said: anyone? help? pliss? Hi, the script you posted is the exact script for teleporting to BD lair 2. It works correctly, the error should be somewhere else. What error exactly are you getting? Quote Share this post Link to post Share on other sites
opexone78 1 Report post Posted May 24, 2018 all teleporter using TriggerAction goto error, can't teleport... so almost 75% NPC teleporter i had change into ticket system the wierd thing is, the ticket using goto to teleport working well Quote Share this post Link to post Share on other sites
RedMAN 22 Report post Posted May 24, 2018 15 часов назад, opexone78 сказал: all teleporter using TriggerAction goto error, can't teleport... so almost 75% NPC teleporter i had change into ticket system the wierd thing is, the ticket using goto to teleport working well so even default tp-npc didnt work? if you want to learn how to make any npc - found npc's with same functions(sale,tp,trade,appareals) and copy it with your conditions ***** Open resource/script/MisSdk/MissionSdk.lua ctrl+f "SetProfession then" and after "end" (and befotre next "elseif") paste this elseif actions[i].func == GoTo then PRINT( "ActionsProc:GoTo, p1 = , p2 = , p3 = ", actions[i].p1, actions[i].p2, actions[i].p3 ) local ret = GoTo( character, actions[i].p1, actions[i].p2, actions[i].p3 ) PRINT( "Goto: ret = ", ret ) if ret ~= LUA_TRUE then PRINT( "ActionsProc:GoTo Не удалось!" ) SystemNotice( character, "ActionsProc:GoTo Не удалось!" ) return LUA_FALSE end I hope it help you 1 Quote Share this post Link to post Share on other sites
opexone78 1 Report post Posted May 25, 2018 Just now, RedMAN said: so even default tp-npc didnt work? if you want to learn how to make any npc - found npc's with same functions(sale,tp,trade,appareals) and copy it with your conditions ***** Open resource/script/MisSdk/MissionSdk.lua ctrl+f "SetProfession then" and after "end" (and befotre next "elseif") paste this elseif actions[i].func == GoTo then PRINT( "ActionsProc:GoTo, p1 = , p2 = , p3 = ", actions[i].p1, actions[i].p2, actions[i].p3 ) local ret = GoTo( character, actions[i].p1, actions[i].p2, actions[i].p3 ) PRINT( "Goto: ret = ", ret ) if ret ~= LUA_TRUE then PRINT( "ActionsProc:GoTo Не удалось!" ) SystemNotice( character, "ActionsProc:GoTo Не удалось!" ) return LUA_FALSE end I hope it help you thx bro... already check it, the script you wrote is already in my MissionSdk.lua but it in disable state... so i'll try to enable it... hope it work... thx again Quote Share this post Link to post Share on other sites
V3ct0r 2,116 Report post Posted May 25, 2018 Hello, @opexone78! You probably use modified server files. For example, with antidupe protection for teleportation. Try to take clean server files and test your teleport script again. 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
opexone78 1 Report post Posted May 29, 2018 On 5/25/2018 at 8:26 PM, V3ct0r said: Hello, @opexone78! You probably use modified server files. For example, with antidupe protection for teleportation. Try to take clean server files and test your teleport script again. thx boss for the advise Quote Share this post Link to post Share on other sites