Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server > Metin2 PServer Guides & Strategies
You last visited: Today at 07:57

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

Advertisement



[Release]Teleportsystem Lite-Version [Gui+Quest+Code]

Discussion on [Release]Teleportsystem Lite-Version [Gui+Quest+Code] within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.

Reply
 
Old 09/18/2014, 18:15   #106
 
elite*gold: 0
Join Date: Jul 2013
Posts: 809
Received Thanks: 1,612
Quote:
Originally Posted by i'm HNSY View Post
Clientside habe ich die Probleme gelöst, danke nochmal

serverside nicht wirklich..

nur als teleport.lua dies eingefügt :

PHP Code:
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 
warp_kords()
            if 
warp[i] == nil then return end
            local get_first_number 
warp[i][1]
            
CHAT("Your result of click: "..get_first_number.."")    
        
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
                    
}
        
end
    end
end 
(koordinaten nur zum testen)

in die questlib :

PHP Code:

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
{459800,953900},    --Gautamarkliff
}
end 
die quest funktionen dafür natürlich auch..

keine Ahnung, Ingame klappts dann leider nicht (rebootet)
Denke ma, wir warten ma auf Yoshi denn von Questen habe ich ned so ne ahnung xD!
CryPrime is offline  
Old 09/18/2014, 18:15   #107
 
OoKaMi_'s Avatar
 
elite*gold: 0
Join Date: Jun 2014
Posts: 269
Received Thanks: 96
Quote:
Clientside habe ich die Probleme gelöst, danke nochmal

serverside nicht wirklich..

nur als teleport.lua dies eingefügt :

PHP-Code:
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 = warp_kords()
if warp[i] == nil then return end
local get_first_number = warp[i][1]
CHAT("Your result of click: "..get_first_number.."")
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
}
end
end
end
(koordinaten nur zum testen)

in die questlib :

PHP-Code:

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
{459800,953900}, --Gautamarkliff
}
end
Du musst die teleport.lua ---> teleport.quest machen.
Dann sollte sie gehen.
Und die Teleport Punkte musst du selber einstellen
OoKaMi_ is offline  
Old 09/18/2014, 18:20   #108
 
i'm HNSY's Avatar
 
elite*gold: 10
Join Date: Nov 2013
Posts: 625
Received Thanks: 483
Quote:
Originally Posted by OoKaMi_ View Post
Du musst die teleport.lua ---> teleport.quest machen.
Dann sollte sie gehen.
Und die Teleport Punkte musst du selber einstellen
habe ich auch schon gemacht.. :/
i'm HNSY is offline  
Old 09/18/2014, 18:24   #109

 
elite*gold: 0
Join Date: Mar 2013
Posts: 2,449
Received Thanks: 6,446
Quote:
Originally Posted by i'm HNSY View Post
Clientside habe ich die Probleme gelöst, danke nochmal

serverside nicht wirklich..

nur als teleport.lua dies eingefügt :

PHP Code:
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 
warp_kords()
            if 
warp[i] == nil then return end
            local get_first_number 
warp[i][1]
            
CHAT("Your result of click: "..get_first_number.."")    
        
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
                    
}
        
end
    end
end 
(koordinaten nur zum testen)

in die questlib :

PHP Code:

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
{459800,953900},    --Gautamarkliff
}
end 
die quest funktionen dafür natürlich auch..

keine Ahnung, Ingame klappts dann leider nicht (rebootet)
Vielleicht lässt du dir mal die Variable i ausgeben um zu gucken, was für einen Wert die bekommt?
Einfach ein chat(i) hinter die Deklaration packen.
Lord iRemix is offline  
Old 09/19/2014, 07:13   #110
 
elite*gold: 0
Join Date: Jan 2013
Posts: 31
Received Thanks: 0
Hallo
System versucht, sie in den Arbeiten gestellt, aber ich glaube nicht, herauszufinden, was das Problem ist.
Mapa der coins und der inventorywindow uiinvertory was kommt aus der Mine, um sie zu bewegen, um zu arbeiten?
Da fand ich es ein Hinweis darauf, was ist MDS?

[QUOTE=isolator0524;29624602]Hallo
System versucht, sie in den Arbeiten gestellt, aber ich glaube nicht, herauszufinden, was das Problem ist.
Mapa der coins und der inventorywindow uiinvertory was kommt aus der Mine, um sie zu bewegen, um zu arbeiten?
Da fand ich es ein Hinweis darauf, was ist MDS?
Code:
	"name":"Mds_Slot",
					"type":"button",

					"x":-68,
					"y":48,

					"horizontal_align":"center",
					"vertical_align":"bottom",

					"default_image" : "d:/ymir work/ui/public/parameter_slot_05.sub",
					"over_image" : "d:/ymir work/ui/public/parameter_slot_05.sub",
					"down_image" : "d:/ymir work/ui/public/parameter_slot_05.sub",

					"children" :
					(
						{
							"name":"Mds_Icon",
							"type":"image",

							"x":-21,
							"y":2,

							"image":"d:/ymir work/ui/game/windows/money_icon.sub",
						},

						{
							"name" : "Mds",
							"type" : "text",

							"x" : 5,
							"y" : 3,

							"horizontal_align" : "right",
							"text_horizontal_align" : "right",

							"text" : "123456789 Md's",
						},
					),
				},
				
			),
		},
	),
}
isolator0524 is offline  
Old 09/20/2014, 00:53   #111
 
elite*gold: 0
Join Date: Feb 2014
Posts: 2
Received Thanks: 0
Passwort bitte
Shichirojii is offline  
Old 09/21/2014, 13:34   #112
 
Tuora's Avatar
 
