.:: 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: double detail names
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: double detail names - 28-04-2004

[edit]
I just remembered
it's not double detail names it's MULTIPLE detail names if the map changes a bunch of times
I should probably change the title.. but the thread name from the forum won't change so...
[/edit]
okay i have fixed the bot from having double detailed names when the map changes.
here are the following changes i made to the code.
in bot_globals.h on line 89 I added
Code:
extern bool g_bAddDetails;
in bot_globals.cpp on line 62 I added
Code:
bool g_bAddDetails = TRUE;
in bot.cpp on line 336 I changed from
Code:
     if (g_bDetailNames)
to
Code:
     if (g_bDetailNames && g_bAddDetails)
on line 344 I added
Code:
        g_bAddDetails = TRUE;
in dll.cpp on line 1629 I added
Code:
        g_bAddDetails = FALSE;
and that should fix the double detailed names problem.

But of course to all my "bug fixes" it always adds new bugs
and that new bug is...
The bot's name will NOT show the correct personality after the first level change.
It will show the personality it had in the first map.
And to fix this you would need to add a new arg to BotCreate to allow specifying the Personality..
I wasn't sure if everyone here wanted to be able to specify personality or not so I didn't fix this "new" bug.

Last edited by sPlOrYgOn; 28-04-2004 at 09:44..
  
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