View Issue Details

IDProjectCategoryView StatusLast Update
0004603The Dark ModPhysicspublic06.09.2017 18:06
Reportergrayman Assigned Tograyman  
PrioritynormalSeveritynormalReproducibilityalways
Status resolvedResolutionfixed 
Product VersionTDM 2.05 
Target VersionTDM 2.06Fixed in VersionTDM 2.06 
Summary0004603: If the player is pushing against something that's removed from the game, the game crashes
DescriptionThis turned up with a new feature that Goldwell and Obsttorte are working on for frobbing loot items.
Steps To ReproduceUsing Goldwell's test map and Obsttorte's frob_item script, lean into a loot item and push against it. Then frob the item.
Additional InformationThe problem is that when the item being pushed against is removed from the game, it leaves behind a garbage pointer that--when referenced--causes a crash.
TagsNo tags attached.

Activities

grayman

grayman

19.08.2017 15:42

administrator   ~0009106

Source changes committed.

Latest Windows binaries built and committed.

Please test and provide feedback.
grayman

grayman

19.08.2017 17:35

administrator   ~0009109

When the player pushes against an object, record that fact in the object. If the object is removed from the game, if the player still thinks he’s pushing against it, clear the memory of pushing. This prevents garbage links from forming, possibly leading to a crash.

Rev 7081:

Class.cpp
Force_Push.cpp
Force_Push.h
Physics_Player.cpp
Physics_Player.h
Entity.cpp
Entity.h
Player.cpp
Player.h

Issue History

Date Modified Username Field Change
15.08.2017 15:37 grayman New Issue
15.08.2017 15:37 grayman Status new => assigned
15.08.2017 15:37 grayman Assigned To => grayman
15.08.2017 21:45 grayman Description Updated View Revisions
15.08.2017 21:46 grayman Steps to Reproduce Updated View Revisions
19.08.2017 15:42 grayman Note Added: 0009106
19.08.2017 15:42 grayman Status assigned => feedback
19.08.2017 17:35 grayman Note Added: 0009109
19.08.2017 17:35 grayman Status feedback => assigned
06.09.2017 18:06 grayman Status assigned => resolved
06.09.2017 18:06 grayman Resolution open => fixed
06.09.2017 18:06 grayman Fixed in Version => TDM 2.06