Register for your free account! | Forgot your password?

You last visited: Today at 00:28

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

Advertisement



Quest Frage

Discussion on Quest Frage within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
elite*gold: 85
Join Date: Apr 2011
Posts: 283
Received Thanks: 20
Quest Frage

Hey
Kann mir einer sagen was an dieser quest falsch ist ?!Nur der erste button funzt!!!

Code:
quest Questitem_erstellung begin
	state start begin
		when 50025.use begin
			say_title("Item Auswahl für GM´s")
			local ite = select("Schwarzstahl Schwert", "Schwarzstahl Klinge", "Schwarzstahl Dolche", "Schwarzstahl Bogen", "Schwarzstahl Stab", "Bye")
				if ite == 1 then
					pc.give_item2(9299, 1)
				if ite == 2 then
					pc.give_item2(9199, 1)
				if ite == 3 then
					pc.give_item2(9499, 1)
				if ite == 4 then
					pc.give_item2(9399, 1)
				if ite == 5 then
					pc.give_item2(9599, 1)
						end
					end
				end
			end
		end
	end
end
end
thx ist sicher!
React™ is offline  
Old 11/23/2012, 17:33   #2
 
elite*gold: 0
Join Date: Nov 2012
Posts: 160
Received Thanks: 16
Kommt hier rein:
.Flammini™ is offline  
Old 11/23/2012, 17:40   #3
 
elite*gold: 85
Join Date: Apr 2011
Posts: 283
Received Thanks: 20
Quote:
Kommt hier rein: [SERVICE] Die Questkontrolle
Ist die noch aktuell???
React™ is offline  
Old 11/23/2012, 17:43   #4
 
elite*gold: 0
Join Date: Nov 2012
Posts: 160
Received Thanks: 16
Quote:
Originally Posted by schnucki1999 View Post
Ist die noch aktuell???
Denke schon.
.Flammini™ is offline  
Old 11/23/2012, 17:47   #5
 
elite*gold: 85
Join Date: Apr 2011
Posts: 283
Received Thanks: 20
Jo probiers mal thx
React™ is offline  
Old 11/23/2012, 17:49   #6
 
elite*gold: 0
Join Date: Jan 2011
Posts: 1,297
Received Thanks: 1,295
Quote:
Originally Posted by schnucki1999 View Post
Hey
Kann mir einer sagen was an dieser quest falsch ist ?!

Code:
quest Questitem_erstellung begin
	state start begin
		when 50025.use begin
			say_title("Item Auswahl für GM´s")
			local ite = select("Schwarzstahl Schwert", "Schwarzstahl Klinge", "Schwarzstahl Dolche", "Schwarzstahl Bogen", "Schwarzstahl Stab", "Bye")
				if ite == 1 then
					pc.give_item2(9299, 1)
				if ite == 2 then
					pc.give_item2(9199, 1)
				if ite == 3 then
					pc.give_item2(9499, 1)
				if ite == 4 then
					pc.give_item2(9399, 1)
				if ite == 5 then
					pc.give_item2(9599, 1)
						end
					end
				end
			end
		end
	end
end
end
thx im vorraus

So sollte es klappen
PHP Code:
quest Questitem_erstellung begin
    state start begin
        when 50025.
use begin
            say_title
("Item Auswahl für GM´s")
            
local ite select("Schwarzstahl Schwert""Schwarzstahl Klinge""Schwarzstahl Dolche""Schwarzstahl Bogen""Schwarzstahl Stab""Bye")
            if 
ite == 1 then
                pc
.give_item2(92991)
            elseif 
ite == 2 then
                pc
.give_item2(91991)
            elseif 
ite == 3 then
                pc
.give_item2(94991)
            elseif 
ite == 4 then
                pc
.give_item2(93991)
            elseif 
ite == 5 then
                pc
.give_item2(95991)
            
end
        end
    end
end 
He3o Sippel is offline  
Old 11/23/2012, 17:59   #7
 
elite*gold: 85
Join Date: Apr 2011
Posts: 283
Received Thanks: 20
bei meiner quest habe ich immer das erste item bekommen also schwarzstahl schwert und bei den anderen hat es sihc immer geschlossen

geh immer ncoh nicht -.-'


