CraftBook 3

CraftBook 3

139k Downloads

Any sort of entity shooting/launching/placing IC causes huge lags

LadyCailinBot opened this issue ยท 4 comments

commented

CRAFTBOOK-2489 - Reported by noneandnonly

So I have had the issue with primed TNT here: http://youtrack.sk89q.com/issue/CRAFTBOOK-2471 and build a little testing setup in the middle of nowhere on my server. I have made a clock which triggers a pulser which triggers an arrow shooter.

Expection: When I leave the chunk it'll unload and when I come back it all just starts from where it ended, not too many arrows or anything that could lag me.

What really happens: When I come back to the chunk it lags like crazy, even after just a few minutes I see a whole bunch of arrows falling down at me which is probably because they were calculated somehow but not launched and then they all get shot at one time which causes massive lag.

If you need any further information I'm open to give them or do whatever helps you but I really need to get this bug fixed because it can cause massive lag as you can imagine.

Edit #1: I'd also like to add that http://wiki.sk89q.com/wiki/CraftBook/MC1228 is broken too. It doesn't launch anything, no matter if I use the name or the ID.

Thanks already for your reply
Folas

commented

Comment by noneandnonly

Unfortunately http://build.sk89q.com/job/CraftBook/1941/ did NOT fix it.

I'll have to wait until you're back Me4502

Edit #1: --The chunk was never loaded, did the testing with wheat and was away for about 5 minutes then returned, wheat didn't grow one bit.--

Edit #2: "Edit #1" was probably not right. I set up a normal dispenser instead of the arrow shooter and it did the same thing. It is shooting all arrows out at once even from the dispenser.
If the chunk would be loaded they would just lay around on the ground (or would be stuck in the wall) and not come out at once as soon as someone enters the chunk.
Even if the chunk would be loaded for only 1 tick. If you know what's going on, please fix this.

'''Edit #3: I have now tested the whole thing with a command block and even that keeps executing the command I set. I am sure I set this away from spawn or any loaded chunks and I only run Essentials and CraftBook.'''

commented

Comment by noneandnonly

Summary:

I have tested this with [mc1421]S only so far, but I'll do more testing.

I am using /mem (from Essentials) to prove that these statements are true.

When I am all alone on my test server (only Essentials + CraftBook) /mem tells me that "697" chunks are loaded. After I set up the self triggered clock (mc1421) it increases to 698 and when I put the redstone line over the boundary of the chunk it is located in, it even goes one higher (to 699).

I even used a command block which executes a command and hooked it up to the redstone. It kept executing the command even when I was outside of the range of the chunk, so I did not load it (was 1k blocks away!).

If you know how this is possible, please fix it.

Also tested (and working) with: [mc1230], [mc0111]

commented

Comment by me4502

Um... So are you saying the chunk is indeed loaded?

commented

Comment by noneandnonly

Yeah, I wanted to say that the chunk is indeed loaded. I've done more testing which support this statement.