![]() |
#9
|
|||
|
|||
![]() Quote:
the path creation method i used has some hardcoded dumb approach, like this: 1. get the application path => (which is "C:\Users\user01\Documents\1C SoftClub\il-2 sturmovik cliffs of dover\cache" in my computer) 2. crop last 5 chars => ("C:\Users\user01\Documents\1C SoftClub\il-2 sturmovik cliffs of dover\") 3. append "missions\Multi\Dogfight\StbVolcanicIslands2\" to it => ("C:\Users\user01\Documents\1C SoftClub\il-2 sturmovik cliffs of dover\missions\Multi\Dogfight\StbVolcanicIslands2\ ") 4. create all the absolute full file names from this => ("C:\Users\user01\Documents\1C SoftClub\il-2 sturmovik cliffs of dover\missions\Multi\Dogfight\StbVolcanicIslands2\ StbVolcanicIslands2_playerstats_low.htm" etc etc) maybe cache folder is named something else in russian version or you have uploaded it to "C:\Program Files (x86)\Steam\steamapps\common\il-2 sturmovik cliffs of dover\missions\Multi\Dogfight\StbVolcanicIslands2" instead, sorry i forgot to mention this, but you have a user stat in the file with name "satar" which means all this progress completed correctly and it wrote to the file successfully and you dont have to care about the explanation in the upper paragraph. ![]() Currently my system has a different default CultureInfo too (uses comma as decimal separator). I've created an invariant culture info(en-US) variable and used it in all required string conversions in all threads. So you dont have to worry about different system settings, this is very very low probability but there may be an extra change required because of the Russian game version, cant tell it without testing. just make sure you use ToString(stb_nf) or "ToString(stbSr_nf) in stat recorder class" instead of ToString() if you want to add anything in the future. StbVolcanicIslands2_errorlog.txt is not created unless there is an error, its totally fine if you dont see it. |
Thread Tools | |
Display Modes | |
|
|