.:: 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
  (#51)
[NvT]_KaszpiR_
Member
 
[NvT]_KaszpiR_'s Avatar
 
Status: Offline
Posts: 322
Join Date: Apr 2004
Default Re: BotAim 2 announced. Best aiming ever. - 15-12-2005

why it should be every frame?
i believe it could be run in example every 10 msec...
(no man has such fast reaction time)
  
Reply With Quote
Re: BotAim 2 announced. Best aiming ever.
Old
  (#52)
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

If you plan to run pfnRunPlayerMove every 10 ms you have to pass exactly 10 ms as a fixed value of the msec parameter. This is not exactly a good idea, because if a sudden lag peak makes the last frame over which the movement extends extend some time beyond that date, it messes the collision code and the bounding box calculations.



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
Re: BotAim 2 announced. Best aiming ever.
Old
  (#53)
[NvT]_KaszpiR_
Member
 
[NvT]_KaszpiR_'s Avatar
 
Status: Offline
Posts: 322
Join Date: Apr 2004
Default Re: BotAim 2 announced. Best aiming ever. - 16-12-2005

so bot can walk over the wall because of lag?
  
Reply With Quote
Re: BotAim 2 announced. Best aiming ever.
Old
  (#54)
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. - 16-12-2005

No (that's exxagerated), but they may get stuck into each other more often.



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
Re: BotAim 2 announced. Best aiming ever.
Old
  (#55)
[NvT]_KaszpiR_
Member
 
[NvT]_KaszpiR_'s Avatar
 
Status: Offline
Posts: 322
Join Date: Apr 2004
Default Re: BotAim 2 announced. Best aiming ever. - 16-12-2005

stuck? you mean they can walk one over another and be unable to split? (some bots have it in quakeworld)
  
Reply With Quote
Re: BotAim 2 announced. Best aiming ever.
Old
  (#56)
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. - 17-12-2005

Exactly.



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
Re: BotAim 2 announced. Best aiming ever.
Old
  (#57)
MarD
Waypointer/Moderator
 
MarD's Avatar
 
Status: Offline
Posts: 1,184
Join Date: Jan 2004
Location: Canada.. EH!?
Default Re: BotAim 2 announced. Best aiming ever. - 17-12-2005

Heyyo,

Speaking of bots getting stuck together... there's still the current one that seems to scar all the CS bots that I've tried. They don't go through one another, but bang into eachother, and have a hard time trying to split appart... do you guys have any idea what might be causing this problem? or is this too OT?


Later-a-much, and LONG LIVE THE D!,
(Link>>>MarD's Moddin' Site<<<Link) MarD

Rock Hound. (<Link)
  
Reply With Quote
Re: BotAim 2 announced. Best aiming ever.
Old
  (#58)
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. - 17-12-2005

Quote:
Originally Posted by Pierre-Marie Baty
Well, it SHOULD. pfnRunPlayerMove() should be called every frame, no matter what the bot is doing.
I don't believe so. Real clients don't get called CmdStart->PreThink->PM_Move->PostThink->CmdEnd sequence on every frame. Instead msec value is given. HPB_bot already calculates correct msec value and passes it to pfnRunPlayerMove() so why whould pfnRunPlayerMove() have to be run on every server frame when real clients are not.

They don't get stuck because real players don't get either.

Think about this: Speedhacks modify client timers to speed up so that client send longer msec values than it should have thus causing players to move faster on server too. If CmdStart->PreThink->PM_Move->PostThink->CmdEnd were called on every server frame then msec value would have no meaning thus causing such hacks not work.

(pfnRunPlayerMove() makes engine call CmdStart->PreThink->PM_Move->PostThink->CmdEnd on bot entity)

-edit- oh yeah.. I think only exception to this is listenserver client. It seems to be called on every server frame.

Last edited by ghost of evilspy; 17-12-2005 at 20:14..
  
Reply With Quote
Re: BotAim 2 announced. Best aiming ever.
Old
  (#59)
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. - 18-12-2005

Make a simple test : create a simple bot that makes use of the method you are talking about, spawn 2 of them, and make them run into each other diagonally. Then see if they slide along each other or if they get stuck.

Pretty sure they get stuck here.



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
Re: BotAim 2 announced. Best aiming ever.
Old
  (#60)
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. - 26-12-2005

No need to make test. Just check on my server, they don't get stuck in each other. (hldm, hissi.dyndns.info:27015)
  
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