Jump to content

control error

Pending 2.7.8

laodu
laodu

Posted

10/08 14:49:26 | System.NullReferenceException: Object reference not set to an instance of an object
at Oxide.Plugins.NpcSpawn+CustomScientistNpc.CanTargetPlayer (BasePlayer target) [0x0000a] in <20a79ba2881b459c92c08f1027ed63ae>:0
at Oxide.Plugins.NpcSpawn+CustomScientistNpc.CanTargetEntity (BaseEntity target) [0x0005a] in <20a79ba2881b459c92c08f1027ed63ae>:0
at Oxide.Plugins.NpcSpawn+CustomScientistNpc.GetBestTarget () [0x00049] in <20a79ba2881b459c92c08f1027ed63ae>:0
at Oxide.Plugins.NpcSpawn+CustomScientistBrain.Think (System.Single delta) [0x00087] in <20a79ba2881b459c92c08f1027ed63ae>:0
at BaseAIBrain.DoThink () [0x0000d] in <fb45d148c721409f96718464d8864b9a>:0
at HumanNPC.ServerThink (System.Single delta) [0x0001a] in <fb45d148c721409f96718464d8864b9a>:0
at NPCPlayer.ServerThink_Internal () [0x0000d] in <fb45d148c721409f96718464d8864b9a>:0
at HumanNPC.TryThink () [0x00000] in <fb45d148c721409f96718464d8864b9a>:0
at AIThinkManager.DoProcessing (ListHashSet`1[T] process, System.Single budgetSeconds, System.Int32& last) [0x00014] in <fb45d148c721409f96718464d8864b9a>:0

 

Jbird

Posted

19 hours ago, laodu said:
10/08 14:49:26 | System.NullReferenceException: Object reference not set to an instance of an object
at Oxide.Plugins.NpcSpawn+CustomScientistNpc.CanTargetPlayer (BasePlayer target) [0x0000a] in <20a79ba2881b459c92c08f1027ed63ae>:0
at Oxide.Plugins.NpcSpawn+CustomScientistNpc.CanTargetEntity (BaseEntity target) [0x0005a] in <20a79ba2881b459c92c08f1027ed63ae>:0
at Oxide.Plugins.NpcSpawn+CustomScientistNpc.GetBestTarget () [0x00049] in <20a79ba2881b459c92c08f1027ed63ae>:0
at Oxide.Plugins.NpcSpawn+CustomScientistBrain.Think (System.Single delta) [0x00087] in <20a79ba2881b459c92c08f1027ed63ae>:0
at BaseAIBrain.DoThink () [0x0000d] in <fb45d148c721409f96718464d8864b9a>:0
at HumanNPC.ServerThink (System.Single delta) [0x0001a] in <fb45d148c721409f96718464d8864b9a>:0
at NPCPlayer.ServerThink_Internal () [0x0000d] in <fb45d148c721409f96718464d8864b9a>:0
at HumanNPC.TryThink () [0x00000] in <fb45d148c721409f96718464d8864b9a>:0
at AIThinkManager.DoProcessing (ListHashSet`1[T] process, System.Single budgetSeconds, System.Int32& last) [0x00014] in <fb45d148c721409f96718464d8864b9a>:0

When is the error occurring, and with what plugin that is using it?

What version of NpcSpawn and the plugin using it?

Looks like a config and or version issue.

laodu

Posted (edited)

I remember, it happened while participating in this plugin.

When players shoot NPCs, junk messages will constantly appear on the console.

Edited by laodu
Jbird

Posted

6 minutes ago, laodu said:

I remember, it happened while participating in this plugin.

When players shoot NPCs, junk messages will constantly appear on the console.

Test this further to see if you can confirm the errors occur during that event. If they do, please create a support request under the plugin where the error is occurring.

Yac Vaguer

Posted

6 hours ago, laodu said:

I remember, it happened while participating in this plugin.

When players shoot NPCs, junk messages will constantly appear on the console.

There is a flag in the config that says verbose, or developer mode, please keep it false this one to avoid extra messages, it is false by default 

 

laodu

Posted

45 minutes ago, Yac Vaguer said:

There is a flag in the config that says verbose, or developer mode, please keep it false this one to avoid extra messages, it is false by default 

 

"Developer mode [false/true]": false,

It is false

Jbird

Posted

On 10/9/2024 at 5:11 AM, laodu said:

"Developer mode [false/true]": false,

It is false

@Yac Vaguer

Yac Vaguer

Posted

@Jbirdthe error is in the NPCSpawn Plugin probably caused by a configuration issue 


@laodu have you try regenerating the config file? 

Jbird

Posted

11 minutes ago, Yac Vaguer said:

@Jbirdthe error is in the NPCSpawn Plugin probably caused by a configuration issue

The customer reported that the error occurred while running the event.

 

On 10/8/2024 at 10:12 PM, laodu said:

I remember, it happened while participating in this plugin.

When players shoot NPCs, junk messages will constantly appear on the console.

Yac Vaguer

Posted

16 hours ago, Jbird said:

The customer reported that the error occurred while running the event.

 

Yes, in the event you have NPC configuration that might be faulty 

Jbird

Posted

9 hours ago, Yac Vaguer said:

Yes, in the event you have NPC configuration that might be faulty 

Ah I see your point. Apologies I thought you were saying that it was the NpcSpawn configuration and there isn't much there and would likely throw errors constantly, but yes that makes sense apologies.

 

Have you tried a fresh config for the event @laodu?

laodu

Posted

I have updated the latest version of NPCsspawn and it is currently running normally. This issue can be resolved.

  • Love 1
Jbird

Posted

On 10/8/2024 at 10:10 PM, Jbird said:

What version of NpcSpawn and the plugin using it?

4 hours ago, laodu said:

I have updated the latest version of NPCsspawn and it is currently running normally. This issue can be resolved.

That will do it! Thank you for letting us know, glad to hear it's resolved.

1.7m

Downloads

Total number of downloads.

7.2k

Customers

Total customers served.

108.2k

Files Sold

Total number of files sold.

2.2m

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.