-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm an idiot in need to consult a Geriatrician. #29
Comments
ResourceInfo.displayName
ResourceInfo.displayName
ResourceInfo.displayName
ResourceInfo.displayName
ResourceInfo.displayName
Localizer.Format
(!!!)
Now I was caught with my pants down!!!!!! The following code:
when running on a en-us localized KSP (from 1.4.3 to 1.12.3), give me on
What's completely right! But yet, I have on GUI: And yet, when running on a It's, apparently, a problem on I'm pretty at lost on this one…. |
Changing the issue Tittle to reflect the findings. |
Localizer.Format
(!!!)
Found the problem. This is one of the most embarrassing misdiagnosing of my career… #facePalm Everything is working fine on KSP. The it's working on (sigh). Fixing the mess. |
"fixed" on commit d924ef1 . Now I will kick 1.9.0.8 trough the door, get some fries and bacon and a bottle of cheap wine on the nearest shop and stay away from computers until the Sun shines, curing the hangover and smoothing the face. |
I've done that innumerable times, seriously - I have a massive issue remembering what is zero based, and what is one based in all things programming! |
I took today off to avoid that same fate - smelling the 🔥 a little 🔥 will update and push the revised docs tomorrow after the 🌞 shines! only two questions remain:
and most |
What about "O Retorno de Goo" :)
I will do it Saturday (well, today) by noon, and SpaceDock/CKAN Saturday night - assuming no one (including me) finds something in the mean time. Stupid mistakes are social beings, it's not unusual that you find more once the first shows up - so it's better to spend a bit of time playing it tomorrow morning looking for something weird. Just in case…. |
Somehow (and I really failed to understand how the devs managed to accomplish this one), KSP is failing to load the[edit : mystery solved]displayName
attribute from the Localization file for theResourceInfo
data structure of a Resource.Weird enough, the damned thing worked fine on
pt-br
Localization.So, the following code:
Will produce this result on a
en-us
installment:But will produce this one on a localized one (only
pt-br
tested to this moment):This misnbehaviour is happening since KSP 1.4.3, so it's a pretty old bug.[edit: KSP is fine, I was wrong.]On the bright side, it's virtually impossible that nobody else got hit by this before, so I'm looking for the solution on google and github. [edit: so it is that I found the problem when I decided to look on the right place!!]
The text was updated successfully, but these errors were encountered: