Jump to content

Vending machine not working after plugin update

Pending 1.4.6

Scalbox
Scalbox

Posted

Hi,
I have two vendors. One of them opens a vending machine, but now, after updating the plugin, it no longer works and the vendor no longer appears.
Also, every time I reload the plugin, I get this error.

 

o.reload TalkingNpc
[CSharp] Started Oxide.Compiler v successfully
TalkingNpc was compiled successfully in 1522ms
Unloaded plugin TalkingNpc v1.4.6 by Razor/S0N_0F_BISCUIT
Failed to call hook 'OnServerInitialized' on plugin 'TalkingNpc v1.4.6' (ArgumentNullException: Value cannot be null.
Parameter name: source)
  at System.Globalization.CompareInfo.IndexOf (System.String source, System.String value, System.Globalization.CompareOptions options) [0x00003] in <f98723dd4586469db5213ec59da723ca>:0 
  at UnityEngine.StringEx.Contains (System.String haystack, System.String needle, System.Globalization.CompareOptions options) [0x0000a] in <a4cad030731741a9afce2404ea192428>:0 
  at Oxide.Plugins.TalkingNpc+<>c__DisplayClass68_0.<OnServerInitialized>b__0 (MonumentInfo m) [0x00025] in <e7155c9dee9544b784af8632e3b22927>:0 
  at System.Linq.Enumerable+WhereListIterator`1[TSource].MoveNext () [0x00037] in <8b0c76c7efa244bc95eeee75bf1314cd>:0 
  at Oxide.Plugins.TalkingNpc.OnServerInitialized () [0x00172] in <e7155c9dee9544b784af8632e3b22927>:0 
  at Oxide.Plugins.TalkingNpc.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x013a6] in <e7155c9dee9544b784af8632e3b22927>: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 <112d89ea5d3348c8b949af0ab1a866d2>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <112d89ea5d3348c8b949af0ab1a866d2>:0 
Loaded plugin TalkingNpc v1.4.6 by Razor/S0N_0F_BISCUIT


 

Only one vendor appears, but the vendor who opens a vending machine no longer appears.
The configuration hasn't changed; it happened after updating the plugin from version 1.4.5 to version 1.4.6.

How do I fix this?
Thanks

 

Razor

Posted

7 hours ago, Scalbox said:

Hi,
I have two vendors. One of them opens a vending machine, but now, after updating the plugin, it no longer works and the vendor no longer appears.
Also, every time I reload the plugin, I get this error.

 

o.reload TalkingNpc
[CSharp] Started Oxide.Compiler v successfully
TalkingNpc was compiled successfully in 1522ms
Unloaded plugin TalkingNpc v1.4.6 by Razor/S0N_0F_BISCUIT
Failed to call hook 'OnServerInitialized' on plugin 'TalkingNpc v1.4.6' (ArgumentNullException: Value cannot be null.
Parameter name: source)
  at System.Globalization.CompareInfo.IndexOf (System.String source, System.String value, System.Globalization.CompareOptions options) [0x00003] in <f98723dd4586469db5213ec59da723ca>:0 
  at UnityEngine.StringEx.Contains (System.String haystack, System.String needle, System.Globalization.CompareOptions options) [0x0000a] in <a4cad030731741a9afce2404ea192428>:0 
  at Oxide.Plugins.TalkingNpc+<>c__DisplayClass68_0.<OnServerInitialized>b__0 (MonumentInfo m) [0x00025] in <e7155c9dee9544b784af8632e3b22927>:0 
  at System.Linq.Enumerable+WhereListIterator`1[TSource].MoveNext () [0x00037] in <8b0c76c7efa244bc95eeee75bf1314cd>:0 
  at Oxide.Plugins.TalkingNpc.OnServerInitialized () [0x00172] in <e7155c9dee9544b784af8632e3b22927>:0 
  at Oxide.Plugins.TalkingNpc.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x013a6] in <e7155c9dee9544b784af8632e3b22927>: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 <112d89ea5d3348c8b949af0ab1a866d2>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <112d89ea5d3348c8b949af0ab1a866d2>:0 
Loaded plugin TalkingNpc v1.4.6 by Razor/S0N_0F_BISCUIT


 

Only one vendor appears, but the vendor who opens a vending machine no longer appears.
The configuration hasn't changed; it happened after updating the plugin from version 1.4.5 to version 1.4.6.

How do I fix this?
Thanks

 

Fp has broke Map Markers and said they will push out a hotfix now there saying money go figure they love to break things and take forever to fix it.

So for now you can spawn the npc but use false for the at monument and remove any spawned at monyments im going to try and push a patch that will make them work at normal monuments but assume custom monuments will still be broken untell they patch it.

Scalbox

Posted

Hi,
everything is working now with your latest update.
Thanks for the quick fix.
Have a nice day

Razor

Posted

4 minutes ago, Scalbox said:

Hi,
everything is working now with your latest update.
Thanks for the quick fix.
Have a nice day

Ya all will work ok but if trying to place at custom monument it will fail as custom monuments mapmarkers are borken and need to rely on FP fix witch they said now will try again monday.

Scalbox

Posted

Currently, my NPC is on an Outpost that has the Bandit built in, so the base monument hasn't changed, but the prefab has been added above the Outpost monument to include the Bandit, so it's fine for me.
I hope FP releases a fix, because it also broke the Monument Marker I added with Rust Edit.

image.png.9c1a99b0dc5d631d730961590b4e8fc4.png

Let's say your fix works for me now; we'll wait for FP for the rest.
Thanks

1.9m

Downloads

Total number of downloads.

9.2k

Customers

Total customers served.

134.6k

Files Sold

Total number of files sold.

2.8m

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.