Jump to content
  • 0

Raidboss Event Error While Kill


xNostradamus

Question

12 answers to this question

Recommended Posts

  • 0

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
Link to comment
Share on other sites

  • 0

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?

Link to comment
Share on other sites

  • 0

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...

Link to comment
Share on other sites

  • 0

This is 453 rbmanagerspawn , can you explain what i have to change? 

 

L2RaidBossInstance boss = _bosses.get(bossId);

Edited by xNostradamus
Link to comment
Share on other sites

  • 0

This is 453 rbmanagerspawn , can you explain what i have to change? 

Post the whole damn script here whole rbmanagerspawn i can't smell my nails and guess. 

Link to comment
Share on other sites

  • 0

Post the whole damn script here whole rbmanagerspawn i can't smell my nails and guess. 

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

Link to comment
Share on other sites

  • 0

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...