Jump to content

Respwn Error

Closed 1.1.3 1.1.4

This is the same issue from previous versions. I think its only on re spawn as the inital set of spawning (on server load) seems fine with no errors but as players kill the NPCs I get this in console:

06/03 17:06:01 | Failed to call hook 'OnEntitySpawned' on plugin 'LegendaryBeasts v1.1.3' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.LegendaryBeasts.CreateLegendaryBeast (BaseEntity entity, Oxide.Plugins.LegendaryBeasts+LegendaryBeastConfig selectedLegendaryBeastConfig) [0x0013a] in <eb0a11c3491f499d856642af4c589f1b>:0
at Oxide.Plugins.LegendaryBeasts.OnEntitySpawned (BaseNetworkable entity) [0x000a1] in <eb0a11c3491f499d856642af4c589f1b>:0
at Oxide.Plugins.LegendaryBeasts.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x009f5] in <eb0a11c3491f499d856642af4c589f1b>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <e23ba2c0f246426296d81c842cbda3af>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <46ff2b534abb4b35952608167523b7ec>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <46ff2b534abb4b35952608167523b7ec>:0

Share this comment


Link to comment

Hello, sorry about the error messages. Please could you share your configuration files for the plugin and I'll see if I can have a fix ready for later this evening.

Share this comment


Link to comment

Thank you for your patience, with your configuration I was able to reproduce the error on my end. With a previous update a new feature was added to enable configuration of beast map markers. The error is caused when there are no configuration settings for the map marker present in the configuration file. The latest version 1.1.4 should fix this issue and correctly use default settings for the map markers. I do encourage you to check the default configuration on the plugin page to see an example of how you can customise the map marker just in case you might prefer something other than the default settings. Please let me know if you have any more issues and I apologise again for the inconvenience.

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

82.5k

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.