
mimikri Administrator
- Member since Sep 12th 2016
- Last Activity
This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.
-
-
Danter14 -
to do this it would be necessary to return from the voting site
-
Abyss -
They have made some servers but I could not do it, vote on them, after voting on the voting site it gives dark matter but we have dark matter as soon as you click
-
Danter14 -
yes it is normal, to have material after a vote you need a json return of the site or the vote is carried out to condition that the vote is well done
-
-
Abyss -
Master, a dishonest player is constantly making a bug with spies, there is no spy attack in our game, do you know such a bug?
-
XenQen -
You can disable Spy Probes for attacks in this function, so the Attack Option does not get displayed if he selects Spy Probes: github.com/jkroepke/2Moons/blo…s.FleetFunctions.php#L408
-
-
Estevez -
tengo la duda si se puede tener mas de 9 colonias o planetas hasta cuanto se puede tener
-
WARNING
Message: session_start(): Unable to clear session lock record
File: /includes/classes/Session.class.php
Line: 139
URL: xnova.nat.cu/game.php?page=overview
PHP-Version: 7.3.11
PHP-API: fpm-fcgi
2Moons Version: 2.4b.git
Debug Backtrace:
#0 [internal function]: errorHandler(2, 'session_start()...', 'FILEPATH ...', 139, Array)
#1 /includes/classes/Session.class.php(139): session_start()
#2 /includes/common.php(120): Session::load()
#3 /game.php(25): require_once('FILEPATH ...')
#4 {main} -
Russoll -
ok.. understood ty
-
Russoll -
hey quick question... i am trying to put the races mod but i can insert into vars i keep getting error via phpmyadmin
Column count doesn't match value count at row 1-
XenQen -
This means that there are more or less entries per row than columns. You have to add/delete some entries.
Your issue can be caused by
INSERT INTO TABLE (column1, column2) VALUES (value1, value2, value3) for example. So it could be that there are too much or too less columns for all your values. Hope you understand this.
-
-
yamilrh -
sabes alguna formula que se pueda hacer para reducir el costo de produccion de todas las estructuras
-
[26-Dec-2019 13:10:59] USER ERROR: "SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect string value: '\xF0\x9F\x91\x8C' for column 'message_text' at row 1
Query-Code:INSERT INTO uni1_messages SET
message_owner = 1,
message_sender = 167,
message_time = 1577383859,
message_type = 1,
message_from = Murder_you [1:164:10],
message_subject = Sin asunto,
message_text = Dime puedes e manao porfa ando escarchado ,
message_unread = 1,
message_universe = 1;" -
mimikri -
pls send me the line from your error.log file before
Query-Code:INSERT INTO uni1_messages SET
message_owner = 1,
message_sender = 167,
message_time = 1577383859,
message_type = 1,
message_from = Murder_you [1:164:10],
message_subject = Sin asunto,... -
Query-Code:INSERT INTO uni1_messages SET
message_owner = 1,
message_sender = 167,
message_time = 1577383859,
message_type = 1,
message_from = Murder_you [1:164:10],
message_subject = Sin asunto,
message_text = Dime puedes e manao porfa ando escarchado ,
message_unread = 1,
message_universe = 1;"
File: /srv/www/www.xnova.nat.cu/htdocs/includes/classes/Database.class.php | Line: 126
URL: xnova.nat.cu/game.php?page=messages&mode=send&id=1&ajax=1 | Version: 1.9.git
Stack trace:
#0 /includes/classes/Database.class.php(185): Database->_query('INSERT INTO %%M...', Array, 'insert')
#1 /includes/classes/PlayerUtil.class.php(645): Database->insert('INSERT INTO %%M...', Array)
#2 /includes/pages/game/ShowMessagesPage.class.php(323): PlayerUtil::sendMessage(1, '167', 'Murder_you [1:1...', 1, 'Sin asunto', 'Dime puedes e m...', 1577383859)
#3 /game.php(57): ShowMessagesPage->send()
#4 {main}-
mimikri -
pls also send the first line of the message wich descipes the error
-
-
the fleets arrive with the message that they delivered the resources on the planet but they were never deposited there, that is, what is lost is the recruse they transported
-
mimikri -
then you have to first check if the resources are on bord, but then the message shows the right resources they are transportet.
so the error can only be, the restorfunction from includes\classes\class.MissionFunctions.php -> RestoreFleet()
-
-
There are things that are very complex at the time of fixing or solving but I have a problem that I do not know how to solve on my server version 1.9 in some cases when transporting the resource from one planet to another affect the fleets and the message of delivery of the resources but they do not arrive as it can be solved please help since I have where I can make those arrangements
-
mimikri -
if the transports don't arrive they probably drop an errormessage into the includes/error.log file. there you will find a hint, what the error could be.
fleets that didn't arrive should still exist, in the adminpanel under flying fleets they should be found with a green comment wich says unlock.
but the unlocking only works if the error is fixed. if it is a temporal error it can work, but will occur again.
-
-
yamilrh -
buenos dias, me puedes decir donde cambio para aumentar el factor de materia oscura en las expediciones al .16
-
yamilrh -
perdoname por invadir tu perfil 2moons.de/index.php?thread/966-bug-trader/
-
yamilrh -
actualice est, por favor echale un ojo
-
-
yamilrh -
Fatal error: Cannot redeclare class FlyingFleetHandler in xnova/includes/classes/class.FlyingFleetHandler.php on line 18
cuando intento administrar la alianza luego refresco la pagina y si me carga, este error no me lo da siempre.
Lo otro es que mis usuarios no pueden administrar los rangos en las alianza, es debido a este mismo error?-
yamilrh -
lo que esta en mi class.FlyingFleetHandler.php
<?php
/**
* 2Moons
* by Jan-Otto Kröpke 2009-2016
*
* For the full copyright and license information, please view the LICENSE
*
* @package 2Moons
* @author Jan-Otto Kröpke <slaver7@gmail.com>
* @copyright 2009 Lucky
* @copyright 2016 Jan-Otto Kröpke <slaver7@gmail.com>
* @licence MIT
* @version 1.8.0
* @link github.com/jkroepke/2Moons
*/
class FlyingFleetHandler
{
protected $token;
public static $missionObjPattern = array(
1 => 'MissionCaseAttack',
2 => 'MissionCaseACS',
3 => 'MissionCaseTransport',
4 => 'MissionCaseStay',
5 => 'MissionCaseStayAlly',
6 => 'MissionCaseSpy',
7 => 'MissionCaseColonisation',
8 => 'MissionCaseRecycling',
9 => 'MissionCaseDestruction',
10 => 'MissionCaseMIP',
11 => 'MissionCaseFoundDM',
15 => 'MissionCaseExpedition',
);
function setToken($token)
{
$this->token = $token;
}
function run()
{
require_once 'includes/classes/class.MissionFunctions.php';
require_once 'includes/classes/missions/Mission.interface.php';
$db = Database::get();
$sql = 'SELECT %%FLEETS%%.*
FROM %%FLEETS_EVENT%%
INNER JOIN %%FLEETS%% ON fleetID = fleet_id
WHERE `lock` = :token;';
$fleetResult = $db->select($sql, array(
':token' => $this->token
));
foreach($fleetResult as $fleetRow)
{
if(!isset(self::$missionObjPattern[$fleetRow['fleet_mission']])) {
$sql = 'DELETE FROM %%FLEETS%% WHERE fleet_id = :fleetId;';
$db->delete($sql, array(
':fleetId' => $fleetRow['fleet_id']
));
continue;
}
$missionName = self::$missionObjPattern[$fleetRow['fleet_mission']];
$path = 'includes/classes/missions/'.$missionName.'.class.php';
require_once $path;
/** @var $missionObj Mission */
$missionObj = new $missionName($fleetRow);
switch($fleetRow['fleet_mess'])
{
case 0:
$missionObj->TargetEvent();
break;
case 1:
$missionObj->ReturnEvent();
break;
case 2:
$missionObj->EndStayEvent();
break;
}
}
}
} -
mimikri -
can you pls send the full errormessage
-
yamilrh -
esto es en el xnova 2moon v1.9 me muestra una pagina en blanco con este error Fatal error: Cannot redeclare class FlyingFleetHandler in xnova/includes/classes/class.FlyingFleetHandler.php on line 18
-
mimikri -
have a look in includes/error.log
-
yamilrh -
Query-Code:UPDATE uni1_users SET ally_rank_id = 542 WHERE id = 194 AND ally_id = 398;"
File: /srv/www/www.xnova.nat.cu/htdocs/includes/classes/Database.class.php | Line: 126
URL: xnova.nat.cu/game.php?page=all…=admin&action=rank&ajax=1 | Version: 1.9.git
Stack trace:
#0 /includes/classes/Database.class.php(177): Database->_query('UPDATE %%USERS%...', Array, 'update')
#1 /includes/pages/game/ShowAlliancePage.class.php(1433): Database->update('UPDATE %%USERS%...', Array)
#2 /includes/pages/game/ShowAlliancePage.class.php(735): ShowAlliancePage->adminRank()
#3 /game.php(57): ShowAlliancePage->admin()
#4 {main}
-
-
Message: Permission error!
File: /includes/pages/adm/ShowConfigUniPage.php
Line: 18
URL: xnova.nat.cu/admin.php?page=configuni
PHP-Version: 5.6.25
PHP-API: fpm-fcgi
2Moons Version: 1.9.git
Debug Backtrace:
#0 /admin.php(66): include_once()
#1 {main} -
good morning sorry if I bother you from very early but there is something that I really liked your designs but I could not install it I would like if you can help me or give me a link to download a better installation of 2moons-war-of-alliance-master
-
mimikri -
war of allience ist made by thisishowwedoit, for help with it, please ask him
-
-
Buenos días yo tengo montado un serve la versión 1.8 pero se ha dado el caso de que están explotando un bugs que reducen el tiempo de vuelo de las flotas y a la vez las mueven instantánea mente hacia otro otro planeta alguien me puede dar alguna solución por favor espero atentamente de su ayuda.
-
mimikri -
das klingt komisch, ohne fehlermeldung oder kann ich dir nicht sagen was da los ist.
fehler findest du unter "includes/error.log"
wenn du code verändert hast, wäre es hilfreich zu posten was du wie verändert hast.
auch gibt es im adminpanel eine infos seite, in dieser stehen grundlegende informationen, die das finden eines fehlers erleichtern können. -
Lo malo es eso que no muestra un error a la hora de realizar el bugs por eso estoy corto de información al respecto por el momento pero se ha esta explotando el cual no he podido solucionar dicho error lamento que no pueda aportar mas información al respecto para que me puedan ayudar pero voy trabajar en ellos para así me puedan ayudar
-
-
yamilrh -
es normal que mandes mega-recicladores a una expedicion y regresen con 30 millones de recursos? pasa los mismo con el resto de las naves traen bastante recuersos
-
yamilrh -
hola, no me funciona el codigo del destructor,
-
yamilrh -
hello friend, help me 2moons.de/index.php?thread/929…-officer/&action=firstNew
-
sromantr -
hey i m need help
give this error
Message: Undefined index: computer_tech
Line: 55
$clevel = ($PLANET[$resource[$id]] * 1) + ($PLANET[$resource[$id]] * 1);
what i do
i try to
$clevel = (isset($PLANET[$resource[$id]])) ? ($PLANET[$resource[$id]] * 1) : ($USER[$resource[$id]] * 1) + ($PLANET[$resource[$id]] * 1);
but not work-
mimikri -
computer_tech is in $USER cause researches are saved in uni1_users, fleet and buildinge in $PLANETS (uni1_planets)
-
sromantr -
I'm trying to do something like this
resimag.com/i/507eec898bc
<?php
/**
* 2Moons
* Copyright (C) 2012 Jan Kröpke
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <gnu.org/licenses/>.
*
* @package 2Moons
* @author Jan Kröpke <info@2moons.cc>
* @copyright 2012 Jan Kröpke <info@2moons.cc>
* @license gnu.org/licenses/gpl.html GNU GPLv3 License
* @version 1.7.3 (2013-05-19)
* @info $Id: class.ShowTechtreePage.php 2632 2013-03-18 19:05:14Z slaver7 $
* @link 2moons.cc/
*/
class ShowTechDataPage extends AbstractPage
{
public static $requireModule = MODULE_TECHTREE;
function __construct()
{
parent::__construct();
$this->setWindow('popup');
$this->initTemplate();
}
private function get_req($id,$from = '-1',$req = 1){
global $requeriments,$LNG,$USER ,$PLANET,$resource,$n;
$get_req = "";
if(isset($requeriments[$id]))
{
//See if this item has requirements, if so give it space for the +/-
if(is_array($requeriments[$id])){ $h = 55; }else{ $h = 46; }
}else{
$h = 46;
}
//See if we have met this requirement, get curent level
$clevel = (isset($PLANET[$resource[$id]])) ? ($PLANET[$resource[$id]] * 1) : ($USER[$resource[$id]] * 1) + ($PLANET[$resource[$id]] * 1);
//Have we beet the requirement?
if($clevel >= $req){
$colour = 'lime';
$req_txt = $req;
}else{
$colour = 'red';
$req_txt = $clevel.'/'.$req;
}
//Add the item to the subtree
$get_req .= "\t\t\t\t".'myTree.add('.$n.','.$from.',"<a><img src=\'styles/theme/gow/img/small/small_'.$id.'.jpg\' style=\'border:1px solid '.$colour.';\' /><span class=\'mrtooltip\' style=\'color:'.$colour.'\'>'.$req_txt.' - '.$LNG['tech'][$id].'</span></a>",46,'.$h.');'."\n";
//Note this element then move onto the next.
$from = $n; $n++;
if(isset($requeriments[$id])) {
//If there are requirements.
if(is_array($requeriments[$id])){
//Then do the same for each of its requirements.
foreach($requeriments[$id] as $nid => $req){
$get_req .= $this->get_req($nid,$from,$req);
}
}
}
return $get_req;
}
function show()
{
}
function tree()
{
global $LNG;
$parse = $LNG;
$Element = HTTP::_GP('gid', 0);
$ElementName = $LNG['tech'][$Element];
$heightajusts = array(
43 => 60,
214 => 100,
);
$divheightajusts = array(
1 => 100,
2 => 100,
3 => 100,
4 => 100,
12 => 160,
14 => 100,
15 => 160,
21 => 100,
22 => 100,
23 => 100,
24 => 100,
31 => 100,
33 => 310,
34 => 100,
41 => 100,
42 => 100,
43 => 360,
44 => 100,
106 => 100,
108 => 100,
109 => 100,
110 => 160,
111 => 100,
113 => 100,
114 => 370,
115 => 160,
117 => 160,
118 => 360,
120 => 160,
121 => 370,
122 => 810,
123 => 560,
124 => 410,
199 => 100,
202 => 300,
203 => 300,
204 => 300,
205 => 400,
206 => 700,
207 => 300,
208 => 300,
209 => 500,
210 => 400,
211 => 1100,
212 => 100,
213 => 700,
214 => 920,
215 => 1100,
401 => 100,
402 => 400,
403 => 400,
404 => 600,
405 => 500,
406 => 900,
407 => 300,
408 => 300,
502 => 200,
503 => 500,
);
if(!in_array($Element,array_keys($heightajusts))){
$heightajusts[$Element] = 10;
}
if(!in_array($Element,array_keys($divheightajusts))){
$divheightajusts[$Element] = 800;
}
$pages = "
<script type=\"text/javascript\" src=\"./scripts/game/ECOTree.js\"></script>
<link type=\"text/css\" rel=\"stylesheet\" href=\"./styles/resource/css/ingame/ECOTree.css\" />
<link type=\"text/css\" rel=\"stylesheet\" href=\"./styles/resource/css/ingame/madnessred.css\" />
<link rel='stylesheet' type='text/css' href='./styles/theme/gow/css/ogame.css' media='screen' />
<xml:namespace ns=\"urn:schemas-microsoft-com:vml\" prefix=\"v\"/>
<style>v\:*{ behavior:url(#default#VML);}</style>
<style>
.copy {
font-family : \"Verdana\";
font-size : 10px;
color : #CCCCCC;
}
</style>
<script type='text/javascript'>
var myTree = null;
function CreateTree() {
myTree = new ECOTree('myTree','myTreeContainer');
//myTree.config.linkType = 'B';
myTree.config.iRootOrientation = ECOTree.RO_LEFT;
myTree.config.topXAdjustment = ".$heightajusts[$Element].";
myTree.config.linkColor = \"#FFFFFF\";
myTree.config.nodeColor = \"#FFFFFF\";
myTree.config.nodeBorderColor = \"FFFFFF\";
myTree.config.useTarget = false;
myTree.config.selectMode = ECOTree.SL_SINGLE;
".$this->get_req($Element)."
myTree.UpdateTree();
}
</script>
<body onload=\"CreateTree();\" style=\"height:".($divheightajusts[$Element] + 50)."px; width: 667px;overflow:none;\">
<div class=\"overlayDiv\">
<ul class=\"subsection_tabs\">
<li>
<a class=\"overlay reiter active\" href=\"#\" onclick=\"return Dialog.TechData(".$Element.");\">
<span>
Teknoloji A.
</span>
</a>
</li>
<li>
<a class=\"overlay reiter\" href=\"?page=infos&gid=".$Element."\">
<span>
Teknikbilgi
</span>
</a>
</li>
<li>
<a href=\"http://dark-space.ga/game.php?page=techtree&ajax=1\" class=\"overlay tooltipRight js_hideTipOnMobile \" target=\"_self\" title=\"Teknik\">
<span>
Teknoloji
</span>
</a>
</li>
</ul>
<div onload=\"CreateTree();\" id=\"myTreeContainer\" style=\"height:".($divheightajusts[$Element] + 50)."px;overflow:none;\"></div></div>
</body>";
$this->tplObj->assign_vars(array(
'pages' => $pages,
));
$this->display('techdata_body.tpl');
}
} -
mimikri -
$clevel = isset($PLANET[$resource[$id]]) ? $PLANET[$resource[$id]] : $USER[$resource[$id]];
-
mimikri -
with
if(BuildFunctions::isTechnologieAccessible($USER, $PLANET, $id)){
do something...
}
you can check if the requirements are met. -
sromantr -
oki thnx
-
-
Hiro -
hallo Mimi
kannst du mir bitte weiter helfen in sachen meines Post?
lg
Hacky -
Abyss -
We cannot see records separately in records in two universes. How can we separate records as if each universe will see their own records. Yardımcı olabilirmisin?
I need to process these 3 files, but it does not
- includes/classes/class.statbuilder.php
- includes/pages/game/ShowRecordsPage.class.php
- -styles/templates/game/page.records.default.tpl
2Moons 1.8-
mimikri -
i don't know that since i never used several unis in one db.
-
Abyss -
I've solved everything, only records left.
-
Qwa -
you solve it by adding a column "uni" into uni1_records and modify to multi key array for records on class.statbuilder.php
-
Abyss -
but we did not, you can give the application as a code
-
-
Abyss -
do you have a chance to send relocate mode, thank you, master
Abyss -
Master in vote mode, can you help her cast dark matter after voting rather than clicking vote?