Jump to content
Sign in to follow this  
Adham

Boss Respawned NPC

Recommended Posts

not sure how we could know what bugged from this error without full code?, but as it says value is nil
so if you're using table.load  could be nil table/ no values / could be no file
anyway if you're using the public code of respawn  boss npc without optimize your table.load or the code itself
then do not use it, code itself so bad ,as it call table.load for each request and reload files to return a value for you,
this could cause hangs for servers if has multi actions in same time

you could fix that with storing returned table in temp table and use it instead of table.load each time and update that temp table on first call or on kills when updating the file 

Edited by mkhzaleh

Share this post


Link to post
Share on other sites

if this could make hangs  , i will not use it .. you can make this function work on buttom not npc 
for example under the mini map there ( buttom ) 
click on buttom u see the detals of bosses 
(simple details )
 Black Dragon Green circle 

death soul commender Red circle ( 3 H 32 Mint)  {u need click on the buttom to refresh the details ) 
how much this will cost me 
 

 

Share this post


Link to post
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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.

Sign in to follow this  

×
×
  • Create New...