-
Posts
524 -
Joined
-
Last visited
About AKA_Clutter
- Birthday 08/28/1954
Personal Information
-
Flight Simulators
IL-2 1946
DCS World - Most titles
LOMAC/Flaming Cliffs
X-Plane 11
Fly Inside
Falcon $ Allied Force
Falcon 4 Free Falcon 5
Eve
Elite Dangerous -
Location
WA
-
Interests
Sims and Period Ship Modeling
-
Occupation
Engineer
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
Apache AH-64 Collective Grip - First Thoughts
AKA_Clutter replied to Lumbergh's topic in VIRPIL Controls
Here is what someone said on Casmo's Discord channel. Because it doesn't do anything in the real helicopter. It's why the cursor auto jumps to the boresight potion on the MFD. So it's not that ED didn't implement it, they just implemented in accordance with sme feedback and how it works in the software version presented. -
Apache AH-64 Collective Grip - First Thoughts
AKA_Clutter replied to Lumbergh's topic in VIRPIL Controls
Thanks. Sorry I missed the first post. -
WarBRD-D Base - do you really need to remove screws for TM stick?
AKA_Clutter replied to dmatt76's topic in VIRPIL Controls
I followed the instructions and removed the screws. IIRC I looked at it and thought there might be some interference, and it was easy enough to do. -
Apache AH-64 Collective Grip - First Thoughts
AKA_Clutter replied to Lumbergh's topic in VIRPIL Controls
Interested in how you did this. Do you have layouts you care to share. -
!!! Microsoft kills WMR with Windows 11 version 24H2 and newer !!!
AKA_Clutter replied to Ulukai's topic in Virtual Reality
"Hi, I'm Uncle Bill and I'm here to help!" IMHO, not the first, not last time, MS has #$% us all.- 41 replies
-
- 2
-
- windows mixed reality
- 24h2
-
(and 2 more)
Tagged with:
-
Running DCS occasionaly "forcing no VR" is it possible?
AKA_Clutter replied to Muas's topic in Virtual Reality
I use SkateZillas utility for this and it works great -
At the 1:17 mark in Virpil's release video, it looks like to me they have the "Counterbalance" upgrade kit installed. Curious if it is "required" to get the grip/base to function properly. ALso it will be interesting to see how this spring counterbalance works. I currently use the counterweight setup.
-
AKA_Clutter started following Copying the Liberation state.json file.
-
We run our mission on a server that swaps to a specific instance for liberation missions, and then swaps back to a different server instance for general/public DCS missions. The issue is that some times, before I have a chance to copy the Liberation state.josn file to a different folder, or rename it, the server starts with the same mission ( even though there are other missions listed) and overwrites the state.json file. What I would like to do is copy the state.josn file to a different file about 45 to 60 seconds before the mission ends. I know the basics of Lua, but not sure how to use lua to copy a file. I can write to a file, just dln't know how to issue a command to copy a file. Can anyone point me the a direction to do this. Thanks
-
AKA_Clutter started following Help with writing to a file. and Question on world.removeJunk function
-
Any news from Virpil?
-
Question on world.removeJunk function
AKA_Clutter replied to AKA_Clutter's topic in Scripting Tips, Tricks & Issues
Thanks Grimes. The main place I am looking to use it is in Liberation Campaign generated missions. It looks as though dead units are kept around from mission to mission. I have no clue if that would degrade server4 performance. -
Hi all, I have a few questions on the world.removeJunk function. I have added it to a test mission and it seems to work, or at least it doesn't throw any errors. 1. I read a few reports that this function was causing crashes, both ser4vers and clients. Has this been fixed and is it now working? 2. Assuming it's working, what would be the use case? Does removing the dead persistent units improve or is it primarily for ascetics. 3. are there limitations on the size of the sphere to use? Would it be better to use a lot of small ones, or one very large ones. Thanks, Cluitter
-
IMHPO - One must bide your time. It will happen, or it won't. It will always be "not soon enough" , but once released, that will become history.
-
Help with writing to a file.
AKA_Clutter replied to AKA_Clutter's topic in Scripting Tips, Tricks & Issues
Thanks for the response Kanelbolle. The reason I am checking to see if I get an error when trying to open the file is to try and avoid a runtime error that stops the script. I also posted this question on the Stack Overflow board. The response I got there, was that I was opening the file TWICE is rapid succession., which may caused a Time of check to Time of Use error (Time-of-check_to_time-of-use). As being new to programming and lua, I would never have figured this out. The responder also suggested a better way to do what I wanted to do. The key seems to be to open the file and assign that to a handle (Variable) and also capture the error, if the file can't be opened. I think the key is the follwoing line. local Test_File_Handle, err = io.open(FILENAME, "w") Anyway, my revised code is shown below and seems to work. I haven't tested to see what happens if I can't write the file to start with. local function Write_Mission_Stats () trigger.action.outTextForCoalition(2,MSG_Header .. "TEST - Simple test to write to file TEST" .. MSG_Footer, 15) ---[[ ALternate Method local Test_File_Handle, err = io.open("C:\\Users\\Nathan\\Saved Games\\DCS.openbeta\\AKA_Test_File.txt", "w") -- For Clutter's Comuter -- local Generate_A2A_Summary_Stats_OutString = Summary_Stats_Report_Tbl (Index_TBL) if not Test_File_Handle then -- failed to open file, let's display the error -- print(err) -- or error(err), or whatever debugging function trigger.action.outTextForCoalition(2,MSG_Header .. "FIle was not opened\n" .. MSG_Footer, 15) trigger.action.outTextForCoalition(2,MSG_Header .. err .. MSG_Footer, 15) else local Generate_Mission_Config_Report_Tbl_Outstring = Mission_Config_Report_Tbl () trigger.action.outTextForCoalition(2,MSG_Header .. "TEST PRINT BEFORE WRITE CALL" .. MSG_Footer, 15) -- Output summary talbe of A2A groups trigger.action.outTextForCoalition(2,MSG_Header .. Generate_A2A_Summary_Stats_OutString .. MSG_Footer, 15) -- Output summary talbe of A2A groups -- opened the file, write some data Test_File_Handle:write("===============================\n") Test_File_Handle:write(" Mission Stats for AKA Campaign\n") -- Close the file Test_File_Handle:close() end return end -- Next line is to call the function to write mission states to a file. timer.scheduleFunction(Write_Mission_Stats, {}, timer.getTime() + 15*Sec_per_min) -
Hi all, I am trying to write information to a file and I am having an issue. I have commented out the sanitize lines in MissionScripting.lua and I am able to write to a file. However, I want to add a check to make sure that DCS sanitation has been disabled. I do this with an if statement, but this ends up generating an error. Here is the sbnipet of code that I am having issues with. local function Write_Mission_Stats () trigger.action.outTextForCoalition(2,MSG_Header .. "TEST - Simple test to write to file TEST" .. MSG_Footer, 15) -- Test_File_Handle = io.open("C:\\Users\\Nathan\\Saved Games\\DCS.openbeta\\AKA_Test_File.txt","w") if io.open("C:\\Users\\Nathan\\Saved Games\\DCS.openbeta\\AKA_Test_File.txt","w") ~= nil then local Generate_Mission_Config_Report_Tbl_Outstring = Mission_Config_Report_Tbl () Test_File_Handle = io.open("C:\\Users\\Nathan\\Saved Games\\DCS.openbeta\\AKA_Test_File.txt","w") Test_File_Handle:write("===========================\n") Test_File_Handle:write("Mission Stats for AKA Campaign\n") Test_File_Handle:write("===============================\n") Test_File_Handle:write(Generate_Mission_Config_Report_Tbl_Outstring) else trigger.action.outTextForCoalition(2, "\n*************************************\n\nNot able to open wirte file. \n\n**********************", 15) end end -- Next line is to call the function to write mission states to a file. timer.scheduleFunction(Write_Mission_Stats, {}, timer.getTime() + 15*Sec_per_min) The error message is that the line with " Test_File_Handle:write("===========================\n")" attempt to index global Test_Handle(a nil) value). I check after the error and a file named "AKA_Test_File.txt" has been created,but is empty. If I remove the if statement, the code works fine and a file is written. I tried adding "Test_File_Handle = io.open("C:\\Users\\Nathan\\Saved Games\\DCS.openbeta\\AKA_Test_File.txt","w")" as the text condition to the if statement, but it didn't like that at all. Can any tell me why this is happening, or a better way to check and see if I can write a file and not generate an error that stops the script. Thanks,