MC 1253 - firework on visibility-radius and stray rocket causing lag
LadyCailinBot opened this issue ยท 6 comments
CRAFTBOOK-2808 - Reported by Andy_S
When you place mc1253 on the edge of a chunk, load a script with the position exceeding the chunk, move away just enough to keep the IC in range but not the offset chunk. Launch the firework then, rocket goes crazy, launches at very high speed, goes ballistic, thus flat and thus it lags whole area.
I used example script provided on wiki page for the IC.
Comment by me4502
Hmm, I'll try making it force load the chunks, or not spawning the firework. I can't remember if bukkit still loads a chunk when you check if a chunk is loaded.
Comment by Andy_S
I tried to add [chunk] nearby, didn't help. The thing is that the chunk where the rocket is actually heading is not loaded either ...
Comment by me4502
If that is the case, there is nothing I can really do about it.
Comment by Andy_S
MAYBE you could calculate the "target" chunk of the rocket (you know the distance and vector of the projectile) and thus make the server to load adjacent chunks as well?
Comment by me4502
That'd require raytracing, and would be quite performance intensive.