im having an issue with it still would someone mind just showing me a copy paste of what some of it looks like so i can make sure im doing it right?
Thanks again in advance
BotSpawn
Moved
Total Downloads: 11,691 - First Release: Jul 31, 2017 - Last Update: Jul 27, 2018
- 5/5, 81 likes
-
Doesn't load, I get this error.
Code:[10/23/2017 16:30:53] at Newtonsoft.Json.JsonTextReader.ParsePostValue () [0x00000] in <filename unknown>:0 at Newtonsoft.Json.JsonTextReader.Read () [0x00000] in <filename unknown>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject (System.Object newObject, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonObjectContract contract, Newtonsoft.Json.Serialization.JsonProperty member, System.String id) [0x00000] in <filename unknown>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x00000] in <filename unknown>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x00000] in <filename unknown>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue (Newtonsoft.Json.Serialization.JsonProperty property, Newtonsoft.Json.JsonConverter propertyConverter, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerProperty, Newtonsoft.Json.JsonReader reader, System.Object target) [0x00000] in <filename unknown>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject (System.Object newObject, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonObjectContract contract, Newtonsoft.Json.Serialization.JsonProperty member, System.String id) [0x00000] in <filename unknown>:0 [10/23/2017 16:30:53] at Oxide.Plugins.BotSpawn.Loaded () [0x00000] in <filename unknown>:0 at Oxide.Plugins.BotSpawn.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0 [10/23/2017 16:30:53] Unloaded plugin BotSpawn v1.2.2 by Steenamaroo [10/23/2017 16:30:53] No previous version to rollback plugin: BotSpawn
-
Maybe add an option to append "Bot " to the front of the random names? We have had folks freaking out on a PVE server asking if it was a PVP server since so many folks were dieing and with Deathnotes running they see a wall of "player" deaths. If they saw bot at the front of the name they would probably calm down. I hacked line 283 to do that:
entity.displayName = "Bot " + Get(entity.userID);
But it would be nicer to have it in the config as an option for folks to decide. We don't want folks logging in for the first time to panic. ;-) -
John:
Did you updated Oxide? I believe there was a patch today.
Maybe delete your Botspawn.json file and let Botspawn recreate it as he did an change to to add more monuments to the json in the last patch (and then edit it to activate bots)? -
Thanks -
Here,F:\steamcmd\rust\oxide\data\BotSpawn.json
Code:{ "CustomProfiles": { "huojian": { "Activate": true, "Bots": 2, "BotHealth": 500, "Radius": 300, "Kit": "huojian", "BotName": "randomname", "Bot_Firing_Range": 20, "Bot_Accuracy": 4, "Bot_Damage": 0.4, "Respawn_Timer": 200, "Disable_Radio": true, "Location": { "x": 423.2055, "y": 423.795868, "z": 275.659851, "normalized": { "x": 0.6418882, "y": 0.642783642, "z": 0.41810137, "magnitude": 1.0, "sqrMagnitude": 1.0 }, "magnitude": 659.3134, "sqrMagnitude": 434694.2 } }, "huojianjiadi": { "Activate": true, "Bots": 30, "BotHealth": 150, "Radius": 1500, "Kit": "jiangshi2", "BotName": "zombie", "Bot_Firing_Range": 20, "Bot_Accuracy": 8, "Bot_Damage": 1, "Respawn_Timer": 600, "Disable_Radio": true, "Location": { "x": 229.215363, "y": 27.4683971, "z": 191.218872, "normalized": { "x": 0.76465106, "y": 0.09163321, "z": 0.637896657, "magnitude": 1.0, "sqrMagnitude": 1.0 }, "magnitude": 299.764648, "sqrMagnitude": 89858.85 } } } }
-
Oh man i owe you one. I looked in that file like 10x and nothing was listed i reloaded oxide and bot and checked again in that file and got it. THANK YOU!!!
-
Nope, plugins till borked. I deleted config and data files. Still won't load. :/
[DOUBLEPOST=1508816596][/DOUBLEPOST]Idk if it's the same error but here's the "new" error report.
Code:[10/23/2017 20:42:22] BotSpawn was compiled successfully in 4441ms [10/23/2017 20:42:22] at Newtonsoft.Json.JsonTextReader.ParsePostValue () [0x00000] in <filename unknown>:0 at Newtonsoft.Json.JsonTextReader.Read () [0x00000] in <filename unknown>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject (System.Object newObject, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonObjectContract contract, Newtonsoft.Json.Serialization.JsonProperty member, System.String id) [0x00000] in <filename unknown>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x00000] in <filename unknown>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x00000] in <filename unknown>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue (Newtonsoft.Json.Serialization.JsonProperty property, Newtonsoft.Json.JsonConverter propertyConverter, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerProperty, Newtonsoft.Json.JsonReader reader, System.Object target) [0x00000] in <filename unknown>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject (System.Object newObject, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonObjectContract contract, Newtonsoft.Json.Serialization.JsonProperty member, System.String id) [0x00000] in <filename unknown>:0 [10/23/2017 20:42:22] at Oxide.Plugins.BotSpawn.Loaded () [0x00000] in <filename unknown>:0 at Oxide.Plugins.BotSpawn.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0 [10/23/2017 20:42:22] Unloaded plugin BotSpawn v1.2.2 by Steenamaroo [10/23/2017 20:42:22] No previous version to rollback plugin: BotSpawn
-
https://pp.userapi.com/c639829/v639829960/4c4eb/HvLM-h5KwBs.jpg
Can't do to the NPC worked(((
[DOUBLEPOST=1508827574][/DOUBLEPOST]standing still and not moving -
problem is that they meet in one place and do not move
Last edited by a moderator: Oct 24, 2017 -
Try to download “customai.cs”
See if animals and bots are frozen? -
spam in the console after the last update.
Code:BotSpawn was compiled successfully in 203ms Calling 'OnServerInitialized' on 'BotSpawn v1.2.3' took 551ms Loaded plugin BotSpawn v1.2.3 by Steenamaroo NullReferenceException: Object reference not set to an instance of an object NullReferenceException: Object reference not set to an instance of an object NullReferenceException: Object reference not set to an instance of an object NullReferenceException: Object reference not set to an instance of an object NullReferenceException: Object reference not set to an instance of an object NullReferenceException: Object reference not set to an instance of an object NullReferenceException: Object reference not set to an instance of an object NullReferenceException: Object reference not set to an instance of an object NullReferenceException: Object reference not set to an instance of an object ......
-
Hello guys, I'm very new to this plugin and it confused me why there's no bot upon installation, is there any need for other plugin as well to make this work?
but if no other plugin is needed, why is default config not working when I enable true for launchsite? is there some other factor I need to work on it? -
-
-
-
Awesome plugin and thanks for all of your hard work on it!
I have one issue, or maybe it's not an issue, as I may be doing it wrong.
When I use /botspawn toplayer playername profile, it spawns the bots on my location rather than the player location. I used /botspawn add customname, to create the profile and location. -
You are going to want kits or they will just be hazmat suited dudes with basic guns. Those are good for starting out, but folks will quickly get bored with them. -
-
Activated bots with the new update and instantly crashed server with out of memory error and script not existing errors, as well as baseobject reference errors.