Register for your free account! | Forgot your password?

You last visited: Today at 14:33

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

Advertisement



Teleport-Script?

Discussion on Teleport-Script? within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
Drache1234's Avatar
 
elite*gold: 0
Join Date: Jul 2010
Posts: 188
Received Thanks: 28
Teleport-Script?

Hallo,

Ich habe versucht das Teleport script sozuändern das ich mich zu einer neuen Map teleportieren kann aber es werden immernoch die gleichen Maps wie vorher beim teleporter angezeigt...
Habe in VPC make.sh ausgeführt und IG /reload q eingegeben!


PHP Code:
----------------------------------------------
--
Dateimap_warp.quest
--By Payla$ici
----------------------------------------------
quest map_warp begin
    state start begin
        when 9012.chat
."Möchtest du reisen?"  begin
            say_title
("Teleporter:")
            
say("Dies ist eine faszinierende Gegend. Aber")
            
say("passiert hier denn auch mal etwas")
            
say("Außergewöhnliches? Eher wohl nicht. In anderen")
            
say("Teilen des Landes sieht es mitunter ganz anders.")
            
say("aus! Es gibt daher sicher einen intressanten")
            
say("Ort, an den ich dich teleportieren könnte. Da")
            
say("jedoch die Kräfte des Bösen wieder stärker")
            
say("geworden sind, wurden Raum und Zeit ins Chaos")
            
say("gestürzt. Dadurch kann es passieren, dass deine")
            
say("Rückkehr nicht immer augenblicklich funktioniert.")
            
say("Möchtest du dennoch teleportiert werden?")

            
local main_set select("Ja","Nein")
            if 
main_set == 2 then
                
return
            
end
            
            
if pc.get_level() <= 10 then
                say_title
("Teleporter:")
                
say("Hm… Mit deinem derzeitigen Level bist du noch")
                
say("zu schwach für die Reise durch Zeit und Raum.")
                
say("Komm wieder, wenn du höher als Level 10 bist.")
                return
            
end

            local map 
pc.get_map_index()
            
local empire pc.get_empire()
            
local level pc.get_level()
            
local cost math.floor(level 5) * 1000

            
-- ?? ????
            if 
cost 1000 then
                cost 
1000
            end

            say_title
("Teleporter:")
            
say("Wohin möchtest du teleportiert werden?")
            
say_reward(string.format("Das kostet dich %d Yang."cost))

            -- ?? ?? ???? ?? ?? (? ?? 
1,??)
            if 
map == or map == or map == 21 or map == 23 or map == 41 or map == 43 then

                local guild_map_names 
= {
                    
"Gildenzone",
                    
"Gildenzone",
                    
"Gildenzone",
                }

                
guild_map_name guild_map_names[empire]
                
local empire_castle={
                    
"Burgschlacht",
                    
"Burgschlacht",
                    
"Burgschlacht",
                }
                
empire_castle =empire_castle[empire]
                
local sub_set 0
                
if level 60 then -- 60?? : ?????, ???, ????, ???
                    
sub_set select(guild_map_name"Tal von Seungryong""Yongbi-Wüste""Berg Sohan"empire_castle,"Andere Gebiete")
                    if 
sub_set == 6 then -- ??
                        return
                    
end

                
else -- 61?? : ????, ???, ????, ????
                    
sub_set select(guild_map_name"Tal von Seungryong""Yongbi-Wüste""Berg Sohan",  empire_castle,"Andere Gebiete")
                    if 
sub_set == 6 then -- ??
                        
say_title("Teleporter:")
                        
say("Wohin möchtest du teleportiert werden?")
                        
say_reward(string.format("Das kostet dich %d Yang."cost))
                        
sub_set select("Doyyumhwaji""Dämonenturm""Insel-map""Zurück""Abbrechen") + 5
                        
if sub_set == 9 then -- ??
                            return
                        
end
                        
if sub_set == 8 then -- ??
                            
say_title("Teleporter:")
                            
say("Wohin möchtest du teleportiert werden?")
                                                 ---                                                   
l
                            say_reward
(string.format("Das kostet dich %d Yang."cost))
                            
sub_set select(guild_map_name"Tal von Seungryong""Yongbi-Wüste""Berg Sohan",  empire_castle,"Andere Gebiete")
                            if 
sub_set == 6 then -- ??
                                
say_title("Teleporter:")
                                
say("Wohin möchtest du teleportiert werden?")
                                
say_reward(string.format("Das kostet dich %d Yang."cost))
                                
sub_set select("Doyyumhwaji""Dämonenturm""Insel-map""Abbrechen") + 5
                                
if sub_set == 8 then -- ??
                                    return
                                
end
                            end
                        end
                    end
                end

                
