Help needed - cron file error..?

Discussion in 'PHP' started by CjNy21, Oct 27, 2009.

  1. #1
    I currently have a mmorpg.. The player is to receive 100 credits every ten minutes however this feature{timer} is running backwards and not issuing the credits like it is supposed to...Any help would be greatly appreciated..
     
    CjNy21, Oct 27, 2009 IP
  2. nabil_kadimi

    nabil_kadimi Well-Known Member

    Messages:
    1,065
    Likes Received:
    69
    Best Answers:
    0
    Trophy Points:
    195
    #2
    Please show the command you are using
     
    nabil_kadimi, Oct 27, 2009 IP
  3. gacba

    gacba Peon

    Messages:
    75
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Personally, I'd suggest avoiding cron as the syntax is painful for most folks, and getting your crontab absolutely perfect is hard.

    Use a PHP cron job service like Cronless.com and you only need to provide a valid URL on your site for the credits to auto-update every 10 min. You could also upgrade to Pro and get site monitoring to know when your MMORPG is down. :D
     
    gacba, Oct 28, 2009 IP
  4. CjNy21

    CjNy21 Peon

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I belive this is the command or part of the script the game is using I can not locate what file is controling this function...

    <?if($turnupdate[0]){?>

    you will receive <font color="#0099cc"> <font color="#FF0000"> <strong>

    <?=$gamespeed?>

    </strong></font></font> <strong><font color="#FF0000">turns</font></strong> in:

    <?=countup($turnupdate[0]+600)?>

    <br />
     
    CjNy21, Nov 2, 2009 IP
  5. CjNy21

    CjNy21 Peon

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I belive this is the command or part of the script the game is using I can not locate what file is controling this function...

    <?if($turnupdate[0]){?>

    you will receive <font color="#0099cc"> <font color="#FF0000"> <strong>

    <?=$gamespeed?>

    </strong></font></font> <strong><font color="#FF0000">turns</font></strong> in:

    <?=countup($turnupdate[0]+600)?>

    <br />
     
    CjNy21, Nov 2, 2009 IP