Scratch that. brb.
[DOUBLEPOST=1528072620][/DOUBLEPOST]@kektus - Hoping this might resolve it.
Would you mind testing?
BotSpawn
Moved
Total Downloads: 11,685 - First Release: Jul 31, 2017 - Last Update: Jul 27, 2018
- 5/5, 81 likes
-
Attached Files:
-
-
Seems good so far!
-
The BotSpawn zombies still hesitate to chase you (as circled in red) but regular rust murderers will chase you as much as they can (circled in green)
-
Think this is the same problem as above.
Got a fix for it last night.
Thanks, all the same. -
Is there any way to remove the random names?
I already have all my botnames
"BotNames": [],
but it's still giving out random names, and my DeathNotes already tells your the NPC name before anything else, so I set the prefix to the location instead, but the random name still shows after.
Edit: Just found out that if I leave the prefix alone, then it won't give a random nameLast edited by a moderator: Jun 4, 2018 -
Code:
"BotNames": [],
If you had "BotNames": ["Jim", "", ""Andy], and the middle one got picked, you'd get a server-generated random name.
Prefix shouldn't have any bearing on the main name. If it does you've found an error. -
Just updated to latest version but getting this in my compiler log:
Code:[SERVER v1.0.20] Got Message: Compile [SERVER v1.0.20] Console: BotSpawn.cs(236,17): warning CS0219: The variable `idleTimeout' is assigned but its value is never used BotSpawn.cs(325,42): warning CS0219: The variable `contentList' is assigned but its value is never used BotSpawn.cs(1048,28): warning CS0219: The variable `attackerheldEntity1' is assigned but its value is never used BotSpawn.cs(1569,25): error CS1061: Type `NPCPlayerApex' does not contain a definition for `utilityAiComponent' and no extension method `utilityAiComponent' of type `NPCPlayerApex' could be found. Are you missing an assembly reference? /home/rust/server/Assembly-CSharp.dll (Location of the symbol related to previous error) BotSpawn.cs(1803,17): warning CS0472: The result of comparing value type `UnityEngine.Vector3' with null is always `false'[SERVER v1.0.20] Connection closed. [SERVER v1.0.20] Shutdown
-
The message about 1569 suggests your oxide isn't up to date.
The rest I can tidy up. Thanks.Last edited by a moderator: Jun 4, 2018 -
Cool - bots are appearing but seem to be ignoring Kits... any changes there?
-
Nope. What kits version are you on?
-
Latest version - I'll try restarting server again, see if something changes.
-
Would it be possible to edit the config in such a way so that I can have zombies spawn at monuments along side scientists?
-
No, still getting default blue scientist or murderer.
[DOUBLEPOST=1528125198][/DOUBLEPOST] -
-
I'm not aware of any kit related issues right now, and they're working fine for me.
There'll be an option in data profiles to set Parent_Monument = "Dome", for example. -
Sshhhheeeetttt.....
I copied the wrong kit json file to the server and overwrote my kitslost 'em all.
Oh well, thanks for the great plugin, guess I know what my future holds for me -
Error while compiling: BotSpawn.cs(1569,25): error CS1061: Type `NPCPlayerApex' does not contain a definition for `utilityAiComponent' and no extension method `utilityAiComponent' of type `NPCPlayerApex' could be found. Are you missing an assembly reference?
-
You need to update oxide.
-
Oxide.Rust 2.0.3929
Code:20:01 [Error] Failed to call hook 'OnEntitySpawned' on plugin 'BotSpawn v1.6.5' (KeyNotFoundException: The given key was not present in the dictionary.) at System.Collections.Generic.Dictionary`2[System.String,Oxide.Plugins.BotSpawn+MonumentSettings].get_Item (System.String key) [0x00000] in <filename unknown>:0 at Oxide.Plugins.BotSpawn.OnEntitySpawned (.BaseEntity entity) [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.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 20:01 [Error] Failed to call hook 'OnEntitySpawned' on plugin 'BotSpawn v1.6.5' (KeyNotFoundException: The given key was not present in the dictionary.) at System.Collections.Generic.Dictionary`2[System.String,Oxide.Plugins.BotSpawn+MonumentSettings].get_Item (System.String key) [0x00000] in <filename unknown>:0 at Oxide.Plugins.BotSpawn.OnEntitySpawned (.BaseEntity entity) [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.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
-
Did you get that on server start up?
I saw it a few times on mine, then couldn't get it to happen again when I wanted it to!
[DOUBLEPOST=1528142676][/DOUBLEPOST]Never mind - Found and fixed.
Thanks.