Jump to content

Option "Unlimited Weapons" is re-activated again


Go to solution Solved by LeCuvier,

Recommended Posts

Posted

Since the last update, this option has repeatedly been re-activated. I'm obliged now to check after every launch of the game to verify that it has not come back again. The software should not change these options unless the user has entered the change.

LeCuvier

Windows 10 Pro 64Bit | i7-4790 CPU |16 GB RAM|SSD System Disk|SSD Gaming Disk| MSI GTX-1080 Gaming 8 GB| Acer XB270HU | TM Warthog HOTAS | VKB Gladiator Pro | MongoosT-50 | MFG Crosswind Pedals | TrackIR 5

Posted (edited)
37 minutes ago, Flappie said:

I cannot reproduce your issue, even when I use the launcher.

Are you sure the setting is not enforced by your mission file?

Thanks for checking! Unfortunately(?) it's a random bug, and I do not encounter it every day. It's just when I notice that after a prolonged dogfight my ammo counters still indicate "full", that I go to Options to check and see the issue. It's obviously a difficult one to reproduce.
P.S. I don't use Unlimited Weapons at all. So it's not a case of having forgotten to turn it off. And I have not enabled it in mission options. But I will check the mission next time I see this.

Edited by LeCuvier

LeCuvier

Windows 10 Pro 64Bit | i7-4790 CPU |16 GB RAM|SSD System Disk|SSD Gaming Disk| MSI GTX-1080 Gaming 8 GB| Acer XB270HU | TM Warthog HOTAS | VKB Gladiator Pro | MongoosT-50 | MFG Crosswind Pedals | TrackIR 5

Posted (edited)

Unlimited Weapons was activated again yesterday without me ticking that option. I noticed when I was in a mission with the Ka-50 III, and I had already fired 7 Vikhr missiles, and when I checked my missile load it was back to 12. So today I went back to Options/Gameplay, and yes, Unlimited Weapons was ticked.

So I unticked it again and closed the screen with the OK button. I then flew a Ka-50 mission (a modified version of "Clear Tkhvarcheli") and fired Vikhr's at everything hostile, and, lo and behold, I never ran out of Vikhr's. After the mission, I checked the option again, and yes, it was ticked. The "LastMissionTrack.trk" is over 25 MB so I cannot attach that. The mission does not enforce "Unlimited Weapons" so the issue is not caused by the mission. So I suspect that it's the Ka-50 III.

Edited by LeCuvier

LeCuvier

Windows 10 Pro 64Bit | i7-4790 CPU |16 GB RAM|SSD System Disk|SSD Gaming Disk| MSI GTX-1080 Gaming 8 GB| Acer XB270HU | TM Warthog HOTAS | VKB Gladiator Pro | MongoosT-50 | MFG Crosswind Pedals | TrackIR 5

Posted

It looks as if DCS tries to modify the option, but cannot due to insufficient file permissions. Please try this:

Open "C:\Users\flapp\Saved Games\DCS\Config\options.lua"

Look for 

["weapons"] = true,

and replace it with

["weapons"] = false,

Save your modification and see if you can reproduce the issue.

---

Posted

I had unticked this option yesterday from the Options screen, and my Options.lua reflects this.
So there is no problem writing to that file.

LeCuvier

Windows 10 Pro 64Bit | i7-4790 CPU |16 GB RAM|SSD System Disk|SSD Gaming Disk| MSI GTX-1080 Gaming 8 GB| Acer XB270HU | TM Warthog HOTAS | VKB Gladiator Pro | MongoosT-50 | MFG Crosswind Pedals | TrackIR 5

Posted

Then I have no idea what's happening. Maybe a custom script (from Saved Games/DCS.../Scripts) is messing with your settings while you play? (you can rename this "Scripts" folder to "Scripts_bak" before starting DCS in order to neutralize it temporarily).

---

  • Solution
Posted

I found the culprit: it was me!
I have made an external (MS Access) application that writes to "Options.lua" primarily to set the wanted screen export configuration.
Note: the current launcher is limited to 3 presets. My app does not have that limitation. And the presets have names like "F/A-18C, Big AMPCD + IFEI on RH monitor" which is better than just a number.
My app captures the current Options.lua in a database and changes some lines depending on the preset I have selected.
Unfortunately I had captured the Options.lua at a moment when "weapons" was true.
I have now added a line to all my presets to enforce "weapons" = false.
I apologize for having wasted your time on an issue where the ball was in my court.

  • Like 1
  • Thanks 2

LeCuvier

Windows 10 Pro 64Bit | i7-4790 CPU |16 GB RAM|SSD System Disk|SSD Gaming Disk| MSI GTX-1080 Gaming 8 GB| Acer XB270HU | TM Warthog HOTAS | VKB Gladiator Pro | MongoosT-50 | MFG Crosswind Pedals | TrackIR 5

Posted
7 minutes ago, LeCuvier said:

I apologize for having wasted your time on an issue where the ball was in my court.

It's perfectly OK! Especially since you return here with the solution. 😃

  • Like 3

---

  • Recently Browsing   0 members

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