Jump to content

GUI Teleport System


Recommended Posts

  • 3 weeks later...
  • 3 weeks later...
  • 3 months later...
On 6/8/2015 at 4:27 PM, .plechito' said:

Hi devs,

I really don't know where is the fucking problem.... When i click to teleport button, system show me just input board.... Yeah when i put some number from table (for example 3 (3 is Jinno in my table), system teleport me right.. but i have to put the number into the table...

 

8NXKb.png

Did u fix it plechito?
Anyone have idea how to fix it ?

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

1 hour ago, Bituse said:

Did u fix it plechito?
Anyone have idea how to fix it ?

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

If Someone else had this problem add this dif into your game.py

#This Creates me another bug a same window pops out when u duel.

Link to comment
Share on other sites

  • 2 weeks later...
On 5/31/2015 at 10:07 AM, Shisui said:

 

Use the original quest and change only Jinno coord.

Make sure you click in the right button and see if works.

 

 

Search in game.py for

 


def Close(self):

RD2Je.png

 

 

scroll to the end of that function and add

 


		if self.teleport.IsShow():
			self.teleport.Open()

FQydd.png

Thank you !

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

  • 3 weeks later...
  • 1 month later...
  • 4 weeks later...
  • 1 month later...
  • 6 months later...

Why is not working on 40k I try all of them quest, from there but still not working the quest is not working when I press button is not doing nothing - please help me give me the solution :D thx guy's.

 

On ‎30‎/‎07‎/‎2016 at 10:52 AM, troll1981 said:

 

Why is not working on 40k I try all of them quest, from there but still not working the quest is not working when I press button is not doing nothing - please help me give me the solution :D thx guy's.

Why is not working on 40k I try all of them quest, from there but still not working the quest is not working when I press button is not doing nothing - please help me give me the solution :D thx guy's.

Link to comment
Share on other sites

  • 1 month later...
  • 4 weeks later...
  • 2 weeks later...
  • 3 months later...
  • 8 months later...
  • 1 year later...

There is a little bug while using this Teleport System in Dungeons... Client crash because this Teleport Gui does not close it self while Teleport.
Im not sure why it Happens but here is a fix:

Search in uiteleport.py:
    def WarpPosition(self, arg):
        if self.Index == 0:
            return
        self.SendToServer = arg
        event.QuestButtonClick(self.Index)

 

and add:
        self.Hide()

Edited by CYN3

🍆 Sura-Head 💯

 

Link to comment
Share on other sites

  • 2 weeks later...

Here you have the original quest.

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
						{10,10},	--Jinno
						{10,10},	--Feuerland
						{10,10}		--Gautamarkliff
					}
		end
	end
end

And here the download: 

This is the hidden content, please

Passwort: forevermetin2

  • Metin2 Dev 16
  • Think 1
  • Good 4
  • Love 9
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

  • 1 month later...
  • Active Member

When i click on button, he teleport me, but client close on loading screen.

When i start client, iam on right map.

Syserr looks good =/
 

Spoiler

