.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   YaPB (http://forums.bots-united.com/forumdisplay.php?f=55)
-   -   YaPB2 Updates (http://forums.bots-united.com/showthread.php?t=9960)

jeefo 14-01-2016 19:43

Re: YaPB2 Updates
 
Quote:

Originally Posted by ViBE@ (Post 66445)
damn, it was an early bird. sometimes they don't leave. so sadly not :/

special names? you mean i need to create "lang_names.cfg" file? cause it's already done. with the last stable release this function partially but worked. when they connected it took about 8-10 secs to get their ping and sometimes disappeared. with the debugging version this is completely dead.

generally all weapons are available in gunmenu (with CSDM's /guns command). but i wanted to restrict them to use for example AWP with YaPB built-in command but they still can choose. is this normal behaviour? my settings:
yb_restricted_weapons "00000000000000000000011101"

UPDATE
sometimes only some bots leave but they stuck or what and stop leaving. for example i set 12 bots with autovacate. then 4 human arrive and only 2 bots leave. and then they stop leaving when players arrive.

damn... well will try tomorrow again..

bot's should be affected by amxx restrictions (amx_restrweapons).
yb_restricted_weapons has different format f.e. yb_restricted_weapons "ak47;m4a1;etc"

the names.cfg should contains nickname\t\tcommunity_id pair. where \t - tab character.

Bloodlust 76561197983068151

etc.

But, someone reporeted that valve disabled this feature in recent steamclient updates.

trololoshka 14-01-2016 19:43

Re: YaPB2 Updates
 
Quote:

Originally Posted by ViBE@ (Post 66445)
UPDATE
sometimes only some bots leave but they stuck or what and stop leaving. for example i set 12 bots with autovacate. then 4 human arrive and only 2 bots leave. and then they stop leaving when players arrive.

We need ammx plugin for control players connect\disconnect and add\kick bots
Or automatic in bot_module

But standart - bad, because leave (kicking) alive bots too .
Need kicking dead bots only

Example:
plugin checked to number bots (ex. every 30 sec) :
if need add = adding
if need kick = ex. 5 bots .
3 bots are dead = kick now
2 bots are alive = write to buffer
and when bot's will be killed - kick.

Sorry my bad eng.

jeefo 14-01-2016 19:46

Re: YaPB2 Updates
 
Quote:

Originally Posted by trololoshka (Post 66444)
Использую как метамод плагин . Билд 6153 бетка , АМХХ 1.8.3
Yet Another POD yapb.dll v2.7.2

Пару нюансов есть по ним:
1. Не дружат с glow rendering ( fm_set_rendering(id,kRenderFxGlowShell,200,200,100 ,kRenderNormal,8); // goldenish) - перестают стрелять по игроку у которого есть или был рендеринг (да, даже сброс fm_set_rendering(id); // reset back to normal ) не помогает .
2. с SG550 и Scout только с далека валят. если на средней дистанции то бегут один к одному и в ступор ..
3. С ножа практически не реально убить даже на 1 из 5 сложности.
4. При коннекте игрока боты выходят а вот когда игрок выходит - бот не присоеденяется.
Но это не критично ибо мне все равно придется писать плагин который будет кикать ботов когда они мертвые.
5. На KNIFE MOD CS 1.6 сервер поставил ботов - на таких картах как 35hp они спрыгивают и разбиваются .. бегут в воду и там смотрят друг на друга .. кошмар ..
ПодБоты бегут по вейпоинтам, а если и прыгают то используют парашют . Но подботы юзают много ЦП и тупят по своему.
6. Нет детальной настройки ботов (стрельбы) . Очень большой % хедшотов.

1. По рендерингу, не включено ли часом yb_check_enemy_rendering?
2. Демка есть?
3. ну ... хз whoose_your_daddy отклчить мб?
4. Да сейчас пытаемся исправить это.
5. Ага, попробую поправить.
6. Туда никто не лазил никогда. Опять же whoose_your_daddy , у меньшит количество хэдов.

trololoshka 14-01-2016 20:02

Re: YaPB2 Updates
 
Quote:

Originally Posted by jeefo (Post 66448)
1. По рендерингу, не включено ли часом yb_check_enemy_rendering?
2. Демка есть?
3. ну ... хз whoose_your_daddy отклчить мб?
4. Да сейчас пытаемся исправить это.
5. Ага, попробую поправить.
6. Туда никто не лазил никогда. Опять же whoose_your_daddy , у меньшит количество хэдов.

1. yb_check_enemy_rendering 0 стоит
2. Этим вечером запишу и выложу
3. whoose_your_daddy - нету такой команды

jeefo 14-01-2016 20:10

Re: YaPB2 Updates
 
Quote:

Originally Posted by trololoshka (Post 66449)
1. yb_check_enemy_rendering 0 стоит
2. Этим вечером запишу и выложу
3. whoose_your_daddy - нету такой команды

1. проверю.
3. yb_whose_your_daddy 0

ViBE@ 14-01-2016 20:19

Re: YaPB2 Updates
 
Quote:

Originally Posted by jeefo (Post 66446)
damn... well will try tomorrow again..

bot's should be affected by amxx restrictions (amx_restrweapons).
yb_restricted_weapons has different format f.e. yb_restricted_weapons "ak47;m4a1;etc"

the names.cfg should contains nickname\t\tcommunity_id pair. where \t - tab character.

Bloodlust 76561197983068151

etc.

But, someone reporeted that valve disabled this feature in recent steamclient updates.

so to restrict weapons i should use the weapons short name not their numbers?

that's sounds difficult :S

this ping thing works perfect with latest PB, so i guess it's not disabled with latest update.

jeefo 14-01-2016 20:23

Re: YaPB2 Updates
 
Quote:

Originally Posted by ViBE@ (Post 66451)
so to restrict weapons i should use the weapons short name not their numbers?

that's sounds difficult :S

this ping thing works perfect with latest PB, so i guess it's not disabled with latest update.

AMXX restrictions doesn't works ?

ViBE@ 14-01-2016 20:27

Re: YaPB2 Updates
 
Quote:

Originally Posted by jeefo (Post 66452)
AMXX restrictions doesn't works ?

i would only ban bots usage cause they are maniacs with AWP for example. but i don't want to restrict human players. that's why i asked.

jeefo 14-01-2016 20:31

Re: YaPB2 Updates
 
Quote:

Originally Posted by ViBE@ (Post 66453)
i would only ban bots usage cause they are maniacs with AWP for example. but i don't want to restrict human players. that's why i asked.

well i can add podbot-like cvar for restricting, but... maybe better to use what we already have ?:) it's not hard really :)

ViBE@ 14-01-2016 20:34

Re: YaPB2 Updates
 
Quote:

Originally Posted by jeefo (Post 66454)
well i can add podbot-like cvar for restricting, but... maybe better to use what we already have ?:) it's not hard really :)

it's fine. i just did not find any description in the cfg file about how to restrict and i thought you using PB like.

ViBE@ 15-01-2016 22:09

Re: YaPB2 Updates
 
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.

trololoshka 15-01-2016 22:32

Re: YaPB2 Updates
 
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) )
}


