Jump to content
  • 0

db_rev 1765 need!


anocoolcraft

Question

  • Answers 8
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

8 answers to this question

Recommended Posts

  • 0

I've got this, but 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.
 
 
Link to comment
  • 0
  • VIP

That sounds like stuff going out of sync because of the clock. Could be a hardware failure. Can you provide the mysql logs?

 

You shouldn't use such an old revision anyway, newer ones are more stable ;)

 

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.