View Issue Details

IDProjectCategoryView StatusLast Update
0004347The Dark ModAIpublic30.03.2019 18:19
Reportergrayman Assigned Tograyman  
PrioritynormalSeveritynormalReproducibilitysometimes
Status resolvedResolutionfixed 
Product VersionTDM 2.04 
Target VersionTDM 2.04Fixed in VersionTDM 2.04 
Summary0004347: Severe FPS drop near start of Penny Dreadful 3
DescriptionAfter the player hears the initial conversation at the start of the mission, and makes his way up to the walkway above, if he waits there until the archer (who has walked away into the distance) starts to come back toward him down the street, the FPS drops to 1 or 2 the moment the archer spots the player.
TagsNo tags attached.

Relationships

related to 0004348 resolvedgrayman Distant AI entering Searching or Agitated Searching State can become frozen in place 
related to 0004610 resolvedstgatilov Severe slowdown and "No valid points found" spam from the hiding spot code (extremely intermittent) 
related to 0005019 resolvedgrayman Reaction time of AI too fast when spotting player in full light 

Activities

grayman

grayman

01.07.2016 01:58

viewer   ~0008233

In 2.04, I added code to find a nearby observation point when an AI joining a search couldn't reach the search origin. This code is already used to find the nearest flee point when an AI flees.

When the distance between the AI and the player is large, this code can eat up a lot of CPU cycles. Solved by limiting the number of iterations as the code searches the reachability tree to find the nearest observation point to the player.
grayman

grayman

02.07.2016 15:34

viewer   ~0008234

When the player is far away and unreachable, it takes too long to find an observation point. Put a limit on the amount of searching that’s done.

Rev. 6600:

AI.cpp
AI.h
AI_events.cpp
SearchManager.cpp

Issue History

Date Modified Username Field Change
01.07.2016 01:56 grayman New Issue
01.07.2016 01:56 grayman Status new => assigned
01.07.2016 01:56 grayman Assigned To => grayman
01.07.2016 01:58 grayman Note Added: 0008233
02.07.2016 15:06 grayman Relationship added related to 0004348
02.07.2016 15:34 grayman Note Added: 0008234
02.07.2016 15:34 grayman Status assigned => resolved
02.07.2016 15:34 grayman Resolution open => fixed
02.07.2016 15:34 grayman Fixed in Version => TDM 2.04
22.08.2017 04:36 nbohr1more Relationship added related to 0004610
30.03.2019 18:19 grayman Relationship added related to 0005019