Jump to content

Bradley NPC not appearing

Work in Progress 1.3.8

I just wanted to see if there's an issue with this plugin because of the last update or if it's because of the custom map I'm running. I am running the Badlands map, which has a custom Bradley spawn on the map. I've been told the Bradley Control NPC isn't spawning. Is it possible that since there's a custom Bradley spawn outside of Launch, it is affecting this plugin? I haven't had time to confirm this myself, but this is what I'm being told by several players.

Share this comment


Link to comment

The map has Launch. I didn't know if having another Bradley spawn elsewhere on the map would cause an issue. I put the plugin back on the server last night and it seemed to be working so I've asked my players to let me know if they have any other issues with the NPC not spawning. 

Share this comment


Link to comment

I had someone tell me again this evening that the Bradley Control was missing. I checked and he was. I reloaded the plugin and he appeared. I checked the log and see this:
 

Failed to call hook 'CanLootEntity' on plugin 'CustomBradley v1.3.8' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.CustomBradley+CustomBradleyComponent.GetAllPlayersInTeam () [0x00036] in <61215538a7ce420bb92fba362777afa6>:0
at Oxide.Plugins.CustomBradley.CanInteractWith (BasePlayer player, System.UInt64 ownerId) [0x00017] in <61215538a7ce420bb92fba362777afa6>:0
at Oxide.Plugins.CustomBradley.CanLootEntity (BasePlayer player, StorageContainer container) [0x00047] in <61215538a7ce420bb92fba362777afa6>:0
at Oxide.Plugins.CustomBradley.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0096d] in <61215538a7ce420bb92fba362777afa6>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <d5f57e12edfe4fa0b5c5dbdd9b51eff8>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <d5f57e12edfe4fa0b5c5dbdd9b51eff8>:0

 

Share this comment


Link to comment
Quote

Bradley Control was missing

was it gone until reload or was it gone because someone was looting crates currently? There's configurable time in each profile for looting after bradley is killed. 
I don't really when this error happend ^ long before reload or right in between reload?

Share this comment


Link to comment

I was on the server and someone told me that the Launch NPC wasn't there and hadn't been for a while. When I went to Launch, the NPC wasn't there and neither was the marker. The NPC didn't reappear until I reloaded the plugin. When I searched the log, I found this error had appeared around 2 hours before I was told the NPC was missing. 

Share this comment


Link to comment
487.3k

Downloads

Total number of downloads.

2.7k

Customers

Total customers served.

36.5k

Files Sold

Total number of files sold.

613.2k

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.