Giter Club home page Giter Club logo

leadbot's Introduction

LeadBot

🤖Player AI Bots to revive obscure gamemodes in Garry's Mod🤖

Current State: Alpha

Installation

Download LeadBot from here, and drop leadbot-master into the addons folder.

Currently Supported Gamemodes:

Commands/Convars

  • leadbot_add [1-128]
  • leadbot_afk
  • leadbot_kick [name/all]
  • leadbot_quota _[0-128]
  • leadbot_strategy [0/1]
  • leadbot_afk_timetoafk [0-300]
  • leadbot_fakeping [0/1] Using this outside of Singleplayer/LAN/nomaster servers could get you banned/blacklisted!
  • leadbot_name_prefix [prefix]
  • leadbot_names [name1,name2]
  • leadbot_voice [voiceset]
  • leadbot_fov [75-100]

Issues

You can submit issues on the Discord or through issues

leadbot's People

Contributors

extremlapin avatar leadkiller avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

leadbot's Issues

[Errors] Stop it, Slender!

[leadbot-master] addons/leadbot-master/lua/leadbot/modules/flashlight/sv_flashlight.lua:39: attempt to perform arithmetic on field 'LastLight2' (a nil value)
1. func - addons/leadbot-master/lua/leadbot/modules/flashlight/sv_flashlight.lua:39
2. unknown - lua/includes/extensions/net.lua:33

[TF2GM] Bot code requires rewrite due to the amount of lag and CPU usage

Compared to the dev build of Civilian 2, Civilian 2 has made CTFBots obsolete due to the fact how the bot code was merged in, The bots causes more lag than the latest build of leadbot. I had to split the ctfbots code and downloaded Leadbot it in a separate addon.

With the amount of errors (& lag), MvM is unplayable at this point. We had to use Nextbot NPCs to make actual waves.

Ulib Server Crash :c

[ulib_2.63] addons/ulib_2.63/lua/ulib/shared/cami_ulib.lua:18: [ULIB] Unauthed player |

  1. query - [C]:-1 |
  2. fn - addons/ulib_2.63/lua/ulib/shared/cami_ulib.lua:18 |
    3. Call - addons/ulib_2.63/lua/ulib/shared/hook.lua:109 |
    4. PlayerHasAccess - addons/fpp/lua/libraries/sh_cami.lua:370 |
    5. calculatePlayerPrivilege - addons/fpp/lua/fpp/sh_settings.lua:135 |
    6. recalculateCanTouch - addons/fpp/lua/fpp/server/ownability.lua:228 |
    7. unknown - addons/fpp/lua/fpp/server/core.lua:685

[Suggestion] Friendly Bots in Sandbox

I would really like to have the option to make the bots not kill every player they see, and also maybe not sprint around the map.

Just a suggestion that I would really like.

Bots can't share their way

If two bots collide looking at each other, then they will fall in love with themselves and forget to play.
image

Error with DarkRP

[leadbot-master] addons/leadbot-master/lua/leadbot/gamemodes/darkrp.lua:69: attempt to call field 'EqualValues' (a nil value)

  1. StartCommand - addons/leadbot-master/lua/leadbot/gamemodes/darkrp.lua:69
  2. fn - addons/leadbot-master/lua/leadbot/base.lua:541
    3. unknown - addons/ulib/lua/ulib/shared/hook.lua:109

(Enhancement) Zombie Plague

Hello.

I just wanted to ask if it is possible to add a feature so that human bots can change places in a short period of time, like 30 seconds or 1 minute. since sometimes games get boring when zombies or humans don't fight each other, or get stuck somewhere.

[SUGGESTION] Add co-op AI to sandbox bots

Basically, bots that follow the player like in nZU, except for sandbox and targeting hostile npcs. Could make those difficult co-op maps much easier. Maybe as a separate strategy?

Weapon Priority System

Currently, the bot relies on either the gamemode or bot code to switch weapons.

Weapon Priority would allow users to add weapons to the gamemode configuration, allowing users to define if weapons are projectile, melee or hitscan (possibly categories such as sniper and smg?) and their priority for pickup.

The bot would be able to switch between weapons depending on which is stronger (set by pickup priority), and if needed, switch weapons depending on the situation.

Melee weapons may have an issue where the draw animation disallows the bot to switch back to their previous weapon and primary attack. To fix this, the bot could have a delay before switching back.

Bots would also be able to pick up weapons in gamemodes that have weapon pickups (if the weapon is stronger than their current one), such as Quake III and other deathmatch gamemodes.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.