Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server
You last visited: Today at 06:05

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

Advertisement



Kill Quest With MySQL

Discussion on Kill Quest With MySQL within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
DexterSK's Avatar
 
elite*gold: 0
Join Date: Jun 2011
Posts: 160
Received Thanks: 161
Kill Quest With MySQL

Quote:
quest kills begin
state start begin
when kill begin
if npc.is_pc() then
local q1 = mysql_query('UPDATE player.player SET kills = kills+1 WHERE name = \\"'..pc.get_name()..'\\"')
end
end
end
end
this is correctly ?

// Sorry for my bad english...
DexterSK is offline  
Old 01/26/2013, 08:50   #2
 
elite*gold: 0
Join Date: Mar 2012
Posts: 765
Received Thanks: 535
PHP Code:
mysql_query("UPDATE player.player SET kills = kills+1 WHERE name = '"..pc.get_name().."';"
©by Noa is offline  
Reply


Similar Threads Similar Threads
MySQL Quest
11/10/2012 - Metin2 Private Server - 3 Replies
Hey habe ein Problem, 1. mit der Query local update_guild_gold = mysql_query("UPDATE player.guild SET gold='-"..geld_von_konto.."' WHERE id='"..gilden_name.."'","m2use r","moass@#","player",&qu ot;localhost") Nimmt er kein Gold ab sondern setzt einfach vor die Zahl ein - (facepalm)
Other Country Player Kill Ranking[First 3 Kill By RealFreak Quest]
09/23/2012 - Metin2 PServer Guides & Strategies - 26 Replies
Hello , My friend make it ; quest koep begin state start begin when login begin if global.getvarchar("rank1") == pc.get_name then chat("You're first in kill other empire player's ranklist") elseif global.getvarchar("rank2") == pc.get_name then chat("You're second in kill other empire player's ranklist")
[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



All times are GMT +2. The time now is 06:05.


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.