Put mines back on 100% production after vacation mod ends.

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

    • Put mines back on 100% production after vacation mod ends.

      Hello!
      I am using 2moons master from github and I made a modification on my local server. Modification put player who is in vmod and inactive for a month out of vmod.
      But how can I automatically put players mines back to 100% production again ?
    • En alguna parte puedes usar algo como esto

      PHP Source Code

      1. $sql = "UPDATE %%PLANETS%% SET
      2. last_update = :timestamp,
      3. energy_used = '100',
      4. energy = '100',
      5. metal_mine_porcent = '100',
      6. crystal_mine_porcent = '100',
      7. deuterium_sintetizer_porcent = '100',
      8. solar_plant_porcent = '100',
      9. fusion_plant_porcent = '100',
      10. solar_satelit_porcent = '100'
      11. WHERE id_owner = :userID;";
      12. $db->update($sql, array(
      13. ':userID' => $USER['id'],
      14. ':timestamp' => TIMESTAMP
      15. ));
      Display All
      VERY SAD :/ :/ :/ :/