Lagging fireworks

Discussion in 'Bukkit Help' started by Borch, Dec 30, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    Borch

    So I'm not sure if I'm the only person experiencing this, but as soon as I try to spawn a single firework, the client starts a lagfest like never seen before. I get a new frame rendered every 10 seconds or so, CPU usage is at one maxed-out core. Server load is fine. I'm using no fancy code, just that example I found in another thread where a firework would be launched on level up.
    So obviously this is somewhat a client issue, but I was wondering if someone knows what might cause this. Crafting a simple firework with no effect works fine. I'm adding like two colors and a fade to my test rocket, not like 500 colors and 5 trillion shapes...
     
  2. Offline

    LaxWasHere

    Try allocating less RAM to your client?
     
  3. Offline

    Borch

    Less? How does that even make sense? Even if it would help, I couldn't ask all my players to fiddle around with their launcher settings.

    Update:
    meta.setPower(3 + Helper.nextInt(9));
    seems to be the cause. If I don't change the power after spawning, I can add tons of effects and everything is fine...

    So any ideas how I can make my fireworx go higher without lagging out all clients?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 30, 2016
Thread Status:
Not open for further replies.

Share This Page