Raised This Month: $12 Target: $400
 3% 

Spec Bots Plugin 2017


Post New Thread Reply   
 
Thread Tools Display Modes
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 01-26-2019 , 16:46   Re: Spec Bots Plugin 2017
Reply With Quote #31

How about compiling the plugin?
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
NiSoKa
New Member
Join Date: Jun 2019
Old 06-18-2019 , 17:32   The name of specbots doesn't wanna change
Reply With Quote #32

i can't change the specbot's names it stays at xxx
NiSoKa is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 06-18-2019 , 20:29   Re: Spec Bots Plugin 2017
Reply With Quote #33

Quote:
Originally Posted by OciXCrom View Post
How about compiling the plugin?
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
.egli
Junior Member
Join Date: Jul 2019
Location: Hamburg, Germany
Old 07-16-2019 , 03:59   Re: Spec Bots Plugin 2017
Reply With Quote #34

Where i can find the PMN_BOT_SPEC.sma file?
.egli is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 07-16-2019 , 07:25   Re: Spec Bots Plugin 2017
Reply With Quote #35

Quote:
Originally Posted by .egli View Post
Where i can find the PMN_BOT_SPEC.sma file?
Click on "Get source".
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Old 07-22-2019, 10:23
DJEarthQuake
This message has been deleted by DJEarthQuake. Reason: nevermind
El Abuelo
New Member
Join Date: Mar 2021
Location: ARGENTINA
Old 08-13-2021 , 19:50   Re: Spec Bots Plugin 2017
Reply With Quote #36

What would be the function of

PHP Code:
cv_KickBots register_cvar("cv_KickBots","16");                 
cv_ConnectBots register_cvar("cv_ConnectBots","16"); 
If I have a 12-slot server, do I set those values ​​to 12, instead of 16?


Thanks a lot
El Abuelo is offline
polimpo4
Member
Join Date: Jan 2017
Old 03-21-2022 , 06:53   Re: Spec Bots Plugin 2017
Reply With Quote #37

Quote:
Originally Posted by El Abuelo View Post
What would be the function of

PHP Code:
cv_KickBots register_cvar("cv_KickBots","16");                 
cv_ConnectBots register_cvar("cv_ConnectBots","16"); 
If I have a 12-slot server, do I set those values ​​to 12, instead of 16?


Thanks a lot
Sorry about the "delayed" answer. I almost got no time to go through all of this at these days.

This plugin was made for a maximum regular server slots. Btw, those cvars, you dont need to mess around, they only shows the maximum bots to kick and connect, if you have less then 32 slots you dont need to be worry about it, it will fill up until reach the maximum.
polimpo4 is offline
El Abuelo
New Member
Join Date: Mar 2021
Location: ARGENTINA
Old 01-17-2023 , 14:41   Re: Spec Bots Plugin 2017
Reply With Quote #38

Quote:
Originally Posted by polimpo4 View Post
Sorry about the "delayed" answer. I almost got no time to go through all of this at these days.

This plugin was made for a maximum regular server slots. Btw, those cvars, you dont need to mess around, they only shows the maximum bots to kick and connect, if you have less then 32 slots you dont need to be worry about it, it will fill up until reach the maximum.
Thanks for the reply, I'll leave it at that. Regards!
El Abuelo is offline
IC3k1ng
Senior Member
Join Date: Mar 2023
Location: Argentina
Old 03-12-2023 , 16:16  
Reply With Quote #39

Prob this question is stupid, but does the bots fills the player slots? Because i just have a server with 10 slots and i don't wanna reduce it.
IC3k1ng is online now
Whoppka
New Member
Join Date: Sep 2023
Old 09-02-2023 , 19:15   Re: Spec Bots Plugin 2017
Reply With Quote #40

hello, this plugin doesn't work for me, I changed the names of the bots and unfortunately it doesn't work can you help?


#include <amxmodx>
#include <cstrike>
#include <fakemeta>

#define PLUGIN "botespectador"
#define AUTHOR "_|Polimpo4|_"
#define VERSION "1.0"

new szname_bot[] = "CS-Maliver.pl"; ////////// NOME BOT 1
new szname_bot2[] = "/komendy"; ////////// NOME BOT 2
new szname_bot3[] = "/konkurs"; ////////// NOME BOT 3

new bool:bot_on, bot_id;
new bool:bot_on2, bot_id2;
new bool:bot_on3, bot_id3;

