.:: 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

Reply
 
Thread Tools
YaPB Advanced Bot Control
Old
  (#1)
mattisbogus
Member
 
Status: Offline
Posts: 46
Join Date: Jun 2009
Default YaPB Advanced Bot Control - 13-12-2009

I'm going to try to post this one last time, in a last ditch effort to try and see if anyone is willing or able to either add this feature into YaPB, or is able to code an amx plugin to solve my problem.

I run a Human vs Bot server, using Podbot since it has all the features to run a perfect human vs bot atmosphere. min bots, max bots, quota match etc. Podbot is great. KWo has worked really hard and has made many updates trying to fix problems. Only to me in my opinion, YaPB just seems to be a better overall bot. YaPB doesn't get stuck as much, completes objectives better/faster, is much more difficult, it's really hard to explain until you have tried both out extensively.

The problem is that YaPB doesn't have the features Podbot does to make a fair/fun human vs bot atmosphere. What I need is something like:

yb_minbots - Keeps constant number of bots on the server.
yb_maxbots - Max number of bots allowed on server.
yb_bot_quota_match - Adds # of bots per human users (i.e. yb_bot_quota_match 2 = 2 bots per. human user) I also need this to kick the same amount of bots if the user leaves the server just like CZ official bot.

Please, oh please, if anyone has the knowledge to code this, please do! YaPB would be amazing!
  
Reply With Quote
Re: YaPB Advanced Bot Control
Old
  (#2)
Whistler
Summoner
 
Whistler's Avatar
 
Status: Offline
Posts: 1,499
Join Date: Feb 2004
Location: Mist Village
Default Re: YaPB Advanced Bot Control - 14-12-2009

well as I have some time to waste here's a quick patch which added the yb_quota_match support, don't guarantee it will work though:
http://yapb.bots-united.com/files/yb_quota_match.7z

note that this is based on jeefo's svn on googlecode, which may contain bugs which don't exist in the released 2.55 version.
  
Reply With Quote
Re: YaPB Advanced Bot Control
Old
  (#3)
mattisbogus
Member
 
Status: Offline
Posts: 46
Join Date: Jun 2009
Default Re: YaPB Advanced Bot Control - 14-12-2009

Whistler I can't thank you enough for doing this. I haven't tested fully (running live on server for hours) but I tried this on LAN and it works perfectly. I am so appreciative for this, especially after posting a fix for Serious Sam and then posting a huge fix for myself even after saying you were not really going to continue YaPB. Now I think of it, I really don't even need yb_minbots because I think I can just do yb_quota.

Although if possible, could you do yb_maxbots so I can cap off the amount of bots at 16? If not this isn't a big deal, what I really needed to be able to use YaPB was quota_match because 1 vs 10 bots is crazy hard and 8 vs 10 is usually to easy, this balances it so well. I can't wait to use this, again, thank you so much.
  
Reply With Quote
Re: YaPB Advanced Bot Control
Old
  (#4)
Whistler
Summoner
 
Whistler's Avatar
 
Status: Offline
Posts: 1,499
Join Date: Feb 2004
Location: Mist Village
Default Re: YaPB Advanced Bot Control - 14-12-2009

no problem, it's just a matter of 10 minutes of work. and still don't expect me to actively work on yapb though.

btw, support for yb_quota_match_max is added (only effective if yb_quota_match is set, otherwise it's a duplicate of yb_quota). download URL is the same as the above one.
  
Reply With Quote
Re: YaPB Advanced Bot Control
Old
  (#5)
mattisbogus
Member
 
Status: Offline
Posts: 46
Join Date: Jun 2009
Default Re: YaPB Advanced Bot Control - 18-12-2009

I only found a small bug today the bot_quota_match will use duplicate names from the text file. This isn't a big deal at all, later I'm going to add much more names to it, I just wanted to mention it.

So far it's working good.
  
Reply With Quote
Re: YaPB Advanced Bot Control
Old
  (#6)
mattisbogus
Member
 
Status: Offline
Posts: 46
Join Date: Jun 2009
Default Re: YaPB Advanced Bot Control - 19-12-2009

Sorry for the double post, but it seems Whistler that this version makes the bot's aim shake much much more, like an AIM bot, compared to 2.55beta. I have recorded 2 demos including both the 2.55 and the patch you made for me.

Patch: http://www.filefront.com/15165267/Patch.zip
2.55beta: http://www.filefront.com/15165263/255beta.zip

Maybe it's just me and they are identical, but it just feels different to me. My YaPB config for both looks like this:


Code:
// Specifies percent of bots that can autofollow human player at start of each round.
//
// Default value: 50
yb_followpercent "39"

// Specifies if one slot is keep free for player connection.
//
// Default value: 0
yb_autovacate "0"

// Specifies number of bots playing on the server machine.
//
// Default value: 10
yb_quota "10"

//yb_quota_match
yb_quota_match 2

//yb_quota_match_max
yb_quota_match_max 16

// Specifies minimum bots skill, when creating bot with random parameters.
//
// Default value: 95
yb_minskill "70"

// Specifies maximum bots skill, when creating bot with random parameters.
//
// Default value: 100
yb_maxskill "85"

// Specifies danger factor for bots experience system, higher values resulting more tactical bots.
//
// Default value: 800
yb_dangerfactor "2000"

// Specifies number of bots that can follow player, that used Follow me radio message.
//
// Default value: 3
yb_followuser "2"

// Specifies time interval, used with bot hearing system.
//
// Default value: 0.5
yb_timersound "0.5"

// Specifies time interval, used to check for items around the bot.
//
// Default value: 0.2
yb_timerpickup "0.5"

// Specifies time interval, used to check for grenade throw.
//
// Default value: 0.5
yb_timergrenade "0.5"

// Specifies if bots able to chat each-other while they are dead.
//
// Default value: 1
yb_chat "0"

// Specifies if bot dll able to comment some of the commands, by halflife speech engine.
//
// Default value: 1
yb_synth "1"

// Specifies mode, where bots able to fight only on knives.
//
// Default value: 0
yb_knifemode "0"

// Specifies, if skill value for bot will be appended to it name, after bot creation.
//
// Default value: 0
yb_skilltags "0"

// Specifies, if all bots on the server stopbots function, while this variable set to 1.
//
// Default value: 0
yb_stopbots "0"

// Specifies, if bots able to shoot through wall when suspectiong an enemy.
//
// Default value: 1
yb_thruwalls "0"

// Specifies, if bots are able to spraypaints graphical logos in a game.
//
// Default value: 1
yb_spraypaints "0"

// Specifies, if bots able to purchase weapon and items at start of the each round.
//
// Default value: 1
yb_botbuy "1"

// Specifies level for bot debugging engine. For developers and betatesting team only.
//
// Default value: 0
yb_debug "0"

// Specifies if bot's teamkiller will be punshied for his heroic action.
//
// Default value: 1
yb_tkpunish "1"

// Specifies if bot can use shift while moving in battle.
//
// Default value: 1
yb_walkallow "1"

// Specifies if bots are able to shoot their enemies.
//
// Default value: 0
yb_noshots "0"

// Specifies if bots can only be running in hard mode. Enable only if you playing very well.
//
// Default value: 1
yb_hardmode "0"

// Specifies if bots are able to use team-ecorounds to save money.
//
// Default value: 1
yb_ecorounds "0"

// Specifies nameprefix which will be added to start of the bot name, at the creation time.
//
// Default value: 
yb_nameprefix ""

// Specifies pasword key for setinfo information to acccess to the bot menu and command.
//
// Default value: 0
yb_password_key "_ybpw"

// Specifies password for accessing bot menu and commands on the server running yapb.
//
// Default value: 0
yb_password "thebot"

// Specifies path to the Official CSBot's chatter files.
//
// Default value: sound/radio/bot
yb_chatterpath "sound/radio/bot"

// Specifies list of the weapons, that are banned for botbuying and picking up.
//
// Default value: ump45;p90;elite;tmp;mac10;m3;xm1014
yb_restrictweapons ""

// Specifies method for aiming of bots.
//
// Default value: 3
yb_aimtype "3"

// Specifies method for calculating the msec value.
//
// Default value: 0
yb_msectype "0"

// Specifies log level for bots messages. Critical errors will be logged anyway.
//
// Default value: 2
yb_loglevel "2"

// Specifies csdm gameplay mode.
//
// Default value: 0
yb_csdmplay "0"

// Specifies the language in which all bot menus and comments are displayed.
//
// Default value: en
yb_language "en"

// Specifies method for commtype engine for bots.
//
// Default value: 2
yb_commtype "2"

// Specifies the team, in which all creating bots will be forced to join.
//
// Default value: any
yb_forceteam "any"


bind "=" "yapb menu"
  
Reply With Quote
Re: YaPB Advanced Bot Control
Old
  (#7)
Whistler
Summoner
 
Whistler's Avatar
 
Status: Offline
Posts: 1,499
Join Date: Feb 2004
Location: Mist Village
Default Re: YaPB Advanced Bot Control - 19-12-2009

well, I would like to use the 2.55 sources instead but the link @ rapidshare which jeefo posted seems down, and the 2.55 sources can't be found in his svn at googlecode
  
Reply With Quote
Re: YaPB Advanced Bot Control
Old
  (#8)
mattisbogus
Member
 
Status: Offline
Posts: 46
Join Date: Jun 2009
Default Re: YaPB Advanced Bot Control - 19-12-2009

Ahhhh so they are different! it's ok man. I don't want you to be working on something you really have no interest in working on ^^ I appreciate what you have done so far, cheers
  
Reply With Quote
Re: YaPB Advanced Bot Control
Old
  (#9)
Immortal_BLG
Member
 
Status: Offline
Posts: 171
Join Date: Nov 2007
Location: Russian Federation
Wink Re: YaPB Advanced Bot Control - 19-12-2009

I have almost all of sources of this bot :{P If you need it, just write....
  
Reply With Quote
Re: YaPB Advanced Bot Control
Old
  (#10)
Whistler
Summoner
 
Whistler's Avatar
 
Status: Offline
Posts: 1,499
Join Date: Feb 2004
Location: Mist Village
Default Re: YaPB Advanced Bot Control - 19-12-2009

well, it would be nice if you can upload the sources of yapb 2.55
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 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