Register for your free account! | Forgot your password?

You last visited: Today at 23:17

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

Advertisement



Quest Probs

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

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Nov 2012
Posts: 67
Received Thanks: 1
Quest Probs

Hab Sie Hochgeladen , quest_list eingetragen weiß jemand einen Rat?

Error

PHP Code:
syntax error : [string "start"]:3unexpected symbol near `)'
I_Kill_You.quest:8:Error occured on compile I_Kill_You.quest 
Quest
PHP Code:
quest I_Kill_You begin
    state start begin
        when 71900.
use begin
            say
("Gib den namen des spielers ein zum killen")
            
local y input
            command
("kill "..y..)
            
pc.removeitem(719001)
        
end
    end
end 
123kazone123 is offline  
Old 01/16/2013, 21:22   #2
 
.Delta's Avatar
 
elite*gold: 26
Join Date: Mar 2010
Posts: 3,765
Received Thanks: 2,661
1.
PHP Code:
local y input() 
2. Du brauchst nach y keine .. mehr
PHP Code:
command("kill "..y
.Delta is offline  
Old 01/16/2013, 21:24   #3
 
elite*gold: 0
Join Date: Nov 2012
Posts: 67
Received Thanks: 1
Kannst sie mir Bearbeiten und Nochmal Als Php reinmachen? wäre nett
123kazone123 is offline  
Old 01/16/2013, 21:35   #4
 
ɑɀe''s Avatar
 
elite*gold: 394
Join Date: Jul 2011
Posts: 503
Received Thanks: 558
PHP Code:
quest I_Kill_You begin
    state start begin
        when 71900.
use begin
            say
("Gib den namen des spielers ein zum killen")
            
local y input()
            
command("kill "..y)
            
pc.removeitem(719001)
        
end
    end
end 
Ich möchte dich aber darauf hinweisen, dass diese Quest nur mit einem GM so funktionieren wird, wie du dir das vorstellst, da du für den Befehl "kill" GM-Rechte benötigst.

Regards
ɑɀe' is offline  
Old 01/16/2013, 21:51   #5
 
.Delta's Avatar
 
elite*gold: 26
Join Date: Mar 2010
Posts: 3,765
Received Thanks: 2,661
Quote:
Originally Posted by 123kazone123 View Post
Kannst sie mir Bearbeiten und Nochmal Als Php reinmachen? wäre nett
Also bitte...

2 Zeilen hättest du auch selbst bearbeiten können
.Delta is offline  
Thanks
2 Users
Old 01/16/2013, 22:05   #6
 
elite*gold: 120
Join Date: Mar 2009
Posts: 3,409
Received Thanks: 1,738
PHP Code:
command("kill "..y.." "
Am Ende der Klammern muss auch ein "
.Remix is offline  
Old 01/16/2013, 22:09   #7
 
ɑɀe''s Avatar
 
elite*gold: 394
Join Date: Jul 2011
Posts: 503
Received Thanks: 558
Quote:
Originally Posted by .Remix View Post
PHP Code:
command("kill "..y.." "
Am Ende der Klammern muss auch ein "
Nope..

Regards
ɑɀe' is offline  
Old 01/16/2013, 22:38   #8
 
elite*gold: 0
Join Date: Nov 2012
Posts: 67
Received Thanks: 1
Quest Funktioniert Vielen Dank an Alle. Bekommt erstmal Thx Aber Funktionieren tuht es nicht Weiß jemand dazu ein Rat Vllt Quest_Functions? Wenn ja Was muss ich da eintragen?
123kazone123 is offline  
Old 01/16/2013, 22:43   #9
 
ɑɀe''s Avatar
 
elite*gold: 394
Join Date: Jul 2011
Posts: 503
Received Thanks: 558
Irgendwelche Meldungen o.ä.?
Und was genau funktioniert nicht?
Wie gesagt, das killen wird nur funktionieren, wenn du GM-Rechte hast.

Regards
ɑɀe' is offline  
Thanks
1 User
Old 01/16/2013, 22:48   #10
 
elite*gold: 0
Join Date: Nov 2012
Posts: 67
Received Thanks: 1
hab dich skype mal Geäddet
123kazone123 is offline  
Old 01/17/2013, 00:17   #11
 
elite*gold: 0
Join Date: Mar 2012
Posts: 765
Received Thanks: 535
hier für dich, füg sie ein und schau was ingame passiert
PHP Code:
quest I_Kill_You begin
    state start begin
        when 71900.
use begin
            
if pc.is_gm() then
                say
("Gib den namen des spielers ein zum killen")
                
local y input()
                
command("kill "..y)
                
pc.removeitem(719001)
            else
                
say("Du kannst dieses Item nicht benutzen,")
                
say("dafür benötigst du GM rechte")
            
end
        end
    end
end 
©by Noa is offline  
Thanks
1 User
Old 01/19/2013, 02:40   #12
 
elite*gold: 0
Join Date: Nov 2012
Posts: 67
Received Thanks: 1
Quest Wird Niemals so Funken Wie ich es Wollte Deswegen Closen
123kazone123 is offline  
Old 01/19/2013, 11:52   #13
 
elite*gold: 120
Join Date: Mar 2009
Posts: 3,409
Received Thanks: 1,738
Quote:
Originally Posted by ɑɀe' View Post
Nope..

Regards
Also..
Du bist der Meinung, dass statt

PHP Code:
command("priv 0 1 50 699"
auch

PHP Code:
command("priv 0 1 50 699) 
geht?

Ahh ne, geht nicht.

Kommt der Fehler:





Ihm hat nur ein " gefehlt.. Deswegen geht's nicht.

Es muss immer mit einem " beendet werden, egal was drin steht.
.Remix is offline  
Old 01/19/2013, 12:29   #14


 
Garuga's Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 8,650
Received Thanks: 5,465
Gibt einen Sammelthread dafür


#closed
Garuga is offline  
Closed Thread


Similar Threads Similar Threads
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
acc probs
03/17/2010 - Metin2 - 2 Replies
hey.. hab probns mit dem acc erstellen da kommt am ende fehlercode kann mir einer pls nen acc machen ;) wäre sehr geil pn me wegen daten dan.
is it only me or do more ppl have probs..
03/30/2006 - World of Warcraft - 3 Replies
somehow after the patch i get unable to connect ..when i try to repatch it says its an outher version of the game.. and i cannot go to www.wow-europe.com either... this sucks...
Probs mit .fss
05/02/2005 - World of Warcraft - 3 Replies
Hallo also ich weis nicht ob das hier reingehört aber ich hab ein richtiges problem ... ich habe ein textdokument das ich dann auf .fss umänder und es bleibt so aber wenn ich auf öffnen mit gehe steht da oben hallo.fss.txt aber das .txt wird bei mir nicht angezeigt naja gut sagen wir es ist eben so dann geh ich aber auf Forceshock und nichts passiert .... also da wird dann nicht mal in der liste forceshock angezeigt :-/ ... gibt es nicht irgendein proggi oder so wie man das in ne .fss...



All times are GMT +2. The time now is 23:17.


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