BotSpawn

Moved

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

5/5, 81 likes
  1. Seriously, bots aren't meant to fight each other.
    Can anyone confirm that they are doing so, intentionally? I.E.not counting friendly fire?
     
  2. Well, for what it's worth, I spawned multiple different profiles together to see if they'd shoot each other. One of bots was shooting into the ground for some reason, but none of them shot each other. The only test I haven't done yet, is test vs area spawned ones. I would say the ultimate test would be to combine area spawned bots, air drop bots and toplayer bots together and see if they attack each other.
     
  3. Thanks for trying things and reported. :)

    I haven't seen bots intentionally shoot at each other since way back at the start and, even then, my memory sucks so I'm not even certain it was a thing back then.
     
  4. 1.screen Oxide build 2.0.3411

    Update Oxide build 2.0.3428

    2. Bots to spawn only at the airport

    At other points and in warehouses, bots do not spawn (Checked on the past oxide)


    Code:
    {
      "Options": {
      "Ai_Falling_Disable": true,
      "Animal_Safe": true,
      "Bots_Drop_Weapons": true,
      "Ignore_Animals": true,
      "Reset": true,
      "Reset_Timer": 300,
      "Respawn_Timer": 60,
      "Suicide_Timer": 300,
      "Supply_Enabled": true,
      "Turret_Safe": true,
      "Upper_Bot_Limit": 5
      },
      "Zones": {
      "AirDrop": {
      "Activate": true,
      "Bot_Accuracy": 5,
      "Bot_Damage": 0.5,
      "Bot_Firing_Range": 20,
      "BotHealth": 150,
      "BotName": "randomname",
      "BotRadius": 100,
      "Bots": 10,
      "Chute": true,
      "Invincible_In_Air": false,
      "Kit": "default",
      "Location": {
      "x": 0.0,
      "y": 0.0,
      "z": 0.0
      },
      "Radius": 100,
      "Spawn_Height": 100
      },
      "Airfield": {
      "Activate": true,
      "Bot_Accuracy": 4,
      "Bot_Damage": 0.4,
      "Bot_Firing_Range": 20,
      "BotHealth": 100,
      "BotName": "randomname",
      "BotRadius": 100,
      "Bots": 5,
      "Chute": false,
      "Invincible_In_Air": true,
      "Kit": "default",
      "Location": {
      "x": 0.0,
      "y": 0.0,
      "z": 0.0
      },
      "Radius": 100,
      "Spawn_Height": 100
      },
      "Dome": {
      "Activate": true,
      "Bot_Accuracy": 4,
      "Bot_Damage": 0.4,
      "Bot_Firing_Range": 20,
      "BotHealth": 100,
      "BotName": "randomname",
      "BotRadius": 100,
      "Bots": 5,
      "Chute": false,
      "Invincible_In_Air": true,
      "Kit": "default",
      "Location": {
      "x": 0.0,
      "y": 0.0,
      "z": 0.0
      },
      "Radius": 100,
      "Spawn_Height": 100
      },
      "Harbor1": {
      "Activate": true,
      "Bot_Accuracy": 4,
      "Bot_Damage": 0.4,
      "Bot_Firing_Range": 20,
      "BotHealth": 100,
      "BotName": "randomname",
      "BotRadius": 100,
      "Bots": 5,
      "Chute": false,
      "Invincible_In_Air": true,
      "Kit": "default",
      "Location": {
      "x": 0.0,
      "y": 0.0,
      "z": 0.0
      },
      "Radius": 100,
      "Spawn_Height": 100
      },
      "Harbor2": {
      "Activate": true,
      "Bot_Accuracy": 4,
      "Bot_Damage": 0.4,
      "Bot_Firing_Range": 20,
      "BotHealth": 100,
      "BotName": "randomname",
      "BotRadius": 100,
      "Bots": 5,
      "Chute": false,
      "Invincible_In_Air": true,
      "Kit": "default",
      "Location": {
      "x": 0.0,
      "y": 0.0,
      "z": 0.0
      },
      "Radius": 100,
      "Spawn_Height": 100
      },
      "Launchsite": {
      "Activate": true,
      "Bot_Accuracy": 4,
      "Bot_Damage": 0.4,
      "Bot_Firing_Range": 20,
      "BotHealth": 100,
      "BotName": "randomname",
      "BotRadius": 100,
      "Bots": 5,
      "Chute": false,
      "Invincible_In_Air": true,
      "Kit": "default",
      "Location": {
      "x": 0.0,
      "y": 0.0,
      "z": 0.0
      },
      "Radius": 100,
      "Spawn_Height": 100
      },
      "MilitaryTunnel": {
      "Activate": true,
      "Bot_Accuracy": 4,
      "Bot_Damage": 0.4,
      "Bot_Firing_Range": 20,
      "BotHealth": 100,
      "BotName": "randomname",
      "BotRadius": 100,
      "Bots": 5,
      "Chute": false,
      "Invincible_In_Air": true,
      "Kit": "default",
      "Location": {
      "x": 0.0,
      "y": 0.0,
      "z": 0.0
      },
      "Radius": 100,
      "Spawn_Height": 100
      },
      "Powerplant": {
      "Activate": true,
      "Bot_Accuracy": 4,
      "Bot_Damage": 0.4,
      "Bot_Firing_Range": 20,
      "BotHealth": 100,
      "BotName": "randomname",
      "BotRadius": 100,
      "Bots": 5,
      "Chute": false,
      "Invincible_In_Air": true,
      "Kit": "default",
      "Location": {
      "x": 0.0,
      "y": 0.0,
      "z": 0.0
      },
      "Radius": 100,
      "Spawn_Height": 100
      },
      "Radtown": {
      "Activate": true,
      "Bot_Accuracy": 4,
      "Bot_Damage": 0.4,
      "Bot_Firing_Range": 20,
      "BotHealth": 100,
      "BotName": "randomname",
      "BotRadius": 100,
      "Bots": 5,
      "Chute": false,
      "Invincible_In_Air": true,
      "Kit": "default",
      "Location": {
      "x": 0.0,
      "y": 0.0,
      "z": 0.0
      },
      "Radius": 100,
      "Spawn_Height": 100
      },
      "Satellite": {
      "Activate": true,
      "Bot_Accuracy": 4,
      "Bot_Damage": 0.4,
      "Bot_Firing_Range": 20,
      "BotHealth": 100,
      "BotName": "randomname",
      "BotRadius": 100,
      "Bots": 5,
      "Chute": false,
      "Invincible_In_Air": true,
      "Kit": "default",
      "Location": {
      "x": 0.0,
      "y": 0.0,
      "z": 0.0
      },
      "Radius": 100,
      "Spawn_Height": 100
      },
      "Trainyard": {
      "Activate": true,
      "Bot_Accuracy": 4,
      "Bot_Damage": 0.4,
      "Bot_Firing_Range": 20,
      "BotHealth": 100,
      "BotName": "randomname",
      "BotRadius": 100,
      "Bots": 5,
      "Chute": false,
      "Invincible_In_Air": true,
      "Kit": "default",
      "Location": {
      "x": 0.0,
      "y": 0.0,
      "z": 0.0
      },
      "Radius": 100,
      "Spawn_Height": 100
      },
      "Warehouse": {
      "Activate": true,
      "Bot_Accuracy": 4,
      "Bot_Damage": 0.4,
      "Bot_Firing_Range": 20,
      "BotHealth": 100,
      "BotName": "randomname",
      "BotRadius": 100,
      "Bots": 5,
      "Chute": false,
      "Invincible_In_Air": true,
      "Kit": "default",
      "Location": {
      "x": 0.0,
      "y": 0.0,
      "z": 0.0
      },
      "Radius": 100,
      "Spawn_Height": 100
      },
      "Warehouse1": {
      "Activate": true,
      "Bot_Accuracy": 4,
      "Bot_Damage": 0.4,
      "Bot_Firing_Range": 20,
      "BotHealth": 100,
      "BotName": "randomname",
      "BotRadius": 100,
      "Bots": 5,
      "Chute": false,
      "Invincible_In_Air": true,
      "Kit": "default",
      "Location": {
      "x": 0.0,
      "y": 0.0,
      "z": 0.0
      },
      "Radius": 100,
      "Spawn_Height": 100
      },
      "Warehouse2": {
      "Activate": true,
      "Bot_Accuracy": 4,
      "Bot_Damage": 0.4,
      "Bot_Firing_Range": 20,
      "BotHealth": 100,
      "BotName": "randomname",
      "BotRadius": 100,
      "Bots": 5,
      "Chute": false,
      "Invincible_In_Air": true,
      "Kit": "default",
      "Location": {
      "x": 0.0,
      "y": 0.0,
      "z": 0.0
      },
      "Radius": 100,
      "Spawn_Height": 100
      },
      "Watertreatment": {
      "Activate": true,
      "Bot_Accuracy": 4,
      "Bot_Damage": 0.4,
      "Bot_Firing_Range": 20,
      "BotHealth": 100,
      "BotName": "randomname",
      "BotRadius": 100,
      "Bots": 5,
      "Chute": false,
      "Invincible_In_Air": true,
      "Kit": "default",
      "Location": {
      "x": 0.0,
      "y": 0.0,
      "z": 0.0
      },
      "Radius": 100,
      "Spawn_Height": 100
      }
      }
    }
     

    Attached Files:

    Last edited by a moderator: Aug 23, 2017
  5. How often are you seeing that?
     
  6. log file
     

    Attached Files:

    • log.jpg
      log.jpg
      File size:
      88.4 KB
      Views:
      28
  7. Yep, I have the same problem. As soon as someone is within range of the Bots the console starts spamming the same as RuArt.

    Checked all my configs, reloaded with fresh configs as well and it's the same, the bots work ok I just get the issue in the console.
     
  8. Configuration cleared
    "Upper_Bot_Limit": 120 spam console fps 3-5 (change 5)
    1 bot spawn airport

    Also that at other points the bots are spawned
    And in warehouses too

    3. There was a plug-in with spawn bots to the players NPC TP
    Possible to make the parameter spawn of new bots near the new player?
    So people do not get bored
     
  9. Ah shit...You guys don't have Vanish plugin, right?
     
  10. Nope, not one I use.
     
  11. Would you do me a quick favour? Install it to see if it kills the error?
    I suspect it will and, if so, I'll patch it shortly.

    You don't need to do anything with it or customise anything - Literally just install the cs.
     
  12. plugins
     

    Attached Files:

    • pl.jpg
      pl.jpg
      File size:
      178.5 KB
      Views:
      26
  13. Just loaded Vanish and that sorted the problem for me anyway.

    Thanks
     
  14. Mine fight each other.. A lot. Death notes go crazy with them duking it out. But i think it's cool lol.
     
  15. Thank you. I'll fix it in next V.
    In the mean time @Klorr and @RuArt - could you keep vanish installed, pls?

    No one's really answering this.
    Do the intentionally fight each other, or accidentally kill each other with friendly fire.
     
  16. It looks to me as if they're shooting at each other. But it's only sometimes.. I have been watching them for the past hour.
     
  17. Steenamaroo updated BotSpawn with a new update entry:

    1.1.7

     
  18. work good with DeathNotes plugin
    put when bot kills players with "AK or any Weapon" DeathNotes plugin meg "No Weapon"
     
  19. @LaserHydra - Quick test...Seems good.
    Code:
                if (info.Initiator is NPCPlayer)          
                {
                    var bot = info.Initiator as NPCPlayer;
                    data.weapon = bot.GetActiveItem()?.info?.displayName?.english ?? FormatThrownWeapon(info?.WeaponPrefab?.name ?? "No Weapon");
                }
     

    Attached Files:

    Last edited by a moderator: Aug 23, 2017
  20. Attachments too if you use this instead of GetAttachments()

    Code:
                if (info.Initiator is NPCPlayer)              
                {
                    var bot = info.Initiator as NPCPlayer;
                    data.weapon = bot.GetActiveItem()?.info?.displayName?.english ?? FormatThrownWeapon(info?.WeaponPrefab?.name ?? "No Weapon");
                    data.attachments = GetBotAttachments(info, bot);
                }
    Code:
            List<string> GetBotAttachments(HitInfo info, NPCPlayer bot)
            {
                List<string> attachments = new List<string>();            if (bot.GetActiveItem()?.contents?.itemList != null)
                {
                    foreach (var content in bot.GetActiveItem().contents.itemList)
                    {
                        attachments.Add(content?.info?.displayName?.english);
                    }
                }
                return attachments;
            }