inactive users planet energy is not fixed.

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

    • inactive users planet energy is not fixed.

      I'm running 2Moons 1.3 now.

      Well..
      As you guys already know..
      if player uses only Fusion Reactor, energy in that planet doesn't change and it must not be changed.

      But inactive "i" planets energy changes in my server.
      They only run Fusion Reactor.
      So, as they only run the Fusion Reactor in their planets, energy shouldn't be changed.
      But they change like this.
      Default : 40,000 energy
      When bug happens : 20,000 energy

      Does anyone know why this is keep happening?
      Is the version I'm using too low? ?(
    • Hello.

      Your version is too low as you possibly "suspected".

      Why this happens in 1.8?
      The prod change because when a player is spied, a function called CalcResource from class.PlanetResourceUpdate is executed on spy mission to update current planet resources. On 2moons 1.8, production is only changed once the hash is modified (that means if any mine is leveled up, any change on game settings, etc). The changes on production are based on a function called RebuildCache. If the hash does not change, no changes are done in RebuildCache function = no change in planet production.

      I'm not sure if 1.3 has any hash system
      Looking for good VPS to host your game? Use DigitalOcean and get 100$ bonus credit for 2 months!

      Private project - stellaron.space

      I can build any mod. Need my service? Contact me via PM
    • So you mean..
      If there's no hash system on v1.3, there might be production change bug even if the user didn't change anything?

      Qwa wrote:

      Hello.

      Your version is too low as you possibly "suspected".

      Why this happens in 1.8?
      The prod change because when a player is spied, a function called CalcResource from class.PlanetResourceUpdate is executed on spy mission to update current planet resources. On 2moons 1.8, production is only changed once the hash is modified (that means if any mine is leveled up, any change on game settings, etc). The changes on production are based on a function called RebuildCache. If the hash does not change, no changes are done in RebuildCache function = no change in planet production.

      I'm not sure if 1.3 has any hash system
    • The best way to confirm is looking at class.PlanetRessUpdate.php from 1.3

      A strong suggestion -> use higher version of 2moons!
      Looking for good VPS to host your game? Use DigitalOcean and get 100$ bonus credit for 2 months!

      Private project - stellaron.space

      I can build any mod. Need my service? Contact me via PM