Tutorial 2.0

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

    • Tutorial 2.0

      Bueno aquí les dejo el tutorial para la versión 2.0 a mi me pincho bien, con php 7.3.5 agradecer a @bata tuve que hacerle el diseño para esta versión. Espero que les agrade...
      PD: Yo en mi juego uso Bootstrap 4 y Font-Awesome offline
      Les dejo el idioma español incluido para el que lo necesite...
      Files
      • Tutorial 2.0.zip

        (26.6 kB, downloaded 602 times, last: )
      VERY SAD :/ :/ :/ :/
    • have you edited the missions the system to include the tutorial......don't ftp the mission file in the tutorial to as the game may have different values...open them up find the missions then copy and past to the game mission file
    • you need to edit the missions so it works

      \includes\classes\missions\MissionCaseRecycling.class.php

      Find:

      PlayerUtil::sendMessage($this->_fleet['fleet_owner'], 0, $LNG['sys_mess_tower'], 4, $LNG['sys_mess_fleetback'],
      $Message, $this->_fleet['fleet_end_time'], NULL, 1, $this->_fleet['fleet_universe']);
      $this->RestoreFleet();
      }
      }

      Replace:

      PlayerUtil::sendMessage($this->_fleet['fleet_owner'], 0, $LNG['sys_mess_tower'], 4, $LNG['sys_mess_fleetback'],
      $Message, $this->_fleet['fleet_end_time'], NULL, 1, $this->_fleet['fleet_universe']);

      //Tutorial

      $db = Database::get();

      $ownUser = $db->selectsingle("SELECT * FROM uni1_users WHERE id = ".$this->_fleet['fleet_owner'].";");
      if($ownUser['tut_m9_2'] == 0)
      {
      $db->query("UPDATE uni1_users SET `tut_m9_2`=tut_m9_2+1 WHERE id = ".$this->_fleet['fleet_owner'].";");
      }
      // Tutorial
      $this->RestoreFleet();
      }
      }

      ---------------------------------------------------------------------------------
      \includes\classes\missions\MissionCaseSpy.class.php

      search:

      if($senderUser['spyMessagesMode'] == 1)
      {
      $spyData[$classID] = array_filter($spyData[$classID]);
      }
      }

      replace:

      if($senderUser['spyMessagesMode'] == 1)
      {
      $spyData[$classID] = array_filter($spyData[$classID]);
      }
      }

      // Tutorial
      if($senderUser['tut_m7_2'] == 0)
      {
      $db->query("UPDATE uni1_users SET `tut_m7_2`=tut_m7_2+1 WHERE id = ".$this->_fleet['fleet_owner'].";");
      }