View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002877 | The Dark Mod | Saving/Loading | public | 07.10.2011 13:45 | 07.10.2011 15:53 |
Reporter | grayman | Assigned To | grayman | ||
Priority | high | Severity | crash | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | TDM 1.06 | ||||
Target Version | TDM 1.07 | Fixed in Version | TDM 1.07 | ||
Summary | 0002877: Games saved when a sliding door is open can crash TDM | ||||
Description | When AI are searching around an open sliding door, TDM can crash. | ||||
Tags | No tags attached. | ||||
The crash occurs when the game is restored, not when it's saved. | |
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 |
|
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 |