Padrio 991 Posted February 7, 2014 Share Posted February 7, 2014 (edited) Hey Guys, actually im writing a quest for my dungeon and i have some problems.. by trying to teleport using "d.new_jump()" to teleport a player on the map. My Quest: quest flammen_dungeon begin state start begin when 20170.chat."Flammen Dungeon betreten" with pc.get_level() >= 75 begin game.set_event_flag("dungeon_bussy", 0) -- DONT FORGET TO REMOVE THIS!! if pc.count_item(299) == 0 then -- Dont forget to change the vnum say_title("Flammen Dungeon") say("Du brauchst ein Dungeon-Ticket") say("um das Dungeon betreten zu können") say_item_vnum(299) return end if game.get_event_flag("dungeon_bussy") == 1 then chat("Aktuell befindet sich ein Spieler im Dungeon, versuch es später noch einmal.") return end game.set_event_flag("dungeon_bussy", 1) pc.remove_item(299) -- Dont forget to change this line! -- pc.warp(371800, 0) d.new_jump(60, 0, 0) end when 20170.click with pc.get_level() < 75 begin say_title("Flammen Dungeon") say("Tut mir leid, aber du musst") say("mindestens level 75 sein") say("um dieses Dungeon betreten") say("zu können.") end when logout with pc.get_map_index() == 401 begin pc.warp(481900, 0) game.set_event_flag("dungeon_bussy", 0) end when login with pc.get_map_index() == 401 begin notice_in_map("Du hast nun 30 Minuten Zeit alle Monster zu töten.") d.regen_file("data/dungeon/element_dungeons/fire_regen.txt") pc.aggregate_monster() timer('kill_wave1', 30*60) end when kill_wave1.timer begin notice_in_map("Deine Zeit ist nun abgelaufen!") timer("port_back", 6) end when port_back.timer begin game.set_event_flag("dungeon_bussy", 0) pc.warp(481900, 0) end end end I´ve allready tried the coordinates from the town.txt and the settings.txt. My error: https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif I hope you can understand me and my problem Greets, Padrio Edited August 18, 2022 by Metin2 Dev Core X - External 2 Internal 3 Link to comment Share on other sites More sharing options...
Pepineitor 70 Posted February 7, 2014 Share Posted February 7, 2014 The dungeon map need to be in the same core of the acces map, if you use a 2089 game I think you need to fix the function http://www.inforge.net/community/metin2-howto-addon-server-privati/257762-fix-d-new_jump-funzionante-per-dungeon-singoli.html Kind regards. Edit: I just saw your image Put X and Y cord of your map :|, to know it can you go to the map and do this command pc.warp(your_name)And now you can saw the cords. Link to comment Share on other sites More sharing options...
Developer PACI 930 Posted February 7, 2014 Developer Share Posted February 7, 2014 To start a dungeon you should use d.join(mapindex) or a d.new_jump_all(mapindex, x, y)(in this case, this function would teleport all players in that core). Take also a look to what Pepineitor said. when you return 0 and server doesn't boot: Link to comment Share on other sites More sharing options...
deadman 33 Posted February 7, 2014 Share Posted February 7, 2014 d.new_jump_party for teleport a party ppl Link to comment Share on other sites More sharing options...
Padrio 991 Posted February 7, 2014 Author Share Posted February 7, 2014 Thank you guys, im now using "d.join" and it works now. Link to comment Share on other sites More sharing options...
Rumor 2623 Posted February 7, 2014 Share Posted February 7, 2014 moved to questions Link to comment Share on other sites More sharing options...
ProfessorEnte 411 Posted February 10, 2014 Share Posted February 10, 2014 By the way, the d.new_jump() function is a lil bit messed up in the game 2089. You try to join the mapindex 0, because the parameters of the function in the game are in the wrong order. Here you can find a fix:http://www.elitepvpers.com/forum/metin2-pserver-guides-strategies/1823057-fix-d-new_jump-single-player-dungeons.html Link to comment Share on other sites More sharing options...
Adam1519 2 Posted July 27, 2014 Share Posted July 27, 2014 d.new_jump_party() works on game rev 34083? Sorry for mining Link to comment Share on other sites More sharing options...
callmax 229 Posted July 27, 2014 Share Posted July 27, 2014 By the way, the d.new_jump() function is a lil bit messed up in the game 2089. You try to join the mapindex 0, because the parameters of the function in the game are in the wrong order. Here you can find a fix: http://www.elitepvpers.com/forum/metin2-pserver-guides-strategies/1823057-fix-d-new_jump-single-player-dungeons.html this will creates a bug , the dungeon wouldnt have an unique mapindex, so if a player starts the dungeon and a other player also starts the dungeon, he will join to the other. d.new_jump_party works on 34k, yes Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now