Newbie Spellweaver
- Joined
- Dec 23, 2013
- Messages
- 15
- Reaction score
- 1
how do the troops from barracks to make instant?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature currently requires accessing the site using the built-in Safari browser.
exactly training_time=?What about training_time=0 ?
Please don't ask where to find, if you can't search you're not able to have a server aswell.
No problem, bro
it should be somwhere by the troops, i don't know exactyle the variable, but if you look on it carefully you should see what to change.
the latest version by Shadow, like all looked and did not find! Help please bro!Which version do you use?
$u1=array('atk'=>40,'di'=>35,'dc'=>50,'wood'=>120,'clay'=>100,'iron'=>150,'crop'=>30,'pop'=>1,'speed'=>6,'time'=>1600,'cap'=>50);
Ok for real ... it took me only 30 seconds to find it ... maybe it's because I know a little bit of the script, but it's easy to find.
Go here:
You must be registered to see links
You can find lines like that:
PHP:$u1=array('atk'=>40,'di'=>35,'dc'=>50,'wood'=>120,'clay'=>100,'iron'=>150,'crop'=>30,'pop'=>1,'speed'=>6,'time'=>1600,'cap'=>50);
That's for the first unit, then change 'time'=>0, so it should be instant
$dur=$generator->getTimeFormat($dur);
echo ($dur=="0:00:00")? "0:00:01":$dur;
it does not work! time 0, -1, -10, or even -100, does nothing!
As troops were built 1 unit 1 second, and built.
Really nobody knows how to make an instant build troops?
Surely there must be a server with instant construction, and most took the script from here, so it is difficult to share you how to make instant build troops?
What kind of people .....
in travianX or travianZ never set time to 0 if your speed is >500 because page was reloading never stop.
that why in file \Templates\Build\19_train.tpl (barrack) line 41 and 74 has code:
if time <0 sec then is set to 1 sec.PHP:$dur=$generator->getTimeFormat($dur); echo ($dur=="0:00:00")? "0:00:01":$dur;
also check this http://forum.ragezone.com/f583/fix-duration-training-troops-805626/