Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server
You last visited: Today at 20:33

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

Advertisement



ox.execute, mysql_query problem! Need help!

Discussion on ox.execute, mysql_query problem! Need help! within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2012
Posts: 4
Received Thanks: 0
Lightbulb ox.execute, mysql_query problem! Need help!

Dear EPVP community!

I've got 1765 game with 1866_db

I've got problem some functions. for example: os.execute command.
When i restart my server the os.execute command is good(Dragon ticket.)
But some hours go wrong.

My quest:

quest start begin
state start begin
when 99995.use begin
say("Gratulálok! A jóváírás sikeres volt.")
syschat("A számládhoz jóváíródott 500 sárkány érme!")
pc.remove_item(99995, 1)
-- local ID = pc.get_account_id()
-- local nev = pc.get_player_id()
-- local KARI = pc.get_name()
-- local item99995 = 99995
-- mysql_query("INSERT INTO TestPVPaccount.dragoncoins_log VALUES ("..ID..",'"..nev.."',NOW(),"..item99995..");")
-- mysql_query("UPDATE TestPVPaccount.account SET coins = coins + 500 WHERE id = "..ID..";")
os.execute("php /usr/home/teszt/pvp/share/locale/germany/quest/dc.php "..pc.get_account_id().." "..pc.get_player_id().." 500 99995")
end
end
end

comment the mysql_query because this same wrong some hours....
i try os.execute but similar this.

Best Regards
Cris
sadmin is offline  
Reply


Similar Threads Similar Threads
Problem mysql_query
11/16/2013 - Metin2 Private Server - 0 Replies
local mall = mysql_query("SELECT vnum FROM player.item WHERE owner_id = "..pc.get_account_id().." and window = "'MALL'" and pos = "'1'";") if mall.mall != 0 then syschat("slot ocuped") return end This is correct? Thanx.
PHP mysql_query Problem
02/06/2013 - Web Development - 4 Replies
Hat sich erledigt :D



All times are GMT +1. The time now is 20:33.


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.