Page MenuHomeFeedback Tracker

Potential bug with unTrim()ed names of namedSelections of p3d's
Closed, ResolvedPublic

Description

"lodnoshadow" (eg) in *some* binocular proxies , example:

\a3\weapons_f\Binocular\binoculars_proxy.p3d

is actually entered as

"lodnoshadow " in the 6th lod

there are other example.p3d's, most of them seem to have occured from some parent edit of *A* binocular.p3d and filtered thru to other instances.

if the engine is using the very traditional

stricmp("lodnoshadow",...) function, rather than the more unusual

strnicmp("lodnoshadow",strlen("lodnoshadow",.....)

it will never find these names

this is not specific to binoculars only, it is an example of some p3d's having a lack of Trim() function and the very difficult bug to discover, if present.

Details

Legacy ID
3844718149
Severity
None
Resolution
Open
Reproducibility
Always
Category
Modding
Steps To Reproduce
  1. using elitness.exe

click on the p3d mentioned above, the sixth lod shows it's named selections with a space filled "lodnoshadow "

  1. using DeP3d.exe -S NameOfP3d above

lists 'components' in the p3d, with "lodnoshadow" and "lodnoshadow " as different NamedSelections

Additional Information

Event Timeline

mikero edited Steps To Reproduce. (Show Details)Apr 15 2013, 9:20 AM
mikero edited Additional Information. (Show Details)
mikero set Category to Modding.
mikero set Reproducibility to Always.
mikero set Severity to None.
mikero set Resolution to Open.
mikero set Legacy ID to 3844718149.May 7 2016, 1:38 PM
MadDogX added a subscriber: MadDogX.May 7 2016, 1:38 PM

Mass closing ancient tickets with no activity for > 12 months; assume fixed or too trivial.

If this issue is still relevant in current dev build, please re-post.