BotSpawn

Moved

Total Downloads: 11,762 - First Release: Jul 31, 2017 - Last Update: Jul 27, 2018

5/5, 81 likes
  1. Great, works!!!
     
  2. :) Thanks fellas.
     
  3. I feel that the "plugin" does not support more than adding a "kit" containing a melee weapon : "Kit Psychopathe has no weapon in belt - Defaulting to 'Scientist'." . Yet this kit contains a mass and it worked well in the previous version if I put the option "Murderer" on "True" :(
     
  4. Damn ^ that's working off whatever Kits plugin's definition of weapon is.
    I'll check back to make sure hand tools or melee aren't categorised separately.

    Thanks.
     
  5. i havnt poste din awhile. but still have the server running. great work just what I was waiting for. I have people join my server. most because of the ai and anti offline raid. but most people say AI acts stupid on outher servers, but I have them working great. yeah thers a glitch every now n then but shits so crazy you hardly notice it
     
  6. Thanks for posting @prokyle123
    Glad to hear it's going well.

    They're getting smarter week by week.
    I think Rust have some good updates in the pipeline too. Annoyingly, one of them is weapon switching based on distance. <sigh>
     
  7. So I've got all my kits set up proper. Latest plugin downloaded. Double checked on the download. Validated my json. But I keep getting this
    Code:
    (21:31:14) | ExType: JsonSerializationException
    (21:31:14) | Failed to initialize plugin 'BotSpawn v1.3.9' (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
    (21:31:14) | Unloaded plugin BotSpawn v1.3.9 by Steenamaroo
    (21:31:14) | Rolling back plugin to last good version: BotSpawn
    (21:31:14) | ExType: JsonSerializationException
    (21:31:14) | Failed to initialize plugin 'BotSpawn v1.3.7' (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
     
  8. Looks like out of date config.
    Kits is no longer a string like "default". It's string array like ["default"]
     
  9. Bots are sometimes killed with the first shot, and even the weapons fall out, although in the tuning everything is correct.
    [DOUBLEPOST=1515120146][/DOUBLEPOST]Not sometimes, every bot die from 1 shoot
    [DOUBLEPOST=1515120269][/DOUBLEPOST]Ohhhhhh, my baaad. I set bot health 10, sorry
     
  10. Thank you. I had a couple quotes on the outside of the brackets. No idea why... Well I know why. I screwed up. I just don't know why I did that.
     
  11. Ha! No worries. VinylFresh was seeing weapon drop even when set to false but I couldn't replicate it.
    Please let me know if that's happening.
     
  12. It happens, the weapon still falls. And the plug-in does not see one of my set, and the second set is visible. Why?
     
  13. This is going to take some tracking down...
    If it's convenient, you could rule out other plugins by doing oxide.unload * then oxide.load Kits and oxide.load Botspawn, then test again?
    Check console to make sure all others unload - People often type the command wrong.

    Not sure what you mean here.
     
  14. Yea same here, I have weapon drop set as false and its still droping, and im not using the kits plugin
     
  15. I have installed only BotSpawn and Kits on my TestServer. Weapon still drop. If u need testing plugin I can do anything you want
    [DOUBLEPOST=1515121680][/DOUBLEPOST]Im trying set: WeaponDrop true/false
    Not work
     
  16. Ok, thanks for the info guys.
    Getting late here - I'll figure out what's up with it tomorrow.

    It may be that dropping is now default for murderers and not scientists, or vice versa.
     
  17. No thank you for everything! Sounds good
     
  18. thanks for quick reply , was a glitch with the server not updating files, all good now
     
  19. hmm, i just cut this part of code and wepon not drop
    Code:
    if (bData.dropweapon == true)
                    {
                        using (TimeWarning timeWarning = TimeWarning.New("PlayerBelt.DropActive", 0.1f))
                        {
                            activeItem.Drop(player.eyes.position, new Vector3(), new Quaternion());
                            player.svActiveItemID = 0;
                            player.SendNetworkUpdate(BasePlayer.NetworkQueue.Update);
                        }
                    }
     
  20. are they 'airdrop' or 'toplayer' bots?
    [DOUBLEPOST=1515122590][/DOUBLEPOST]Oh, yeah...I'm an idiot - I know what the problem is and why I couldn't replicate it.