Jump to content

Recommended Posts

Posted

Hi,

 

After flying around for a few hours in 2.5 Beta, I went to the pilot log and reset my country to Australia - losing all my hours up to that time.

 

A few days later I checked the log, and noticed that my country had reset back to the U.S.

 

Because I'll lose all my hours again, I really don't want to reset back to Australia until I know it will stay that way.

 

Can you please advise?

i9 12900KS, ASUS ROG Maximus Z790 APEX, 64 GB DDR5 4700 mhz, ASUS RTX4090, Water cooled, C - NVME SSD, DCS on NVME, TM HOTAS Warthog Stick (with extension) & Throttle, Crosswind rudder Pedals, 2 x Thrustmaster MFDs on LCD Screens, Varjo Aero VR, Logitech game controller

Posted

Can you please advise?

 

 

Your logbook is stored on a file named logbook.lua located on /saved games/dcs.something/MissionEditor

 

 

 

You can edit this file with am editor like Notepad++ .... DONT USE Window's Notepad as its not a true text editor.

 

 

Prior to editing the file, please make a backup copy ... then take your time to study the structure of the file ... its divided on sections delimited by { and }

 

 

There is one section for each player that you have created on DCS' Logbook. Each player is further divided in subsections:

 

 

Awards: Details the medals that you've earned

Games: Contains the progress that you have on each Campaign that you have played.

Statistics: Contain the flight statistics for each aircraft that you've flown.

 

 

Not belonging to any of the above sections are your pilot's basic data, such as the name and the country you belong to.

 

 

The country is identified by a numeric code ... the code for USA is 2 ... the one for Australia is 21, BUT DONT CHANGE IT YET

 

 

The country code determines the squadrons you can belong to, the rank and the medals and they are different for each country, so it isn as easy as just editing the country code.

 

 

What you have to do is keep a backup of the whole file, then go into DCS and change your players country within the game, select squadron, picture and then exit DCS.

 

 

Now, using Notepad++ open both the current logbook.lua and the backup you made (the backup has to have a different name) ... now, copy from the backup just the two sections: Games and Statistics, overwriting the ones on the new pilot you created, this way you keep the basic data of the new pilot, but with the statistics & campaigns of the older pilot.

 

 

Be aware that the file may have data for several pilots that you may have created over time ... select the data of the proper one.

 

 

Best regards

 

For work: iMac mid-2010 of 27" - Core i7 870 - 6 GB DDR3 1333 MHz - ATI HD5670 - SSD 256 GB - HDD 2 TB - macOS High Sierra

For Gaming: 34" Monitor - Ryzen 3600 - 32 GB DDR4 2400 - nVidia RTX2080 - SSD 1.25 TB - HDD 10 TB - Win10 Pro - TM HOTAS Cougar

Mobile: iPad Pro 12.9" of 256 GB

Posted

Thanks for all the info! The problem - as I just discovered - is that because my pilot was set to vunerable, I died! That was why my pilot reset and I lost all my hours. Maybe when you die a message should come up to say your pilot log has been reset? Or even something in the log page - when you select 'Vunerable', to have a warning message come up which tells you that your stats will be lost and country reset back to US if you die?

i9 12900KS, ASUS ROG Maximus Z790 APEX, 64 GB DDR5 4700 mhz, ASUS RTX4090, Water cooled, C - NVME SSD, DCS on NVME, TM HOTAS Warthog Stick (with extension) & Throttle, Crosswind rudder Pedals, 2 x Thrustmaster MFDs on LCD Screens, Varjo Aero VR, Logitech game controller

Posted
Thanks for all the info! The problem - as I just discovered - is that because my pilot was set to vunerable, I died! That was why my pilot reset and I lost all my hours.

 

 

I doubt that the pilot was reset and the stats gone, what you did is create a new pilot when the previous died ... take a look at the logbook.lua file (backup first), most likely the stats of your old pilot are still there.

 

For work: iMac mid-2010 of 27" - Core i7 870 - 6 GB DDR3 1333 MHz - ATI HD5670 - SSD 256 GB - HDD 2 TB - macOS High Sierra

For Gaming: 34" Monitor - Ryzen 3600 - 32 GB DDR4 2400 - nVidia RTX2080 - SSD 1.25 TB - HDD 10 TB - Win10 Pro - TM HOTAS Cougar

Mobile: iPad Pro 12.9" of 256 GB

  • 4 weeks later...
Posted

I've had similar problems also flight times not added to log book. Is there any way one can get a copy of a "new" clean log book (before pilot is add) to see if I've stuffed mine up.

MSI Z370 Gaming pro carbon/ I7 8700K/ 32GB DDR4/ MSI GeForce GTX 1080 Ti Gaming X graphics card/ Windows 10/ Vive VR/ Rhino X-55 joystick & throttle/ logitec flight pedals

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...