Page MenuHomeFeedback Tracker

Typo in mapgroupproto.xml vehiclesparts/vehicleparts
Closed, ResolvedPublic

Description

Hello, I am wondering about the discrepancy between the "vechiclesparts" category that is defined in cfglimitsdefinition.xml and used in types.xml, but in mapgroupproto.xml it is instead spelled "vehicleparts.xml" without the s between vehicle and parts. This causes the server console to spam "unknown category vehicleparts" on startup, while it doesn't seem to affect vehicle parts actually spawning on the wrecks as intended.

This typo - if that is what it is - has been in the server files ever since they were released, and I wonder if there is a reason for this or if is not fixed since it simply doesn't need to...

For modded vehicles I generally give the parts the category "tools" to dodge the issue.

Details

Severity
Minor
Resolution
Open
Reproducibility
N/A
Operating System
Windows 7
Category
General
Steps To Reproduce

Just check each of the mentioned files in the server files.

Event Timeline

Beavis created this task.Sep 27 2021, 6:49 PM

I have found that if you correct the typo in mapgroupproto, vehicle parts start spawning inside the vehicles instead of properly attached to them. I think it's best to leave the typo in or remove the line entirely.

Beavis added a comment.EditedSep 28 2021, 8:26 AM

Yeah, that happened to me too but only with modded car parts, so it stopped happening after I gave them a separate category in order to force them to garages and workshops. Might be that the "typo" is half intentional to dodge the issue until a thorough cleanup of old loot points (from before the wrecks were added) can be done.

Geez closed this task as Resolved.Sep 29 2021, 10:19 AM
Geez claimed this task.
Geez added a subscriber: Geez.

Hello Beavis.
This is intentional for now.
Regards,
Geez