//Cvars
new cv_KickBots, cv_ConnectBots

public plugin_init()
{
register_plugin("botespectador", "1.0", "_|Polimpo4|_");

cv_KickBots = register_cvar("cv_KickBots","16");
cv_ConnectBots = register_cvar("cv_ConnectBots","16");

bot_on=false;
bot_on2=false;
bot_on3=false;
bot_id=0;
bot_id2=0;
bot_id3=0;
set_task(1.4,"fake_make");
set_task(1.4,"fake_make2");
set_task(1.4,"fake_make3");
return PLUGIN_CONTINUE
}

public fake_make()
{
new rj[128];
if((!bot_on)&&(!bot_id))
{
bot_id=engfunc(EngFunc_CreateFakeClient,sznam e_bot);
if(bot_id > 0)
{
engfunc(EngFunc_FreeEntPrivateData,bot_id);
dllfunc(DLLFunc_ClientConnect,bot_id,szname_b ot,"20.05.45.45.2",rj);
if(is_user_connected(bot_id))
{
dllfunc(DLLFunc_ClientPutInServer, bot_id);
set_pev(bot_id,pev_spawnflags,pev(bot_id,pev_ spawnflags)|FL_FAKECLIENT);
set_pev(bot_id,pev_flags,pev(bot_id,pev_flags )|FL_FAKECLIENT);
cs_set_user_team(bot_id, CS_TEAM_SPECTATOR);
bot_on = true;
}
}
}

return PLUGIN_CONTINUE;
}

public fake_make2()
{
new rj[128];
if((!bot_on2)&&(!bot_id2))
{
bot_id2=engfunc(EngFunc_CreateFakeClient,szna me_bot2);
if(bot_id2 > 0)
{
engfunc(EngFunc_FreeEntPrivateData,bot_id2);
dllfunc(DLLFunc_ClientConnect,bot_id2,szname_ bot2,"20.05.45.45.2",rj);
if(is_user_connected(bot_id2))
{
dllfunc(DLLFunc_ClientPutInServer, bot_id2);
set_pev(bot_id2,pev_spawnflags,pev(bot_id2,pe v_spawnflags)|FL_FAKECLIENT);
set_pev(bot_id2,pev_flags,pev(bot_id2,pev_fla gs)|FL_FAKECLIENT);
cs_set_user_team(bot_id2, CS_TEAM_SPECTATOR);
bot_on2 = true;
}
}
}

return PLUGIN_CONTINUE;
}
public fake_make3()
{
new rj[128];
if((!bot_on3)&&(!bot_id3))
{
bot_id3=engfunc(EngFunc_CreateFakeClient,szna me_bot3);
if(bot_id3 > 0)
{
engfunc(EngFunc_FreeEntPrivateData,bot_id3);
dllfunc(DLLFunc_ClientConnect,bot_id3,szname_ bot3,"20.05.45.45.2",rj);
if(is_user_connected(bot_id3))
{
dllfunc(DLLFunc_ClientPutInServer, bot_id3);
set_pev(bot_id3,pev_spawnflags,pev(bot_id3,pe v_spawnflags)|FL_FAKECLIENT);
set_pev(bot_id3,pev_flags,pev(bot_id3,pev_fla gs)|FL_FAKECLIENT);
cs_set_user_team(bot_id3, CS_TEAM_SPECTATOR);
bot_on3 = true;
}
}
}

return PLUGIN_CONTINUE;
}

public client_disconnect(id)
{
new players[32], num
get_players(players, num, "c" )

new szConnectBots = get_pcvar_num(cv_ConnectBots)

if(num < szConnectBots && !bot_on)
{
fake_make()
fake_make2()
fake_make3()
}
}

public client_connect(id)
{
new players[32], num
get_players(players, num, "c" )

new szKickBots = get_pcvar_num(cv_KickBots)

if(num >= szKickBots && bot_on)
{
bot_on = false
bot_on2 = false
bot_on3 = false
bot_id=0
bot_id2=0
bot_id3=0
server_cmd("kick ^"%s^"", szname_bot);
server_cmd("kick ^"%s^"", szname_bot2);
server_cmd("kick ^"%s^"", szname_bot3);
}
}
Attached Files
File Type: sma Get Plugin or Get Source (PMN_BOT_SPEC.sma - 56 views - 4.1 KB)
File Type: amxx PMN_BOT_SPEC.amxx (4.1 KB, 36 views)
Whoppka is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:11.


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