AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   FakeFull Original v1.7.6 (https://forums.alliedmods.net/showthread.php?t=29774)

jtp10181 06-12-2006 12:09

FakeFull Original v1.7.6
 
7 Attachment(s)
********************************************* *******************************
*
* Version 1.7.6 Date: 08/09/2006
*
* Original Author: Freecode [email protected]
* Current Author: JTP10181 [email protected]
*
********************************************* *******************************


Based on OLO's FakeFull metamod plugin. Fake clients connect to the server when its empty. Everytime someone joins and there is no more spots left for another person one fake client is removed. When the server is empty and FakeFull is on Automatic mode it will add a fake client. Once the # of fake clients and real players equals to ff_players it will stop.

Admin Commands:

amx_addfake <# | @FILL> - Add # of bots or fill the server

amx_removefake <# | @ALL> - Remove # of bots or remove all


CVARs: Paste the following into your amxx.cfg to change defaults. You must uncomment cvar lines for them to take effect
Code:

// ******************  FakeFull Settings  ******************
 
//Turns Automatic mode on.
//ff_players must be set higher then 0.
//<1 = ON || 0 = OFF>
//ff_automode 0
 
//Minimal number of fake and real clients on the server.
//Fake clients will be kicked so that the total players on the
//Server equals this number.  If there are more players than this
//All the fake players will be gone. Do NOT set this at or aboive
//your max player count or no one will be able to join
//REQUIRED to be above 0 for Automatic mode.
//ff_players 2
 
//Delay between each fake client joins/leaves.
//REQUIRED to be above 0 for Automatic mode and regular bot add.
//ff_delay 1

Setup for Automatic Mode:

Set ff_players to the number of fake clients you want in server at max. Turn on ff_automode.

Changelog:

v1.7.6 - JTP10181 - 08/09/06
  • Set team to UNASSIGNED for CS so they wont join teams
v1.7.5 - JTP10181 - 08/03/06
  • Got rid of need for engine module
  • Upgraded to pCVARS
  • Finally put an end to fakes ending up with models and being seen as ghost players
v1.7.4 - JTP10181 - 07/01/06
  • Fixed bug in team checking causing fakes on team "-1" to get kicked
  • Upgraded to new file natives
v1.7.3 - JTP10181 - 4/21/06
  • Added code to kick bots if they get on a team somehow
v1.7.2 - JTP10181
  • Added new line of code per suggestion on a forum post, to prevent crashing
v1.7.1 - JTP10181
  • Cleaned up massive code, hopefully no more crashing
  • Renamed CVARS and commands
  • Added feature to randomly add frags to the fake clients
v1.7 - JTP10181
  • Ported fake client creation to new method using AMXX. No longer needs module.
  • Changed bot name file to botnames.txt
v1.6.1 - JTP
  • Fixed bug that could get server stuck in an infinite loop
  • Fixed bug that caused dupe names sometimes
v1.6 - JTP
  • Ported to AMXx
  • Fixed mem leak/overflow bug caused by some of my code
  • Fixed bugs where it was not removing the fakes automatically
  • Rewrote a lot of the createBot function to make it more effecient and less likely to cause mem overflows from looping
  • Fixed bugs when setting the max_names higher.
  • Must have the botnames.cfg now, no defaults are embedded in the script
  • Fixed bug where playnames array was 1000 length for the names, made plugin huge.
v1.5
  • Custom names and reading names from botnames.cfg
Below v1.6 was maintained by FreeCode


The botnames.txt goes in the amxx configs folder

Kensai 06-12-2006 12:26

Sweet, these fake clients are actual bots or are they just names taking up slots?

bigman11 06-12-2006 12:41

You need to try compiling before posting. See if even compiles
But Dont Fear I guess I will fix it.

jtp10181 06-12-2006 13:11

Quote:

Originally Posted by bigman11
You need to try compiling before posting. See if even compiles
But Dont Fear I guess I will fix it.

It compiles fine on 1.71 locally. Not my fault the online compiler is broken.

And they are not bots, just "fake" clients that show up in the player list.

v3x 06-12-2006 13:13

Please choose a category ;)

jtp10181 06-12-2006 13:16

I had but it randomly forgets it when you edit the thread. I fixed it now :)

bigman11 06-12-2006 13:32

too much work!! :shock:
Not going to try to fix.

Kensai 06-12-2006 14:07

Quote:

Originally Posted by jtp10181
It compiles fine on 1.71 locally. Not my fault the online compiler is broken.


v3x 06-12-2006 15:13

Quote:

Originally Posted by jtp10181
I had but it randomly forgets it when you edit the thread. I fixed it now :)

Only if you preview it when you first post it ;)

`666 06-12-2006 15:36

botnames.txt gose in to "configs" folder?


All times are GMT -4. The time now is 06:54.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.