Jump to content

Recommended Posts

Hi

I lunched a new MMORPG text based game, but the player (turns) not working, the (turns) function in the game should be automatically run after 30 min

 

I tried to search the database bit can't find any information or tips to let the turns works, I setup a cron jobs as per the script information but also the (turns) didn't work :-(

 

I got a hint from a friend that maybe the IP server is involved with the turns, is it true? And how I can let the turn's works?

 

Thanx

A reply from the developer:

 

 

 

You need to write a shell command to execute the PHP script that you want. One way to do this is using wget, a command-line HTTP request tool. For instance,

 

Code:

 

wget -qO - http://example.com/script.php

 

will execute script.php, and print the ouput to stdout. If you put this in a cron job, the output will be emailed to you. You can also set up authentication on the script and provide the username and password to wget, which is a good idea to prevent random people from executing that script and advancing the game whenever they want to. Google for the wget documentation for more info.

 

 

 

But its didn't work and the turns space still empty!!

 

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

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.