Thread: crashes in 3050
View Single Post
Re: crashes in 3050
Old
  (#31)
Josh_Borke
Member
 
Status: Offline
Posts: 152
Join Date: Jun 2004
Default Re: crashes in 3050 - 02-07-2004

following the procedure in post #16 I have gotten this error quite quickly on my dedicated server:
./hlds_run: line 423: 31520 Floating point exception$HL_CMD
./hlds_run: line 423: 31548 Floating point exception$HL_CMD

HTH

--edit--
ipReplyToRadio is not being checked anywhere.

util.cpp:880: int iExtra = (100/pBot->ipCreateRadio);

could be

Code:
int iExtra = 30;
 if (pBot->ipCreateRadio > 0)
   iExtra = 100/(pBot->ipCreateRadio)
ipCreateRadio could be zero, divide by zero...

so far no crashes, only played a couple rounds

also

Code:
bot_client.cpp:1014:	  if (iDevide < 1)
should be
Code:
bot_client.cpp:1014:	  if (iDevide < 1 || iDevide == 0)
just in case

Last edited by Josh_Borke; 02-07-2004 at 02:49..
  
Reply With Quote