Jump to content

Dungeon Quest problem


Recommended Posts

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 :D

 

Greets,

Padrio

 

 

Edited by Metin2 Dev
Core X - External 2 Internal
  • Love 3
Link to comment
Share on other sites

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

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

  • 5 months later...

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.