elite*gold: 0
Join Date: Jun 2014
Posts: 1,046
Received Thanks: 956
Hilfe bitte

Bei mir kommt das sobald ich den Button drücke

Tuora is offline  
Old 09/21/2014, 13:38   #113
 
.Risan.'s Avatar
 
elite*gold: 30
Join Date: Jul 2010
Posts: 1,627
Received Thanks: 1,450
Quote:
Originally Posted by ImTweet View Post
Bei mir kommt das sobald ich den Button drücke

Nicht richtig eingefügt..
.Risan. is offline  
Thanks
1 User
Old 09/21/2014, 13:44   #114
 
Tuora's Avatar
 
elite*gold: 0
Join Date: Jun 2014
Posts: 1,046
Received Thanks: 956
Quote:
Originally Posted by .Risan. View Post
Nicht richtig eingefügt..
Habs wieder jetz gemacht (J button) sobald ich drauf drücke passiert nichts
und in der syser sind keine fehler
Tuora is offline  
Old 09/21/2014, 17:47   #115
 
elite*gold: 0
Join Date: Sep 2013
Posts: 56
Received Thanks: 15
Quote:
Originally Posted by ImTweet View Post
Habs wieder jetz gemacht (J button) sobald ich drauf drücke passiert nichts
und in der syser sind keine fehler
Ctrl + J
AmerigoMendosa is offline  
Thanks
1 User
Old 09/22/2014, 18:48   #116
 
Tuora's Avatar
 
elite*gold: 0
Join Date: Jun 2014
Posts: 1,046
Received Thanks: 956
Serverside

Hab Clientside auch alles erledigt
nur Serverside also sobald ich auf Buttons drücke portet der mich nicht
hoffe jemand kennt ne lösung
Tuora is offline  
Old 09/24/2014, 20:11   #117
 
elite*gold: 0
Join Date: Sep 2010
Posts: 73
Received Thanks: 31
For me, when I click on a button, this doesn't teleport me, just put a quest gui in fornt of teleport gui, that's all. :s
galetlefrancais is offline  
Old 09/26/2014, 07:39   #118
 
elite*gold: 0
Join Date: Jan 2013
Posts: 31
Received Thanks: 0
Warum nicht das Portal?
Quest:
Code:
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 = warp_kords()
            if warp[i] == nil then return end
            local get_first_number = warp[i][1]
            chat("Ide teleportálsz: "..get_first_number.."")    
        end
    end
end
questlib.lua:
Code:
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
{459800,953900},    --Gautamarkliff
}
end
Help my
isolator0524 is offline  
Old 09/26/2014, 09:57   #119
 
EzionX's Avatar
 
elite*gold: 0
Join Date: Jun 2013
Posts: 7
Received Thanks: 3
Try this:

Code:
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 = warp_kords()
			if warp[i] == nil then return end
			local get_first_number, get_second_number = warp[i][1], warp[i][2]
			chat(" Teleportálva leszel: "..get_first_number..", "..get_second_number.."! ")
			pc.warp(warp[i][1],warp[i][2])			
		end
    end
end
EzionX is offline  
Old 09/28/2014, 09:21   #120
 
elite*gold: 0
Join Date: Sep 2010
Posts: 73
Received Thanks: 31
Quote:
Originally Posted by EzionX View Post
Try this:

Code:
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 = warp_kords()
			if warp[i] == nil then return end
			local get_first_number, get_second_number = warp[i][1], warp[i][2]
			chat(" Teleportálva leszel: "..get_first_number..", "..get_second_number.."! ")
			pc.warp(warp[i][1],warp[i][2])			
		end
    end
end

Same to me, I don't be teleported, just a Window with a textbox appears.
galetlefrancais is offline  
Reply


Similar Threads Similar Threads
[Release]Accountschutz 1.0 - lite Version
10/22/2010 - AutoIt - 6 Replies
Hi Community! Da mein Account (in Runes of Magic, 4Story und anderen MMORPGs) in letzter Zeit immer wieder missbraucht wurde (darunter verstehe ich: Gold/Equipment klauen/verkaufen, oder ähnliches), habe ich mir überlegt, einen Accountschutz mit AutoIT zu basteln. Er funktioniert folgendermaßen: Erstens: Starte den Accountschutz Zweitens:
[RELEASE] SystemZer0 V6.3 + [Quest V2.0] + [Mansion V1.0] [Lite] [2.27.08]
06/13/2009 - GunZ - 18 Replies
WORKING AFTER THE 2/27/08 PATCH Hacks Included: From SystemZer0 V6.3 Edited World Items Cuss Filter Disabled Quest God Mode Prem Chest Legs
[RELEASE] SystemZer0 V6.4 + [Quest V2.0] + [Mansion V2.0] [Super/Lite] [3.12.08]
06/22/2008 - GunZ - 3 Replies
WORKING AFTER THE 3/12/08 PATCH Hacks Included: From SystemZer0 V6.4 Edited World Items Cuss Filter Disabled Quest God Mode Prem -2 New Unreleased Prems Chest Legs
[RELEASE]SystemZer0 V6.1 + [Quest V2.0] + [Lite] [2.13.08]
02/19/2008 - GunZ - 2 Replies
WORKING AFTER THE 2/13/08 PATCH Hacks Included: From SystemZer0 V6.1 Edited World Items Cuss Filter Disabled Quest God Mode All quest monsters spawn on you Mansion edited spawn locations SystemZer0: You MUST have all maps attached. If you dont use the maps you will get you "Cannot not create game "error. SystemZer0 : : You do NOT need any edited maps, if you use the maps, instead you will get "Cannot not create game" error.



All times are GMT +1. The time now is 07:58.


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