Code:
So sollte es klappen
PHP-Code:
quest Questitem_erstellung begin 
    state start begin 
        when 50025.use begin 
            say_title("Item Auswahl für GM´s") 
            local ite = select("Schwarzstahl Schwert", "Schwarzstahl Klinge", "Schwarzstahl Dolche", "Schwarzstahl Bogen", "Schwarzstahl Stab", "Bye") 
            if ite == 1 then 
                pc.give_item2(9299, 1) 
            elseif ite == 2 then 
                pc.give_item2(9199, 1) 
            elseif ite == 3 then 
                pc.give_item2(9499, 1) 
            elseif ite == 4 then 
                pc.give_item2(9399, 1) 
            elseif ite == 5 then 
                pc.give_item2(9599, 1) 
            end 
        end 
    end 
end  
__________________
React™ is offline  
Old 11/23/2012, 18:10   #8

 
iSouli~'s Avatar
 
elite*gold: 258
Join Date: Feb 2011
Posts: 1,405
Received Thanks: 3,502
PHP Code:
quest Questitem_erstellung begin 
    state start begin 
        
function list_item() 
            return { 
                [
1] = {9299}, 
                [
2] = {9119}, 
                [
3] = {9499}, 
                [
4] = {9399}, 
                [
5] = {9599}, 
            } 
        
end 
         
        when 50025.
use begin 
            say_title
('Item Auswahl für GM´s'
            
local ite select(item_name(Questitem_erstellung.list_item()[1][1]),Questitem_erstellung.list_item()[2][1]),Questitem_erstellung.list_item()[3][1]),Questitem_erstellung.list_item()[4][1]),Questitem_erstellung.list_item()[5][1]),'Nichts'
            if 
ite == 6 then return end 
            pc
.give_item2(Questitem_erstellung.list_item()[ite][1], 1
        
end 
    end 
end 
iSouli~ is online now  
Old 11/23/2012, 18:35   #9
 
elite*gold: 85
Join Date: Apr 2011
Posts: 283
Received Thanks: 20
Bei mir kommt mit deiner quest souli
der fehler beim hochladen

Code:
syntax error : [string "start"]:2: unexpected symbol near ´)´
item_erstellung2.quest:18:Error occured on compile item_erstellung2.quest
React™ is offline  
Old 11/23/2012, 21:17   #10
 
Clybawn's Avatar
 
elite*gold: 0
Join Date: Apr 2011
Posts: 92
Received Thanks: 29
Code:
quest Questitem_erstellung begin
	state start begin
		when 50025.use begin
			say_title("Item Auswahl für GM´s")
			local item = select("Schwarzstahl Schwert", "Schwarzstahl Klinge", "Schwarzstahl Dolche", "Schwarzstahl Bogen", "Schwarzstahl Stab", "Bye")
				if item == 1 then
					pc.give_item2(9299)
				if item == 2 then
					pc.give_item2(9199)
				if item == 3 then
					pc.give_item2(9499)
				if item == 4 then
					pc.give_item2(9399)
				if item == 5 then
					pc.give_item2(9599)
						end
					end
				end
			end
		end
	end
end
Probiers mal...

MfG
Clybawn is offline  
Old 11/23/2012, 21:22   #11
 
elite*gold: 85
Join Date: Apr 2011
Posts: 283
Received Thanks: 20
Kommt Fehler meldung
React™ is offline  
Old 11/23/2012, 21:25   #12
 
Sp0ngeb0b ist cool's Avatar
 
elite*gold: 15
Join Date: Sep 2010
Posts: 844
Received Thanks: 975
PHP Code:
quest Questitem_erstellung begin 
    state start begin 
        
function list_item() 
            return { 
                [
1] = {9299}, 
                [
2] = {9119}, 
                [
3] = {9499}, 
                [
4] = {9399}, 
                [
5] = {9599}, 
            } 
        
end 
        when 50025.
use begin 
            say_title
