Jump to content
  • 0
Sign in to follow this  
anocoolcraft

db_rev 1765 need!

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.
 
 

Share this post


Link to post
  • 0

You haven't really explained what the issue is or provided any kind of errors. Nobody can help you if they don't know what the problem is :/

Share this post


Link to post
  • 0

No, the system clock is not off..

So my problem:

 

When i restart my server the ox.execute command is GOOD!

but some hours about 5-6 this go wrong, not work.

 

Share this post


Link to post
  • 0

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 ;)

Share this post


Link to post

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
Sign in to follow this  
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • 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.