if pc.gold cost then
                    say
("Du hast nicht genug Geld,")
                    
say_title("Teleporter:")
                    
say("Ich würde dich auch kostenlos teleportieren,")
                    
say("aber ich habe eine große Familie. Um sie zu")
                    
say("ernähren, muss ich Geld verdienen.")
                    
say_reward(string.format("Es kostet %d Yang."cost))
                    return
                
end

                pc
.changegold(-cost)

                
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 },
                    },
                    -- 
metin2_map_insel
                    
{
                        { 
444400444400 },
                        { 
444400444400 },
                        { 
444400444400 },
                    },
                }
                
test_chat(warp[sub_set][empire][1]..warp[sub_set][empire][2])
                
say_title("Teleporter:")
                
say("Achtung, ich teleportiere dich jetzt. Du wirst")
                
say("an einem gefährlichen Ort landen, also pass auf")
                
say("dich auf. Viel Glück!")
                
wait()
                
pc.warp(warp[sub_set][empire][1], warp[sub_set][empire][2])
            

            else -- ? ?? 
1,? ??? ?????? ? ?? 1,? ??? ?? ??    
                
local sub_set2 3

                
--sub_set2 select(locale.vileage1_name[empire], locale.vileage2_name[empire], locale.cancel)
                if 
empire==1 then    
                    sub_set2 
select("Yongan","Jayang" locale.cancel)
                elseif  
empire ==2 then  
                    sub_set2 
select("Joan","Bokjung" locale.cancel)
                elseif  
empire ==3 then 
                    sub_set2 
select("Pyungmoo","Bakra" locale.cancel)
                
end    
                
if sub_set2 != 3 then
                    
if pc.gold cost then
                        say_title
("Teleporter:")
                        
say("Ich würde dich auch umsonst teleportieren,")
                        
say("aber ich habe eine große Familie. Um sie zu")
                        
say("ernähren, muss ich Geld verdienen.")
                        
say_reward(string.format("Es kostet %d Yang."cost))
                    else
                        if 
sub_set2 == 1 then
                            say_title
("Teleporter:")
                            
say("Ich teleportiere dich dorthin.")
                            
wait()

                            if 
empire == 1 then
                                pc
.warp(474300,954800)
                            elseif 
empire == 2 then
                                pc
.warp(63800,166400)
                            elseif 
empire == 3 then
                                pc
.warp(959900,269200)
                            
end    
                        
elseif sub_set2 == 2 then
                            say_title
("Teleporter:")
                            
say("Ich teleportiere dich dorthin.")

                            
wait()
                            if 
empire == 1 then
                                pc
.warp(353100,882900)
                            elseif 
empire == 2 then
                                pc
.warp(145500,240000)
                            elseif 
empire == 3 then
                                pc
.warp(863900,246000)
                            
end    
                        end

                        pc
.changegold(-cost)
                    
end
                end
            end
        end 
-- end_of_chat
     end 
-- end_of_state
end 
-- end_of_quest 
Bitte helft mir ich weiß nicht was ich umändern soll =(
Drache1234 is offline  
Reply


Similar Threads Similar Threads
[Request] Metin2 Teleport Script -PHP or ASP
03/06/2010 - Metin2 Private Server - 3 Replies
Hi I need Teleport Script For PHP or ASP Please Help Me..
Teleport script fix and work
01/03/2010 - Lin2 Exploits, Hacks, Bots, Tools & Macros - 7 Replies
Scrift your ingame Nick where I will instead Rome0 (Nick Character) Target u char name and all chat l2 code and u teleport on location pvz .baium or .antharas or t.t script working short distance pvz need teleport during gk Toi 14 floor baium door and send code .baium then u char teleport by baium and off phx received error click on ok and go while appear view. Teleport all raid bos no qwest need test l2 c6 server and work :) Code:
how to script through ferry teleport
07/01/2009 - Silkroad Online - 6 Replies
example i need to go from hotan to roc mountain i have no idea what i need to fill in the script to make him teleport(in the ferry ofc) any one? i mean agbot script
teleport script
10/19/2008 - SRO Private Server - 0 Replies
how do i make a script that will teleport from hotan to samarkand?
Teleport(Script)-agBot
07/19/2008 - Silkroad Online - 4 Replies
Hello I've got one question. I don't find an exactly answer, so I ask in a new topic. It's about script for agBot. The problem is: I want to buy big potions. These u can just buy in Hotan(x-large). But I want to lvl in Samarkand. I think I can start script normally. Go to Storage,Blacksmith and then to Herbalist. But then I want to teleport to Samarkand. How to do this. Which buttons I've to press or when I have to press F8 etc.. Could you please help me. Thanks. :)



All times are GMT +2. The time now is 14:33.


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.