Jump to content

anocoolcraft

Inactive Member
  • Posts

    5
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by anocoolcraft

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