MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002790VCMIModspublic2017-09-12 07:452017-09-12 09:25
Reporterhkoehler 
Assigned ToAVS 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionno change required 
PlatformOSOS Version
Product Version0.99 
Target VersionFixed in Version1.next 
Summary0002790: String identifiers for objects are initialized too late
DescriptionCurrently when mod data is loaded, object identifiers like "spell.fireball" become available as part of the loading process. This means e.g. when heroes are loaded, identifiers for new spells may not be available yet, so referencing them, e.g. for hero specialty, becomes impossible (one could use integers, but that's extremely fragile).
Additional InformationSuggested fix: assign identifiers during preload of mods, so that they are all known by the time they are needed for resolving references.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0007279)
AVS (administrator)
2017-09-12 09:25

We have CIdentifierStorage::requestIdentifier with functor callbacks to solve such issues.

Early identifier assigning (at preload state) might be better solution but it is not a bug and matter of redesign.

- Issue History
Date Modified Username Field Change
2017-09-12 07:45 hkoehler New Issue
2017-09-12 09:25 AVS Note Added: 0007279
2017-09-12 09:25 AVS Status new => closed
2017-09-12 09:25 AVS Assigned To => AVS
2017-09-12 09:25 AVS Resolution open => no change required
2017-09-12 09:25 AVS Fixed in Version => 1.next

Site | Forums | Wiki | Slack | GitHub


Copyright © 2000 - 2024 MantisBT Team
Hosting provided by DigitalOcean