Production updates?

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

    • Production updates?

      Hello! Can anyone explain me how resource production is updated in buildings page when you buy a building?
      I made a new page with premium to update resource production but it appears that bonus I create updates only if I buy +1lvl of building or after like 24 hours. Daily cron?

      Can you point out the code which does that there? Or help me to understand how can I do that differently?
    • abstractGame

      Source Code

      1. if(!$this->disableEcoSystem)
      2. {
      3. $this->ecoObj = new ResourceUpdate();
      4. $this->ecoObj->CalcResource();
      5. }
      I remain at your disposal on the forum for any questions or help.

      A help is of course not a creation of a mod



      -------------------------------------------------------
      Spaccon
      • Uni Xterium Comming Soon
      • Uni Ogame Comming Soon