jeefo 16-01-2016 13:40

Re: YaPB2 Updates
 
Quote:

Originally Posted by trololoshka (Post 66457)
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

jeefo 16-01-2016 13:44

Re: YaPB2 Updates
 
Quote:

Originally Posted by jeefo (Post 66458)
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.

ViBE@ 16-01-2016 16:18

Re: YaPB2 Updates
 
Quote:

Originally Posted by jeefo (Post 66459)
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.

trololoshka 16-01-2016 16:37

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


Quote:

Originally Posted by ViBE@ (Post 66460)
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.

ViBE@ 16-01-2016 16:45

Re: YaPB2 Updates
 
Quote:

Originally Posted by trololoshka (Post 66461)
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 :/

ViBE@ 16-01-2016 17:32

Re: YaPB2 Updates
 
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 :/

https://i.imgur.com/Au6BEzs.png

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

jeefo 16-01-2016 20:10

Re: YaPB2 Updates
 
Quote:

Originally Posted by ViBE@ (Post 66463)
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 :/

https://i.imgur.com/Au6BEzs.png

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!

RoboCop 16-01-2016 20:42

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

ViBE@ 16-01-2016 20:44

Re: YaPB2 Updates
 
Quote:

Originally Posted by jeefo (Post 66464)
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!

thanks. do i need to add yb_autovacate_smart_kick to yapb.cfg if yes how? or it's in-built?

