CarlZalph Posted October 18, 2021 Share Posted October 18, 2021 Some time within the past week or two (maybe a month? Hard to remember last time I used it.) Klei has made changes to: https://s3.amazonaws.com/dstbuilds/builds.json The versions in the json object are no longer string typed but integer typed. Old: {"anewreignbeta":["188845","189341","189462", New: {"anewreignbeta":[188845,189341,189462, This may affect some of your scripts and should be updated. 2 Link to comment Share on other sites More sharing options...
penguin0616 Posted October 18, 2021 Share Posted October 18, 2021 I know the change was at least after 9/28, since it was still strings when I used it then. Thanks for the heads up! 1 1 Link to comment Share on other sites More sharing options...
CarlZalph Posted November 2, 2021 Author Share Posted November 2, 2021 They're back to strings again, and really expanded out in the json output. 2 Link to comment Share on other sites More sharing options...
Flit Posted November 4, 2021 Share Posted November 4, 2021 Thanks for pointing this out. I'm using GLOBAL.tonumber() now where I compare versions in builds.json to GLOBAL.APP_VERSION to force variables to be treated as numbers. That way is should work fine for strings and numbers in the future even if the format of build.json changes again. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now