• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Training Troops - eachtime

Newbie Spellweaver
Joined
Feb 25, 2009
Messages
6
Reaction score
1
Hi guys,

Have lowered the "eachtime" value when training troops so it trains more troops per minute (previously it was set to 1 and is now 0.02).

However, this also changed the refresh interval when training the troops - so fast it's hard to get out from the page.

Any ideas how I can set the refresh interval to like 5 seconds instead?

Using Shadowss Travianz version.

Thanks!

Ok so have managed to figure out the script is calling the function procTrain every time, which then sends the header("Location: build.php?id=".$post['id']); at the end of it.
I've tried to put a sleep() before it. Also tried this:
header("Refresh: 5;URL=build.php?id=".$post['id']);

But that returns an error msg on db_MYSQL.php instead.
 
Last edited by a moderator:
Back
Top