Jump to content

Failed to call hook 'ChatStartEventCommand' on plugin 'Caravan v1.0.0'

Closed 1.0.0

Failed to call hook 'ChatStartEventCommand' on plugin 'Caravan v1.0.0' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.Caravan+PathManager+ComplexPathGenerator+<>c.<GetRandomPath>b__4_0 (Oxide.Plugins.Caravan+CaravanPath x) [0x00000] in <5c0c02a74494488b8cec90abbe14d720>:0
at Oxide.Plugins.CaravanExtensionMethods.ExtensionMethods.Max[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00008] in <5c0c02a74494488b8cec90abbe14d720>:0
at Oxide.Plugins.Caravan+PathManager+ComplexPathGenerator.GetRandomPath () [0x00026] in <5c0c02a74494488b8cec90abbe14d720>:0
at Oxide.Plugins.Caravan+PathManager.GenerateNewPath () [0x00017] in <5c0c02a74494488b8cec90abbe14d720>:0
at Oxide.Plugins.Caravan+EventLauncher.DelayStartEvent (System.Boolean isAutoActivated, BasePlayer activator, System.String presetName) [0x00056] in <5c0c02a74494488b8cec90abbe14d720>:0
at Oxide.Plugins.Caravan.ChatStartEventCommand (BasePlayer player, System.String command, System.String[] arg) [0x00010] in <5c0c02a74494488b8cec90abbe14d720>:0
at Oxide.Plugins.Caravan.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x014bc] in <5c0c02a74494488b8cec90abbe14d720>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <87ce9ac9776a48658bc55eae6debe38b>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <18d4f19bbc844191b11ed9e69284d09b>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <18d4f19bbc844191b11ed9e69284d09b>:0

  • Like 1

Share this comment


Link to comment

Hmm. Which map are you using? Try to temporarily change the route type to the standard one. 
"Type of caravan routes (0 - standard (fast generation), 1 - experimental (multiple roads are used), 2 - custom)"

Edited by Adem

Share this comment


Link to comment

I have created a custom route. On Frontier - American Old West 1.1.2
I deleted it and tried a different route to see if it was the first route, but I got the same result. All other settings are default.

 

  • Like 1

Share this comment


Link to comment

In the config, you need to enable the use of a custom route
"Type of caravan routes (0 - standard (fast generation), 1 - experimental (multiple roads are used), 2 - custom)"

  • Like 1

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

83.7k

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.