0430 09:25:27475 :: NEW CURTAIN  ----------------------------------------------------------------------------0430 09:25:27476 :: 
0430 09:25:27523 :: PointWindow: NONAME_Window
0430 09:25:28019 :: PointWindow: NONAME_Window
0430 09:25:28695 :: PointWindow: NONAME_Window
0430 09:25:28723 :: PointWindow: NONAME_Window
0430 09:25:29002 :: PointWindow: NONAME_Window
0430 09:25:29469 :: warp 0430 09:25:29469 ::  0430 09:25:29469 :: 270430 09:25:29469 ::  0430 09:25:29469 :: 50430 09:25:29470 :: 
0430 09:25:29471 :: PointWindow: game
0430 09:25:29708 :: Succeed connecting.
0430 09:25:29831 :: 
0430 09:25:29832 :: ## Network - Hand Shake Phase ##
0430 09:25:29833 :: 
0430 09:25:29838 :: HANDSHAKE RECV 2702750 0
0430 09:25:29839 :: HANDSHAKE SEND 2702750
0430 09:25:29940 :: HANDSHAKE RECV 2702907 78
0430 09:25:29941 :: HANDSHAKE SEND 2703063
0430 09:25:30055 :: HANDSHAKE RECV 2703028 60
0430 09:25:30056 :: HANDSHAKE SEND 2703148
0430 09:25:30171 :: KEY_AGREEMENT RECV 256
0430 09:25:30233 :: KEY_AGREEMENT SEND 256
0430 09:25:30303 :: KEY_AGREEMENT_COMPLETED RECV
0430 09:25:30369 :: 
0430 09:25:30371 :: ## Network - Login Phase ##
0430 09:25:30372 :: 
0430 09:25:30666 :: 
0430 09:25:30668 :: ## Network - Select Phase ##
0430 09:25:30669 :: 
0430 09:25:30722 :: PointWindow: PhaseCurtain
0430 09:25:30819 :: FadeOutMusic: BGM/M2BG.mp3 - ERROR NOT EXIST
0430 09:25:30837 :: ===================================================== DESTROYED TARGET BOARD0430 09:25:30837 :: 
0430 09:25:30846 :: ---------------------------------------------------------------------------- DESTROY EXCHANGE0430 09:25:30846 :: 
0430 09:25:30853 ::  ==================================== DESTROIED GUILD WINDOW0430 09:25:30853 :: 
0430 09:25:30855 ::  =============================== DESTROIED PartyWindow0430 09:25:30855 :: 
0430 09:25:30859 :: ---------------------------------------------------------------------------- CLOSE GAME WINDOW0430 09:25:30860 :: 
0430 09:25:30860 :: ===== Load Script File : locale/de/ui/LoadingWindow.py0430 09:25:30860 :: 
0430 09:25:30862 :: ---------------------------------------------------------------------------- DELETE CURTAIN0430 09:25:30862 :: 
0430 09:25:30996 :: PointWindow: BackGround
0430 09:25:31243 :: 
0430 09:25:31244 :: ## Network - Loading Phase ##
0430 09:25:31246 :: 
0430 09:25:31446 :: LoadWaterMapFile metin2_map_c3\000000\water.wtr 0
0430 09:25:31447 :: LoadRawHeightMapFile metin2_map_c3\000000\height.raw 0430 09:25:31449 :: LoadHeightMap::CalculateNormal 2 ms
0430 09:25:31449 :: LoadAttrMapFile metin2_map_c3\000000\attr.atr 0430 09:25:31450 :: 1
0430 09:25:31450 :: LoadSplatFile metin2_map_c3\000000\tile.raw 0430 09:25:31460 :: CTerrain::RAW_AllocateSplats 8
0430 09:25:31461 :: CTerrain::LoadShadowTexture 1 ms
0430 09:25:31462 :: LoadShadowMap metin2_map_c3\000000\shadowmap.raw 0430 09:25:31462 :: 1 ms
0430 09:25:31463 :: CTerrain::LoadMiniMapTexture 1 ms
0430 09:25:31464 :: CMapOutdoor::LoadTerrain 19
0430 09:25:31465 :: CMapOutdoor::LoadArea1 0
0430 09:25:31640 :: CMapOutdoor::LoadArea2 175
0430 09:25:31641 :: CMapOutdoor::LoadArea3 0
0430 09:25:31643 :: LoadWaterMapFile metin2_map_c3\001000\water.wtr 1
0430 09:25:31644 :: LoadRawHeightMapFile metin2_map_c3\001000\height.raw 0430 09:25:31646 :: LoadHeightMap::CalculateNormal 2 ms
0430 09:25:31646 :: LoadAttrMapFile metin2_map_c3\001000\attr.atr 0430 09:25:31646 :: 0
0430 09:25:31646 :: LoadSplatFile metin2_map_c3\001000\tile.raw 0430 09:25:31659 :: CTerrain::RAW_AllocateSplats 11
0430 09:25:31660 :: CTerrain::LoadShadowTexture 0 ms
0430 09:25:31660 :: LoadShadowMap metin2_map_c3\001000\shadowmap.raw 0430 09:25:31661 :: 1 ms
0430 09:25:31662 :: CTerrain::LoadMiniMapTexture 1 ms
0430 09:25:31663 :: CMapOutdoor::LoadTerrain 22
0430 09:25:31663 :: CMapOutdoor::LoadArea1 0
0430 09:25:31708 :: CMapOutdoor::LoadArea2 44
0430 09:25:31708 :: CMapOutdoor::LoadArea3 0
0430 09:25:31711 :: LoadWaterMapFile metin2_map_c3\002000\water.wtr 1
0430 09:25:31711 :: LoadRawHeightMapFile metin2_map_c3\002000\height.raw 0430 09:25:31715 :: LoadHeightMap::CalculateNormal 3 ms
0430 09:25:31715 :: LoadAttrMapFile metin2_map_c3\002000\attr.atr 0430 09:25:31715 :: 0
0430 09:25:31716 :: LoadSplatFile metin2_map_c3\002000\tile.raw 0430 09:25:31727 :: CTerrain::RAW_AllocateSplats 10
0430 09:25:31728 :: CTerrain::LoadShadowTexture 1 ms
0430 09:25:31729 :: LoadShadowMap metin2_map_c3\002000\shadowmap.raw 0430 09:25:31729 :: 1 ms
0430 09:25:31731 :: CTerrain::LoadMiniMapTexture 2 ms
0430 09:25:31732 :: CMapOutdoor::LoadTerrain 24
0430 09:25:31733 :: CMapOutdoor::LoadArea1 0
0430 09:25:31805 :: CMapOutdoor::LoadArea2 72
0430 09:25:31805 :: CMapOutdoor::LoadArea3 0
0430 09:25:31806 :: LoadWaterMapFile metin2_map_c3\000001\water.wtr 1
0430 09:25:31807 :: LoadRawHeightMapFile metin2_map_c3\000001\height.raw 0430 09:25:31810 :: LoadHeightMap::CalculateNormal 2 ms
0430 09:25:31810 :: LoadAttrMapFile metin2_map_c3\000001\attr.atr 0430 09:25:31811 :: 1
0430 09:25:31811 :: LoadSplatFile metin2_map_c3\000001\tile.raw 0430 09:25:31822 :: CTerrain::RAW_AllocateSplats 10
0430 09:25:31823 :: CTerrain::LoadShadowTexture 1 ms
0430 09:25:31824 :: LoadShadowMap metin2_map_c3\000001\shadowmap.raw 0430 09:25:31824 :: 1 ms
0430 09:25:31825 :: CTerrain::LoadMiniMapTexture 1 ms
0430 09:25:31827 :: CMapOutdoor::LoadTerrain 22
0430 09:25:31827 :: CMapOutdoor::LoadArea1 0
0430 09:25:31836 :: CMapOutdoor::LoadArea2 8
0430 09:25:31836 :: CMapOutdoor::LoadArea3 0
0430 09:25:31837 :: LoadWaterMapFile metin2_map_c3\001001\water.wtr 1
0430 09:25:31838 :: LoadRawHeightMapFile metin2_map_c3\001001\height.raw 0430 09:25:31840 :: LoadHeightMap::CalculateNormal 2 ms
0430 09:25:31840 :: LoadAttrMapFile metin2_map_c3\001001\attr.atr 0430 09:25:31841 :: 1
0430 09:25:31841 :: LoadSplatFile metin2_map_c3\001001\tile.raw 0430 09:25:31852 :: CTerrain::RAW_AllocateSplats 10
0430 09:25:31853 :: CTerrain::LoadShadowTexture 0 ms
0430 09:25:31853 :: LoadShadowMap metin2_map_c3\001001\shadowmap.raw 0430 09:25:31854 :: 1 ms
0430 09:25:31855 :: CTerrain::LoadMiniMapTexture 1 ms
0430 09:25:31856 :: CMapOutdoor::LoadTerrain 20
0430 09:25:31857 :: CMapOutdoor::LoadArea1 0
0430 09:25:31904 :: CMapOutdoor::LoadArea2 47
0430 09:25:31905 :: CMapOutdoor::LoadArea3 0
0430 09:25:31906 :: LoadWaterMapFile metin2_map_c3\002001\water.wtr 1
0430 09:25:31907 :: LoadRawHeightMapFile metin2_map_c3\002001\height.raw 0430 09:25:31909 :: LoadHeightMap::CalculateNormal 2 ms
0430 09:25:31910 :: LoadAttrMapFile metin2_map_c3\002001\attr.atr 0430 09:25:31910 :: 0
0430 09:25:31911 :: LoadSplatFile metin2_map_c3\002001\tile.raw 0430 09:25:31922 :: CTerrain::RAW_AllocateSplats 10
0430 09:25:31923 :: CTerrain::LoadShadowTexture 1 ms
0430 09:25:31924 :: LoadShadowMap metin2_map_c3\002001\shadowmap.raw 0430 09:25:31924 :: 1 ms
0430 09:25:31925 :: CTerrain::LoadMiniMapTexture 0 ms
0430 09:25:31926 :: CMapOutdoor::LoadTerrain 21
0430 09:25:31927 :: CMapOutdoor::LoadArea1 0
0430 09:25:31960 :: SYSERR: CArea::SetBuilding: There is no data: d:/ymir work/zone/°ø¿ë/hay_01.gr2
0430 09:25:31961 :: SYSERR: CArea::SetBuilding: There is no data: d:/ymir work/zone/°ø¿ë/hay_01.gr2
0430 09:25:31961 :: SYSERR: CArea::SetBuilding: There is no data: d:/ymir work/zone/°ø¿ë/hay_01.gr2
0430 09:25:31962 :: SYSERR: CArea::SetBuilding: There is no data: d:/ymir work/zone/°ø¿ë/hay_01.gr2
0430 09:25:31962 :: SYSERR: CArea::SetBuilding: There is no data: d:/ymir work/zone/°ø¿ë/hay_01.gr2
0430 09:25:31965 :: CMapOutdoor::LoadArea2 38
0430 09:25:31965 :: CMapOutdoor::LoadArea3 0
0430 09:25:31967 :: LoadWaterMapFile metin2_map_c3\000002\water.wtr 1
0430 09:25:31967 :: LoadRawHeightMapFile metin2_map_c3\000002\height.raw 0430 09:25:31970 :: LoadHeightMap::CalculateNormal 2 ms
0430 09:25:31970 :: LoadAttrMapFile metin2_map_c3\000002\attr.atr 0430 09:25:31971 :: 0
0430 09:25:31971 :: LoadSplatFile metin2_map_c3\000002\tile.raw 0430 09:25:31980 :: CTerrain::RAW_AllocateSplats 8
0430 09:25:31981 :: CTerrain::LoadShadowTexture 1 ms
0430 09:25:31981 :: LoadShadowMap metin2_map_c3\000002\shadowmap.raw 0430 09:25:31982 :: 1 ms
0430 09:25:31983 :: CTerrain::LoadMiniMapTexture 1 ms
0430 09:25:31984 :: CMapOutdoor::LoadTerrain 19
0430 09:25:31985 :: CMapOutdoor::LoadArea1 1
0430 09:25:31991 :: CMapOutdoor::LoadArea2 6
0430 09:25:31991 :: CMapOutdoor::LoadArea3 0
0430 09:25:31993 :: LoadWaterMapFile metin2_map_c3\001002\water.wtr 1
0430 09:25:31993 :: LoadRawHeightMapFile metin2_map_c3\001002\height.raw 0430 09:25:31996 :: LoadHeightMap::CalculateNormal 2 ms
0430 09:25:31997 :: LoadAttrMapFile metin2_map_c3\001002\attr.atr 0430 09:25:31997 :: 1
0430 09:25:31997 :: LoadSplatFile metin2_map_c3\001002\tile.raw 0430 09:25:32009 :: CTerrain::RAW_AllocateSplats 10
0430 09:25:32009 :: CTerrain::LoadShadowTexture 0 ms
0430 09:25:32009 :: LoadShadowMap metin2_map_c3\001002\shadowmap.raw 0430 09:25:32010 :: 1 ms
0430 09:25:32010 :: CTerrain::LoadMiniMapTexture 0 ms
0430 09:25:32012 :: CMapOutdoor::LoadTerrain 21
0430 09:25:32012 :: CMapOutdoor::LoadArea1 0
0430 09:25:32026 :: CMapOutdoor::LoadArea2 13
0430 09:25:32026 :: CMapOutdoor::LoadArea3 0
0430 09:25:32028 :: LoadWaterMapFile metin2_map_c3\002002\water.wtr 1
0430 09:25:32029 :: LoadRawHeightMapFile metin2_map_c3\002002\height.raw 0430 09:25:32032 :: LoadHeightMap::CalculateNormal 3 ms
0430 09:25:32033 :: LoadAttrMapFile metin2_map_c3\002002\attr.atr 0430 09:25:32033 :: 1
0430 09:25:32033 :: LoadSplatFile metin2_map_c3\002002\tile.raw 0430 09:25:32044 :: CTerrain::RAW_AllocateSplats 10
0430 09:25:32045 :: CTerrain::LoadShadowTexture 1 ms
0430 09:25:32046 :: LoadShadowMap metin2_map_c3\002002\shadowmap.raw 0430 09:25:32046 :: 1 ms
0430 09:25:32047 :: CTerrain::LoadMiniMapTexture 1 ms
0430 09:25:32048 :: CMapOutdoor::LoadTerrain 21
0430 09:25:32049 :: CMapOutdoor::LoadArea1 0
0430 09:25:32056 :: CMapOutdoor::LoadArea2 7
0430 09:25:32056 :: CMapOutdoor::LoadArea3 0
0430 09:25:32056 :: Update::Load spent 611 ms

https://metin2.download/picture/xvXJLf84kAAP5X3bNG0fq8gX2lf2Zg39/.gif

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

  • 1 year later...
3 minutes ago, V0lvox said:

Upload game.py

I fix, but now

 

0903 01:29:01231 ::   File "interfaceModule.py", line 278, in teleport_button

0903 01:29:01231 :: AttributeError
0903 01:29:01231 :: : 
0903 01:29:01232 :: 'Interface' object has no attribute 'teleport'

 

It works perfectly, it shows me the map and transports me but it shows me this in the sysser

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.