Jump to content

Atari800XL

Members
  • Posts

    45
  • Joined

  • Last visited

Everything posted by Atari800XL

  1. Ahoi, today I had a strange behavior in the ME, I could solve it and I'd like so share this problem and the solution with others! What did I do? I tried to implement a sound in the ME ( "repetetive action" , "Flag equals ("BEEP",1), "sound to all"). Normally then appears a filepicker-dialogue where you can pick a .ogg oder .wav file after pressing on "open". But in my case nothing happend and I found this failure in the DCS.log: 2024-05-04 16:28:38.462 ALERT LUACOMMON (Main): Error: GUI Error: [string "./MissionEditor/modules/SoundPlayer.lua"]:73: attempt to index field 'soundInfo' (a nil value) GUI debug.traceback: stack traceback: [C]: ? [string "./MissionEditor/modules/SoundPlayer.lua"]:73: in function 'setPathSound' [string "./MissionEditor/modules/FileDialog.lua"]:891: in function 'updateSoundPlayer' [string "./MissionEditor/modules/FileDialog.lua"]:466: in function 'onSelectFile_' [string "./MissionEditor/modules/FileDialog.lua"]:758: in function 'setInitPath_' [string "./MissionEditor/modules/FileDialog.lua"]:921: in function <[string "./MissionEditor/modules/FileDialog.lua"]:904> (tail call): ? [string "./MissionEditor/modules/me_predicates.lua"]:2529: in function <[string "./MissionEditor/modules/me_predicates.lua"]:2525> (tail call): ? [string "./MissionEditor/modules/me_predicates.lua"]:1932: in function 'onChange' [string "./dxgui/bind/Button.lua"]:22: in function 'callback' [string "./dxgui/bind/Widget.lua"]:368: in function <[string "./dxgui/bind/Widget.lua"]:363> A typical LUA-Stacktrace but when I digged a bit deeper I found this entry in the DCS.log: 2024-05-04 17:35:20.821 ERROR ED_SOUND (Main): sf_open_virtual(C:\Users\Andreas\Saved Games\DCS.openbeta\Missions\DCS-TRAINING\07-Random-Stationkeeping-Trainer\beep_good.wav) failed: File contains data in an unknown format. File contains data in an unknown format? Ok, here is the problem: the pointer of the last .wav I picked showed on a not correct .wav-file, don't ask me how I made this but this file is damaged. So I deleted the beep_good.wav where the last picked-file pointer pointed at. After the deletion my file-picker dialogue was back in business and no more errors in the DCS.lua occured. This should help others with the same problem if the file-picker for sound files won't appear. best regards, stay healthy and fly safe!
  2. Great news, hope your system will stay stable!
  3. Also ich hab' das grade mal mit dem TrackClip fürs Cap, den mitgelieferten TrackClipPro mit Kabel und dem Chinateil mit Akku versucht zu reproduzieren: negativ! Das läuft alles wie immer. Hast Du Dir die Sache mal mit einem USB-Device-Debugger angeschaut? Ich habe den hier im Einsatz: USB Device Tree Viewer (uwe-sieber.de) Der meckert auch irgendwie bei mir immer an, dass TrackIR5 nur USB3.x könne, ist bei mir aber an einem 10er-Hub mit Schalter dran. null
  4. Moin! Hast Du vielleicht versehentlich die TrackIR5-Hotkeys für FREEZE und CENTER betätigt bzw. (doppelt) belegt? Das würde mir bei Deiner Schilderung als erstes einfallen. Ich habe dieses Verhalten bei meinem TrackIR5 nach den neuesten Updates nicht, läuft alles wie gewohnt. Edit: "Center" und "Pause" meine ich natürlich: null
  5. Bad news but ok, I see there two options: 1. you contact the ED-support directly and prepare all needed logs (dxdiag) or 2. you dive deep into the windows eventviewer and search the crash-event, I think in the STEAM-Version it's also a DCS.exe-crash. This event should tell you exactly what + why (it) crashed and possibly gives you a hint how to solve this. I would send this details directly to the support If you're not familiar with the event viewer please read this: https://betterstack.com/community/guides/logging/how-to-view-and-analyze-logs-with-windows-event-viewer/
  6. And don't forget to check your complete RAM. I had this some years ago: brand new 1070 GTX inserted and bluescreen after bluescreen. First candidate was the 1070 but my RAM got damaged and had to be replaced.
  7. Holy <profanity>, sounds like a driver problem or corrupt corefile from windows. A usefull tool for this is the blue-screen-viewer: https://www.heise.de/download/product/bluescreenview-69335 How to check windows systemfiles: https://support.microsoft.com/en-au/topic/use-the-system-file-checker-tool-to-repair-missing-or-corrupted-system-files-79aa86cb-ca52-166a-92a3-966e85d4094e Good luck, hope you'll be back soon in your tomcat!
  8. When I started with DCS via STEAM in 2022 my logs looked like yours: missing this, error here, unknown someting... and crashes. Then I transfered my licenses from STEAM to the standalone-version und never had that mass of issues, problems and crashes again. Did you checked your local files using the STEAM-function?
  9. "I have enough of Caucasus" - my personal cite of the day, thank you baltic dragon
  10. Bought it, full version. Point! We need maps for DCS according to the many cool existing and upcoming machines. Afghanistan in a Fulcrum? Or in an Apache? Noice!
  11. Same problem here, dice allready deactivated. Changes on CMDS_ALE47.lua have no effects in my case, have to manually set the programs for chaffs&flares.
  12. Now I know what you mean, sorry! LAlt + C works and gives you the yellow crosshair as raz0r said before.
  13. You can handle this within the game-options:
  14. Hi H60MTI, the "Frogfoot" isn't a full-fidelity so you can only use shortcuts for sensors, flaps, gear etc.
  15. Moinsen! Das hängt doch vom eigentlichen (Koalitions-)Missionssetting ab,oder?
  16. Ahoi @ex81 , die Tracks solltest Du nach dem Speichern in Gespeicherte Spiele/DCS/Tracks finden. Also C:\Users\{Dein-Benutzername}\Saved Games\DCS\Tracks
  17. Yeah, the party is warming up - Thanks ED! I don't know what to check first, think I'll examaine the F-15C
  18. And finally ... it works! My solution to get the ID of (MOOSE-)spawned carrier: local carrierSpawn = "CARRIER" .. math.random(1, 999) local BRC = math.random(1, 359) local allZones = shuffleList(inListLike('CSZ', getAllTriggerZones())) -- shuffleList(), inListLike(), getAllTriggerZones() are self coded functions local spawnZone = ZONE:New(allZones[1]) local SP = SPAWN:NewWithAlias('CARRIER', carrierSpawn):InitCountry(country.id.USA):InitHeading(BRC):SpawnInZone(spawnZone, true) -- -- code,code,code... -- local CGI = Group.getByName(carrierSpawn.."#001"):getUnits() local CGI2 = CGI[1]:getID() -- ID of the carrier The attachment shows un-randomized parking hornets.
  19. The decoration is allready delayed: if getFlag('randomDeckHornets') == 1 then timer.scheduleFunction(dekoDeck, {}, timer.getTime() + 10) end That would be great if you have something like this. I think I found the bug. This is from my little library.lua: -- (list) getAllUnitnames() -- returns a list of strings with all unitnames of the current map function getAllUnitnames() -- 0 = neutral, 1 = red, 2 = blue local ret = {} for i, gp in pairs(coalition.getGroups(0)) do table.insert(ret, Group.getName(gp)) end for i, gp in pairs(coalition.getGroups(1)) do table.insert(ret, Group.getName(gp)) end for i, gp in pairs(coalition.getGroups(2)) do table.insert(ret, Group.getName(gp)) end for i, gp in pairs(coalition.getStaticObjects(0)) do table.insert(ret, StaticObject.getName(gp)) end for i, gp in pairs(coalition.getStaticObjects(1)) do table.insert(ret, StaticObject.getName(gp)) end for i, gp in pairs(coalition.getStaticObjects(2)) do table.insert(ret, StaticObject.getName(gp)) end return ret end I allways handle with groupID's ... omg. But for now I have to move to the office
  20. Ahoi, I have a little trainingmission where a carrier spawns randomly around the marianna-island. Some other ships are randomly spawned aroud this carrier, everythings looks fine, see atachment. Now I want for randomly place some Hornets on the deck of the carrier. If the carrier is not "late activation" everything works fine, there appear some Hornets. But without "late activation" I cannot spawn the carrier using MOOSE randomly in one of my placed zones. I spawn the carrier randomly with MOOSE: local carrierSpawn = "CARRIER" .. math.random(1, 999) BRC = math.random(1, 359) local SP = SPAWN:NewWithAlias('CARRIER',carrierSpawn):InitCountry(country.id.USA):InitHeading(BRC):SpawnInZone(spawnZone, true) The code I use to spawn some Hornet on my spawned carrier (it's part of an iteration, i is index, x,y,angle are from a randomized table of available positions on the carrier): CGI = Group.getByName(carrierSpawn) CGI2 = Group.getID(CGI) local staticObj = { ["name"] = "Hornet_"..i, ["livery_id"] = "vfa-37", ["category"] = "Planes", ["offsets"] = { ["y"] = ypos, ["angle"] = angle, ["x"] = xpos }, ["type"] = "FA-18C_hornet", ["groupId"] = 1, ["unitId"] = 1, ["y"] = 0, ["x"] = 0, ["heading"] = 0, ["linkUnit"] = CGI2, ["linkOffset"] = true, ["dead"] = false } coalition.addStaticObject(country.id.USA, staticObj) BUT this only works with a static placed carrier. When I initially spawn my carrier with MOOSE the addStaticObject-function doesn't work. Has anyone a hint for me to use addStaticObject ON a MOOSE-spawned carrier? A dump of all units filtered for the carrier looks like this: 2024-02-19 17:41:25.611 INFO SCRIPTING (Main): #DBG# iterate CARRIER#001 ID:1002638 -- spawned one 2024-02-19 17:41:25.611 INFO SCRIPTING (Main): #DBG# iterate CARRIER ID:1 -- originally "late activation" one Credits, Greetings and Thanks go out to @Adalla for his great dynamic deck templates, I desperately try to use his way of spawning static units in my training-mission! thanks and best regards, Andreas
  21. Yes, you're right - I didn't watched this video up to now. But my first look was on the shopage here. Campaign bought, I'm very curious about it!
  22. Ahoi, what map is needed for this campaign, channel oder normandy 2.0? Look here: https://www.digitalcombatsimulator.com/en/shop/campaigns/p-51d_debden_eagles_campaign/ - no required map listed. best regards, Andreas
  23. 2nd try: some weeks ago I asked the support, how to list my flight-times. They said, look into logbook.lua. So I wrote a little script to list my flight-times descending and formatted. Maybe usefull for others, must be executed in your saved-games directory. -- personal logbook for flights DCS -- execute this file in do C:\Users\{{YOUR_USERNAME}}\Saved Games\DCS.openbeta\MissionEditor -- to get the exact flight times of variant models. dofile("logbook.lua") function secToHMS(sec_o) local sec = math.floor(sec_o) local h = 0 local m = 0 while sec >= 3600 do h = h + 1 sec = sec - 3600 end while sec >= 60 do m = m + 1 sec = sec - 60 end sec = math.floor(sec) local ret = str_pad_left(h, 4, "0") .. ":" .. str_pad_left(m, 2, "0") .. ":" .. str_pad_left(sec, 2, "0") return ret end function str_pad_left(s, l, char) while string.len(s) < l do s = char .. s end return s end function compare(a, b) return a[2] > b[2] end function roundNumber(i, d) local mult = 10 ^ (d or 0) return math.floor(i * mult + 0.5) / mult end branch = logbook["players"][1]["statistics"] print() print("my flight log:") print() flights = {} total = 0 for k, v in pairs(branch) do if type(v) == 'table' then time = math.floor(v["flightHours"]) total = total + time table.insert(flights, {k, time}) end end table.sort(flights, compare) for i, e in pairs(flights) do perc = roundNumber(e[2] / (total / 100), 2) print(str_pad_left(e[1], 15, " ") .. " : " .. secToHMS(e[2]) .. " ~" .. perc .. "%") end print("") d = roundNumber(total / (24 * 60 * 60), 2) print((str_pad_left("total", 15, " ") .. " : " .. secToHMS(total)) .. " (~" .. d .. " days non-stop)")
  24. Really a great video! Are there any infos when this 3rd-gen beast will be released? Or at least the manual?
  25. Happy Halloween to all Viper-drivers... Joke - TO ALL OF YOU! Stay healthy and thanks for all the usefull and cool threads and support for my stupid questions! ( I know, it's rather tomorrow!)
      • 1
      • Like
×
×
  • Create New...