View Issue Details

IDProjectCategoryView StatusLast Update
0001913The Dark ModDesign/Codingpublic14.12.2018 05:33
ReporterNightprowler Assigned Tostgatilov  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionunable to reproduce 
PlatformPCOSWindows Vista Home Premium x64OS VersionSP1
Product VersionSVN 
Target VersionTDM 2.07Fixed in VersionTDM 2.07 
Summary0001913: Crash occurs upon frob opening a duplicated door that has been rotated and also shares a reference to a shared handle
DescriptionCrash occurs upon frob opening a duplicated door that has been rotated and also shares a reference to a shared handle in the door's 'door_handle’ argument. The critical point where the user could fall into this trap is when the user duplicates the door before duplicating the original handle, when the original handle is already being referenced by the door being duplicated from.
Steps To Reproduce1. Create a atdm:mover_door entity
2. Create a atdm:mover_door_handle entity
3. Enter “doorknob” for the “name” property
4. For the door entity, create a “door_handle” property with the value “doorknob”.
5. Duplicate the door first.
6. Duplicate the handle.
7. Rotate the duplicated door 180°using Arbitrary Transformation dialog box.
8. Run the map
9. Frob either door.
10. Observe that the map crashes.
Additional Information- Workaround 0000001: When the user duplicates both the door and the referenced handle at the same time, the referenced handle for the duplicated door automatically renames to the duplicated handle. This will ensure that the user does not accidentally reference the same door handle twice.
- Workaround 0000002: Bind the door handle to the door by selecting the door handle first. Then select the door. Then from the menu, select “Entity->bind selected entities”.
- The user’s intent was to make a double door setup. The user ends up needing to rotate one of the doors and handles 180°
TagsNo tags attached.
Attached Files
crash_door.zip (3,269 bytes)

Activities

greebo

greebo

17.08.2009 09:18

administrator   ~0002622

Not really a DarkRadiant issue (more of an issue of the mod code), but it sounds like the "door_handle" property needs to be phased out in favour of the "bind" method, which is the recommended way.

Generally, when duplicating doors it's best to duplicate "door+handle" at once, rather than doing it piece by piece (is more tiresome anyway and you need to rotate both in the end).
nbohr1more

nbohr1more

14.12.2018 05:32

developer   ~0010914

Unable to reproduce.

Mappers should not be doing this but the map does not crash in current builds.

Issue History

Date Modified Username Field Change
17.08.2009 02:40 Nightprowler New Issue
17.08.2009 02:40 Nightprowler File Added: crash_door.zip
17.08.2009 05:20 greebo Status new => acknowledged
17.08.2009 09:18 greebo Note Added: 0002622
27.10.2009 12:04 greebo Project DarkRadiant => @8@
29.10.2009 07:45 greebo Project @8@ => The Dark Mod
14.12.2018 05:32 nbohr1more Note Added: 0010914
14.12.2018 05:33 nbohr1more Assigned To => stgatilov
14.12.2018 05:33 nbohr1more Status acknowledged => closed
14.12.2018 05:33 nbohr1more Resolution open => unable to reproduce
14.12.2018 05:33 nbohr1more Product Version 0.10.0 => SVN
14.12.2018 05:33 nbohr1more Fixed in Version => TDM 2.07
14.12.2018 05:33 nbohr1more Target Version => TDM 2.07