- Joined
- Oct 6, 2011
- Messages
- 614
- Reaction score
- 130
$PLANET['metal'] += $metaltotal;
$PLANET['metal'] += $metal_total;
how do i edit pricelist?
if i dont edit that list, is there any problem?
also there are very bug in there...
it is trash
<?php
$url = 'ogame';
$zones = explode(",","de,com.br,com.hr,dk,sk,si,com.es,us,ru,fr,gr,hu,it,jp,no,nl,pl,com.pt,org,cz,ro,se,tw");
$types = explode(",","dry,ice,jungle,normal,water,desert,gas");
$unis = explode(",","uni1,uni2,uni3,uni4,uni5,uni6,uni7,uni8,uni9,uni10,uni11,uni12,uni13,uni14,uni15,uni16,uni17,uni18,uni19,uni20,uni21,uni22,uni23,uni24,uni25,uni26,uni27,uni28,uni29,uni30,uni31,uni32,uni33,uni34,uni35,uni36,uni37,uni38,uni39,uni40,uni41,uni42,uni43,uni43,uni44,uni45,uni46,uni47,uni48,uni49,uni50,uni51,uni52,uni53,uni54,uni101,andromeda,uni102,barym,uni103,capella,uni104,draco,uni105,electra,uni106,fornax,uni107,gemini,uni108,hydra,uni109,io,uni110,jupiter,uni111,kassiopeia,uni112,leo,uni113,mizar,uni114,nekkar,uni115,orion,uni116,pegasus,uni117,quantum,uni118,rigel,uni119,sirius,uni120,taurus,uni121,ursa,uni122,vega,uni123,wasat,uni124,xalynth,uni125,yakini,uni126,zagadra,uni670,uni680,uni690");
foreach($types as $type){
for($one = 0; $one <= 1; $one++){
for($two = 0; $two <= 1; $two++){
for($three = 0; $three <= 1; $three++){
for($four = 0; $four <= 1; $four++){
for($tv = 0; $tv <= 1; $tv++){
for($tvv = 0; $tvv <= 1; $tvv++){
$ext = '';
if($one == 1){ $ext .= "_1"; }
if($two == 1){ $ext .= "_2"; }
if($three == 1){ $ext .= "_3"; }
if($four == 1){ $ext .= "_4"; }
if($tv == 1){ $ext .= "_12"; }
if($tvv == 1){ $ext .= "_212"; }
$file = $type.$ext.".png";
$file2 = "grabbed/".$file;
if (file_exists($file2))
continue;
$cz = 0;
foreach ($unis as $uni )
{
if ($cz == 0)
{
foreach ($zones as $zone)
{
$rURL = "http://".$uni.".".$url.".".$zone."/headerCache/resources/".$file;
$typer = @get_headers($rURL);
if ($typer[9] == 'Content-Type: image/png')
{
$content = file_get_contents($rURL);
if (!file_exists($file2))
{
$f = fopen( "grabbed/$file", "w" );
fwrite( $f, $content );
fclose( $f );
$cz = 1;
echo $file."</br>";
break;
}
}
}
}
else
break;
}
}
}
}
}
}
}
}
echo "Done";
?>
$unis = explode(",","uni1,uni2,uni3,uni4,uni5,uni6,uni7,uni8,uni9,uni10,uni11,uni12,uni13,uni14,uni15,uni16,uni17,uni18,uni19,uni20,uni21,uni22,uni23,uni24,uni25,uni26,uni27,uni28,uni29,uni30,uni31,uni32,uni33,uni34,uni35,uni36,uni37,uni38,uni39,uni40,uni41,uni42,uni43,uni43,uni44,uni45,uni46,uni47,uni48,uni49,uni50,uni51,uni52,uni53,uni54,uni101,andromeda,uni102,barym,uni103,capella,uni104,draco,uni105,electra,uni106,fornax,uni107,gemini,uni108,hydra,uni109,io,uni110,jupiter,uni111,kassiopeia,uni112,leo,uni113,mizar,uni114,nekkar,uni115,orion,uni116,pegasus,uni117,quantum,uni118,rigel,uni119,sirius,uni120,taurus,uni121,ursa,uni122,vega,uni123,wasat,uni124,xalynth,uni125,yakini,uni126,zagadra");
<?php
$url = 'ogame';
$zones = explode(",", "de,com.br,com.hr,dk,sk,si,com.es,us,ru,fr,gr,hu,it,jp,no,nl,pl,com.pt,org,cz,ro,se,tw");
$types = explode(",", "dry,ice,jungle,normal,water,desert,gas");
$unis = explode(",", "uni1,uni2,uni3,uni4,uni5,uni6,uni7,uni8,uni9,uni10,uni11,uni12,uni13,uni14,uni15,uni16,uni17,uni18,uni19,uni20,uni21,uni22,uni23,uni24,uni25,uni26,uni27,uni28,uni29,uni30,uni31,uni32,uni33,uni34,uni35,uni36,uni37,uni38,uni39,uni40,uni41,uni42,uni43,uni43,uni44,uni45,uni46,uni47,uni48,uni49,uni50,uni51,uni52,uni53,uni54,uni101,andromeda,uni102,barym,uni103,capella,uni104,draco,uni105,electra,uni106,fornax,uni107,gemini,uni108,hydra,uni109,io,uni110,jupiter,uni111,kassiopeia,uni112,leo,uni113,mizar,uni114,nekkar,uni115,orion,uni116,pegasus,uni117,quantum,uni118,rigel,uni119,sirius,uni120,taurus,uni121,ursa,uni122,vega,uni123,wasat,uni124,xalynth,uni125,yakini,uni126,zagadra,uni670,uni680,uni690");
$f2 = fopen("logs.txt", "w");
foreach ($types as $type) {
for ($one = 0; $one <= 1; $one++) {
for ($two = 0; $two <= 1; $two++) {
for ($three = 0; $three <= 1; $three++) {
for ($four = 0; $four <= 1; $four++) {
for ($tv = 0; $tv <= 1; $tv++) {
for ($tvv = 0; $tvv <= 1; $tvv++) {
$ext = '';
if ($one == 1) {
$ext .= "_1";
}
if ($two == 1) {
$ext .= "_2";
}
if ($three == 1) {
$ext .= "_3";
}
if ($four == 1) {
$ext .= "_4";
}
if ($tv == 1) {
$ext .= "_12";
}
if ($tvv == 1) {
$ext .= "_212";
}
$file = $type . $ext . ".png";
$file2 = "grabbed/" . $file;
fwrite($f2, "-----------------------------------\r\n");
fwrite($f2, 'Start file download ');
fwrite($f2, $file);
fwrite($f2, "\r\n");
if (file_exists($file2)) {
fwrite($f2, "Already downloaded\r\n");
fwrite($f2, "-----------------------------------\r\n");
continue;
}
$cz = 0;
foreach ($unis as $uni) {
if ($cz == 0) {
foreach ($zones as $zone) {
$rURL = "http://" . $uni . "." . $url . "." . $zone . "/headerCache/resources/" . $file;
$typer = @get_headers($rURL);
if ($typer[9] == 'Content-Type: image/png') {
$content = file_get_contents($rURL);
if (!file_exists($file2)) {
$f = fopen("grabbed/$file", "w");
fwrite($f, $content);
fclose($f);
$cz = 1;
fwrite($f2, $file);
fwrite($f2, "\r\n");
fwrite($f2, "Downloaded\r\n");
fwrite($f2, "Second Domain: ");
fwrite($f2, $uni);
fwrite($f2, "\r\n");
fwrite($f2, "Zone: ");
fwrite($f2, $zone);
fwrite($f2, "\r\n");
fwrite($f2, "-----------------------------------\r\n");
break;
}
} else {
fwrite($f2, $file);
fwrite($f2, "\r\n");
fwrite($f2, "Not found in Second Domainе: ");
fwrite($f2, $uni);
fwrite($f2, "\r\n");
fwrite($f2, "Not found in Zone: ");
fwrite($f2, $zone);
fwrite($f2, "\r\n");
fwrite($f2, "-----------------------------------\r\n");
}
}
} else
break;
}
}
}
}
}
}
}
}
fclose($f2);
echo "Done";
?>
Hi there
In version 5.9 fresh install, i found an error
It says that exceed 30 seconds on register....
I put 256000 but then get a server internal error
The game works fine until galaxi 1-1-1 is full, so we talk about 10 users, the problem i think is on creation users on others systems and galaxies
Do you have the same problem..
Versión PHP: 5.3.6
PHP API: cgi-fcgi
SafeMode: No
MemoryLimit: 600M
Versión del Cliente MySQL: 5.0.96
Versión del MySQL: 5.0.96-community-log
Versión del Juego: xNova Revolution 5.9
Best Regards
if ($LastSettedSystemPos > $CONF['max_system']) {
if ($LastSettedSystemPos == MAX_SYSTEM_IN_GALAXY) {