Client kick "Exception in world tick"

Discussion in 'Plugin Development' started by filoghost, Mar 31, 2013.

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

    filoghost

    Hello, I'm developing a plugin called HealthBar, but since I added teams and player bars, some times client crashes with "Exception in world tick". This is the log: http://pastebin.com/zDEyvBwQ
    These are the classes of my plugin:
    Main: http://pastebin.com/yrrEqEsa
    Health lose and regain listener: http://pastebin.com/1ikgjPyq
    Death listener (to fix death messages like "player was killed by *healthbar*"): http://pastebin.com/SK1fADyU

    The weird thing is that only happens sometimes, and I cannot see any error on console. Maybe a minecraft bug with Teams? Sorry for my english, +1 for the fix :D

    Anyone?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 31, 2016
  2. Offline

    gcflames5

    filoghost If you are using scoreboards, you cannot send the scoreboard to the player twice, or the client will crash.
     
  3. Offline

    filoghost

    I'm not using packets, I'm only using teams, and if I set a team for a player twice, doesn't crash...
     
  4. Offline

    gcflames5

    filoghost But you create the scoreboard twice. That will still crash the players. One way around this is to kick all online players on reload so they dont crash.
     
  5. Offline

    filoghost

    I think not, read my code...
     
  6. Offline

    gcflames5

    filoghost Just to clarify, is it kicking or crashing the player? Also, can you provide any more info on when it happens?
     
  7. Offline

    filoghost

    Crashing the player, can't reproduce it...if I could, I would have identified the source of crash...
     
  8. Offline

    RiotShielder

    Here

    https://www.dropbox.com/sh/kwwptj08hh5tax6/SwnRugAgoW/Crashes

    Bunch of crashes that I believe to be your plugin

    I believe some of those have vanilla crashes, some have modded crashes
    (The mods I use are Optifine, Reis Minimap, and Too Many Items)
    I fixed the issue by installing the version before the one with player HP bars, this also seems to affect people randomly, and it goes away randomly as well

    BTW, what is going on with it? Says it's under moderation
     
  9. Offline

    filoghost

    I changed the name and they told me to change it (no additional informations in the name), now it's ok. Have you tried disabling player bars?

    Also, when scoreboard API will come out, will solve this bug?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 31, 2016
  10. Offline

    RiotShielder

    I just posted that so you could have some logs to try to figure out the error

    Also I never found a config for your plugin so I just downgraded to the version without player bars, and it works fine.
     
  11. Offline

    filoghost

    The config folder should appear on your plugins folder
     
  12. Offline

    RiotShielder

    I don't remember seeing it, unless I am going crazy.
     
  13. Offline

    filoghost

    Are you using v1.2?
     
  14. Offline

    filoghost

    Bump, still happens wih Scoreboard API that should be safe! Please help me...
     
Thread Status:
Not open for further replies.

Share This Page