Jump to content
×
×
  • Create New...
  • 0

Dungeon Quest problem


Padrio

Question

  • Moon

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

8 answers to this question

Recommended Posts

  • 0

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

  • 0

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:

unknown.png

Link to comment
Share on other sites

  • 0

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

  • 0

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.


  • Metin2 Dev Github
  • Activity

    1. 6

      Owsap Productions

    2. 11

      BUG SAFEBOX disappear stacks ..

    3. 2

      Error no member named SetcCreateTime in Citem

    4. 2

      Need some help with effect slot on pickup system

    5. 1

      GF Pet system "x" level / percent

    6. 1

      disable quest esc

    7. 2

      Navicat Premium 16.1.3 x64

    8. 2

      Join the Metin2 Dev team

    9. 2

      Error no member named SetcCreateTime in Citem

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.