Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server
You last visited: Today at 23:57

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

Advertisement



Map_warp.quest Problem

Discussion on Map_warp.quest Problem within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2009
Posts: 962
Received Thanks: 96
Map_warp.quest Problem

Hallo immer wenn ich auf "weiter" gehe teleportiert er mich automatisch zum Feuerland anstatt zur nächsten seite zu gehn komme nicht weiter-.-

Quest:
PHP Code:
quest map_warp begin
    state start begin
        when 9012.chat
."Teleportieren" begin
            
-- Variablen Start
            local map 
pc.get_map_index()
            
local empire pc.get_empire()
            
local level pc.get_level()
            
local cost math.floor(level 5) * 1000
            local guild_map_names 
= {"Jungrang","Waryong","Imha",}
            
guild_map_name guild_map_names[empire]
            
local empire_castle={"Rote Burg","Gelbe Burg","Blaue Burg",}
            
empire_castle empire_castle[empire]
            
local warp = {
                -- 
guild_map
                    
{
                        { 
1285001000 },
                        { 
1795001000 },
                        { 
27180013000 },
                    },
                -- 
64 map_n_threeway
                    
{
                        { 
402100673900 },
                        { 
270400739900 },
                        { 
321300808000 },
                    },
                -- 
63 metin2_map_n_desert_01
                    
{
                        { 
217800627200 },
                        { 
221900502700 },
                        { 
344000502500 },
                    },
                -- 
61 map_n_snowm_01
                    
{
                        { 
434200290600 },
                        { 
375200174900 },
                        { 
491800173600 },
                    },
                --
empire_castle
                    
--{
                    --    { 
975200133000 },
                    --    { 
977200185000 },
                    --    { 
923900183600 },
                    --} ,
                -- 
62 metin2_map_n_flame_01
                    
{
                        { 
599400756300 },
                        { 
597800622200 },
                        { 
730700689800 },
                    },
                -- 
devil_tower
                    
{
                        { 
590500110500 },
                        { 
590500110500 },
                        { 
590500110500 },
                    },
                -- 
red_forest
                    
{
                        { 
111990070800 },
                        { 
111990070800 },
                        { 
111990070800 },
                    },
                --
tempel
                    
{
                        { 
553600143600 },
                        { 
553600143600 },
                        { 
553600143600 },
                    },
                -- 
spider
                    
{
                        { 
85000525000 },
                        { 
85000525000 },
                        { 
85000525000 },
                    },
                --
sd2
                    
{
                        { 
665600435200 },
                        { 
665600435200 },
                        { 
665600435200 },
                    },
                --
sd3
                    
{
                        { 
123456700123456700 },
                        { 
123456700123456700 },
                        { 
123456700123456700 },
                    },
            }
            
local sub_set 0
            
--Veriablen End
            say_title
("Teleportieren")
            if 
map == or map == or map == 21 or map == 23 or map == 41 or map == 43 then
                say
("Hier gibt es keine Starken Monster..")
                
say("Jedoch gibt es viele andere Regionen,")
                
say("in denen es viele, neue und starke")
                
say("Monster gibt..")
                
say("")
                
say_reward("Nungut, soll ich dich teleportieren?")
            else
                
say("Anscheinend sind die Monster zustark")
                
say("für dich..")
                
say("Oder du möchtest dir einfach neue Tränke kaufen..")
                
say("")
                
say_reward("Nungut, möchtest du zurück in die Stadt?")
            
end
            local s 
select("Teleportieren","Schließen")
            if 
== 2 then
                
return
            
end
            say_title
("Teleportieren")            
            if 
map == or map == or map == 21 or map == 23 or map == 41 or map == 43 then
                
if level 60 then
                    say
("Da dein Level noch sehr niedrig ist,")
                    
say("kannst du erst in einige Gebiete Reisen..")
                    
say_reward("Eine Reise kostet" ..cost.." Gold!")
                    
sub_set select(guild_map_name"Orktal","Wüste""Eisland","Abbrechen")
                    if 
sub_set == 5 then
                        
return
                    
end
                
else
                    
say("Da dein Level schon recht hoch ist,")
                    
say("kann ich dich auch auf neue Regionen")
                    
say("Teleportieren..")
                    
say_reward("Eine Reise kostet" ..cost.." Gold!")
                    
sub_set select(guild_map_name"Orktal""Wüste""Eisland","Weiter""Abbrechen")
                    if 
sub_set == 6 then
                        
return
                    
end
                    
if sub_set == 5 then
                        say_title
("Teleportieren")
                        
say("Dies sind die schweren Regionen..")
                        