jeefo 16-01-2016 21:24

Re: YaPB2 Updates
 
Its a cvar, by default is on.

ViBE@ 17-01-2016 09:15

Re: YaPB2 Updates
 
fake ping is still buggy. and now it's always add n+1 bots as i see. is this normal?

"yb_version" is "2.7.2.4379"

jeefo 17-01-2016 15:02

Re: YaPB2 Updates
 
Quote:

Originally Posted by ViBE@ (Post 66468)
fake ping is still buggy. and now it's always add n+1 bots as i see. is this normal?

"yb_version" is "2.7.2.4379"

can't reproduce fake ping problem, but i'm testing on windows hlds with non-dm.

what do you mean "n+1"? again, on winhlds one bot kicked off when player connect and vice versa.

ViBE@ 18-01-2016 00:06

Re: YaPB2 Updates
 
Quote:

Originally Posted by jeefo (Post 66469)
can't reproduce fake ping problem, but i'm testing on windows hlds with non-dm.

what do you mean "n+1"? again, on winhlds one bot kicked off when player connect and vice versa.

i did not have enough time today to test but for example i set yb_quota to 12. and then YaPB will always add 1 more bot. i dunno what happens when a player joins but it's not the best method if it's the normal behaviour because it occurs team balancing problems exactly on DM. and something really go wrong cause my server usually freezes 1 time per hour or more till last build....:(

please try to set up a linux environment for testing if possible cause we will never get over these bugs if you test on windows. how do you test it btw? on a virtual system or on a native system? you use dedicated server or local? and why windows?

jeefo 18-01-2016 19:25

Re: YaPB2 Updates
 
Quote:

Originally Posted by ViBE@ (Post 66470)
i did not have enough time today to test but for example i set yb_quota to 12. and then YaPB will always add 1 more bot. i dunno what happens when a player joins but it's not the best method if it's the normal behaviour because it occurs team balancing problems exactly on DM. and something really go wrong cause my server usually freezes 1 time per hour or more till last build....:(

please try to set up a linux environment for testing if possible cause we will never get over these bugs if you test on windows. how do you test it btw? on a virtual system or on a native system? you use dedicated server or local? and why windows?

Strange, i have yb_quota 10, and i got 10 bots.

I have linux hlds. It's bare-metal one. I will try to setup csdm tomorrow. (or maybe you can PM me your compilation (without passwords etc.)) to 1:1 test.

wbyokomo 18-01-2016 20:19

Re: YaPB2 Updates
 
A person from Russian make a reverse engineering project for CS1.6 game dll (mp.dll,cs.so) from current build 6153.

Current status

  • Counter-Strike 1.6 - 100%
  • Counter-Strike: Condition Zero - 63%
maybe soon when he finish decompile all bot related code.. it can help you a bit to improve your bot.
https://github.com/s1lentq/ReGameDLL_CS

trololoshka 19-01-2016 14:18

Re: YaPB2 Updates
 
1. With last bots build for windown server crashed when use yb_autovacate "1" or yb_autovacate "0" + amxx plugin
Code:

L 01/19/2016 - 13:59:06: "agusha<19><STEAM_0:0:173588917><TERRORIST>" disconnected
Netchan_Clear() : reliable length not 0, reliable_sequence: 12, incoming_reliable_acknowledged: 0
L 01/19/2016 - 13:59:06: Server cvar "yb_quota" = "7"
"yb_quota" changed to "7"
Connecting Bot...
L 01/19/2016 - 13:59:06: "4ORT1K<71><BOT><>" entered the game
L 01/19/2016 - 13:59:06: "4ORT1K<71><BOT><>" joined team "TERRORIST"
LaVrnZ dropped
Netchan_Clear() : reliable length not 0, reliable_sequence: 20, incoming_reliable_acknowledged: 1
FxGVVbyS dropped
Netchan_Clear() : reliable length not 0, reliable_sequence: 20, incoming_reliable_acknowledged: 1
L 01/19/2016 - 13:59:10: Server cvar "yb_quota" = "6"
"yb_quota" changed to "6"
Bot 'HREN_KOSOY' kicked
L 01/19/2016 - 13:59:10: Kick: "HREN_KOSOY<57><BOT><>" was kicked by "Console"

2. with latest bots build nothing not changed:
bad shooting with sniper weapons (only long distance)
На кнайф модовом сервере (на картах 35хп и т д ) боты так же бывают стоят на месте. Хорошо было бы что бы бежали врагу на встречу и просто резали.

wbyokomo 19-01-2016 20:54

Re: YaPB2 Updates
 
Please change the method of team detection, using offset is better. https://github.com/alliedmodders/amx...layer.txt#L176
that offset has been used since 2005 and never change yet, Valve no longer update CS1.6. So it's relevant and safe to be use.

Using offset can detect team changes in realtime, no need to wait for next player spawn.

wbyokomo 20-01-2016 09:28

Re: YaPB2 Updates
 
Quote:

Originally Posted by wbyokomo (Post 66476)
Please change the method of team detection, using offset is better. https://github.com/alliedmodders/amx...layer.txt#L176
that offset has been used since 2005 and never change yet, Valve no longer update CS1.6. So it's relevant and safe to be use.

Using offset can detect team changes in realtime, no need to wait for next player spawn.

For example in TraceAttack https://github.com/s1lentq/ReGameDLL...layer.cpp#L868

jeefo 28-01-2016 12:34

Re: YaPB2 Updates
 
Quote:

Originally Posted by wbyokomo (Post 66476)
Please change the method of team detection, using offset is better. https://github.com/alliedmodders/amx...layer.txt#L176
that offset has been used since 2005 and never change yet, Valve no longer update CS1.6. So it's relevant and safe to be use.

Using offset can detect team changes in realtime, no need to wait for next player spawn.

It's break compatability with e.g. android, and regamedll itself. So offsets are not possible.

ViBE@ 25-02-2016 17:49

Re: YaPB2 Updates
 
Quote:

Originally Posted by jeefo (Post 66478)
It's break compatability with e.g. android, and regamedll itself. So offsets are not possible.

jeefo, please check my PM and download the shared cfg, cause zippy's have a reservation limit which will ends soon.

Krtola 05-03-2016 18:39

Re: YaPB2 Updates
 
When will add optional offset-based team detection way,please?

jeefo 13-03-2016 19:30

Re: YaPB2 Updates
 
Quote:

Originally Posted by Krtola (Post 66501)
When will add optional offset-based team detection way,please?

next week

ViBE@ 13-03-2016 19:38

Re: YaPB2 Updates
 
meanwhile my live server has been updated and started to test the latest yapb. bot usually have no ping and they still don't leave. (i mean before Build 4436 but you just updated the module lol)

jeefo 13-03-2016 22:02

Re: YaPB2 Updates
 
Drop me IP of your server.

chelseafc0512 15-03-2016 13:04

Re: YaPB2 Updates
 
Hi jeefo,thank you for the update
i have a suggestion : please make a note if there is any change in config file
,sothat we can know whether to change cvar in .cfg file each time we download
Thanks

chelseafc0512 18-03-2016 18:17

Re: YaPB2 Updates
 
Hi ,i want to report that the latest yapb (v2.73) does not run with me, (all the v2.73 version not work)
while the version 2.72 (and before) works fine (i'm using windows 7 32 bits)
when i type "meta list" it says that yapb has "bad load" instead of "RUN"
i tried with metamod 1.19 and metamod 1.20 ,both not works
Thanks

jeefo 18-03-2016 21:42

Re: YaPB2 Updates
 
Quote:

Originally Posted by chelseafc0512 (Post 66507)
Hi jeefo,thank you for the update
i have a suggestion : please make a note if there is any change in config file
,sothat we can know whether to change cvar in .cfg file each time we download
Thanks

Hi!

I will update config in next commit.

jeefo 18-03-2016 21:43

Re: YaPB2 Updates
 
Quote:

Originally Posted by chelseafc0512 (Post 66508)
Hi ,i want to report that the latest yapb (v2.73) does not run with me, (all the v2.73 version not work)
while the version 2.72 (and before) works fine (i'm using windows 7 32 bits)
when i type "meta list" it says that yapb has "bad load" instead of "RUN"
i tried with metamod 1.19 and metamod 1.20 ,both not works
Thanks

Hmm, that's strange. Maybe you're trying to use debug build?

And without metamod?


All times are GMT +2. The time now is 11:44.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.