how to limit Production to 100%

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

  • how to limit Production to 100%

    Hi, I was wondering how to limit production to 100%, currently production to rss exceeds that to .....thanks
    Images
    • rss.png

      507.43 kB, 1,680×1,050, viewed 449 times
  • Hello verry bad solution he gived you and also very long.
    First you have to know that the production is limited be default at 100% your screen show 195% because you exceeded with 95% the 100% of your default storage. those 95% are not produced resource but resource you have desposted your self on the planet.

    Also if you still want to use @Hike solution then you should better use (even if it will only change the exceeded percent to 100)

    PHP Source Code

    1. $resourceTable[$resourceID]['percent'] = min(100, $percent);

    This is only one line without if else statement and will render much faster

    Regards