- Joined
- Jul 31, 2008
- Messages
- 5
- Reaction score
- 0
I installed that server in localnet. And find lot of bugs. Not all included, because I don't remember them.
0. Sorry for my english
1. Problem: Max Systems in galaxy set to 9999 in includes\constants.php and admin\constants.php like that
but when we try go to system more than 50, game rediects us to 499.
Fix:
in \constants.php and admin\constants.php set
to:
includes\functions\ShowGalaxySelector.php
replace:
with:
2. Problem: In alliance.php?mode=memberslist if not alliancemaker status not right.
Fix: Line 442,443 in alliance.php decrease $u['ally_rank_id'] by 1
3. Problem: in resources.php, when produced energy less than spent energy, energy produced with "-" sign.
Fix:
includes\functions\BuildRessourcePage.php
Line near 130.
4. Problem: In stat.php?start={user_rank} always shown rank 1-100 selected.
I'l try to write more fixes.
From Russia with love.
P.S. We are not bobmeb Georgia!
0. Sorry for my english

1. Problem: Max Systems in galaxy set to 9999 in includes\constants.php and admin\constants.php like that
Code:
define('MAX_SYSTEM_IN_GALAXY' , 9999);
Fix:
in \constants.php and admin\constants.php set
Code:
define('MAX_SYSTEM_IN_GALAXY' , 9999);
Code:
define('MAX_SYSTEM_IN_GALAXY' , 999);
replace:
Code:
if ($Galaxy > 1) {
$Galaxy = 9;
}
if ($Galaxy < 1) {
$Galaxy = 1;
}
if ($System > 50) {
$System = 499;
}
if ($System < 1) {
$System = 1;
}
Code:
if ($Galaxy > 1) {
$Galaxy = 1;
}
if ($Galaxy < 1) {
$Galaxy = 1;
}
if ($System > 999) {
$System = 999;
}
if ($System < 1) {
$System = 1;
}
Fix: Line 442,443 in alliance.php decrease $u['ally_rank_id'] by 1
Code:
} elseif (isset($allianz_raenge[$u['ally_rank_id']-1]['name'])) {
$u["ally_range"] = $allianz_raenge[$u['ally_rank_id']-1]['name'];
Fix:
includes\functions\BuildRessourcePage.php
Line near 130.
Code:
if (100==$post_porcent) {
$CurrRow['energy_type'] = colorNumber ( $CurrRow['energy_type'] );
} else {
$CurrRow['energy_type'] = colorNumber ( -$CurrRow['energy_type'] );
}
Code:
Fix: In stat.php Near line 80
for ($Page = 0; $Page <= $LastPage; $Page++) {
$PageValue = ($Page * 100) + 1;
$PageRange = $PageValue + 99;
$parse['range'] .= "<option value=\"". $PageValue ."\"". (($range == $PageValue) ? " SELECTED" : "") .">". $PageValue ."-". $PageRange ."</option>";
}
From Russia with love.
P.S. We are not bobmeb Georgia!