.:: 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 ::. > Developer's Farm > General Programming
General Programming Help others and get yourself helped here!

Reply
 
Thread Tools
Re: I got a MSVC debugging question too....
Old
  (#11)
Maleficus
Member
 
Maleficus's Avatar
 
Status: Offline
Posts: 1,054
Join Date: May 2004
Location: Planet Earth
Default Re: I got a MSVC debugging question too.... - 21-09-2004

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!


Dum Spiro Spero


  
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 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com