View Issue Details

IDProjectCategoryView StatusLast Update
0004229The Dark ModAIpublic09.10.2015 20:42
Reportergrayman Assigned Tograyman  
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Product VersionTDM 2.03 
Target VersionTDM 2.04Fixed in VersionTDM 2.04 
Summary0004229: Alerting manor_cook_1 in Behind Closed Doors causes a crash
DescriptionWhen the cook is in the dining room of the western manor, she'll enter flee mode when she sees you.

She evaluates her escape routes, which include the dumbwaiter in the NW corner of the room. She can't fit in there, but she still evaluates it.

I found an obvious bug in the elevator code, prolly been there since day 1, that causes the crash.

Filling the dumbwaiter shaft with monsterclip didn't appear to fix the problem.
TagsNo tags attached.

Activities

grayman

grayman

09.10.2015 20:42

viewer   ~0007845

There was an indexing bug in one of the elevator routines, causing a pointer outside an array to be returned to the calling program, thus the crash.

Abandoned a section of the flee code that I couldn’t get to work correctly: trying to use an elevator to flee when there are no flee points. (The AI will still use elevators to get to flee points when they’re defined.)

Rev. 6549:

EAS.cpp
EAS.h
AI.cpp
AI.h

Issue History

Date Modified Username Field Change
06.10.2015 03:58 grayman New Issue
06.10.2015 03:58 grayman Status new => assigned
06.10.2015 03:58 grayman Assigned To => grayman
09.10.2015 20:42 grayman Note Added: 0007845
09.10.2015 20:42 grayman Status assigned => resolved
09.10.2015 20:42 grayman Resolution open => fixed
09.10.2015 20:42 grayman Fixed in Version => TDM 2.04