Jump to content

GUI Teleport System


Recommended Posts

  • Premium

M2 Download Center

This is the hidden content, please
( Internal )

Hello!

 

TELEPORT SYSTEM - HOW TO

 

How To: Unpack root.eix/.epk

 

open game.py

add:

import uiteleport  

Search:

self.__ProcessPreservedServerCommand()  

Add under:

        self.teleport = uiteleport.TeleportWindow()  

Search:

__ServerCommand_Build  

Add under:

    "Teleport"                : self.Teleport,  

Search:

OpenQuestWindow(self, skin, idx):  

Replace:

    def OpenQuestWindow(self, skin, idx): 
        if constInfo.CApiSetHide == 1: 
            net.SendQuestInputStringPacket(str(constInfo.SendString)) 
            constInfo.CApiSetHide = 0 
            return 
        self.interface.OpenQuestWindow(skin, idx)  

Add new function in game.py:

    def Teleport(self, getString): 
        if getString.find("index") != -1: 
            self.teleport.UpdateIndex(int(getString.split("x")[1])) 
        else: 
            constInfo.SendString = str(self.teleport.SendToServer) 
            constInfo.CApiSetHide = 1  

To give a button function to open it you can, for example, how I did it use the J button. For this you need to edit the following function:

 

kGQxc.png

 

Fals you want to use a different button, you can do it in the game.py following command to open / close:

self.teleport.Open()  

And finally the constInfo.py open and the following reinschreiben above:

CApiSetHide = 0 
SendString = ""  

 

Spoiler

191851q8pob.jpg.f4e987653416e681e2ccf027

 

The following quest under the Notes "teleport_edit.zip" it adds in euerm orders Quest (Quest by Kilroy.).
If it does not work you have it entered incorrectly say the system.

Ingame start (STRG+J)

root.rar
LINK DELETED.
teleport_edit.rar
https://mega.nz/#!XRBQVJ7Z!9DGdHGkTyjA-eEiQSMq7_zCRmNfVuMW-SxkUKu6Bydo

BTW: Sorry for my bad English.

Kind Regards, .Avua

 

By: Ace / CryPrime

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 159
  • Eyes 3
  • Dislove 2
  • Angry 1
  • Sad 1
  • Smile Tear 2
  • Think 2
  • Confused 3
  • Good 51
  • Love 7
  • Love 129
Link to comment
Share on other sites

  • Premium

 

 

The system its not working, i think that you forgot to add a server command.

What do you mean by 'not working'?

 

When i press any button on the map it doesn't teleport me. So i think that he forgot to post a python chat cmd to get the selected map from the button.

 

 

When i press any button on the map it doesn't teleport me.... 

Link to comment
Share on other sites

  • Former Staff

Try this quest

quest teleport begin
    state start begin
        when login begin
            local map = pc.get_map_index()
            cmdchat("Index mapa : "..map)
        end
        when info or button begin
            local i = tonumber(input(cmdchat("Teleport GetInfo")))
            if type(i) != "number" then return end
            local warp = teleport.warp_kords()
            if warp == nil then return end
            pc.warp(warp[1],warp[2])
        end
        
        function warp_kords()
            return     {
                        {459800,953900},    --Dt
                        {459800,953900},    --Tempel
                        {459800,953900},    --Donner
                        {459800,953900},    --Roter Wald
                        {459800,953900},    --Kap
                        {459800,953900},    --AD
                        {459800,953900},    --Lungsam
                        {459800,953900},    --NW
                        {459800,953900},    --Berg Sohan
                        {459800,953900},    --Bakra
                        {459800,953900},    --OT
                        {459800,953900},    --DC
                        {459800,953900},    --Bokjung
                        {459800,953900},    --AD
                        {459800,953900},    --Chunjo
                        {459800,953900},    --Nephritibucht
                        {459800,953900},    --Grotte1
                        {459800,953900},    --Grotte2
                        {459800,953900},    --Grotte Boss
                        {459800,953900},    --Sd2
                        {459800,953900},    --Sd3
                        {459800,953900},    --Sd Boss
                        {459800,953900},    --Yayang
                        {459800,953900},    --Shinsoo
                        {459800,953900},    --AD
                        {459800,953900},    --Wüste
                        {459800,953900},    --Schlangenfeld
                        {459800,953900},    --Jinno
                        {459800,953900},    --Feuerland
                        {10,10}        --Gautamarkliff
                    }
        end
    end
end
  • Love 2
Link to comment
Share on other sites

  • Premium

Try this quest

