saa0d 2 Report post Posted August 12, 2017 Hello guys, so I found out on my server that multiple teleporter npcs aren't working. They are similar in type. The Teleporters not working I found are: blackdragon lair tele, abbaddon tele, abbadon warden tele, goddess's teleportation function. I checked the server files and nothing seems wrong. I also tried replacing the whole tele function from clean files and didn't work either. What I figured is that any function in the lua files that uses "GoTo" doesn't work. For example: local CurMapName = "jialebi" local GoTo01X = 70 local GoTo01Y = 952 local GoTo01M = CurMapName local GoTo02X = 690 local GoTo02Y = 1043 local GoTo02M = CurMapName InitTrigger() TriggerCondition(1,HasMoney,5000) TriggerAction(1,TakeMoney,5000) TriggerAction( 1, GoTo, GoTo01X, GoTo01Y, GoTo01M ) TriggerFailure( 1, JumpPage, 4 ) Talk( 2, "Go to Abaddon 3?" ) Text( 2, "Yes! Go to Abaddon 3!", MultiTrigger, GetMultiTrigger(), 1 ) I tried replacing GoTo with Move or ChaMove but no luck. Any help please? Thanks Quote Share this post Link to post Share on other sites
Onioni 58 Report post Posted August 13, 2017 (edited) 7 hours ago, saa0d said: function abb3_talk() Talk( 1, "Go to Abaddon 3?" ) InitTrigger() TriggerAction( 1, GoTo, 690, 1043, "jialebi" ) Text( 1, "Yes! Go to Abaddon 3!", MultiTrigger, GetMultiTrigger(), 1 ) end --or you can use this TriggerAction( 1, MoveCity, "Abaddon 3" ) --add in birth_conf.lua AddBirthPoint("Abaddon 3", "jialebi", 690, 1043) you want something like this? Edited August 13, 2017 by Onioni Quote Download: Nightmare Demonic Helm Dimension Pirates Online files: get now New map Project: Flag PK Black Skin 3.1.3 for pko 1: Get now Share this post Link to post Share on other sites
saa0d 2 Report post Posted August 13, 2017 3 hours ago, Onioni said: No, I want to fix the problem. I don't know why any npc that uses GoTo doesn't work. What is the reason?! I don't want to move city, I just want to move the char in the same map and GoTo doesn't work Quote Share this post Link to post Share on other sites
saa0d 2 Report post Posted August 15, 2017 (edited) any help, anyone? @KONG @V3ct0r @J0k3r Edited August 15, 2017 by saa0d Quote Share this post Link to post Share on other sites
MonkeyCode 453 Report post Posted August 15, 2017 Hello. I believe I must pm you later on skype. Please give me some moment. regarding your problem, in the past many server files use hooks to do some teleportation delay with goto and movecity. i believe that your issue is because of that. Try to look into the missdk/*sdk.lua files, and search GoTo. I believe you will see slight changes from that of a clean file. Quote Share this post Link to post Share on other sites
saa0d 2 Report post Posted August 16, 2017 (edited) On 8/15/2017 at 4:14 PM, KONG said: Hello. I believe I must pm you later on skype. Please give me some moment. regarding your problem, in the past many server files use hooks to do some teleportation delay with goto and movecity. i believe that your issue is because of that. Try to look into the missdk/*sdk.lua files, and search GoTo. I believe you will see slight changes from that of a clean file. Thanks for guiding, I found some commented code in the missionsdk which was the goto function. P.S: I'm still waiting for u at skype... Edited August 16, 2017 by saa0d Quote Share this post Link to post Share on other sites