.:: 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 > RealBot > The RealBot 'Source'
The RealBot 'Source' Discuss things about the source code. You can here point out bugs, share ideas and code. Assign to become an 'official team member' and so on!

Reply
 
Thread Tools
Minor bug in
Old
  (#1)
evy
Guest
 
Status:
Posts: n/a
Default Minor bug in - 25-06-2004

Stefan,

the reallog.txt contains garbage from times to times. Here is probably some wrong code in game.cpp:

Code:
void cGame::CreateSwatTeams()
{
		// loop through all bots, create teams with sizes 2 to 4 bots.
		int iSize=0, iBot=0, iLeaderTries=0;
		bool bRunLoop=true;
		char temp[128];
		log(temp);
It looks wrong to write temp which is not yet initialized

-eric
  
Reply With Quote
Re: Minor bug in
Old
  (#2)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: Minor bug in - 25-06-2004

lol yeah, forgot to remove that. I had some debug messages goin on there in the past.

i removed it;

however, i still hear there are 'crashes' and i don't know why yet.


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote
Re: Minor bug in
Old
  (#3)
Josh_Borke
Member
 
Status: Offline
Posts: 152
Join Date: Jun 2004
Default Re: Minor bug in - 01-07-2004

dll.cpp - line 2164

Code:
 if (FStrEq (arg1, "print"))
should be
Code:
 else  if (FStrEq (arg1, "print"))
dontshoot won't say it's not a valid command anymore...
  
Reply With Quote
Re: Minor bug in
Old
  (#4)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: Minor bug in - 02-07-2004

Thx Josh! Got it fixed


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
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 - 2025, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com