.:: 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 > POD-Bot mm > Releases, Installers, Docs & Coding
Releases, Installers, Docs & Coding Where the official development happens

Reply
 
Thread Tools
FIX: incorrect timer_pickup value
Old
  (#1)
sPlOrYgOn
<-- He did it.
 
sPlOrYgOn's Avatar
 
Status: Offline
Posts: 1,558
Join Date: Jan 2004
Location: Los Angeles, California, USA, North America, Earth, Solar System, Milky Way.
Default FIX: incorrect timer_pickup value - 01-05-2004

Fixed the bot not getting the timer_pickup value in podbot.cfg
in dll.cpp in StartFrame where it reads podbot.cfg:
Code:
           else if (FStrEq (cmd, CONSOLE_CMD_TIMEPICKUP))
            {
               g_fTimeSoundUpdate = atof (arg1);  // changing the sound even tho it's pickup is bad
               if (g_fTimePickupUpdate < 0.1)
                  g_fTimePickupUpdate = 0.1;

               UTIL_ServerPrint ("Pickup Update Timer set to %f secs\n", g_fTimePickupUpdate);
               break;
            }
should be:
Code:
           else if (FStrEq (cmd, CONSOLE_CMD_TIMEPICKUP))
            {
               g_fTimePickupUpdate = atof (arg1);  // this is what changed SoUlFaThEr
               if (g_fTimePickupUpdate < 0.1)
                  g_fTimePickupUpdate = 0.1;

               UTIL_ServerPrint ("Pickup Update Timer set to %f secs\n", g_fTimePickupUpdate);
               break;
            }

Last edited by sPlOrYgOn; 01-05-2004 at 17:39..
  
Reply With Quote
Re: FIX: incorrect timer_pickup value
Old
  (#2)
Huntkillaz
Member
 
Huntkillaz's Avatar
 
Status: Offline
Posts: 594
Join Date: Mar 2004
Location: Middle Earth (New Zealand)
Default Re: FIX: incorrect timer_pickup value - 01-05-2004

nice... keep it up mate
soon u can be our alternative to pmb


●_•
  
Reply With Quote
Re: FIX: incorrect timer_pickup value
Old
  (#3)
Austin
Moderator
 
Austin's Avatar
 
Status: Offline
Posts: 403
Join Date: Nov 2003
Default Re: FIX: incorrect timer_pickup value - 01-05-2004

Nice, work sPlOrYgOn vbmenu_register("postmenu_13694", true); , keep it up!
  
Reply With Quote
Re: FIX: incorrect timer_pickup value
Old
  (#4)
MusicMan
Member
 
Status: Offline
Posts: 236
Join Date: Feb 2004
Default Re: FIX: incorrect timer_pickup value - 01-05-2004

would you be so kind and comment the lines you have changed to make it more readable. Thanks

Last edited by MusicMan; 01-05-2004 at 10:43..
  
Reply With Quote
Re: FIX: incorrect timer_pickup value
Old
  (#5)
SoUlFaThEr
Moderator
 
SoUlFaThEr's Avatar
 
Status: Offline
Posts: 860
Join Date: Mar 2004
Default Re: FIX: incorrect timer_pickup value - 01-05-2004

i dont see a difference in the 2 pieces of code you placed......


  
Reply With Quote
Re: FIX: incorrect timer_pickup value
Old
  (#6)
sPlOrYgOn
<-- He did it.
 
sPlOrYgOn's Avatar
 
Status: Offline
Posts: 1,558
Join Date: Jan 2004
Location: Los Angeles, California, USA, North America, Earth, Solar System, Milky Way.
Default Re: FIX: incorrect timer_pickup value - 01-05-2004

look closer

i'll edit the post and tell you what changed.
  
Reply With Quote
Re: FIX: incorrect timer_pickup value
Old
  (#7)
Hot-Doc
Member
 
Status: Offline
Posts: 38
Join Date: Jan 2004
Location: @home
Default Re: FIX: incorrect timer_pickup value - 01-05-2004

The second line has changed - has been really quite hard to recognize, this way is much better now.

Except the fact that hopefully nothing has changed SoUlFaThEr so that he's still the same good guy he used to be...

I know, bad joke, just ignore me for now

Last edited by Hot-Doc; 01-05-2004 at 20:24..
  
Reply With Quote
Re: FIX: incorrect timer_pickup value
Old
  (#8)
>BKA< T Wrecks
Moderator [PBmm/Waypointing]& PODBot mm waypointer
 
>BKA< T Wrecks's Avatar
 
Status: Offline
Posts: 1,492
Join Date: Feb 2004
Location: C.C.A.A., Germania
Default Re: FIX: incorrect timer_pickup value - 01-05-2004

Hehehe, not that bad, actually... but I sure hope SoUlFaThEr's source code won't be published and analyzed here... guess we'd better keep him as he is; he seems to work quite well.

Btw, could somebody explain to me poor coding analphabet in what way the timer pickup affects me when I'm playing CS, or what the timer pickup actually is ? Excuse my ignorance...



Roses are #FF0000, violets are #0000FF // all my base, are belong to you.

  
Reply With Quote
Re: FIX: incorrect timer_pickup value
Old
  (#9)
sPlOrYgOn
<-- He did it.
 
sPlOrYgOn's Avatar
 
Status: Offline
Posts: 1,558
Join Date: Jan 2004
Location: Los Angeles, California, USA, North America, Earth, Solar System, Milky Way.
Default Re: FIX: incorrect timer_pickup value - 01-05-2004

I think it's the time a bot takes to "think" and react to pickup a gun.
like *thinking* should i pick up that ak or keep this m4...
just to simulate real people..
  
Reply With Quote
Re: FIX: incorrect timer_pickup value
Old
  (#10)
>BKA< T Wrecks
Moderator [PBmm/Waypointing]& PODBot mm waypointer
 
>BKA< T Wrecks's Avatar
 
Status: Offline
Posts: 1,492
Join Date: Feb 2004
Location: C.C.A.A., Germania
Default Re: FIX: incorrect timer_pickup value - 01-05-2004

Ah. Thanks for the explanation!

(Btw: If bots were acting as human as me, they'd have an unfailing talent for picking up empty guns seconds before a well-armed enemy comes running around the next corner... )



Roses are #FF0000, violets are #0000FF // all my base, are belong to you.

  
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