Jump to content

Compatibility with

Pending 2.2.8

RustyFarians
RustyFarians

Posted

Hi,

I think there might be a compatibility issue between this plugin and the Player Challenges plugin on Umod  (https://umod.org/plugins/player-challenges).   We're getting the following error with that plugin which I think is caused by the way this plugin handles gathering:

Failed to call hook 'OnCollectiblePickup' on plugin 'PlayerChallenges v2.0.52' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.PlayerChallenges.OnCollectiblePickup (CollectibleEntity collectible, BasePlayer player) [0x0005d] in <c7f6c7a77374486b9ece126aea7d67f1>:0

at Oxide.Plugins.PlayerChallenges.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00d1b] in <c7f6c7a77374486b9ece126aea7d67f1>:0

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

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

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

 

I'm wondering if you're able to confirm whether it is a compatibility issue and whether it's possible to resolve the clash. The other plugin isn't being regularly updated but it works when this one isn't loaded.

The_Kiiiing

Posted

This is in fact a compatibility issue. If you have a custom gathering confiugration in Loottable, the plugin sets the item list of the entity you want to gather from to null to prevent the vanilla gathering mechanisms.

Here is a fixed version that should work with Loottable (didn't test it)PlayerChallenges.cs

2.3m

Downloads

Total number of downloads.

10.6k

Customers

Total customers served.

153.2k

Files Sold

Total number of files sold.

3.3m

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.