Coder Social home page Coder Social logo

c0nw0nk / garrys-mod-fake-players Goto Github PK

View Code? Open in Web Editor NEW
17.0 3.0 8.0 31 KB

Spoof / Spoofing / fake / faked / faking players counts on servers in Garrys Mod using bots lots of useful features to customize slots to be kept free / open and make the bots look like real players GMod / GarrysMod / Garry's Mod / Garry'sMod has allot of fake servers

Home Page: http://www.networkflare.com/

Lua 100.00%
auto automatic bot bots fake-players fake-users garrys-mod garrysmod gmod lua

garrys-mod-fake-players's Introduction

Garrys-Mod-Fake-Players

Spoof / fake player counts on servers in Garrys Mod using bots lots of useful features to customize slots to be kept free / open and make the bots look like real players

The main concept of this addon is to be used as a base to add support for NextBot's in each game mode, Would allow servers players to no longer play alone but to have bot's to compete against that will slowly be removed as regular players join them. The result will be your server will be full of legit players only as bots get removed when legit players join, When a legit player disconnects the script checks the player count and slots available and if player count is less than your free number of slots it will spawn a bot to keep the player count looking high.

Features :

Assign all bots to a single team only. (Default : TEAM_SPECTATOR)

Specify number of slots that bots may never fill. (Default : 10)

Specify your own bot names.

Steal legit player names and use them for bot names. (Default : TRUE)

Set Max number on names to steal / save. (Default : FALSE)

Filter out words phrases etc from names we steal and name our bots with to prevent advertising etc.

Bot Identifier to show to players who is bot and who is not. (Default : empty)

How to install :

Inside your /garrysmod/cfg/server.cfg file make sure you have the following : (This makes sure when the server starts a bot is spawned to kick start our script.)

bot

If you do not wish to use the bot command you may use this instead.

lua_run player.CreateNextBot("Player_Name")

Install the addon to the "/garrysmod/addons/" folder.

The path layout should look like this : "/garrysmod/addons/fakeplayers/lua/autorun/server/sv_fakeplayers.lua"

If you don't want it as a addon then install it here instead :

Install the script to the "/garrysmod/lua/autorun/server/" folder.

The path to should look like this : "/garrysmod/lua/autorun/server/sv_fakeplayers.lua"

Configure the script with any settings you want : (I recommend default)

https://github.com/C0nw0nk/Garrys-Mod-Fake-Players/blob/master/addons/fakeplayers/lua/autorun/server/sv_fakeplayers.lua#L1

If you have any bugs issues or problems just post a Issue request. https://github.com/C0nw0nk/Garrys-Mod-Fake-Players/issues

TODO Tasks :

This script does everything a bot script should do the only thing currently missing is support for NextBots in each game mode.

When support is added for each game mode NextBots will be responsive and attack be friendly fight back etc you get the idea. Think of them like fighting against the AI bots in Killing Floor.

https://github.com/C0nw0nk/Garrys-Mod-Fake-Players/blob/master/addons/fakeplayers/lua/autorun/server/sv_fakeplayers.lua#L133

garrys-mod-fake-players's People

Contributors

c0nw0nk avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

garrys-mod-fake-players's Issues

DarkRP|MilitaryRP Script Errors

I have a MilitaryRP Server.
But when I set this addon up I get two problems when joining the server.
Firstly the score tab doesn't work and gives errors, only when the addon is activated. The score tab just doesn't show up.
Then the Bots don't spawn and they are not counted in the server players numbers.

fakeplayers.zip

Player Count

The bots spawn in fine but on the menu when you are looking at different servers, although there are 22 bots in the server it still says 0/32. what should i do?

Only 1 Bot spawns

First of all, thank you for this amazing addon. Unfortunately when i run it, the first bot spawns fine with the name and unassigned job however the script does not run after this and so there is only 1 bot in my server. the only setting i have changed is from the max bots of 10 to 30. do you know how i could fix this?

DARKRP Problem

Hello,
I tried to modify the file but I can't do it at all, it gives me a lot of errors in my console,

I use DARKRP and I changed the default team

Thanks to you soon !

Hey

I dont understand it does not fill up the player slots but instead the bot slots why is this?

The bots do not spawn.

I have edited the file to make their team GUEST.
They will be guests, and the player count works; HOWEVER, they do not spawn.

Idk if this is an issue or if the addon was made to keep bots from spawning, but I at least want to make the bots look idle so someone doesn't join and find out no one is on, after looking in the entire map.

I need help!
If you help me, this is my new favorite script...

Breach SCP Gamemode requires compatibility patch.

Greetings, using this addon causes the server to crash at launch, and or when a player joins it, here are the error messages from the console:

Tried to use a NULL entity!

  1. SendLua - [C]:-1
  2. unknown - gamemodes/breach/gamemode/player.lua:32
    3. CreateNextBot - [C]:-1
    4. unknown - lua/autorun/server/sv-fakeplayers.lua:358
    CreatePlayerBot: Could not Instance() from the bot edict.
    ^ Then it crashes.

Please check if you are able to add compatibility to this gamemode, its a new gamemode and rather popular, thanks.

PIng

Change bots ping?

Showing bots

Is there anyway to stop it from showing the number of bots on a server? So they look like real actual players

LUA error

I get this lua error when you have ulib installed. (ULIB is necessary for ULX)
Mf7msbU

Darkrp

Add darkrp support, please

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.