.:: 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
Re: First beta release of YaPB 2
Old
  (#21)
jeefo
путинхуйлоебаное
 
jeefo's Avatar
 
Status: Offline
Posts: 452
Join Date: Nov 2005
Location: Saint-Petersburg
Default Re: First beta release of YaPB 2 - 21-05-2006

@Ancient:
Default installer for "old" yapb, is overriding liblist.gam with new one, to use update you must change "addons/yapb/dlls/podbot.dll" to "addons/yapb/dlls/yapb.dll', in liblist or plugins.ini.

@TS:
Common changes:
Code:
YaPB 2.0 Beta (1):
° A Tons of internal and code changes (no needed for users (non-programmers)).
° Bots now can escape from ticking bomb (both teams).
° Implemented BotAim2 plugin (code taken from PODBot mm).
° Bots is now a bit harder that before (maybe twice as hard).
° Bots now using sniper-zoom all the time.
° Bots switching to pistol if own sniper weapon, and enemy is too close.
° Bots switching to pistol if own shotgun, and enemy is too far.
° A bit imporoved explosive grenade usage.
° Improved usage of flashbang grenade (thanks to PODBot mm).
° Added weapon buying economics system. (with complete configuring).
° Added support for specifing buy precents for grenades.
° Added three different Msec calculation methods (to choose the best).
° When adding/kicking one bot from server cvar yapb_quota automatically incrementing/decrementing.
° Little changes in bot pathfinding system.
° Bots now switching to knife to jump somewhere only if sure that he can't jump there with current weapon 
  (thanks to PODBot MM).
° Added more random personality select when creating bot with random parameters.
° Lowered a bit memory usage by chat system.
° Added voice communication (aka chatter) (you must own CSBot chatter files).
° Added support for "Double Jump" (ie bots can help you to get to higher places).
° CT bots, now in 80% times guarding droped C4 bomb.
° User now able to request bot to drop him C4 bomb or weapon.
° Bots now can shoot their target, when target sitting in water (f.e. in fy_poolday).
° Bots updated to use with latest metamod and half-life sdk.
° For those peoples who want to beta-test this bot, added many debugging info.
° Added ability for saving visibility tables to file on disk (increasing map load process).
° Added ability for saving pathmatrix for Floyd pathfinder to file on disk (increaing map load process in a bit 
 (after first load)).
° Bots can take revenge from their teamkillers (humans).
° Partially fixed, bug where bots duck for less than half second, when seeing random part of enemy body.
° Changed the main menu. (and some other bots menu, and some menus added :)
° Bots reloading weapons now more often.
° Bots now have a clue for using burst mode for FAMAS and GLOCK18.
° VIP Bot and bot that own C4 is now forbiddent to camp.
° Changed values for bots walk speed (now it's calculated, instead of beeing hardcoded).
° Bots don't buy new pistols in a first round of game.
° Bots is now able to defuse bomb without pressing duck button (when no enemies running around).
° Added much of server commands (type yapb help ?, for a complete* list of commands).
° Added much of new cvars, just type yapb_, and you will see the rest (cs16 only).
° Added support to use menu & bot commands from client of DS server (thanks to PODBot mm).
° All terrorists knows where the droped bomb is and moving to it immideately.
° Extended chat system, by adding some more chat sections.
° Redone all pathwaypoint operations (code taken without modifications from PODBot mm).
° Improved shield usage [1. Bots use it more tactically. 2. Bots don't shoot shielded guy (if shield drawn).].
° Added support for restricting specific weapons (not podbotmm version, but will be added and podbotmm version).
° Bots now turning to to direction of damage he's get (using dmg_inflictor).
° Bots (CTs) switching to knife and running to bomb (if planted), when all enemies is killed.
° Fixed CTs behaviour when bomb planted (ie Staying on one place, and not moving anywhere).
° Bots don't look at wall tracking his last enemy all the time (thanks to PODBot mm).
° Changed a little bit recoil compenstaion code (a very little bit).
° Bots don't try to buy anything on the fun maps (like fy_, aim_, awp_ etc).
° Added menu to kick specific bots (thanks to PODBot mm).
° Added cvar to force bots to join specific team (yapb_forceteam).
* There a lot of more little changes not listed here, and some changes i've just can't translate (because of my limited 
  knowledge of english).

YaPB 2.0 Beta (2): incoming (not available yet):
° Reduced a bit CPU usage by removing the call to CVAR_GET_FLOAT, because i've got too many lags on my old computer
  i've counted calls in one second for 10 bots, and result shocking me, about 8000 calls per second!, now all cvars
  updating every second, and stored in internal bot variable.
° Fixed ignoring of yapb_language variable, now it works 100%.
° Renamed all bot cvars from yapb_* to yb_* for faster access.
° Added alias to yapb server command, also called yb.
° Added english and russian documentaions (in process).
° Added completely automatic bot installer (in process).
° Some little tweaks to AI.

Last edited by jeefo; 21-05-2006 at 22:56..
  
Reply With Quote
Re: First beta release of YaPB 2
Old
  (#22)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: First beta release of YaPB 2 - 21-05-2006

Quote:
Originally Posted by strelomet
° Reduced a bit CPU usage by removing the call to CVAR_GET_FLOAT, because i've got too many lags on my old computer
i've counted calls in one second for 10 bots, and result shocking me, about 8000 calls per second!, now all cvars
updating every second, and stored in internal bot variable.


I believe You've forgotten to add again "thanks to podbot mm"
I did it about 2 months ago.

  
Reply With Quote
Re: First beta release of YaPB 2
Old
  (#23)
jeefo
путинхуйлоебаное
 
jeefo's Avatar
 
Status: Offline
Posts: 452
Join Date: Nov 2005
Location: Saint-Petersburg
Default Re: First beta release of YaPB 2 - 21-05-2006

Quote:
Originally Posted by KWo
I believe You've forgotten to add again "thanks to podbot mm"
I did it about 2 months ago.

[/FONT]
Nope, in original yapb, this cvars update every second, but later i remove all less used global variables, but now i notice lags, and restored this stuff Whatever thanks to podbot mm
  
Reply With Quote
Re: First beta release of YaPB 2
Old
  (#24)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: First beta release of YaPB 2 - 22-05-2006

Quote:
Originally Posted by strelomet
Nope, in original yapb, this cvars update every second, but later i remove all less used global variables, but now i notice lags, and restored this stuff Whatever thanks to podbot mm
Yep - You are right - just noticed some cvars were really updated not every frame, but.. every 0.5s in some sources of YapB dated 25.11.2005
Code:
void StartFrame( void )
{
   static int i, index, player_index;
   static float msecdel = 0, msecnum = 0;

   if (g_flCvarUpdateTime < gpGlobals->time)
   {
      g_iBotQuota = (int)CVAR_GET_FLOAT(g_cvarBotQuota.name);
      g_iMinBotSkill = (int)CVAR_GET_FLOAT(g_cvarMinBotSkill.name);
      g_iMaxBotSkill = (int)CVAR_GET_FLOAT(g_cvarMaxBotSkill.name);
      g_iMaxNumFollow = (int)CVAR_GET_FLOAT(g_cvarMaxNumFollow.name);
      g_fTimeSoundUpdate = CVAR_GET_FLOAT(g_cvarTimeSoundUpdate.name);
      g_fTimePickupUpdate = CVAR_GET_FLOAT(g_cvarTimePickupUpdate.name);
      g_fTimeGrenadeUpdate = CVAR_GET_FLOAT(g_cvarTimeGrenadeUpdate.name);
      g_iDebugGoalIndex = (int)CVAR_GET_FLOAT(g_cvarDebugGoalIndex.name);

      g_bUseExperience = CVAR_GET_FLOAT(g_cvarUseExperience.name) > 0;
      g_bAutoSaveExperience = CVAR_GET_FLOAT(g_cvarAutoSaveExperience.name) > 0;
      g_bBotChat = CVAR_GET_FLOAT(g_cvarBotChat.name) > 0;
      g_bBotUseRadio = CVAR_GET_FLOAT(g_cvarBotUseRadio.name) > 0;

      g_bJasonMode = CVAR_GET_FLOAT(g_cvarJasonMode.name) > 0;
      g_bDetailNames = CVAR_GET_FLOAT(g_cvarDetailNames.name) > 0;
      g_bInstantTurns = CVAR_GET_FLOAT(g_cvarInstantTurns.name) > 0;
      g_bShootThruWalls = CVAR_GET_FLOAT(g_cvarShootThruWalls.name) > 0;
      g_bAllowVotes = CVAR_GET_FLOAT(g_cvarAllowVotes.name) > 0;
      g_bBotSpray = CVAR_GET_FLOAT(g_cvarBotSpray.name) > 0;
      g_bBotBuy = CVAR_GET_FLOAT(g_cvarBotBuy.name) > 0;
      g_bBotAutoVacate = CVAR_GET_FLOAT(g_cvarBotAutoVacate.name) > 0;

      g_flCvarUpdateTime = gpGlobals->time + 0.5;
   }
Seems I discovered something what Whistler found few months before me. I didn't see it before. I was talking toTHE_STORM about that optimization of code (I was believing it was only my idea).
  
Reply With Quote
Re: First beta release of YaPB 2
Old
  (#25)
Whistler
Summoner
 
Whistler's Avatar
 
Status: Offline
Posts: 1,499
Join Date: Feb 2004
Location: Mist Village
Default Re: First beta release of YaPB 2 - 22-05-2006

actually that has been in YaPB for about 3 years However that sometimes will result in e.g., bots kicked strangely sometimes as the cvar values are not take effect immediately so I removed that in the January 2006 release. Maybe a better method is to use the pfnCvarGetPointer() (or something like that).
  
Reply With Quote
Re: First beta release of YaPB 2
Old
  (#26)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: First beta release of YaPB 2 - 22-05-2006

Quote:
Originally Posted by Whistler
actually that has been in YaPB for about 3 years However that sometimes will result in e.g., bots kicked strangely sometimes as the cvar values are not take effect immediately so I removed that in the January 2006 release. Maybe a better method is to use the pfnCvarGetPointer() (or something like that).
Well - I didn't notice yet such problems. Splorygon registers the cvars in
C_DLLEXPORT int Meta_Attach( ... ), but yapb has it in void GameDLLInit( void ) - maybe it works different way. I'm not good with mm stuff - so You need to figure out Your-self - it both method are equal or some of them is better. In ServerActivate we execute podbot.cfg (the first map only) - so they are setuped correctly.
About that pfnCvarGetPointer - AMX X is using similar method:
Code:
cvar_t *csstats_rankbots
cvar_t init_csstats_rankbots ={"csstats_rankbots","1"}; 

CVAR_REGISTER (&init_csstats_rankbots); 
csstats_rankbots = CVAR_GET_POINTER(init_csstats_rankbots.name); 

bool ignoreBots (edict_t *pEnt, edict_t *pOther){
   rankBots = (int)csstats_rankbots->value ? true:false; // unnoficial line added by KWo to get it working
    if ( !rankBots && ( pEnt->v.flags & FL_FAKECLIENT || ( pOther && pOther->v.flags & FL_FAKECLIENT ) ) )
        return true;
    return false;
}
  
Reply With Quote
Re: First beta release of YaPB 2
Old
  (#27)
jeefo
путинхуйлоебаное
 
jeefo's Avatar
 
Status: Offline
Posts: 452
Join Date: Nov 2005
Location: Saint-Petersburg
Default Re: First beta release of YaPB 2 - 22-05-2006

I've not noticed problems Whistler write (yet). I will test that.
  
Reply With Quote
Re: First beta release of YaPB 2
Old
  (#28)
Minh-Lo-Hwang
Member
 
Status: Offline
Posts: 123
Join Date: Jan 2004
Location: Deinste-Germany;)
Default Re: First beta release of YaPB 2 - 23-05-2006

Hi Peeps !
It's wonderful to see , that there are still Bots in the Work for good ole' Cs .
Have a nice Day!
  
Reply With Quote
Re: First beta release of YaPB 2
Old
  (#29)
weeshna
Member
 
Status: Offline
Posts: 4
Join Date: May 2008
Default Re: First beta release of YaPB 2 - 21-05-2008

] yapb_quota 1
"yapb_quota" changed to "1"
"yapb_quota" changed to "0"

it's been doing that by itself! i need help!!! when i try to add bots it changes the quota back to 0. what do i do to add bots now?!

-sorry for posting on a 2 year old post.. =9
  
Reply With Quote
Reply


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

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