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!

Troops Losing Sometimes

Status
Not open for further replies.
Newbie Spellweaver
Joined
Sep 15, 2011
Messages
15
Reaction score
1
Hello,

i'm using Dzoki's 4.8.5

sometimes, troops going to attack and no back. why ?

note : 00:00:? fixed by mert
 
Newbie Spellweaver
Joined
Aug 19, 2011
Messages
51
Reaction score
6
it's easy:
make a new file: fix_attacks.php
put in it:
PHP:
<?php session_start();
include("GameEngine/Account.php");
$q = "UPDATE ".TB_PREFIX."movement,".TB_PREFIX."attacks SET ".TB_PREFIX."movement.endtime=".time()." WHERE ".TB_PREFIX."movement.ref=".TB_PREFIX."attacks.id and attack_type=2";
mysql_query($q);
$q = "UPDATE ".TB_PREFIX."movement,".TB_PREFIX."attacks SET ".TB_PREFIX."movement.endtime=".time()." WHERE ".TB_PREFIX."movement.ref=".TB_PREFIX."attacks.id and attack_type=3";
mysql_query($q);
$q = "UPDATE ".TB_PREFIX."movement,".TB_PREFIX."attacks SET ".TB_PREFIX."movement.endtime=".time()." WHERE ".TB_PREFIX."movement.ref=".TB_PREFIX."attacks.id and attack_type=4";
mysql_query($q);
echo "Troops come back!"
?>
you must run this file when your troops are 0:00:0?
(Sorry for my bad English)
 
Newbie Spellweaver
Joined
Sep 15, 2011
Messages
15
Reaction score
1
advocaite, i tested your script. while upgrading warehouse to level 1, upgrading to level 2 automatically. and capacity up to 1900 :D level 2 capacity normal => 2300
 
Elite Diviner
Joined
Sep 3, 2011
Messages
404
Reaction score
100
I searched alot for Greate granary and greate ware house but ...

When we can made them ?

Or They were not fixed yet
 
Status
Not open for further replies.
Back
Top