Code:{ "CustomProfiles": { "testbot": { "Activate": false, "Bots": 5, "BotHealth": 100, "Radius": 100, "Kit": "default", "BotName": "randomname", "BotRadius": 100, "Chute": false, "Bot_Firing_Range": 20, "Bot_Accuracy": 4, "Bot_Damage": 0.4, "Invincible_In_Air": true, "Spawn_Height": 100, "Location": { "x": 424.690033, "y": 18.5327, "z": -714.079
BotSpawn
Moved
Total Downloads: 11,762 - First Release: Jul 31, 2017 - Last Update: Jul 27, 2018
- 5/5, 81 likes
-
Yup, that's your problem.
"Kit": "default", should be "Kit": ["default"],
The formatting changed at v 1.3.7 because the plugin now supports multiple kits per location.
See the full details here.
@barracudakilla , this is probably your issue too.
Accuracy of descriptions is reflected in accuracy of diagnosis, though. -
I'm stupid ... I've now deleted the file from /data and everything works. No errors. Sorry for the confusion
Beer for you
-
No probs. Thanks.
-
So are you going to roll back you mods or what ? it's broken as you can see..
-
open your eyes -
You just watched me solved a problem for a guy who provided the information.
If you can tell me the specific error, I can tell you what's wrong.
I even ventured a guess.What more could you want. :
-
All i got from you is sarcasm, NO help. idk what your problem is. I told you the error. WTF
FAILED TO LOAD BOTSPAWN.. There it is again. same as everyone else is getting Failure to load the mod.
You asked i replied with Failed to load Botspawn. that is the error. What else do you want ?. then you replied i cant help. -
Hey bud.....awesome freaking update! Love the new options!
I'm getting an error I have not seen before. I mess up my config?
BotSpawn was compiled successfully in 1891ms
Failed to call hook 'OnServerInitialized' on plugin 'BotSpawn v1.4.3' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.BotSpawn.AddProfile (System.String name, Oxide.Plugins.CustomSettings monument, Vector3 pos) [0x00000] in :0
at Oxide.Plugins.BotSpawn.FindMonuments () [0x00000] in :0
at Oxide.Plugins.BotSpawn.OnServerInitialized () [0x00000] in :0
at Oxide.Plugins.BotSpawn.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in :0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in :0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in :0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in :0
Calling 'OnServerInitialized' on 'BotSpawn v1.4.3' took 701ms
Loaded plugin BotSpawn v1.4.3 by Steenamaroo
Any guidance appreciated -
The point, as evidenced by more or less every other post for the last five pages, is that console gives much more information that that.
If your console literally just said "Failed to load Botspawn" (you think?) then just stopped dead, you have my apologies, but I doubt it. -
-
Did you delete config+data prior to updating?
Take a backup of your old ones for reference, if that makes things easier.
[DOUBLEPOST=1515198857][/DOUBLEPOST]
@barracudakilla I'm not interested in aggro.
Very willing to help.
I'm just saying, console would have given you more info than that. -
Aggresion range don't work ?
https://cdn.discordapp.com/attachments/386297780341178373/398997316452876314/unknown.png
Code:"punisher-d13": { "Activate": true, "Murderer": false, "Bots": 2, "BotHealth": 300, "Radius": 100, "Kit": ["punisher-1", "punisher-2", "punisher-3", "punisher-4"], "BotName": "Punisher", "Bot_Accuracy": 4, "Bot_Damage": 1, "Respawn_Timer": 2700, "Disable_Radio": true, "LocationX": 15.7244816, "LocationY": 2.07530928, "LocationZ": 1537.5144, "Aggression_Range": 100, "Roam_Range": 40, "Weapon_Drop": true, "Keep_Default_Loadout": false },
-
Deleted the BotSpawn.json file out of the oxideconfig AND the oxide\data folders? Then reload BotSpawn?
That fixed it for me when I had the same problem. -
@Sorrow
It should do. Was he a fresh spawn? Sometimes they take a few seconds to get properly set up.
If you only just changed the value, be sure to reload the plugin afterwards. -
you didn't ask for console readouts. You asked for the error. 2 different things.
How am i meant to know you wanted said console readouts unless you ask.
Anyways here is the read out.
Failed to initialize plugin 'BotSpawn v1.4.3' (ArgumentException: Could not cast or convert from System.String to System.Collections.Generic.List`1[System.String].)
at Newtonsoft.Json.Utilities.ConvertUtils.EnsureTypeAssignable (System.Object value, System.Type initialType, System.Type targetType) [0x00000] in <filename unknown>:0
at Newtonsoft.Json.Utilities.ConvertUtils.ConvertOrCast (System.Object initialValue, System.Globalization.CultureInfo culture, System.Type targetType) [0x00000] in <filename unknown>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType (Newtonsoft.Json.JsonReader reader, System.Object value, System.Globalization.CultureInfo culture, Newtonsoft.Json.Serialization.JsonContract contract, System.Type targetType) [0x00000] in <filename unknown>:0
(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
Unloaded plugin BotSpawn v1.4.3 by Steenamaroo
Failed to initialize plugin 'BotSpawn v1.4.3' (ArgumentException: Could not cast or convert from System.String to System.Collections.Generic.List`1[System.String].)
at Newtonsoft.Json.Utilities.ConvertUtils.EnsureTypeAssignable (System.Object value, System.Type initialType, System.Type targetType) [0x00000] in <filename unknown>:0
at Newtonsoft.Json.Utilities.ConvertUtils.ConvertOrCast (System.Object initialValue, System.Globalization.CultureInfo culture, System.Type targetType) [0x00000] in <filename unknown>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType (Newtonsoft.Json.JsonReader reader, System.Object value, System.Globalization.CultureInfo culture, Newtonsoft.Json.Serialization.JsonContract contract, System.Type targetType) [0x00000] in <filename unknown>:0
(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
Unloaded plugin BotSpawn v1.4.3 by Steenamaroo -
Unbelievable.
Solution is three posts before you chose to troll. -
Yeah probably because is fresh spawn
. I spotted a bug, if the peace_keaper true and a murderer runs us, we have no more weapon and we take the weapon back, the murderer comes back to his initial zone in reverse before coming back to attack us.
-
Ha! Very specific bug.
I'll have to try that.
I have noticed Aggression_Range being hit/miss if you're nearby when the bot spawns.
I'll give it a thorough check some time soon and see if it can be improved.
[DOUBLEPOST=1515199968][/DOUBLEPOST]@barracudakilla - If you have any further errors once kit formatting is sorted, don't be afraid to let me know. -
on fire with that sarcasm there. Sorry i don't have time to read 115 pages to find a solution. Yea my bad.. LOL