Jump to content

Conflict with XD Quest

Pending 1.2.2

Hello. I am using the plugin XD Quest (https://lone.design/product/xdquest/). When using Nova Weather, there's a conflict with the XDQuest plugin. Specifically the NPC in the quest room doesn't have his kit, is facing away from the player and the lights on the side of the building don't light up. After checking the XD Quest log file, I see this error referencing Nova Weather.:

[09/27/2023 09:01:10] System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object
  at NovaWeather.Lib.Permissions.PermissionManager+<>c__13`1[T].<Execute>b__13_0 (System.Object a) [0x00000] in <17bcd795a4814c09bd82e5b6c2b658b0>:0 
  at System.Linq.Enumerable+SelectArrayIterator`2[TSource,TResult].ToArray () [0x00012] in <d61464951b0243f18092630834a7bf18>:0 
  at System.Linq.Enumerable.ToArray[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0001f] in <d61464951b0243f18092630834a7bf18>:0 
  at NovaWeather.Lib.Permissions.PermissionManager.Execute[T] (System.String method, System.Object[] args) [0x00098] in <17bcd795a4814c09bd82e5b6c2b658b0>:0 
  at NovaWeather.Lib.Permissions.PermissionManager.PlayerHasPermission (BasePlayer player, System.String permission) [0x00001] in <17bcd795a4814c09bd82e5b6c2b658b0>:0 
  at NovaWeather.Lib.WeatherManager.WeatherManager.GetPlayerPermissionOverrideClimate (BasePlayer player) [0x00084] in <17bcd795a4814c09bd82e5b6c2b658b0>:0 
  at NovaWeather.Lib.WeatherManager.WeatherManager.GetClimateForPosition (UnityEngine.Vector3 pos) [0x00015] in <17bcd795a4814c09bd82e5b6c2b658b0>:0 
  at NovaWeather.Lib.WeatherManager.WeatherManager.GetCurrentStatePropertyForPosition (UnityEngine.Vector3 pos, System.String name) [0x00001] in <17bcd795a4814c09bd82e5b6c2b658b0>:0 
  at NovaWeather.Lib.WeatherManager.ClimateProps.GetTemperature (UnityEngine.Vector3 position) [0x00001] in <17bcd795a4814c09bd82e5b6c2b658b0>:0 
  at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
  at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in <47fc8c70fa834cbf8141d7c1a7589125>:0 
   --- End of inner exception stack trace ---
  at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00083] in <47fc8c70fa834cbf8141d7c1a7589125>:0 
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <47fc8c70fa834cbf8141d7c1a7589125>:0 
  at NovaWeather.HarmonyPatches.ClimatePatch.Prefix (System.Reflection.MethodBase __originalMethod, System.Single& __result, UnityEngine.Vector3 position) [0x00084] in <17bcd795a4814c09bd82e5b6c2b658b0>:0 
  at (wrapper dynamic-method) Climate.GetTemperature_Patch1(UnityEngine.Vector3)
  at BaseEntity.get_currentTemperature () [0x0000b] in <7eac839b92da418b8d174606e4699650>:0 
  at PlayerInventory.ServerUpdate (System.Single delta) [0x0003f] in <7eac839b92da418b8d174606e4699650>:0 
  at PlayerInventory.OnClothingChanged (Item item, System.Boolean bAdded) [0x00010] in <7eac839b92da418b8d174606e4699650>:0 
  at ItemContainer.Insert (Item item) [0x00046] in <7eac839b92da418b8d174606e4699650>:0 
  at Item.SetParent (ItemContainer target) [0x00039] in <7eac839b92da418b8d174606e4699650>:0 
  at Item.MoveToContainer (ItemContainer newcontainer, System.Int32 iTargetPos, System.Boolean allowStack, System.Boolean ignoreStackLimit, BasePlayer sourcePlayer, System.Boolean allowSwap) [0x004c0] in <7eac839b92da418b8d174606e4699650>:0 
  at PlayerInventory.GiveItem (Item item, System.Boolean tryWearClothing, ItemContainer container) [0x00015] in <7eac839b92da418b8d174606e4699650>:0 
  at PlayerInventory.GiveItem (Item item, ItemContainer container) [0x00000] in <7eac839b92da418b8d174606e4699650>:0 
  at PlayerInventoryProperties.<GiveToPlayer>g__CreateItem|7_0 (PlayerInventoryProperties+ItemAmountSkinned toCreate, ItemContainer destination, PlayerInventoryProperties+<>c__DisplayClass7_0& ) [0x00069] in <7eac839b92da418b8d174606e4699650>:0 
  at PlayerInventoryProperties.GiveToPlayer (BasePlayer player) [0x000e5] in <7eac839b92da418b8d174606e4699650>:0 
  at NPCPlayer.EquipLoadout (PlayerInventoryProperties[] loads) [0x00013] in <7eac839b92da418b8d174606e4699650>:0 
  at NPCPlayer.ServerInit () [0x00036] in <7eac839b92da418b8d174606e4699650>:0 
  at NPCShopKeeper.ServerInit () [0x00000] in <7eac839b92da418b8d174606e4699650>:0 
  at BaseNetworkable.Spawn () [0x00035] in <7eac839b92da418b8d174606e4699650>:0 
  at BaseEntity.Spawn () [0x00000] in <7eac839b92da418b8d174606e4699650>:0 
  at Oxide.Plugins.XDQuest.InitializeNpc (UnityEngine.Vector3 pos, UnityEngine.Quaternion rot) [0x00044] in <270e98c493684600a89dfc7a4bc7b7d4>:0 
  at Oxide.Plugins.XDQuest.OnPasteFinished (System.Collections.Generic.List`1[T] pastedEntities, System.String fileName) [0x001ab] in <270e98c493684600a89dfc7a4bc7b7d4>:0 

I mentioned this to DezLife, the developer of XDQuest and he has no idea what the issue is. Is this something that is fixable on your end or does it have to be done on the XDQuest side?

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.