shipyard fleet bug

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

    • shipyard fleet bug

      Hola me gustaría arreglar, cuando estoy construyendo la fabrica de robot, no se me desactiva el hangar de flotas, lo cual si me lo hace cuando construyo hangar y fabrica de nanobots
      VERY SAD :/ :/ :/ :/
    • delete line 129 in file /includes/pages/game/ShowBuildingsPage.class.php

      PHP Source Code: /includes/pages/game/ShowBuildingsPage.class.php

      1. || (($Element == 15 || $Element == 21) && !empty($PLANET['b_hangar_id']))
      this is that you can build the buildings,while they are building fleet


      ---------------------------------------------------------------------
      for your wish to build ships while the hangar is in build
      delete line 149 to 159 in includes/pages/game/ShowShipyardPage.class.php

      PHP Source Code: includes/pages/game/ShowShipyardPage.class.php

      1. if (!empty($PLANET['b_building_id']))
      2. {
      3. $CurrentQueue = unserialize($PLANET['b_building_id']);
      4. foreach($CurrentQueue as $ElementArray)
      5. {
      6. if($ElementArray[0] == 21 || $ElementArray[0] == 15) {
      7. $NotBuilding = false;
      8. break;
      9. }
      10. }
      11. }
      Display All
    • haber, yo no quiero construir, yo lo que quiero es activar para cuando este construyendo la fabrica de robots no me deje construir flotas... yo lo que quiero es que se active bien $LNG['bd_building_shipyard'] que tiene un error
      VERY SAD :/ :/ :/ :/
    • yaaaaaaaa!!! creo que di con la cosa solo debo agregar

      Source Code

      1. || (($Element == 15 || $Element == 21 || $Element == 14) && !empty($PLANET['b_hangar_id']))
      y en la otra



      Source Code

      1. if (!empty($PLANET['b_building_id']))
      2. {
      3. $CurrentQueue = unserialize($PLANET['b_building_id']);
      4. foreach($CurrentQueue as $ElementArray)
      5. {
      6. if($ElementArray[0] == 21 || $ElementArray[0] == 15 || $ElementArray[0] == 14) {
      7. $NotBuilding = false;
      8. break;
      9. }
      10. }
      11. }
      Display All
      Creo que ya así resuelvo lo que quiero.
      Gracias eres un genio!!
      PD: Ya lo probé ya resolví eso gracias
      VERY SAD :/ :/ :/ :/