shallowthought
Exemplar
[ Patreon & Star Traders 2 Supporter ]
Posts: 382
|
Post by shallowthought on Jul 1, 2012 12:58:53 GMT -5
Various awards require you to get to a certain level. Currently I have just reached level 50 but the award is not granted. Statistics are 37/37/40/34, attributes are 1/40/2/37/40/34/37, and my level is shown as 50, but the Golden Age award is not granted. I have seen this occur for the other awards requiring you to get to a certain level, mostly hardcore captain, hardcore ultra and hardcore elite. I assume the level is calculated as a floating point value, but the rounding used to show the level in the status screen and for awards is a different function (math.floor for status, math.round for awards possibly, I don't have any real experience with java so might be something different).
|
|
shallowthought
Exemplar
[ Patreon & Star Traders 2 Supporter ]
Posts: 382
|
Post by shallowthought on Jul 1, 2012 13:17:49 GMT -5
Just added 1 to wisdom and got the award. If level is calculated with this formula (from the advanced manual addendum I think): Character Level = [(Quickness + Wisdom + Charisma + Negotiate + 2x Stealth + Intimidate + Pilot + Explorer + Warrior + Tactics - 50) / 6) + 1] Then at level 50.1666667 the award is not granted, but at level 50.3333333 it is.
|
|
|
Post by Cory Trese on Jul 1, 2012 13:26:52 GMT -5
Awards, Status, Game Level, Game Scale ... they all share the same static java function.
That function uses the generic Java Int cast, so if this is how it works, this is how it works throughout the ST game engine for all curves and stats.
I don't dare change it based on recent issues.
** Works as Designed **
|
|
shallowthought
Exemplar
[ Patreon & Star Traders 2 Supporter ]
Posts: 382
|
Post by shallowthought on Jul 1, 2012 13:55:47 GMT -5
Awards, Status, Game Level, Game Scale ... they all share the same static java function. That function uses the generic Java Int cast, so if this is how it works, this is how it works throughout the ST game engine for all curves and stats. Sometimes, computers are just f*ckin weird.
|
|
|
Post by Cory Trese on Jul 1, 2012 16:30:14 GMT -5
Awards, Status, Game Level, Game Scale ... they all share the same static java function. That function uses the generic Java Int cast, so if this is how it works, this is how it works throughout the ST game engine for all curves and stats. Sometimes, computers are just f*ckin weird. Especially Android and Java. I sure as hell wouldn't build any medical or military devices on the platform
|
|