View Issue Details

IDProjectCategoryView StatusLast Update
0003485Spring engineGeneralpublic2013-03-15 12:47
ReporterjK Assigned ToKloot  
PrioritynormalSeveritymajorReproducibilityhave not tried
Status closedResolutionno change required 
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

Relationships

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

Activities

Kloot

2013-02-21 18:25

developer   ~0009876

Last edited: 2013-02-21 18:25

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.

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
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