.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Cyborg Factory > YaPB
YaPB Yet another POD-Bot flavor by Whistler and Jeefo Counter-Strike

Closed Thread
 
Thread Tools
Re: YaPB2 Updates
Old
  (#131)
ViBE@
Member
 
Status: Offline
Posts: 24
Join Date: Jan 2016
Default Re: YaPB2 Updates - 15-01-2016

today the bots just left again on a map. so here we are again and now i see in the client console that the server automatically change the yb_quota when human players leave/come but nothing happen.


„the cake is a lie”
  
Re: YaPB2 Updates
Old
  (#132)
trololoshka
Member
 
Status: Offline
Posts: 6
Join Date: Jan 2016
Default Re: YaPB2 Updates - 15-01-2016

AMXX Simple Plugin

1. Bots do not leave or join during a round
Боты не будут выходить/заходить по среди раунда.
2. Spectators do not affect the number of players.
Наблюдатели не влияют на кол-во играющих.

Code:
#include <amxmodx>

#define BOTS 10

public plugin_init() {
        register_plugin("Bot Control", "1.0", "victory.km.ua")
	register_event("SendAudio","round_end","a","2=%!MRAD_terwin","2=%!MRAD_ctwin","2=%!MRAD_rounddraw") // Round End
}

public round_end()
{
	new Players[32], CT_sum, TR_sum
	get_players(Players,CT_sum,"ce", "CT")
	get_players(Players,TR_sum,"ce", "TERRORIST")
	server_cmd("yb_quota %d", BOTS - (CT_sum + TR_sum) )
}

Last edited by trololoshka; 15-01-2016 at 22:47..
  
Re: YaPB2 Updates
Old
  (#133)
jeefo
путинхуйлоебаное
 
jeefo's Avatar
 
Status: Offline
Posts: 453
Join Date: Nov 2005
Location: Saint-Petersburg
Default Re: YaPB2 Updates - 16-01-2016

Quote:
Originally Posted by trololoshka View Post
AMXX Simple Plugin

1. Bots do not leave or join during a round
Боты не будут выходить/заходить по среди раунда.
2. Spectators do not affect the number of players.
Наблюдатели не влияют на кол-во играющих.

Code:
#include <amxmodx>

#define BOTS 10

public plugin_init() {
        register_plugin("Bot Control", "1.0", "victory.km.ua")
	register_event("SendAudio","round_end","a","2=%!MRAD_terwin","2=%!MRAD_ctwin","2=%!MRAD_rounddraw") // Round End
}

public round_end()
{
	new Players[32], CT_sum, TR_sum
	get_players(Players,CT_sum,"ce", "CT")
	get_players(Players,TR_sum,"ce", "TERRORIST")
	server_cmd("yb_quota %d", BOTS - (CT_sum + TR_sum) )
}
Some stuff for 35hp should be fixed with latest build.

As well some changes to autovacate.

https://yapb.jeefo.net/drop/releases..._latest.tar.xz
  
Re: YaPB2 Updates
Old
  (#134)
jeefo
путинхуйлоебаное
 
jeefo's Avatar
 
Status: Offline
Posts: 453
Join Date: Nov 2005
Location: Saint-Petersburg
Default Re: YaPB2 Updates - 16-01-2016

Quote:
Originally Posted by jeefo View Post
Some stuff for 35hp should be fixed with latest build.

As well some changes to autovacate.

https://yapb.jeefo.net/drop/releases..._latest.tar.xz
If someone could describe "ideal" autovacate. I will implement it directly in the bot code.
  
Re: YaPB2 Updates
Old
  (#135)
ViBE@
Member
 
Status: Offline
Posts: 24
Join Date: Jan 2016
Idea Re: YaPB2 Updates - 16-01-2016

Quote:
Originally Posted by jeefo View Post
If someone could describe "ideal" autovacate. I will implement it directly in the bot code.
what i can say it would be good if bot leave only when the human player join to a team. and i guess it's much effective cause use less resources (if i'm thinking in the right way). for example on my server tons of player just hop in to spec what happens and then just leave. this habit force the YaPB to create and drop bots frequently. and it's very annoying sometimes when the opponent team is full of bots and they should leave cause arriving human players. and on a simple DM server there is no rounds so the server will not balance the teams and need to wait for spectators to decide what they want. it's really kills the gameplay. that's why recommend this as the default behaviour.


„the cake is a lie”
  
Re: YaPB2 Updates
Old
  (#136)
trololoshka
Member
 
Status: Offline
Posts: 6
Join Date: Jan 2016
Default Re: YaPB2 Updates - 16-01-2016

Jeefo, http://victory.km.ua:8080/Downloads/...-12-01-930.mp4
И пожалуйста, сделайте мне под винду дллку ботов.


Quote:
Originally Posted by ViBE@ View Post
what i can say it would be good if bot leave only when the human player join to a team. and i guess it's much effective cause use less resources (if i'm thinking in the right way). for example on my server tons of player just hop in to spec what happens and then just leave. this habit force the YaPB to create and drop bots frequently. and it's very annoying sometimes when the opponent team is full of bots and they should leave cause arriving human players. and on a simple DM server there is no rounds so the server will not balance the teams and need to wait for spectators to decide what they want. it's really kills the gameplay. that's why recommend this as the default behaviour.
For DM server need that kick only dead bots .

Every n sec check ... if need kick bot - write to buffer id bots
when marked bot are dead = kick!

I'l write amxx plugin for this.
  
Re: YaPB2 Updates
Old
  (#137)
ViBE@
Member
 
Status: Offline
Posts: 24
Join Date: Jan 2016
Post Re: YaPB2 Updates - 16-01-2016

Quote:
Originally Posted by trololoshka View Post
Jeefo, http://victory.km.ua:8080/Downloads/...-12-01-930.mp4
И пожалуйста, сделайте мне под винду дллку ботов.




For DM server need that kick only dead bots .

Every n sec check ... if need kick bot - write to buffer id bots
when marked bot are dead = kick!

I'l write amxx plugin for this.
sorry but i don't understand you. and using another bot related plugin just for kicking them is not too effective :/


„the cake is a lie”
  
Re: YaPB2 Updates
Old
  (#138)
ViBE@
Member
 
Status: Offline
Posts: 24
Join Date: Jan 2016
Warning Re: YaPB2 Updates - 16-01-2016

somehow the players stats is always zero and i guess it's also related with YaPB cause that's the only thing what i changed on my server in the last 3-4 weeks :/



lol, after a few days now everyone have ping an score again after a restart. some codes are really broken or outdated?


„the cake is a lie”

Last edited by ViBE@; 16-01-2016 at 18:49..
  
Re: YaPB2 Updates
Old
  (#139)
jeefo
путинхуйлоебаное
 
jeefo's Avatar
 
Status: Offline
Posts: 453
Join Date: Nov 2005
Location: Saint-Petersburg
Default Re: YaPB2 Updates - 16-01-2016

Quote:
Originally Posted by ViBE@ View Post
somehow the players stats is always zero and i guess it's also related with YaPB cause that's the only thing what i changed on my server in the last 3-4 weeks :/



lol, after a few days now everyone have ping an score again after a restart. some codes are really broken or outdated?
Latest build:
Code:
autovacate kicks now dead or lowest frag bot if possible.
reworked autovacate to kick bot, only if connected player joined the team (controlled via yb_autovacate_smart_kick).
possibly fixed latency bug after server running for some time.
https://yapb.jeefo.net/drop/releases/

Please, for any problems attach "yb version" output!
  
Re: YaPB2 Updates
Old
  (#140)
RoboCop
vBulletin Veteran
 
RoboCop's Avatar
 
Status: Offline
Posts: 216
Join Date: Feb 2013
Location: Dundee, Scotland
Default Re: YaPB2 Updates - 16-01-2016

I've just downloaded and tested this latest Linux build and it appears the autovacate works fine, thanks for the fix.





vBulletin Webmaster since 2001
  
Closed Thread


Currently Active Users Viewing This Thread: 3 (0 members and 3 guests)
 

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



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com