2025-06-15 08:26 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0003485Spring engineGeneralpublic2013-03-15 12:47
ReporterjK 
Assigned ToKloot 
PrioritynormalSeveritymajorReproducibilityhave not tried
StatusclosedResolutionno change required 
Product Version 
Target VersionFixed in Version 
Summary0003485: UnitIDs must be >=1 but are >=0 atm
Descriptionunit id's [1, n]
feature id's are [0, n) (could be made [1,n] too but there is no specific reason for that)

So the negative part of a signed int can be used for features while positive part for units.
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
related to 0003483resolvedabma Get null as unit in JavaOO-AIWrapper.jar for team 1 
+Relationships

-Notes

~0009876

Kloot (developer)

Last edited: 2013-02-21 18:25

View 2 revisions

Can you give at least one good specific example of current code (engine and/or gadget/widget) that relies on unit IDs being in [1, n] rather than [0, n-1]...?

Furthermore negative ID's are already reserved to identify build commands.

+Notes

-Issue History
Date Modified Username Field Change
2013-02-21 17:25 jK New Issue
2013-02-21 17:25 jK Status new => assigned
2013-02-21 17:25 jK Assigned To => Kloot
2013-02-21 18:25 Kloot Note Added: 0009876
2013-02-21 18:25 Kloot Note Edited: 0009876 View Revisions
2013-02-21 18:25 Kloot Status assigned => feedback
2013-02-22 01:32 abma Relationship added related to 0003483
2013-03-15 12:47 Kloot Status feedback => closed
2013-03-15 12:47 Kloot Resolution open => no change required
+Issue History