View Issue Details

IDProjectCategoryView StatusLast Update
0002877The Dark ModSaving/Loadingpublic07.10.2011 15:53
Reportergrayman Assigned Tograyman  
PriorityhighSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Product VersionTDM 1.06 
Target VersionTDM 1.07Fixed in VersionTDM 1.07 
Summary0002877: Games saved when a sliding door is open can crash TDM
DescriptionWhen AI are searching around an open sliding door, TDM can crash.
TagsNo tags attached.

Activities

grayman

grayman

07.10.2011 13:47

viewer   ~0004063

The crash occurs when the game is restored, not when it's saved.
grayman

grayman

07.10.2011 15:53

viewer   ~0004064

When assigning AAS areas to doors, the code used the door’s center to locate the AAS area. The math to determine the door’s center was appropriate for rotating doors, but not sliding doors. When a sliding door was open, the center was being located outside the AAS area, leaving it to the AAS code to move the center into a neighboring AAS area, and it didn’t always move it to the correct area, or even the same area. This corrupted the table that tracks doors’ AAS areas. When AI use that table in pathing near a sliding door, especially when determining hiding spots, the corrupt table could lead to a crash.

I changed the code to use the center of the closed sliding door, regardless of whether the door is open or not. This consistently provides the correct AAS area to the table, preventing corruption.

rev. 4988:

BinaryFrobMover.cpp

Issue History

Date Modified Username Field Change
07.10.2011 13:45 grayman New Issue
07.10.2011 13:45 grayman Status new => assigned
07.10.2011 13:45 grayman Assigned To => grayman
07.10.2011 13:47 grayman Note Added: 0004063
07.10.2011 15:53 grayman Note Added: 0004064
07.10.2011 15:53 grayman Status assigned => resolved
07.10.2011 15:53 grayman Resolution open => fixed
07.10.2011 15:53 grayman Fixed in Version => TDM 1.07