Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

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