('Item Auswahl für GM´s'
            
local a = {}
            
table.foreach(Questitem_erstellung.list_item(),function(i,ltable.insert(a,i,item_name(l)) end )
            
table.insert(a'Nichts')
            
local ite select_table(a
            if 
ite == table.getn(athen return end 
            pc
.give_item2(Questitem_erstellung.list_item()[ite], 1)
        
end 
    end 
end 
beachte:
questdateiname == questtitel
Sp0ngeb0b ist cool is offline  
Old 11/23/2012, 21:33   #13
 
Clybawn's Avatar
 
elite*gold: 0
Join Date: Apr 2011
Posts: 92
Received Thanks: 29
Quote:
Originally Posted by Sp0ngeb0b ist cool View Post
PHP Code:
quest Questitem_erstellung begin 
    state start begin 
        
function list_item() 
            return { 
                [
1] = {9299}, 
                [
2] = {9119}, 
                [
3] = {9499}, 
                [
4] = {9399}, 
                [
5] = {9599}, 
            } 
        
end 
        when 50025.
use begin 
            say_title
('Item Auswahl für GM´s'
            
local a = {}
            
table.foreach(Questitem_erstellung.list_item(),function(i,ltable.insert(a,i,item_name(l)) end )
            
table.insert(a'Nichts')
            
local ite select_table(a
            if 
ite == table.getn(athen return end 
            pc
.give_item2(Questitem_erstellung.list_item()[ite], 1)
        
end 
    end 
end 
beachte:
questdateiname == questtitel
Ja stimmt das sollte man auch beachten^^
Clybawn is offline  
Old 11/23/2012, 21:39   #14

 
Mr. 'Avenue™'s Avatar
 
elite*gold: 222
The Black Market: 101/0/0
Join Date: Oct 2012
Posts: 2,369
Received Thanks: 3,389
PHP Code:
quest itemerstellung begin
    state start begin
        when 50025.
use begin
            say_title
("Item Auswahl für GM´s")
            
local item select("Schwarzstahl Schwert""Schwarzstahl Klinge""Schwarzstahl Dolche""Schwarzstahl Bogen""Schwarzstahl Stab""Bye")
            if 
item == 1 then
                pc
.give_item2(9299)
            elseif 
item == 2 then
                pc
.give_item2(9199)
            elseif 
item == 3 then
                pc
.give_item2(9499)
            elseif 
item == 4 then
                pc
.give_item2(9399)
            elseif 
item == 5 then
                pc
.give_item2(9599)
            elseif 
item == 6 then
                
return
            
end
        end
    end
end 
bitteschön.
Mr. 'Avenue™ is offline  
Old 11/24/2012, 01:00   #15
 
elite*gold: 85
Join Date: Apr 2011
Posts: 283
Received Thanks: 20
Quote:
Code:
quest Questitem_erstellung begin 
    state start begin 
        function list_item() 
            return { 
                [1] = {9299}, 
                [2] = {9119}, 
                [3] = {9499}, 
                [4] = {9399}, 
                [5] = {9599}, 
            } 
        end 
        when 50025.use begin 
            say_title('Item Auswahl für GM´s') 
            local a = {}
            table.foreach(Questitem_erstellung.list_item(),function(i,l) table.insert(a,i,item_name(l)) end )
            table.insert(a, 'Nichts')
            local ite = select_table(a) 
            if ite == table.getn(a) then return end 
            pc.give_item2(Questitem_erstellung.list_item()[ite], 1)
        end 
    end 
end
spongebob! die quest wird geladen ohne fehler aber ich bekomme dann nicht wen ich den button im quest fenster drücke!
React™ is offline  
Reply

Tags
hilfe, metin2, quest


Similar Threads Similar Threads
[QUEST FRAGE ] Kill Quest
12/26/2011 - Metin2 Private Server - 5 Replies
Moin ich wollte gerade eine quest schreibe (genaueres sage ich nicht) Mit welchem Befehl kann einer Quest gesagt werden, dass der letzte Kill gespeichert werden soll bitte um schnelle rueckmeldung
Compile all quest without quest's files list // Kompilieren Sie alle Quest ohne Quest
07/17/2011 - Metin2 PServer Guides & Strategies - 3 Replies
ENGLISH Hello dear community, this is a very simple guide but at the same time useful. How to compile ALL quest in the folder "quest" without the files list in the file "locale_list"? Easy! Open the file "make" and replace the content of the file with this: for f in *.quest; do ./qc $f; done Oki. Now set the 0777 permission to the file. Finally open a SSH client and sign in. Write the command: cd /game_file_folder
[FRAGE]Quest befehl frage
12/24/2010 - Metin2 Private Server - 0 Replies
Moin, da ich noch ned so gut in questen bin wollte ich mal fragen wie ich den befehl ensetze: next_time_set() muss der befehl nach der handlung sein z.b. pc.give_item(vnum) next_time_set(10) und die 10 dann 10 minuten ist und ich muss dann ja vor der handlung
[Frage]GM Mode Quest/Admin ist Online quest
10/25/2010 - Metin2 Private Server - 1 Replies
Hey ich habe eine Kurze frage und zwar möchte ich lieber doppelt sicher sein und habe noch eine Quest gefunden die /admin_test flag 0 alle paar sek. schreibt und dazu auf der Letzen seite hat einer geschrieben das angezeigt wird sprich xxxx ist nun für eure Fragen und Probleme verfügbar+ diesen /event_flag test 0 cmd nur wie bzw wo füg ich das sein ich habe kein passenden Thread zu gefunden.. Dort auf der letzen seite:...



All times are GMT +1. The time now is 00:29.


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