Jump to content

Fail in console cause lag

Pending 2.7.2

i have this fail sometimes in server with raidable bases plugin
 

06/11 12:29:11 | Calling 'OnEntityDeath' on 'RaidableBases v2.7.2' took 483ms
06/11 12:29:11 | System.NullReferenceException: Object reference not set to an instance of an object
at BaseAIBrain.Think (System.Single delta) [0x000b4] in <6b3f956f65e2405493e31143666bffde>:0
at BaseAIBrain.DoThink () [0x0000d] in <6b3f956f65e2405493e31143666bffde>:0
at HumanNPC.ServerThink (System.Single delta) [0x0001a] in <6b3f956f65e2405493e31143666bffde>:0
at NPCPlayer.ServerThink_Internal () [0x0000d] in <6b3f956f65e2405493e31143666bffde>:0
at HumanNPC.TryThink () [0x00000] in <6b3f956f65e2405493e31143666bffde>:0
at AIThinkManager.DoProcessing (ListHashSet`1[T] process, System.Single budgetSeconds, System.Int32& last) [0x00014] in <6b3f956f65e2405493e31143666bffde>:0

Can help me for solve it?

 

Share this comment


Link to comment

hi, I don't hook OnEntityDeath for npc's so it isn't related.

I destroy the brain so that code from your error is never called by the server for my npcs

DestroyImmediate(scientistBrain, true);

if the error were from raidablebases then a method from the plugin would be in the stacktrace of that error which it isn't. the first (time warning) and second (error) messages are separate and do not always appear together

what other npc plugins are you using? npcspawn, betternpc, botrespawn, zombiehorde, etc.

Edited by nivex

Share this comment


Link to comment

I am currently using betternpc in some monuments and in Bradley and helicopter but I do not understand why when the raid is finished the server emits this error

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.8k

Customers

Total customers served.

83.8k

Files Sold

Total number of files sold.

1.6m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

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.