quest teleport begin
    state start begin
        when login begin
            local map = pc.get_map_index()
            cmdchat("Index mapa : "..map)
        end
        when info or button begin
            local i = tonumber(input(cmdchat("Teleport GetInfo")))
            if type(i) != "number" then return end
            local warp = teleport.warp_kords()
            if warp == nil then return end
            pc.warp(warp[1],warp[2])
        end
        
        function warp_kords()
            return     {
                        {459800,953900},    --Dt
                        {459800,953900},    --Tempel
                        {459800,953900},    --Donner
                        {459800,953900},    --Roter Wald
                        {459800,953900},    --Kap
                        {459800,953900},    --AD
                        {459800,953900},    --Lungsam
                        {459800,953900},    --NW
                        {459800,953900},    --Berg Sohan
                        {459800,953900},    --Bakra
                        {459800,953900},    --OT
                        {459800,953900},    --DC
                        {459800,953900},    --Bokjung
                        {459800,953900},    --AD
                        {459800,953900},    --Chunjo
                        {459800,953900},    --Nephritibucht
                        {459800,953900},    --Grotte1
                        {459800,953900},    --Grotte2
                        {459800,953900},    --Grotte Boss
                        {459800,953900},    --Sd2
                        {459800,953900},    --Sd3
                        {459800,953900},    --Sd Boss
                        {459800,953900},    --Yayang
                        {459800,953900},    --Shinsoo
                        {459800,953900},    --AD
                        {459800,953900},    --Wüste
                        {459800,953900},    --Schlangenfeld
                        {459800,953900},    --Jinno
                        {459800,953900},    --Feuerland
                        {10,10}        --Gautamarkliff
                    }
        end
    end
end

No :/

  • Love 1
Link to comment
Share on other sites

quest teleport begin
    state start begin    
        when login begin
            cmdchat("Teleport index"..q.getcurrentquestindex())
        end
        when info or button begin
            local i = tonumber(input(cmdchat("Teleport GetInfo")))
            if type(i) != "number" then return end
            local warp = teleport.warp_kords()
            if warp[i] == nil then return end
            pc.warp(warp[i][1],warp[i][2])
        end
            
        function warp_kords()
            return     {
                        {10,10},    --Dt
                        {10,10},    --Tempel
                        {10,10},    --Donner
                        {10,10},    --Roter Wald
                        {10,10},    --Kap
                        {10,10},    --AD
                        {10,10},    --Lungsam
                        {10,10},    --NW
                        {10,10},    --Berg Sohan
                        {10,10},    --Bakra
                        {10,10},    --OT
                        {10,10},    --DC
                        {10,10},    --Bokjung
                        {10,10},    --AD
                        {10,10},    --Chunjo
                        {10,10},    --Nephritibucht
                        {10,10},    --Grotte1
                        {10,10},    --Grotte2
                        {10,10},    --Grotte Boss
                        {10,10},    --Sd2
                        {10,10},    --Sd3
                        {10,10},    --Sd Boss
                        {10,10},    --Yayang
                        {10,10},    --Shinsoo
                        {10,10},    --AD
                        {10,10},    --Wüste
                        {10,10},    --Schlangenfeld
                        {959900,269100},    --Jinno
                        {10,10},    --Feuerland
                        {10,10}        --Gautamarkliff
                    }
        end
    end
end
Link to comment
Share on other sites

No Credits to me and Yoshi for Public this one on Elitepvpers?

  • Love 1
Spoiler

Ymir Entertainment was founded in 1999 in Seoul, Korea and 
is currently headed by Byoung Gwan Kim as CEO. The company 
started developing its first 2D online game Metin the same 
year it was founded. The game was commercially launched in 
Korea a year later and received a prize from the Korean 
                    Ministry of Information and Communication in December of the 
                    same year. Following the success of their flagship game Ymir 
                    Entertainment immediately started work on the game’s sequel 
                    Metin 2, which went into Closed Beta in Korea in May 2004. 
                    The game was officially launched in Korea and China in March 
                    2005 before being launched in Asia, Europe and North America 
                    in the years that followed. In January 2011 all of the company’s 
                    shares were bought by Webzen Inc., a Korean game giant known for 
                    their popular MMORPG, MU Online. The company was also awarded 
                    Gameforge’s Global Best Partner of the Year in 2011.
                    
                    Source: https://mmos.com/publishers/ymir-entertainment
                    
                    Thank you ymir 🙂 ❤️ and F*** you Gameforge, 2011 you ruined it.

 

Link to comment
Share on other sites

Announcements



×
×
  • 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.