.:: 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 > Bug Reports
Bug Reports Post any bug you experience with the latest release of this bot here

Reply
 
Thread Tools
Re: Permanent crash on cs_bigbrother_beta1
Old
  (#21)
Whistler
Summoner
 
Whistler's Avatar
 
Status: Offline
Posts: 1,499
Join Date: Feb 2004
Location: Mist Village
Default Re: Permanent crash on cs_bigbrother_beta1 - 01-06-2004

looks like this is PMB's fault.
the original PB code is:
Code:
// Returns all Waypoints within Radius from Position
void WaypointFindInRadius(Vector vecPos,float fRadius,int *pTab,int *iCount)
{
	int i,iMaxCount;
	float distance;
	
	iMaxCount = *iCount;
	*iCount = 0;
	
	for (i=0; i < g_iNumWaypoints; i++)
	{
		
		distance = (paths[i]->origin - vecPos).Length();
		
		if (distance < fRadius)
		{
			*pTab++ = i;
			*iCount += 1;
			if(*iCount == iMaxCount)
				break;
		}
	}
	*iCount -= 1;
}
  
Reply With Quote
Re: Permanent crash on cs_bigbrother_beta1
Old
  (#22)
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: Permanent crash on cs_bigbrother_beta1 - 01-06-2004

I concede, I concede
That'll teach me to change stuff here and there randomly



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
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