Actualizacion hasta PHP 8.3

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

    • Gruss .Passe das an in der ShowFleetStep1Page.class.php


      $Fleet = array();
      $fleetDit = array();
      $FleetRoom = 0;
      foreach ($reslist['fleet'] as $id => $ShipID)
      {
      $amount = max(0, round(HTTP::_GP('ship'.$ShipID, 0.0, 0.0)));

      if ($amount < 1 || $ShipID == 212) continue;
      $fleetDit[] = $ShipID.','.floatToString($amount);
      if($PLANET[$resource[$ShipID]] < $amount)
      {
      $this->printMessage($LNG['fl_own_planet_error'], array(array(
      'label' => $LNG['sys_back'],
      'url' => 'game.php?page=fleetTable'
      )));
      return;
      }
      $Fleet[$ShipID] = $amount;
      $FleetRoom += $pricelist[$ShipID]['capacity'] * $amount;
      }

      Damit geht es bei mir
    • fossil wrote:

      Gruss .Passe das an in der ShowFleetStep1Page.class.php


      $Fleet = array();
      $fleetDit = array();
      $FleetRoom = 0;
      foreach ($reslist['fleet'] as $id => $ShipID)
      {
      $amount = max(0, round(HTTP::_GP('ship'.$ShipID, 0.0, 0.0)));

      if ($amount < 1 || $ShipID == 212) continue;
      $fleetDit[] = $ShipID.','.floatToString($amount);
      if($PLANET[$resource[$ShipID]] < $amount)
      {
      $this->printMessage($LNG['fl_own_planet_error'], array(array(
      'label' => $LNG['sys_back'],
      'url' => 'game.php?page=fleetTable'
      )));
      return;
      }
      $Fleet[$ShipID] = $amount;
      $FleetRoom += $pricelist[$ShipID]['capacity'] * $amount;
      }

      Damit geht es bei mir

      a ver eso lo tengo agregado ya, pero me sigue cuando quiero enviar un colonizador, no va a la otra pagina.

      ahora estoy probando en php 8.1