.:: 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 > HPB_bot
HPB_bot The trusty good ole mechs by botman HLDMTFCOpposing ForceDMCFront Line Force

Reply
 
Thread Tools
Ricobots
Old
  (#1)
desNotes
Member
 
Status: Offline
Posts: 12
Join Date: Jan 2004
Default Ricobots - 18-07-2004

I am running Ricobots from Whistler, which I believe was a Botman templete bot. I noticed when bot is kicked or leaves due to users coming in and then returns, the time for the bot does not reset. If they are gone for an hour and come back they will show time on the server the same as the bots who have been playing the whole time.

I have the source for the bots and would like to know where to look to reset the time so when a bot returns the time on the server will be start from 0.


Thanks,

desNotes

PS By the way, RicoBots are pretty good at both deathmatch and arena. They rarely fall and frustrate even the good players with their moves.
  
Reply With Quote
Re: Ricobots
Old
  (#2)
Whistler
Summoner
 
Whistler's Avatar
 
Status: Offline
Posts: 1,499
Join Date: Feb 2004
Location: Mist Village
Default Re: Ricobots - 18-07-2004

have you tried the FREE_PRIVATE() in BotCreate() ?
Code:
   if (pBot->pEdict->pvPrivateData != NULL)
      FREE_PRIVATE (pBot->pEdict); // free our predecessor's private data
   pBot->pEdict->pvPrivateData = NULL; // fools the private data pointer
   pBot->pEdict->v.frags = 0; // reset his frag count
however I'm not sure if this will work. If this doesn't work then I think it's just engine internal.
  
Reply With Quote
Re: Ricobots
Old
  (#3)
Whistler
Summoner
 
Whistler's Avatar
 
Status: Offline
Posts: 1,499
Join Date: Feb 2004
Location: Mist Village
Default Re: Ricobots - 18-07-2004

have you tried the FREE_PRIVATE() in BotCreate() ?
Code:
   if (pBot->pEdict->pvPrivateData != NULL)
      FREE_PRIVATE (pBot->pEdict); // free our predecessor's private data
   pBot->pEdict->pvPrivateData = NULL; // fools the private data pointer
   pBot->pEdict->v.frags = 0; // reset his frag count
however I'm not sure if this will work. If this doesn't work then I think it's just engine internal.

PS, I have my own forum, perhaps you should post there about my things: http://yapb.mapzap.org
  
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