Jump to content

Recommended Posts

Hello guys im writing a dungeon but im stuck at calling function d.notice.

In this case the function works 

		when kill with npc.get_race() == 8129 begin

		notice(legios._notice_dungeon_) -- says 5 sec until teleport
		        timer("legios_orc_run_timer", 5)

But here when i am lately calling this function it does not appear also i am running test server and it doesnt show me any error. ( tried only notice, didnt work )

		when legios_orc_run_timer.timer with pc.get_map_index() == 4 begin
		d.new_jump_all(4, 1378, 66)
		d.regen_file("data/dungeon/legios_orc_run/legios_first_floor.txt")
		d.notice(legios._notice_dungeon_first_)


Can someone explain me how does it work and why it doesnt appear? Regens etc are working properly.

Link to comment
https://metin2.dev/topic/21460-dungeon-call-function-dnotice-notice/
Share on other sites

  • Premium

1 - when 8129.kill with pc.get_map_index() == 4 begin

2 - d.notice("") or notice_all("")

3 - char timer for a dungeon? Use server_timer

4 - end of the when?

5 - indentation u know?

6 - much more to say...

 

Post the quest

  • Love 1
  • Active Member

You should't use d.new_jump_party and d.notice in the same timer. Rather move d.notice to login state because it might happen you will not see it since you are still in client's login phase. 

  • Love 1

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • 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.