say_reward("Eine Reise kostet" ..cost.." Gold!")
                        if 
is_test_server() then
                            sub_set 
select("Feuerland""Dämonenturm","Roter Wald""Tempel""Spinnendungeon""Spinnendungeon2""Spinnendungeon3""Abbrechen") + 4
                            
if sub_set == 14 then
                                
return
                            
end
                        end
                    end
                end
                
if pc.get_gold() < cost then
                    say_title
("Teleportiern")
                    
say_reward("Du hast zuwenig Gold!")
                    return
                
end
                pc
.changegold(-cost)
                
pc.warp(warp[sub_set][empire][1], warp[sub_set][empire][2])
            else
                if 
empire== 1 then    
                    sub_set3 
select("Yongan","Jayang""Abbrechen")
                    if 
sub_set3 == 1 then
                        
if pc.get_gold() < cost then
                            say_title
("Teleportiern")
                            
say_reward("Du hast zuwenig Gold!")
                            return
                        
end
                        pc
.changegold(-cost)
                        
pc.warp(474300,954800)
                    
end
                    
if sub_set3 == 2 then
                        
if pc.get_gold() < cost then
                            say_title
("Teleportiern")
                            
say_reward("Du hast zuwenig Gold!")
                            return
                        
end
                        pc
.changegold(-cost)
                        
pc.warp(353100,882900)
                    
end
                    
if sub_set3 == 3 then
                        
return
                    
end
                
elseif  empire == 2 then  
                    local sub_set3 
select("Joan","Bokjung""Abbrechen")
                    if 
sub_set3 == 1 then
                        
if pc.get_gold() < cost then
                            say_title
("Teleportiern")
                            
say_reward("Du hast zuwenig Gold!")
                            return
                        
end
                        pc
.changegold(-cost)
                        
pc.warp(63800,166400)
                    
end
                    
if sub_set3 == 2 then
                        
if pc.get_gold() < cost then
                            say_title
("Teleportiern")
                            
say_reward("Du hast zuwenig Gold!")
                            return
                        
end
                        pc
.changegold(-cost)
                        
pc.warp(145500,240000)
                    
end
                    
if sub_set3 == 3 then
                        
return
                    
end
                
elseif  empire == 3 then 
                    local sub_set3 
select("Pyungmoo","Bakra""Abbrechen")
                    if 
sub_set3 == 1 then
                        
if pc.get_gold() < cost then
                            say_title
("Teleportiern")
                            
say_reward("Du hast zuwenig Gold!")
                            return
                        
end
                        pc
.changegold(-cost)
                        
pc.warp(959900,269200)
                    
end
                    
if sub_set3 == 2 then
                        
if pc.get_gold() < cost then
                            say_title
("Teleportiern")
                            
say_reward("Du hast zuwenig Gold!")
                            return
                        
end
                        pc
.changegold(-cost)
                        
pc.warp(863900,246000)
                    
end
                    
if sub_set3 == 3 then
                        
return
                    
end
                end
            end
        end
    end
end 
lautlosertot is offline  
Reply


Similar Threads Similar Threads
Compile all quest without quest's files list // Kompilieren Sie alle Quest ohne Quest
07/17/2011 - Metin2 PServer Guides & Strategies - 3 Replies
ENGLISH Hello dear community, this is a very simple guide but at the same time useful. How to compile ALL quest in the folder "quest" without the files list in the file "locale_list"? Easy! Open the file "make" and replace the content of the file with this: for f in *.quest; do ./qc $f; done Oki. Now set the 0777 permission to the file. Finally open a SSH client and sign in. Write the command: cd /game_file_folder
Reupload~map_warp.quest
10/07/2010 - Metin2 Private Server - 2 Replies
Hey Leute ich wollte euch mal fragen ob einer mir euren map_warp.quest reuploaden kann oder einfach nur denn quest schicken
map_warp quest datei!!
07/29/2010 - Metin2 Private Server - 0 Replies
hey ich habe ein bitte kann mir jmd die map_warp.quest hier noch einmal hochladen habe die i wie ned mehr bzw proter geht ned mehr=( wer mir eine geben kann bekommt auch ein THX MfG
[Problem] Problem with server starting - cannot find quest index for PaxHeader
12/22/2009 - Metin2 Private Server - 1 Replies
Hello! I have this same problem as here when i'm starting my server: http://www.elitepvpers.com/forum/metin2-pserver-di scussions-questions/307143-metin2-serverfiles-ques t-index-fehler.html But I didn't know the answer.. how to repair this? Greetings



All times are GMT +2. The time now is 23:57.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.