Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-76276

/fill clocks + /testfor commands causes a lot of lag

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • None
    • Minecraft 1.8.1
    • None
    • Using The new launcher (So Custom Java version)
      Windows 8.1
    • Community Consensus

      I made a map that uses a lot of commandblocks and fillclocks. The map is now in Beta and there are several Beta testers that are testing this map. One problem I found, was that the map really laggy is on servers. I suggested them to use more ram, but even 3gb of ram and 2-3 players online would have a lot of lagg. Recently Qmagnet(https://www.youtube.com/user/theqmagnet) said in his Diversity DevCom(https://www.youtube.com/watch?v=FpkCp8gbAt4) (Arround 09:09) that running testfor commands with a fillclock will cause a lot of lagg on multiplayer servers. And I don't think that's intended. I think it has to do with the /testfor command being slow, and that it can't finish before having to run again. So I think this is the thing that causes lagg on my map. I really need this getting fixed, cause my map is almost inpossible to play now(with all the lagg)(on multiplayer)(while it is a multiplayer map D: ).

      Steps to reproduce:

      On multiplayer:

      1. Make a fill clock:

      Commands:
      Top: fill ~ ~-1 ~ ~ ~-1 ~10 redstone_block,
      1 air block in between,
      Bottom: fill ~ ~1 ~ ~ ~1 ~10 clay

      Now place a redstone block in the middle and the clock will start running. To stop the thing, power the top command block.

      2. Add a lot of /testfor commands to it.

      Thanks for your time,

      -JustRamon

      PS: This map was made (and is being made) on a Realm. On the Realm we didn't have any lagg. I don't know if this is because that server has a lot of ram, or that those servers are magical

      PS2: If you look at the screenshots you can see the commands, and the screenshots of the commandblocks. Almost all the commandblocks at the fillclock have testfor commands in them.

        1. 2015-01-06_20.29.53.png
          455 kB
          Raqbit
        2. 2015-01-06_20.30.05.png
          216 kB
          Raqbit
        3. 2015-01-06_20.30.19.png
          893 kB
          Raqbit
        4. 2015-01-06_20.30.29.png
          904 kB
          Raqbit
        5. block data of both.png
          30 kB
          John Dame
        6. No track output.png
          97 kB
          John Dame
        7. Yes track output.png
          103 kB
          John Dame

            Unassigned Unassigned
            JustRamon Raqbit
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: