.:: 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 > RACC
RACC Autonomous fragmachines by PMB Counter-StrikeDMCHLDMThe Specialists

Reply
 
Thread Tools
Re: BotAim 2 announced. Best aiming ever.
Old
  (#41)
@$3.1415rin
Council Member, Author of JoeBOT
 
@$3.1415rin's Avatar
 
Status: Offline
Posts: 1,381
Join Date: Nov 2003
Location: Germany
Default Re: BotAim 2 announced. Best aiming ever. - 08-12-2005

to emulate 'real play restrictions', pmb is using some more code to couple e.g. pitch and yaw to some degree, I think this isnt necessary ... anyway, the pictures above are all done using discretizations, but I used linear interpolation for plotting. the numbers below show the number of the frame, only with the topmost picture, there is a missing 10^4 or 10^5 on the screenshot, therefore it is maybe looking nondiscrete

the improvement I was testing in the 2 pictures below was 4th order runge kutta if that tells you anything. main reason to implement such an algorithm would be better stability of aiming against low framerates, @50fps you see hardly a difference. I guess for our purposes an adaptive step size control like "if we are below 20fps, run as any iterations in one frame that it looks like 20fps for the algorithm" would be sufficient



Last edited by @$3.1415rin; 08-12-2005 at 22:46..
  
Reply With Quote
Re: BotAim 2 announced. Best aiming ever.
Old
  (#42)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: BotAim 2 announced. Best aiming ever. - 08-12-2005

Can someone care a bit also about the compatibility such plugins like botaim with mm plugins increasing FPS on the server (like booster or such)? Such plugins "lies" all bots aiming algorythims based on msec code. More info about booster (and similar plugins) Hullu (ghost_of_evilspy) may give You, guys...
  
Reply With Quote
Re: BotAim 2 announced. Best aiming ever.
Old
  (#43)
@$3.1415rin
Council Member, Author of JoeBOT
 
@$3.1415rin's Avatar
 
Status: Offline
Posts: 1,381
Join Date: Nov 2003
Location: Germany
Default Re: BotAim 2 announced. Best aiming ever. - 09-12-2005

I guess that's just an issue of the time measurement resolution. maybe try to use other timebases, like RDTSC or anything else.

but who needs that booster stuff anyway


  
Reply With Quote
Re: BotAim 2 announced. Best aiming ever.
Old
  (#44)
[NvT]_KaszpiR_
Member
 
[NvT]_KaszpiR_'s Avatar
 
Status: Offline
Posts: 322
Join Date: Apr 2004
Default Re: BotAim 2 announced. Best aiming ever. - 09-12-2005

people add it because of lack of knowledge
  
Reply With Quote
Re: BotAim 2 announced. Best aiming ever.
Old
  (#45)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: BotAim 2 announced. Best aiming ever. - 09-12-2005

I'm browsing some forums like AMX or AMX X forum and when the people post their running plugins - booster is still listed as used by them...
  
Reply With Quote
Re: BotAim 2 announced. Best aiming ever.
Old
  (#46)
ghost of evilspy
Moderator
 
ghost of evilspy's Avatar
 
Status: Offline
Posts: 140
Join Date: Mar 2005
Location: Finland
Default Re: BotAim 2 announced. Best aiming ever. - 09-12-2005

Booster Lite actually does same on win32 as '-pingboost 3' on linux (stop sleep on network IO event). Booster 2.x by Buzzkill does include Booster 1.x and Lite sourcecode, but I don't think lite code path is default.

Why does bots try to think on every StartFrame? Clients send 30 packets/sec by default to server and that's fps that server operates on clients. My HPB_bot modification works perfect (no difference) with BotThink run at 30 fps and uses much less CPU. Actually my old K6-2 couldn't run HPB_bot v4.0 without me adding think-fps-limiter.
  
Reply With Quote
Re: BotAim 2 announced. Best aiming ever.
Old
  (#47)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: BotAim 2 announced. Best aiming ever. - 10-12-2005

RACC won't have that problem since it uses its own engine-independent time measurement stuff. The only concern is when the framerate drops at very low values, but as aspirin points out a simple solution is to double the algorithm passes in this condition.

Quote:
Originally Posted by ghost of evilspy
Why does bots try to think on every StartFrame?
Very true. When all the bot brain is based on timers, when nothing typically frame-dependent remains, it is possible (and even recommended) to make it think at 15Hz (or 30Hz to cheat a bit). I believe the human brain waves are at 15, aren't they ?



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."

Last edited by Pierre-Marie Baty; 10-12-2005 at 15:12..
  
Reply With Quote
Re: BotAim 2 announced. Best aiming ever.
Old
  (#48)
@$3.1415rin
Council Member, Author of JoeBOT
 
@$3.1415rin's Avatar
 
Status: Offline
Posts: 1,381
Join Date: Nov 2003
Location: Germany
Default Re: BotAim 2 announced. Best aiming ever. - 10-12-2005

most bots don't "think" every startframe I guess, but the movement code needs to be called every frame, and there a lot of bot coders also update their aiming. using this DGL stuff this results e.g. in a better precision


  
Reply With Quote
Re: BotAim 2 announced. Best aiming ever.
Old
  (#49)
ghost of evilspy
Moderator
 
ghost of evilspy's Avatar
 
Status: Offline
Posts: 140
Join Date: Mar 2005
Location: Finland
Default Re: BotAim 2 announced. Best aiming ever. - 15-12-2005

Quote:
Originally Posted by @$3.1415rin
... but the movement code needs to be called every frame ...
It doesn't, not for HPB_bot atleast.
  
Reply With Quote
Re: BotAim 2 announced. Best aiming ever.
Old
  (#50)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: BotAim 2 announced. Best aiming ever. - 15-12-2005

Well, it SHOULD. pfnRunPlayerMove() should be called every frame, no matter what the bot is doing.



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
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