Jump to content
  • 0

Raidboss Event Error While Kill


Question

12 answers to this question

Recommended Posts

  • 0
Posted (edited)

Im not expert but, this code i think its rly bad since you are using Thread.sleep and after this u trying to delete the npc (maybe its already dead) which means you ull get NPE... put Try in unspawn case to catch any errors if this is the problem...

Edited by melron
  • 0
Posted

Im not expert but, this code i think its rly bad since you are using Thread.sleep and after this u trying to delete the npc (maybe its already dead) which means you ull get NPE... put Try in unspawn case to catch any errors if this is the problem...

The sleep doesn't really matter since it's run on a different thread (it won't freeze the server/players).

But it's better to avoid it.

 

Really shitty code, do not use it.

 

My guess is that when players kill the boss, it is deleted but then it tries to delete it again after the time is passed. What is the line 453 on RaidBossSpawnManager?

  • 0
Posted

The sleep doesn't really matter since it's run on a different thread (it won't freeze the server/players).

But it's better to avoid it.

 

Really shitty code, do not use it.

 

My guess is that when players kill the boss, it is deleted but then it tries to delete it again after the time is passed. What is the line 453 on RaidBossSpawnManager?

i said exactly the same thing.... it tries to redelete it and it gives npe...

  • 0
Posted

i like the way you respect people

Me too.

 

Dude , RaidBossSpawnManager line 453 brainless people read the facking comments! oh...

 

You're so stupid. I asked you to post the RaidBossSpawnManager java file and u answered with this. I was about to help you

but gtfo now i'm out.  Read what people ask you before u write shit comments.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..