Jump to content

[ Dead Download Link ] <Teleport System > Reach your friends! [ We Need You ]


Anyone

Recommended Posts

Hi! :)
I want show you a "new" system.

What is Teleport System?
You can go to your companion writing his name in the interface.
The player 1 must be in the same channel of the player 2

You can open it by NPC.

Code: C++ / Python / LUA

Screen:

[IMG]

[IMG]

[IMG]

Download: 

This is the hidden content, please

Password: Teleport_System_by_Anyone

Best Regards,
Anyone.

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

This is already public since 5 years ago.

quest teleport_player begin
	state start begin
		when login begin
			cmdchat("teleport_player "..q.getcurrentquestindex())
		end
		when button or info begin
			local sname = getinput("getinput")
			if sname == "" then return end	

			local u_vid = find_pc_by_name(sname)
			local m_vid = pc.get_vid()
			if u_vid == 0 then return end
			
			local m_name = pc.name
			local old = pc.select(u_vid)
			local x,y = pc.get_x()*100,pc.get_y()*100
	
			pc.select(old)
			if u_vid == m_vid then return end		

			local ok_sign = confirm(u_vid, string.format("Player "..m_name.." want to teleport on you, accepted?", pc.name), 30) 
			if ok_sign == CONFIRM_OK then
				pc.warp(x, y)		
			end	
		end
	end
end	

You just duplicate function do_warp and add call from quest..and called "new system".

PS: You should stop to rename all functions with your name because that is a child act, to show the people like "i do that" but reality is just duplicate something what ymir already did 10+ years ago.

But thanks for release anyway.

  • Love 2
Link to comment
Share on other sites

  • 4 months later...
  • 4 years later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

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.