Register for your free account! | Forgot your password?

You last visited: Today at 04:22

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

Advertisement



Quest Problem

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

Reply
 
Old   #1
 
ɑɀe''s Avatar
 
elite*gold: 394
Join Date: Jul 2011
Posts: 503
Received Thanks: 558
Quest Problem

Hey liebe Community,

ich habe ein Problem bei einer Quest, an der ich seit ein paar Tagen sitze.

Was ich machen möchte:

Code:
Wenn der Spieler X (aus einer DB Tabelle) getötet wird soll Y passieren.
Ich brauche eig. nur eine Funktion um den Spieler, der getötet wurde auszulesen.

Hat jemand eine Idee?


Mit freundlichen Grüßen
ɑɀe' is offline  
Thanks
1 User
Old 04/27/2012, 17:26   #2
 
elite*gold: 0
Join Date: May 2009
Posts: 533
Received Thanks: 464
Ich habe eine idee aber kopliziert mom
Stylo@Magic-mt3 is offline  
Old 04/27/2012, 17:46   #3
 
Sp0ngeb0b ist cool's Avatar
 
elite*gold: 15
Join Date: Sep 2010
Posts: 844
Received Thanks: 975
hehe 'nur' ist gut

guck dir mal die log.log an & schreib anschließend paar querys dazu
Sp0ngeb0b ist cool is offline  
Old 04/27/2012, 17:54   #4
 
elite*gold: 0
Join Date: May 2009
Posts: 533
Received Thanks: 464
PHP Code:
when player.kill begin
notice_all
("Der Spieler: "..pc.get_name().." hat "..pc.get_name().." getötet.")
      
end
   end
end 
habs nicht getester aber muss gehen
Stylo@Magic-mt3 is offline  
Old 04/27/2012, 17:58   #5
 
Sp0ngeb0b ist cool's Avatar
 
elite*gold: 15
Join Date: Sep 2010
Posts: 844
Received Thanks: 975
wtf? xD
du verwendest 2x pc.get_name() --> beispiel:
Spielername: Test
notiz im chat: Der Spieler Test hat Test getötet.
abgesehen davon gibt es player.kill nicht sondern:
kill with npc.is_pc()
Sp0ngeb0b ist cool is offline  
Old 04/27/2012, 18:04   #6
 
ɑɀe''s Avatar
 
elite*gold: 394
Join Date: Jul 2011
Posts: 503
Received Thanks: 558
Quote:
Originally Posted by Stylo@Magic-mt3 View Post
PHP Code:
when player.kill begin
notice_all
("Der Spieler: "..pc.get_name().." hat "..pc.get_name().." getötet.")
      
end
   end
end 
habs nicht getester aber muss gehen
Wie Sp0ngeb0b ist cool schon gesagt hat, das funktioniert nicht.
Darauf wäre ich selbst auch gekommen
Trotzdem Danke.

Mit freundlichen Grüßen
ɑɀe' is offline  
Old 04/28/2012, 12:55   #7
 
.Iscariot's Avatar
 
elite*gold: 37
Join Date: Jan 2010
Posts: 2,035
Received Thanks: 1,706
weiß denn wirklich niemand weiter ?
.Iscariot is offline  
Old 04/28/2012, 13:59   #8
 
elite*gold: 0
Join Date: Jan 2009
Posts: 81
Received Thanks: 12
wie meinst du das? in welchem Zusammenhang soll das den stehen?
ich meine den Spieler x musste ja Irgentwie benennen?
Kingnyze3 is offline  
Reply


Similar Threads Similar Threads
Quest problem
03/20/2012 - Metin2 Private Server - 2 Replies
hi epvp i made for my server a quest and it's says in VirtualBox: quest doesn't have begin-end clause. xxx.quest:6:Abort (core dumped) here is the quest ------------------------------------------------- --- --Eine neue Quest --erstellt mit dem Biologen Quest Editor --Made by _DownTime from elitepvpers.com ------------------------------------------------- --- quest Culege sticla plica cu otrava begin
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
[Quest Problem]
05/15/2010 - Metin2 Private Server - 3 Replies
Hallo Com, da bei mir das Starterpack leider nichtmehr kommt, wie vllt bei vielen wollte ich eine kleine Quest schreiben, dass man es durch einen NPC bekommt. Jedoch mache ich irgend etwas falsch, aber ich kommt nicht drauf was :( Vllt könnt ihr mir da mal kurz helfen quest starterset begin state start begin when 20359.chat."Starterset abholen" with pc.level=1 begin say_title("UnNamed Mt2 Team:") say("Herzlich willkommen auf dem UnNamed Mt2 Server")
[Problem] Problem with server starting - cannot find quest index for PaxHeader
12/22/2009 - Metin2 Private Server - 1 Replies
Hello! I have this same problem as here when i'm starting my server: http://www.elitepvpers.com/forum/metin2-pserver-di scussions-questions/307143-metin2-serverfiles-ques t-index-fehler.html But I didn't know the answer.. how to repair this? Greetings



All times are GMT +2. The time now is 04:22.


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.