Register for your free account! | Forgot your password?

You last visited: Today at 16:03

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



party warp

Discussion on party warp within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2012
Posts: 17
Received Thanks: 0
party warp

Hello, I'm looking for function which warps all members in a party.Do you know how to warp all members in a party to an other map?Could you help me please?Thx
Burbank is offline  
Old 05/21/2014, 21:29   #2

 
elite*gold: 0
Join Date: Dec 2008
Posts: 2,825
Received Thanks: 1,538
Quote:
d.new_jump_party
dunno if it works with 34k or below
would be nice if u post a feedback

btw:
both maps need to be on same core
.Colossus. is offline  
Old 05/22/2014, 15:07   #3
 
elite*gold: 0
Join Date: Mar 2012
Posts: 17
Received Thanks: 0
I tried it but without any success.Anyone with other idea please?
Burbank is offline  
Old 05/22/2014, 17:02   #4

 
elite*gold: 0
Join Date: Dec 2008
Posts: 2,825
Received Thanks: 1,538
Quote:
Originally Posted by Burbank View Post
I tried it but without any success.Anyone with other idea please?
which game do you use?
.Colossus. is offline  
Old 05/22/2014, 17:16   #5
 
elite*gold: 39
Join Date: Jun 2009
Posts: 500
Received Thanks: 212
Well maybe you should give him also the syntax of this function and say, that this function creates a new dungeon (they are on a "own" map then).
Syntax: d.new_jump_party(mapIndex, x, y)
if in your syserr is no error comming, the function exists and should work.

Kind Regards
.HC'Destrox is offline  
Old 05/22/2014, 17:45   #6
 
elite*gold: 0
Join Date: Mar 2012
Posts: 17
Received Thanks: 0
I wanna make devil's catacomb for party (When a leader of group warps to catacomb then members of group warp to him ) but when I use functions like d.new_jump, d.join, etc. then devil's catacomb don't work.

My quest:

PHP Code:
quest devilscave begin
    state start begin
--Konfiguration   
        when 20351.chat
."DC Configuration!" with game.get_event_flag("block_dc_config") == and pc.is_gm begin
            game
.set_event_flag("dc_is_ok",1)
            
game.set_event_flag("block_dc_config",1)
            
game.set_event_flag("dc_versuche",1)
        
end  
        when 20351.chat
." Katakomby " with game.get_event_flag("dc_is_ok") == and pc.getqf("can_in_dc") == 0 begin
            
if pc.get_level() < 120 then 
                say_title
(" Do katakomb ")
                
say("")
                
say_reward(" Je mi líto, ale tato oblast je pro tebe příliš nebezpečná. ")
                
say("")
            
end
            
if party.is_party() then
                
if party.is_leader() then
                    say
(" Vidím, že jste opravdu odvážní a nebojácní. ")
                    
say(" V Katakombách to není nic jednoduchého a nemusíte ")
                    
say(" se už vrátit. Chcete i přes toto riziko vstoupit? ")
                    
pc.setqf("Ebene"1)
                    
local dc_login select(" Vstoupit "" Zpět ")
                    if 
dc_login == 1 then
                        pc
.warp(4152004209200)
WARP PARTY FUNCTION
                    elseif 
dc_login == 2 then
                        
return
                    
end
                
else
                    
say(" Pouze vůdce skupiny může zahájit teleport do Katakomb. ")
                
end
            
else
                
say(" Bez skupiny to nepůjde. ")
            
end
        end            
--Ebene 1        

        
        when login with pc
.get_map_index() == 76 begin
            game
.set_event_flag(("dcgamer"), game.get_event_flag("dcgamer")+1)
            
game.set_event_flag(("dc_versuche"), game.get_event_flag("dc_versuche")+1)
            if 
pc.getqf("Ebene") == 1 then
                say_title
