Ok thanks. Good job.
NullReferenceException at AddVendingOrdersFixed
Failed to call hook 'OnServerInitialized' on plugin 'CompoundOptions v1.1.6' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.CompoundOptions.AddVendingOrders (NPCVendingMachine vending, System.Boolean def) [0x00056] in <a1d7d905644c407b9b88588c990704c2>:0
at Oxide.Plugins.CompoundOptions.OnServerInitialized () [0x0003a] in <a1d7d905644c407b9b88588c990704c2>:0
at Oxide.Plugins.CompoundOptions.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00275] in <a1d7d905644c407b9b88588c990704c2>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <d09a1f46ca2f4432811bcfe45ad13c7b>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <cf88a28c7fb44d36890d85a78331cc9d>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <cf88a28c7fb44d36890d85a78331cc9d>:0 Try reloading the plugin
Hi,
When I go to my data file it just says "null". In my web console it said that everything was added to the data file then gives me the below error. Any ideas how I can get the lists so i can change prices or items etc?
Failed to call hook 'OnServerInitialized' on plugin 'CompoundOptions v1.1.6' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.CompoundOptions.AddVendingOrders (NPCVendingMachine vending, System.Boolean def) [0x00056] in <b9767019786e4d21b2db86d36d5603b6>:0
at Oxide.Plugins.CompoundOptions.OnServerInitialized () [0x0003a] in <b9767019786e4d21b2db86d36d5603b6>:0
at Oxide.Plugins.CompoundOptions.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00275] in <b9767019786e4d21b2db86d36d5603b6>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <d09a1f46ca2f4432811bcfe45ad13c7b>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <cf88a28c7fb44d36890d85a78331cc9d>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <cf88a28c7fb44d36890d85a78331cc9d>:0 Im running Proc maps as well and the data fileis just empty and nothings working
Failed to call hook 'OnServerInitialized' on plugin 'CompoundOptions v1.1.6' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.CompoundOptions.AddVendingOrders (NPCVendingMachine vending, System.Boolean def) [0x00056] in <0f74868dad284d72bb5c74fd0ceb5a06>:0
at Oxide.Plugins.CompoundOptions.OnServerInitialized () [0x0003a] in <0f74868dad284d72bb5c74fd0ceb5a06>:0
at Oxide.Plugins.CompoundOptions.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00275] in <0f74868dad284d72bb5c74fd0ceb5a06>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <d09a1f46ca2f4432811bcfe45ad13c7b>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <cf88a28c7fb44d36890d85a78331cc9d>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <cf88a28c7fb44d36890d85a78331cc9d>:0
Calling 'OnServerInitialized' on 'CompoundOptions v1.1.6' took 223ms
Loaded plugin Compound Options v1.1.6 by FastBurst Unload the plugin, then Delete the data files and reload
Tried that i did the unload of the plugin and delete the files in data folder and reload the plugin and still same errors come up in console.
Unloaded plugin Compound Options v1.1.6 by FastBurst
[Compound Options] Trying to save default vendingOrders for Vehicles2
[Compound Options] Added Vending Machine: Vehicles2 to data file!
[Compound Options] Added Vending Machine: Vehicles2 to data file!
[Compound Options] Trying to save default vendingOrders for Compound_Extra2
[Compound Options] Added Vending Machine: Compound_Extra2 to data file!
[Compound Options] Added Vending Machine: Compound_Extra2 to data file!
[Compound Options] Trying to save default vendingOrders for Compound_Extra1
[Compound Options] Added Vending Machine: Compound_Extra1 to data file!
[Compound Options] Added Vending Machine: Compound_Extra1 to data file!
[Compound Options] Trying to save default vendingOrders for Tools
[Compound Options] Added Vending Machine: Tools to data file!
[Compound Options] Added Vending Machine: Tools to data file!
[Compound Options] Trying to save default vendingOrders for Resources
[Compound Options] Added Vending Machine: Resources to data file!
[Compound Options] Added Vending Machine: Resources to data file!
[Compound Options] Trying to save default vendingOrders for Components
[Compound Options] Added Vending Machine: Components to data file!
[Compound Options] Added Vending Machine: Components to data file!
[Compound Options] Trying to save default vendingOrders for Weapons
[Compound Options] Added Vending Machine: Weapons to data file!
[Compound Options] Added Vending Machine: Weapons to data file!
[Compound Options] Trying to save default vendingOrders for Attire
[Compound Options] Added Vending Machine: Attire to data file!
[Compound Options] Added Vending Machine: Attire to data file!
[Compound Options] Trying to save default vendingOrders for Building
[Compound Options] Added Vending Machine: Building to data file!
[Compound Options] Added Vending Machine: Building to data file!
[Compound Options] Trying to save default vendingOrders for Vehicles
[Compound Options] Added Vending Machine: Vehicles to data file!
[Compound Options] Added Vending Machine: Vehicles to data file!
[Compound Options] Trying to save default vendingOrders for Bandit_Farming
[Compound Options] Added Vending Machine: Bandit_Farming to data file!
[Compound Options] Added Vending Machine: Bandit_Farming to data file!
[Compound Options] Trying to save default vendingOrders for Bandit_ProduceExchange
[Compound Options] Added Vending Machine: Bandit_ProduceExchange to data file!
[Compound Options] Added Vending Machine: Bandit_ProduceExchange to data file!
[Compound Options] Trying to save default vendingOrders for Weapons_Bandit
[Compound Options] Added Vending Machine: Weapons_Bandit to data file!
[Compound Options] Added Vending Machine: Weapons_Bandit to data file!
[Compound Options] Trying to save default vendingOrders for BuyResources
[Compound Options] Added Vending Machine: BuyResources to data file!
[Compound Options] Added Vending Machine: BuyResources to data file!
[Compound Options] Trying to save default vendingOrders for building_bandit
[Compound Options] Added Vending Machine: building_bandit to data file!
[Compound Options] Added Vending Machine: building_bandit to data file!
[Compound Options] Trying to save default vendingOrders for FoodVendor
[Compound Options] Added Vending Machine: FoodVendor to data file!
[Compound Options] Added Vending Machine: FoodVendor to data file!
Failed to call hook 'OnServerInitialized' on plugin 'CompoundOptions v1.1.6' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.CompoundOptions.AddVendingOrders (NPCVendingMachine vending, System.Boolean def) [0x00056] in <0f74868dad284d72bb5c74fd0ceb5a06>:0
at Oxide.Plugins.CompoundOptions.OnServerInitialized () [0x0003a] in <0f74868dad284d72bb5c74fd0ceb5a06>:0
at Oxide.Plugins.CompoundOptions.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00275] in <0f74868dad284d72bb5c74fd0ceb5a06>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <d09a1f46ca2f4432811bcfe45ad13c7b>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <cf88a28c7fb44d36890d85a78331cc9d>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <cf88a28c7fb44d36890d85a78331cc9d>:0
Calling 'OnServerInitialized' on 'CompoundOptions v1.1.6' took 224ms
Loaded plugin Compound Options v1.1.6 by FastBurst HAve you opened the files themselves after the creation of them? To see if there is anything in them at all? It is working perfectly on over 30+ servers I have without fail.
If you can post your files outputs.
Yeah i have opened them.
This is the Config.json
"Allow custom sell list for Compound vending machines (see in data)": true,
"Disable Compound SafeZone trigger": false,
"Disable Compound Turrets": false,
"Disable Compound Vending Machines": false,
"Disallow Bandit NPC": false,
"Disallow Compound NPC": false
Then the Compoundoptions.json in data folder only has this in it
"VendingMachinesOrders": null
then the Compoundoption_default.json in data folder only has this in it
"VendingMachinesOrders": null.
Thats all there is
This is the Config.json
"Allow custom sell list for Compound vending machines (see in data)": true,
"Disable Compound SafeZone trigger": false,
"Disable Compound Turrets": false,
"Disable Compound Vending Machines": false,
"Disallow Bandit NPC": false,
"Disallow Compound NPC": false
Then the Compoundoptions.json in data folder only has this in it
"VendingMachinesOrders": null
then the Compoundoption_default.json in data folder only has this in it
"VendingMachinesOrders": null.
Thats all there is
Can confirm, I also have this issue on initial load of the plugin. Also on a procedural map.Oozle30Yeah i have opened them.
This is the Config.json
"Allow custom sell list for Compound vending machines (see in data)": true,
"Disable Compound SafeZone trigger": false,
"Disable Compound Turrets": false,
"Disable Compound Vending Machines": false,
"Disallow Bandit NPC": false,
"Disallow Compound NPC": false
Then the Compoundoptions.json in data folder only has this in it
"VendingMachinesOrders": null
then the Compoundoption_default.json in data folder only has this in it
"VendingMachinesOrders": null.
Thats all there is
Locked automatically
- 1
- 2