Jump to content

Bradley seller disappears

Pending 1.5.2

KingSizeKevin
KingSizeKevin

Posted

After a player does a bradley event, the seller does not return sometimes.  

KingSizeKevin

Posted

This is the error that happens, looks like it might be a plugin conflict?

(07:00:00) | Failed to call hook 'OnServerInitialized' on plugin 'CustomBradley v1.5.2' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.NPCKits+Patches+ScientistNPCDisplayNames.ScientistNPCFix (System.String& __result, ScientistNPC __instance) [0x00009] in <fc1178341d1f437288b06fcebbdced8b>:0

at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.ScientistNPC.get_displayName_Patch2(ScientistNPC)

at Oxide.Plugins.CustomBradley.<OnServerInitialized>b__22_3 (BasePlayer i) [0x0000d] in <fc1178341d1f437288b06fcebbdced8b>:0

at System.Linq.Enumerable+WhereEnumerableIterator`1[TSource].MoveNext () [0x00037] in <8b0c76c7efa244bc95eeee75bf1314cd>:0

at Oxide.Plugins.CustomBradley.OnServerInitialized () [0x000e0] in <fc1178341d1f437288b06fcebbdced8b>:0

at Oxide.Plugins.CustomBradley.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0006a] in <fc1178341d1f437288b06fcebbdced8b>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <795304323ac74a298b8ed190a1dfa739>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <beb2b64691c64e2b95b99491bd85442c>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <beb2b64691c64e2b95b99491bd85442c>:0

(07:00:13) | BradleyAPC Spawned at :(-1061.29, 25.32, 1230.95)

 

shaitobu

Posted (edited)

On 9/17/2024 at 2:41 AM, KingSizeKevin said:

After a player does a bradley event, the seller does not return sometimes.  

Hey, like you said NPCKits tries to do stuff and fucks up on it. But i actually don't know how Seller doesn't come back. That error ^ happens on Plugin load only. but if there's similar error in logs after player kills bradley, then yes

Edited by shaitobu
KingSizeKevin

Posted

How do I fix this?  Why does CustomBradley use NPCKIts?  Ive used NPC Kits for years, and they just recently had to do an update for forced patch in August, which obviously caused a problem with this plugin.  How do I resolve this?

shaitobu

Posted

On 9/24/2024 at 7:55 PM, KingSizeKevin said:

How do I fix this?  Why does CustomBradley use NPCKIts?  Ive used NPC Kits for years, and they just recently had to do an update for forced patch in August, which obviously caused a problem with this plugin.  How do I resolve this?

That's not CustomBradley using NPCKits, that's NPCKits messing around with any "BasePlayer" if you try to get its diplayName. Maybe developer of NPCKits should limit his forced-wipe-fix to HumanNPC, that could help

  • Like 1
shaitobu

Posted

On 9/24/2024 at 8:55 PM, KingSizeKevin said:

How do I fix this?  Why does CustomBradley use NPCKIts?  Ive used NPC Kits for years, and they just recently had to do an update for forced patch in August, which obviously caused a problem with this plugin.  How do I resolve this?

anything new here?

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.3k

Files Sold

Total number of files sold.

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.