Jump to content

Colmillo

Members
  • Posts

    338
  • Joined

  • Last visited

Everything posted by Colmillo

  1. Mmm, yep... looking again, I found something very curious: I think the real problem was this: if trigger.misc.getUserFlag('FirstLineOut') > 0 and MS == 1 then "Then" in the next paragraph, and the correct thing is: if trigger.misc.getUserFlag('FirstLineOut') > 0 and MS == 1 then The curious thing is that the "then" error was corrected with the "do" afterwards in the next paragraph. I think I will never finish knowing the scripts 100%
  2. you're right, I never thought the indent was the problem. Thank you so much
  3. I found out!!! I forgot to insert "do" after "then", here's how it works: MS = 1 local function message() timer.scheduleFunction(message, {}, timer.getTime() + 5) if trigger.misc.getUserFlag('FirstLineOut') > 0 and MS == 1 then do local msg = { id = 'TransmitMessage', params = { duration = 15, subtitle = "The first red line is accessible, \narmor 1 and 3 are proceeding to the first stop.", loop = false, file ="l10n/DEFAULT/KOH_firstline.ogg", } } Group.getByName('BLUE_ARMOR-2'):getController():setCommand(msg) end MS = 0 end end message() Thanks for the comments. Cheers
  4. While I'm looking for a solution, I created a trigger that when the flag is true --> do script (and there I write what generates the message) The main reason is that I use scripts in several missions, so the less I have to configure in the Mission Editor, the better.
  5. Hi!! I have this script (works perfectly): FL = 1 local function redGroupFirstLine() timer.scheduleFunction(redGroupFirstLine, {}, timer.getTime() + 5) if trigger.misc.getUserFlag('RArm2') > 0 and trigger.misc.getUserFlag('RArm3') > 0 and trigger.misc.getUserFlag('RArt1') > 0 and FL == 1 then trigger.action.outTextForGroup(187, "Blue Group is going to first stop",10) trigger.action.outText("Blue Group is going to first stop", 5) trigger.action.activateGroup(Group.getByName('RED_SA6'), 1) trigger.action.setUserFlag('FirstLineOut', true) FL = 0 end end redGroupFirstLine() But, I want to insert a 'TransmitMessage' when the flag 'FirstLineOut' is true, and I can't... This is the message script: local msg = { id = 'TransmitMessage', params = { duration = 5, subtitle = "The first red line is accessible, \narmor 1 and 3 are proceeding to the first stop.", loop = false, file ="l10n/DEFAULT/KOH_firstline.ogg", } } Group.getByName('BLUE_ARMOR-2'):getController():setCommand(msg) Thanks in advance
  6. Hi It is not a ghost point, is the waypoint number 50. This waypoint is automatic, and it takes you to the closest airport to the last point you programmed. I hope this relieves your headache Cheers
  7. I figured out how to partially fix this problem; When the servers reboot, I enter the servers via the web and in each of them I do a manual resume for about 10 seconds, and I leave them on pause again. Apparently this allows tacview to be activated correctly for clients that come in later.
  8. Hello There is a way to use the TCN together with the datalink: 1. First select *TAC on the right MDF 2. Activate the datalink (199 and Master or Slave + NES) 3. Program the TCN I know it's a bug, because it shouldn't be usable... but in the meantime...
  9. Hello On our dedicated server we have had the following problem: When the mission is new and no client has entered, the first pilot to connect is not recorded by tacview, unless he disconnects and reconnects. As additional information the server is configured with "resume with clients" and the tacview configuration is "set to Record One File Per Client" Thank you
  10. That's right, the indication is only correct if in the mission editor you leave the plane loaded with the GBU
  11. Just as additional information; If in the ME I program the aircraft without weapons, when performing the rearm and startup, the codes are bypassed, leaving the generic 1688. But, if in the ME I load the plane with the laser bombs, it does keep the programmed code. In other aircraft such as the F-16, it maintains the code programmed in the ME, regardless of whether the bombs are loaded or not.
  12. Hi On most aircraft you can program the laser code in ME With the JF too, but it doesn't fit in the plane's menu, there is always the generic 1688 Hopefully in the future this will be fixed Thank you
  13. Hello I have noticed that since the last update of simapppro 1.9.19, I have had disconnections, both of the thrust and the joystick. These disconnections have been momentary, inappropriate enough in some cases to not be able to control the aircraft in critical situations. The disconnections generally coincide when the vibration that I have programmed is activated, I cannot confirm it 100%. Doing troubleshooting, I disabled the simapppro application and I have not had any problems, I have not had any more disconnections. Unfortunately, since it is not installed, obviously the vibration simulation is lost (a pity). My controls are the Orion2 HOTAS F-16 Viper combo. I leave this information in this forum, in case someone else has experienced this problem, and has some other solution besides the one I describe. Cheers
  14. Solved with recent VaicomPro update: UPDATE 21 July 2023 Happy Friday VaicomPro users We are pleased to publish our next release that fixes some SRS PTT Integration issues on various modules and adds the ability to enable/disable individual extensions using the VaicomPro UI EX tab. This will allow users to customise their VaicomPro experience to only include the extensions they need and use. It also means by disabling AIRIO and Kneeboard in the UI, you can now join a multiplayer server that requires pure client scripts without failing the Integrity Check (IC). We hope you enjoy 2.8.5 The user configuration update.
  15. Hello Question, the server we hire uses Tacview ver. 1.8.8.200 As a Client, I use 1.9.2; that matters? or the server must be updated? thank you (BTW, we haven't had any problems this way)
  16. Thanks, but the log doesn't say much: 52: unexpected symbol near ')' It corresponds to the line that I want to add, I tried removing all the parameters and leaving only env.info( "V_TACS -- ") it sends the information to the log, but I want the information to be more detailed... I will keep trying. (I just see your edit, I will try)
  17. Hello Please I need help with this Script: function timeTostr(seconds) local secs = string.format('%02.0f', math.fmod(seconds, 60)); local minutes = string.format('%02.0f', math.fmod(seconds/60, 60)); local hours = string.format('%.0f', math.modf(seconds/3600)); return (hours .. ":" .. minutes .. ":" .. secs) ; end; KILL = EVENTHANDLER:New() KILL:HandleEvent(EVENTS.Kill) function KILL:OnEventKill(EventData) if EventData.IniPlayerName==nil then return false end local who = EventData.IniPlayerName or "A player" local sqn = EventData.IniGroupName or "A unit" local t = EventData.IniTypeName or "a plane" local tgt = EventData.TgtTypeName or "(JUST DAMAGED)" local wep = EventData.weapon_name or "a weapon" if EventData.IniGroupName then local grp = GROUP:FindByName(EventData.IniGroupName) local coa = grp:GetCoalitionName() local bullseye = grp:GetCoordinate():ToStringBULLS(grp:GetCoalition(), _SETTINGS:SetImperial()) trigger.action.outTextForGroup(3, who .. ", from " .. sqn .. " SQN. in their ".. coa .. " " .. t .. " has killed a " .. tgt .. " with a " .. wep .. " at "..bullseye .. " Time: " .. timeTostr(timer.getTime()),10); end end It works perfect, but when I want to add the env.info line, it stops working. The line that added it was located immediately after the trigger.action, and it is this: env.info( "V_TACS -- " .. who .. " has destroyed: " .. tgt .. ) I have searched for many ways and have not been able to find the way. I thank you in advance Cheers
  18. Sorry to interrupt your vacation... Yes, it is seconds before being hit by the missile that the crash occurs. The plane was loaded with 4 LS6-250 and 2 PL5 (nothing was shot) The tacview shows that the plane is destroyed by a Patriot missile, but the crash occurs when an F-16 fires an AIM-120C (BTW, the track is partially corrupted... but when it reaches the end shows the flight statistics, it corresponds to what happened in the debriefing time line) Thanks
  19. I hope you can see this information when you return from your well-deserved vacation. Last night another crash occurred in similar conditions. Attached files cheers dcs.log-20230616-022338.zipSS_TRAINING_1_ORIGINAL-20230615-220840.trk
  20. Ok, unfortunatelly I disabled all .trk files. I am going to enable it, and when occurs again I'll attach it. Thanks
  21. Hello everyone Last night this problem occurred again, which I considered solved a long time ago. Maybe something happened with the last update. As additional information, I always delete fxo and metashader with each update. Attached files Cheers CRASH_AFTER_AIM120C.zip.acmidcs.log-20230519-020843.zip
×
×
  • Create New...