.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   General Programming (http://forums.bots-united.com/forumdisplay.php?f=25)
-   -   I got a MSVC debugging question too.... (http://forums.bots-united.com/showthread.php?t=2660)

Maleficus 21-09-2004 07:20

Re: I got a MSVC debugging question too....
 
Ha! Found the bastard!!

It hit me today while I was at work - the path table I create for the bot is causing the problem: a memory bounds exception.

It worked fine for small maps, but on big maps there wouldn't be enough room in the table for the bot's complete path, and maps like MP_TRENCHTOAST are pretty big (which happens to be the only map the game crashed on btw), while smaller maps like MP_DESTRUCTION (which is what I originally created it on) have had no problem at all. So the path created for the bot would be too big for the table, and would end up stomping on other things, causing the crash.

Thanks for the help guys! The release build runs perfectly now!


All times are GMT +2. The time now is 07:50.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.