-
Originally Posted by
darktimka
Nop. i added:
Code:
"flaskNameToBuffConversion": {
"Quicksilver Flask": "flask_utility_sprint",
"Ртутный Флакон": "flask_utility_sprint",
No effect.
Well, I'm not sure why that wouldn't work. When you launch PoEHUD, that file is parsed into a dictionary of {FlaskBaseName}: {FlaskBuff}. It then looks up the base name (shown in the error message) inside of that dictionary. If not found (meaning it isn't contained within the FlaskBuffDetails.json file), then it prints the error log shown.
My best guess is to keep trying because you probably did something wrong on your side. Make sure you are editing the right file (not a separate PoEHUD installation) and that the name is identical to that in the error message.
-
Member
I`m sure in program problem. Coz i have STASHIE and it can't see ru names of stash tabs. just displays "???" - so it cant parse RU lang. for that issue i renamed stash tabs for ang names and all work perfectly. i think here is the same problem.
rechecked twice all parameters and names in flaskNameToBuffConversion still the same problem.
What code page using .json? windows1251? unicode?
Last edited by darktimka; 03-26-2018 at 09:59 AM.
-
Originally Posted by
darktimka
I`m sure in program problem. Coz i have STASHIE and it can't see ru names of stash tabs. just displays "???" - so it cant parse RU lang. for that issue i renamed stash tabs for ang names and all work perfectly. i think here is the same problem.
rechecked twice all parameters and names in flaskNameToBuffConversion still the same problem.
What code page using .json? windows1251? unicode?
This is the exact line of code that deserializes the object. TSettingType is a class that simply contains two Dictionary<string, string>. JsonConvert is part of the Newtonsoft library.
Code:
JsonConvert.DeserializeObject<TSettingType>(File.ReadAllText(fileName));
EDIT: If you want, you can try forking BasicFlaskRoutine and setting the culture of the deserialization to your appropriate language. I'm busy at work and have other projects I'm working on right now.
Last edited by Sychotix; 03-26-2018 at 10:25 AM.
-
Member
-
Originally Posted by
darktimka
Emm

dunno what the fcuk, but. If i save file with rus flasks names in UTF-8 - its work, BUT still send an error message

now i need to get how to kill error msg

DD
https://s.put.re/R9Uf2tQ.png
wtf? :P
Do the same thing, but for flaskinfo.json
-
Member
Eeei! its work! Thank you!
And no thanks to newtonsoft developers
-
Member
Translate - done. I send it to your email. Thanks again :P
-
Post Thanks / Like - 1 Thanks
Sychotix (1 members gave Thanks to darktimka for this useful post)
-
Originally Posted by
darktimka
Translate - done. I send it to your email. Thanks again :P
Pushed to repository. Thanks.
-
Member
twice i was frozen by a strongbox and twice the autopot did not work, but the other auto flask on ailments work though
-
Originally Posted by
bookx
twice i was frozen by a strongbox and twice the autopot did not work, but the other auto flask on ailments work though
1) Are you sure you have a flask that cleanses frozen?
2) Are you sure you have the frozen flask enabled, cure ailments enabled, and the frozen cure ailment enabled?
3) Are you sure the flask was usable at the time? (had enough non-reserved charges for example)
4) Are you sure you are fully up to date? This was an issue a LONG time ago if the ailment cleanse was on an instant flask... but has since been fixed.
-
Member
yes, im filled with health flask that remove ailments
yes, all are ticked
yes, all reserve uses are 0
i use plugins updater
-
Originally Posted by
bookx
yes, im filled with health flask that remove ailments
yes, all are ticked
yes, all reserve uses are 0
i use plugins updater
I've seen people have issues with the plugins updater and my plugins. If you enable debug, does it say "BasicFlaskRoutine: Tick" or "Tick" in the top right?
-
Member
The message you have entered is too short. Please lengthen your message to at least 10 characters
yup
-
Member
"BasicFlaskRoutine: Tick"
-
Originally Posted by
bookx
The message you have entered is too short. Please lengthen your message to at least 10 characters
yup
I was asking WHICH one does it say. Not if it says one of the two.
EDIT: I see your other post now. Based on that, it sounds like you are updated properly. What flask is it on? I've had no problems with ailment cleansing and nobody else is reporting that issue.
Last edited by Sychotix; 03-28-2018 at 12:02 PM.