Jump to content
Forgot your email address? ×
×
×
  • Create New...
  • 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
  • Premium

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

Announcements

  • -15% Discount in Metin2 Dev Store (01/10/2021 => 31/12/2021) => Code => 15_PCT_OCT_TO_DEC_2021


  • Read our Rules
  • Activity

    1. 14

      FOV-System

    2. 7

      PHOENIX2 !OLDSCHOOL SERVER, PAYTOWIN REMOVED!

    3. 0

      special_item_group and chest apprentice

    4. 0

      Use BeltInventory slots without Belt

    5. 2

      Alternative Alternative Zodiac Suit - Ninja M

    6. 0

      character details negative bonus

    7. 0

      Questlib mysql_query function problem

  • Recently Browsing

    • No registered users viewing this page.

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.