Jump to content

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

Closed 1.0.0

Kobani
Kobani

Posted

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
Adem

Posted (edited)

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
Adem

Posted

Changed Status from Pending to Work in Progress

Kobani

Posted

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
Adem

Posted

Send your caravan config

Adem

Posted

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
Kobani

Posted

Ah My mistake. It was set to 1, with 0 and 2 it works. thanks.

  • Like 1
Adem

Posted

Changed Status from Work in Progress to Closed

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

103.4k

Files Sold

Total number of files sold.

2.1m

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.