mimikri Administrator

  • Member since Sep 12th 2016
Last Activity
, Reading thread [MOD] build queue acceleration for 1.8 ver.

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • Desconocido -

    al mandar una expedicion me sale este error me podrías ayudar
    WARNING
    Message: Division by zero
    File: /includes/classes/class.FleetFunctions.php
    Line: 190
    URL: xnova.nat.cu/game.php?page=fleetStep2
    PHP-Version: 7.3.33-1+ubuntu20.04.1+deb.sury.org+1
    PHP-API: fpm-fcgi
    2Moons Version: 2.4.git
    Debug Backtrace:
    #0 /includes/classes/class.FleetFunctions.php(190): errorHandler(2, 'Division by zer...', 'FILEPATH ...', 190, Array)
    #1 /includes/pages/game/ShowFleetStep2Page.class.php(74): FleetFunctions::GetFleetMissions(Array, Array, false)
    #2 /game.php(58): ShowFleetStep2Page->show()
    #3 {main}

  • SAAS -

    Her0ic zablokuj dostęp i wywal z forum

  • SAAS -

    ok. naprawiłem sobie. z rozpędu wpisałem kod do ekspedycji. dziękuję.jak co to jestem na discord new star

  • SAAS -

    witaj. proszę cie o drobną pomoc. robię sobie galaxy2d w new star . mam ich aż 3 .
    1 normalna, tradycyjna
    2 trochę rozbudowana z obrazem
    3 to właśnie galaxy2d i mam coś takiego jak wchodzę do 7 systemu.

    mam taki błąd

    Message: Uninitialized string offset: 16
    File: /cache/templates/pl_nsc^ca70a2213c655d28ef977e9008195d6f97f3c74e.page.galaxy3.default.tpl.php
    Line: 952

    PHP-Version: 7.3.33
    PHP-API: litespeed
    Version: 2.2.2
    Debug Backtrace:
    #0 /cache/templates/pl_nsc^ca70a2213c655d28ef977e9008195d6f97f3c74e.page.galaxy3.default.tpl.php(952): errorHandler(8, 'Uninitialized s...', 'FILEPATH ...', 952, Array)
    #1 /includes/libs/Smarty/sysplugins/smarty_template_resource_base.php(123): content_623738bf0961c3_37555296(Object(Smarty_Internal_Template))
    #2 /includes/libs/Smarty/sysplugins/smarty_template_cached.php(137): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))
    #3 /includes/libs/Smarty/sysplugins/smarty_internal_template.php(211): Smarty_Template_Cached->render(Object(Smarty_Internal_Template), false)
    #4 /includes/libs/Smarty/sysplugins/smarty_internal_templatebase.php(232): Smarty_Internal_Template->render(false, 1)
    #5 /includes/libs/Smarty/sysplugins/smarty_internal_templatebase.php(134): Smarty_Internal_TemplateBase->_execute(Object(Smarty_Internal_Template), NULL, NULL, NULL, 1)
    #6 /includes/classes/class.template.php(148): Smarty_Internal_TemplateBase->display('extends:layout....')
    #7 /includes/pages/game/AbstractGamePage.class.php(505): template->display('extends:layout....')
    #8 /includes/pages/game/ShowGalaxy3Page.class.php(134): AbstractGamePage->display('page.galaxy3.de...')
    #9 /game.php(59): ShowGalaxy3Page->show()
    #10 {main}
    i nie bardzo rozumiem o co chodzi.
    w panelu mogę wybrać tylko 6 systemów. więcej już nie
    bo wychodzi ten błąd. pomożesz?
    z góry dziękuję.

  • RaptorsMT -

    hello I want to put in the overview say my 2moons k show in the left panel k the members of the online alliance can be seen and a notice of when they are attacking could you help me

  • Abyss -

    Master in vote mode, can you help her cast dark matter after voting rather than clicking vote?

    • 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?

  • Estevez -

    tengo la duda si se puede tener mas de 9 colonias o planetas hasta cuanto se puede tener

  • Pesadilla -

    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

  • Pesadilla -

    [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,...

  • Pesadilla -

    The previous error may be because it does not allow changing the name of the SAC as it is possible to solve this problem of changing the name of the SAC

  • Pesadilla -

    I didn't understand your answer, please, can you explain yourself better?

  • Pesadilla -

    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

  • Pesadilla -

    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()

  • Pesadilla -

    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 -

    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-&gt;_query('UPDATE %%USERS%...', Array, 'update')
      #1 /includes/pages/game/ShowAlliancePage.class.php(1433): Database-&gt;update('UPDATE %%USERS%...', Array)
      #2 /includes/pages/game/ShowAlliancePage.class.php(735): ShowAlliancePage-&gt;adminRank()
      #3 /game.php(57): ShowAlliancePage-&gt;admin()
      #4 {main}

  • Pesadilla -

    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}

  • Pesadilla -

    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

  • Pesadilla -

    who can give me the installation of 2moons-was-of-alliance-master that is an installation to be able to mount it

  • Pesadilla -

    Hola alguien me puede ayudar como resolver este error en la administración de alianzas
    Fatal error: Cannot redeclare class FlyingFleetHandler in /srv/www/www.xnova.nat.cu/htdocs/includes/classes/class.FlyingFleetHandler.php on line 18

  • Pesadilla -

    Me gustaría saber si alguien a detectado un bugs con el espionaje que que es e siguiente al realizar un ataque a un jugador y este a la vez es apoyado por un compañero pero sus naves na ha llegado a su hangar y lo espiamos ya le aparece dicha flota en su hagan cunado aun vienen de camino

  • Pesadilla -

    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.

    • Pesadilla -

      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

    • Qwa -

      en la expedicion, los recursos son calculados con base en lo custo de recursos de las naves enviadas.

    • yamilrh -

      oka, tengo otro bug que estan usando es que esta reduciendo el tiempo de vuelo de las flotas, algo para resolver esto

    • Qwa -

      como asi?

  • yamilrh -

    hola, no me funciona el codigo del destructor, :(