("Katakomby"
                
say(" Pro vstup do dalšího patra potřebujete "
                
say_item("Klíč krystalu duše"30311"") --Die "--" vor say_item entfernen wenn beim Login text das Item als Bild angezeigt werden soll das man braucht 
                say
(" Na celé katakomby máte 90 minut! "
                
say(""
                
say_reward(" Hodně štěstí! "
                
say("")
                
timer("dc10"600)
                
pc.setqf("sksgedroppt"0)
            else
                
warp_all_to_village()
            
end
        end
        
        when login with pc
.get_map_index() == 76 begin
            
if party.is_party() then
            
else
                
warp_all_to_villagepc.get_map_index() , )
            
end
        end
        
        when kill with not npc
.is_pc() and pc.get_map_index() == 76 begin 
            local sks 
number(1,15)
            if 
sks==and pc.getqf("sksgedroppt")==0 then
                pc
.setqf("sksgedroppt"1)
                
chat(" Seber klíč krystalu duše, který Ti vypadl a přesuň ho na sochu kud! "
                
game.drop_item(303111)
            else
                
chat(" Toto monstrum nemá klíč krystalu duše. "
            
end
        end
        when 30101.take with item
.vnum == 30311 begin
            chat
(" Budete teleportováni do 2. patra! ")
            
pc.remove_item("30311")
            
d.new_jump_all(76463242082)
            
d.regen_file("data/dungeon/devilcave/dc_regen_ebene2.txt")
            
d.regen_file("data/dungeon/devilcave/dc_regen_tore_unten.txt")
            
d.regen_file("data/dungeon/devilcave/dc_regen_tore_left.txt")
            
d.spawn_mob(30103741221)
            
d.setf("Ebene"2)
        
end    
        
        when login with pc
.in_dungeon() begin
            
if d.getf("Ebene") == 2 then
            chat
(" Nacházíte se ve 2. patře. Najdite teleportační kámen. ")
            
chat(" Máte na to 10 minut.")
            
timer("dc1"600)
        
end
            
if d.getf("Ebene") == 3 then
            chat
(" Najdite a zničte správný metin! ")
            
chat(" Máte na to 20 minut. ")
            
timer("dc2"1200)
        
end
            
if d.getf("Ebene") == 4 then
            chat
(" Najdite správnou cestu z labiryntu a najdite památník, ")
            
chat(" který vás teleportuje do dalšího patra. ")
            
chat(" Máš na to 15 minut. ")
            
timer("dc3"900)
            
d.spawn_mob(30104500800)
            
d.spawn_mob(10800328779)
            
d.spawn_mob(1080170672)
            
d.spawn_mob(10802142865)
            
d.spawn_mob(10803433935)
            
d.spawn_mob(10804243854)
            
d.spawn_mob(10805182667)
        
end
            
if d.getf("Ebene") == 5 then
            chat
(" Musíte najít a zabít Tartarose, který se na tého mapě nachází pouze "
            
chat(" jeden, ze kterého vám padne Šklebící se totem a ten musíte odevzdat obelisku. ")
            
chat(" Máš na to 15 minut. "
            
timer("dc4"900)
            
d.spawn_mob(30104500800)
        
end
            
if d.getf("Ebene") == 6 then
            chat
(" Musíte najít a zabít Charona! ")
            
chat(" Máte na to 15 minut! ")
            
timer("dc5"900)
            
d.spawn_mob(30104500800)
        
end
            
if d.getf("Ebene") == 7 then
            chat
(" Nejprve zabijte všechny příšery nacházející se v místnosti. ")
            
chat(" Následně zabijte samotného Azraela. ")
            
chat(" Máte na to 15 minut! "
            
timer("dc6"900)
            
d.spawn_mob(30104500800)
        
end
        end
        
        
        when dc1
.timer begin
            chat
(" Čas vypršel, budete teleportováni pryč! ")
            
warp_all_to_villagepc.get_map_index() , )
        
end     


        when dc10
.timer begin
            chat
(" Zbývá vám 80 minut k nalezení a zabití Azraela! ")
            
timer("dc20"600)
        
end
        
        when dc20
.timer begin
            chat
(" Zbývá vám 70 minut! ")
            
timer("dc30"600)
        
end    
        when dc30
.timer begin
            chat
(" Zbývá vám 60 minut! ")
            
timer("dc40"600)
        
end        
        when dc40
.timer begin
            chat
(" Zbývá vám 50 minut! ")
            
timer("dc50"600)
        
end        
        when dc50
.timer begin
            chat
(" Zbývá vám 40 minut! ")
            
timer("dc60"600)
        
end        
        when dc60
.timer begin
            chat
(" Zbývá vám 30 minut! ")
            
timer("dc70"600)
        
end        
        when dc70
.timer begin
            chat
(" Zbývá vám 20 minut! ")
            
timer("dc80"600)
        
end        
        when dc80
.timer begin
            chat
(" Zbývá vám 10 minut! ")
            
timer("dc110"600)
        
end
        when dc110
.timer begin
            chat
(" Čas vypršel, budete teleportováni pryč! ")
            
warp_all_to_villagepc.get_map_index() , )
        
end                     
--Ebene 2
        when 30103.chat
." Do 3. patra " begin
            npc
.purge()
            
say_reward(" Teleport ")
            
say(" Vidím, že jste to zvládli a jste na živu. ")
            
say(" Teleportuji vás do dalšího patra. ")
            
wait()
            
d.new_jump_all(76542742282)
            
d.setf("Ebene"3)
            
d.regen_file("data/dungeon/devilcave/dc_regen_ebene3.txt")
            
local metindv number(1,4)
            if 
metindv==1 then
                d
.spawn_mob(80291351348)
                
d.spawn_mob(80291148350)
                
d.spawn_mob(80291151155)
                
d.spawn_mob(80281351149)
            
end
            
if metindv==2 then
                d
.spawn_mob(80291351348)
                
d.spawn_mob(80291148350)
                
d.spawn_mob(80281151155)
                
d.spawn_mob(80291351149)
            
end
            
if metindv==3 then
                d
.spawn_mob(80291351348)
                
d.spawn_mob(80281148350)
                
d.spawn_mob(80291151155)
                
d.spawn_mob(80291351149)
            
end
            
if metindv==4 then
                d
.spawn_mob(80281351348)
                
d.spawn_mob(80291148350)
                
d.spawn_mob(80291151155)
                
d.spawn_mob(80291351149
            
end
        
        end
        
        when 8029.kill with pc
.in_dungeon() begin
            chat
(" Zničili jste špatný metin! ")
        
end
        when 8028.kill with pc
.in_dungeon() begin
            chat
(" Zničili jste správný metin! ")
            
chat(" Budete teleportováni do dalšího patra! ")
            
timer("devils_catacomb_goto_ebene4"2)
        
end    
        when dc2
.timer begin
            chat
(" Čas vypršel, budete teleportováni pryč! ")
            
warp_all_to_villagepc.get_map_index() , )
        
end    

        
--Ebene 4 (Labyrinth)
        
when devils_catacomb_goto_ebene4.timer begin
            d
.new_jump_all(76414342657)
            
d.setf("Ebene"4)
        
end
        
        when 30104.chat
." Psaní " with pc.in_dungeon() begin
            say_title
(" Psaní ")
            
timer("dc3"6000)
            
chat(" Našli jste správnou cestu, teleportuji vás. ")
            
timer("devils_catacomb_goto_ebene5"5)
        
end
        when dc3
.timer begin
            chat
(" Čas vypršel, butete teleportování pryč! ")
            
warp_all_to_villagepc.get_map_index() , )
        
end    
--Ebene 6 (Tartaros)
        
when devils_catacomb_goto_ebene5.timer begin
            d
.new_jump_all(76491742925)
            
d.spawn_mob(30102848739)
            
d.setf("Ebene"5)
            
d.regen_file("data/dungeon/devilcave/dc_regen_ebene5.txt")
            
local tartaros number(1,4)
            if 
tartaros==1 then
                d
.spawn_mob(2593991848)
            
end
            
if tartaros==2 then
                d
.spawn_mob(2593999652)
            
end
            
if tartaros==3 then
                d
.spawn_mob(2593848577)
            
end
            
if tartaros==4 then
                d
.spawn_mob(2593703644)
            
end
            
if tartaros==5 then
                d
.spawn_mob(2593692817)
            
end
        end        
        
        when 2593.kill with pc
.in_dungeon() begin
            chat
(" Tartatos byl zabit.Doneste totem k obelisku. ")
            
game.drop_item(303121)
        
end    
        when 30102.take with item
.vnum == 30312 begin
            timer
("dc4"6000)
            
item.remove()
            
npc.purge()
            
say_reward("...")
            
chat(" Budete teleportování do dalšího patra! ")
            
timer("devils_catacomb_goto_ebene6"5)
        
end
        when dc4
.timer begin
            chat
(" Čas vypršel, budete teleportování pryč! ")
            
warp_all_to_villagepc.get_map_index() , )
        
end    
--Ebene 7 (Charon)
        
when devils_catacomb_goto_ebene6.timer begin
            d
.new_jump_all(76542242782)
            
d.setf("Ebene"6)
            
d.regen_file("data/dungeon/devilcave/dc_regen_ebene6.txt")
        
end
        
        when 2597.kill with pc
.in_dungeon() begin
            timer
("dc5"6000)
            
d.kill_all()
            
chat(" Podařilo se vm zabít Charona, přesunu vás do dalšího patra! ")
            
timer("devils_catacomb_goto_ebene7"10)
        
end
        when dc5
.timer begin
            chat
(" Čas vypršel, budete teleportování pryč! ")
            
warp_all_to_villagepc.get_map_index() , )
        
end    
--Ebene 8 (Azrael)
        
when devils_catacomb_goto_ebene7.timer begin
             d
.new_jump_all(76414743191)
            
d.setf("Ebene"7)
            
d.regen_file("data/dungeon/devilcave/dc_regen_ebene7.txt")
        
end
    
        when 2598.kill with pc
.in_dungeon() begin
            game
.set_event_flag(("dc_geschaft"), game.get_event_flag("dc_geschaft")+1)
            
local level pc.get_level()            
            
chat(" Podařilo se vám porazit krále pekla Azraela.Čeká vás bohatá odměna! ")
            
chat(" Za 3 minuty budou všichni teleportování pryč. ")
            
d.kill_all()
            
d.kill_all()
            
notice_all(" Skupina hráče "..pc.get_name().." zabila Azraela! ")
            
timer("goout_from_dc"180)
            
d.spawn_mob(9012741159)    
        
end
        
        when dc6
.timer begin
            chat
(" Čas vypršel, budete teleportování pryč! ")
            
warp_all_to_villagepc.get_map_index() , )
            
end
        when goout_from_dc
.timer begin
            warp_all_to_village
pc.get_map_index() , )
            
end
    end
end 
Burbank is offline  
Old 05/22/2014, 18:05   #7

 
elite*gold: 0
Join Date: Dec 2008
Posts: 2,825
Received Thanks: 1,538
You must replace
Quote:
d.new_jump_all(76, 4632, 42082)
with
Quote:
d.new_jump_party(76, 4632, 42082)
and can you tell me which game do you use?
.Colossus. is offline  
Old 05/22/2014, 19:17   #8
 
elite*gold: 0
Join Date: Mar 2012
Posts: 17
Received Thanks: 0
d.new_jump_party doesn't working.I'm using r2089M
Burbank is offline  
Old 05/22/2014, 19:26   #9

 
elite*gold: 0
Join Date: Dec 2008
Posts: 2,825
Received Thanks: 1,538
Quote:
Originally Posted by Burbank View Post
d.new_jump_party doesn't working.I'm using r2089M
yep then u need 34k+
.Colossus. is offline  
Old 05/22/2014, 20:04   #10
 
elite*gold: 0
Join Date: Mar 2012
Posts: 17
Received Thanks: 0
Is there another possibility?Could you write such the function?
Burbank is offline  
Old 05/23/2014, 07:38   #11
 
elite*gold: 39
Join Date: Jun 2009
Posts: 500
Received Thanks: 212
No i don't think this is possible with only quest. You would've had to write a lib or dif but this would be an amazing expenditure for a "unnecessary" function - because it's already exists in newer game-cores.
Why you don't like to use the 34k? I don't think there are much changes that will change the game and create bugs or sth like this.

Kind Regards
.HC'Destrox is offline  
Reply

Tags
quest;party;warp;lua


Similar Threads Similar Threads
[QUEST FUNCTION] party.warp()
06/15/2016 - Metin2 Private Server - 2 Replies
Hi I'm looking for this function: party.warp() Does anyone know the solution: How to warp all members in a party to an other map? I found this topic: http://www.elitepvpers.com/forum/metin2-pserver-g uides-strategies/1423499-special-team_warp-quest-n d-metin2-sweet-time-quests-icons-news.html But it has been deleted by the author.
Party warp - possible?
01/27/2013 - Metin2 Private Server - 0 Replies
Hello! I would like to know what the Function of equipment will help me make teleport for the whole group. What I mean is that if a leader is teleported by the quest for example and the rest of the group to join him. Game2089 :) Thank you and best regards!
Suche / Searching Silkroad Party Reformer / Auto Party script / tool
11/18/2009 - Silkroad Online - 4 Replies
Schönen Guten Tag :) Kennt Jemand von euch ein Party Reform script für silkroad online? am besten wäre eine funktion wie beim Agbot (Revbot), die auch weiter läuft, wenn silkroad minimiert ist. freue mich auf eure Antworten :rolleyes:



All times are GMT +1. The time now is 16:04.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.