Double_D Posted November 20, 2016 Share Posted November 20, 2016 Thanks..Grimes..:thumbup: Speed hasn't been active for a while. I can't edit his posts. Just follow the links regarding mist in my signature and my first post in the thread. [TABLE][/url][sIGPIC]http://forums.eagle.ru/signaturepics/sigpic89949_15.gif[/sIGPIC][/Table] Recruiting for Aerobatic Team/Fighter Group... My Youtube channel Link to comment Share on other sites More sharing options...
Sierra99 Posted November 20, 2016 Share Posted November 20, 2016 Invisibull made the same comment that GCICAP has stopped working on NTTR. I haven't got time to follow up on it at the moment due to work stuff but the obvious change is the additional air bases. A lot of stuff hangs on the script getting the details of airbases into a table so possibly something is going wrong there. Perhaps the returned values from coalition.getAirbases are different somehow and the script can't deal with it??? That's just a guess anyway. Invisibull was PMing lukrop so perhaps he'll look at it. Thanks Stonehouse. I kinda figured it was something along those lines because it was working before the update and it seems quite a bit was changed under the hood. I'll watch that thread for an update. Sierra [sIGPIC][/sIGPIC] Primary Computer ASUS Z390-P, i7-9700K CPU @ 5.0Ghz, 32GB Patriot Viper Steel DDR4 @ 3200Mhz, ZOTAC GeForce 1070 Ti AMP Extreme, Samsung 970 EVO M.2 NVMe drives (1Tb & 500 Gb), Windows 10 Professional, Thrustmaster Warthog HOTAS, Thrustmaster Warthog Stick, Thrustmaster Cougar Throttle, Cougar MFDs x3, Saitek Combat Rudder Pedals and TrackIR 5. -={TAC}=-DCS Server Gigabyte GA-Z68XP-UD3, i7-3770K CPU @ 3.90GHz, 32GB G.SKILL Ripjaws DDR3 @ 1600Mhz, ZOTAC GeForce® GTX 970. Link to comment Share on other sites More sharing options...
ESAc_matador Posted December 15, 2016 Share Posted December 15, 2016 (edited) Hello. I am trying to use the Unit.getRadar, so i can use the second value. It means the tracked unit, but I cant. ref: http://wiki.hoggit.us/view/DCS_func_getRadar I am doing this, and only get Nil values for target. function check() local _unit = Unit.getByName('radar') local working, target = _unit:getRadar() if working == true then trigger.action.outText("detecting ".. tostring(target),20) else trigger.action.outText("No detection",20) end timer.scheduleFunction(check, {}, timer.getTime() + 4) end check() Edited December 15, 2016 by ESAc_matador Link to comment Share on other sites More sharing options...
ESAc_matador Posted December 15, 2016 Share Posted December 15, 2016 Solved.... function check() local UnitObject = Unit.getByName('radar') local status, target = UnitObject:getRadar() if status == true then if target ~= nil then local targetname = target:getName() trigger.action.outText("detecting "..targetname,20) end else trigger.action.outText("No detection",20) end timer.scheduleFunction(check, {}, timer.getTime() + 4) end check() Link to comment Share on other sites More sharing options...
emiliospam Posted December 17, 2016 Share Posted December 17, 2016 Hello, There is something broken with the latest patch. Unit.getGroup(event.initiator):getName() is broken with new patch: 1.5.5.60338 Link to comment Share on other sites More sharing options...
emiliospam Posted December 17, 2016 Share Posted December 17, 2016 latest patch and F10 Menu Hello, Thanks for the aswome tools by the way! Really enjoy them! Here a screenshot i took. Kind regards, Emiel Link to comment Share on other sites More sharing options...
sunski34 Posted December 17, 2016 Share Posted December 17, 2016 Bug with F10 menu using Mist or missionCommands.addCommandForGroup doesn't work in last version 1.5.5 Link to comment Share on other sites More sharing options...
S D Posted December 17, 2016 Share Posted December 17, 2016 missionCommands.addCommandForGroup I assume the above applies to spawned groups? Hence the current error? I really wanted to get on my GCICAP template tonight with the Spit... :( Hope we get a hotfix. Link to comment Share on other sites More sharing options...
Amarok_73 Posted December 18, 2016 Share Posted December 18, 2016 Unit.getGroup(event.initiator):getName() is broken with new patch: 1.5.5.60338 +1 Natural Born Kamikaze ------------------------- AMD Ryzen 5 3600, AMD Fatal1ty B450 Gaming K4, AMD Radeon RX 5700 XT, 32 GB RAM Corsair Vengeance LPX, PSU Modecom Volcano 750W, Logitech G940 HOTAS, Turtle Beach VelocityOne Rudder. Link to comment Share on other sites More sharing options...
Wizard1393 Posted December 18, 2016 Share Posted December 18, 2016 Hello, There is something broken with the latest patch. Unit.getGroup(event.initiator):getName() is broken with new patch: 1.5.5.60338 +1 GPU: PALIT NVIDIA RTX 3080 10GB | CPU: Intel Core i7-9700K @ 4,9GHz | RAM: 64GB DDR4 3000MHz VR: HP Reverb G2 | HOTAS: TM Warthog Throttle and Stick OS: Windows 10 22H2 Link to comment Share on other sites More sharing options...
FlightControl Posted December 18, 2016 Share Posted December 18, 2016 missionCommands.addCommandForGroup I assume the above applies to spawned groups? Hence the current error? I really wanted to get on my GCICAP template tonight with the Spit... :( Hope we get a hotfix. Suggest you use the guidelines in this post to revert to an earlier version of DCS until this bug is resolved. https://forums.eagle.ru/showthread.php?t=114030 I mean, spitfire is nice, but if you aren't using the new module, or are not really awaiting any added fixes, then this revert process can help. There is always a choice. DCS_updater.exe update 1.5.5.59992@release FC [TABLE][sIGPIC][/sIGPIC]| Join MOOSE community on: DISCORD :thumbup: Website of the MOOSE LUA Framework. MOOSE framework Downloads. Check out Example Missions to try out and learn. MOOSE YouTube Channel for live demonstrations and tutorials. [/TABLE] Link to comment Share on other sites More sharing options...
Stonehouse Posted December 18, 2016 Share Posted December 18, 2016 Also seeing reports of getGroup problems https://forums.eagle.ru/showpost.php?p=2989286&postcount=892 Link to comment Share on other sites More sharing options...
emiliospam Posted December 19, 2016 Share Posted December 19, 2016 (edited) Revert back to 1.5.5.60314 for the spit and mist just realized this was a noob post sorry! Edited December 21, 2016 by emiliospam Link to comment Share on other sites More sharing options...
Sierra99 Posted December 20, 2016 Share Posted December 20, 2016 So I have a quick question for the people who work under the hood of MIST. Are problems like these normally changed by ED on purpose? On accident? Or new code for new module? AND... Is it up to you to change MIST to work with new code? Or do you identify the issue to ED and wait for them to correct the errant code? NOT throwing rocks at anyone or complaining, just curious how this all works. Sierra [sIGPIC][/sIGPIC] Primary Computer ASUS Z390-P, i7-9700K CPU @ 5.0Ghz, 32GB Patriot Viper Steel DDR4 @ 3200Mhz, ZOTAC GeForce 1070 Ti AMP Extreme, Samsung 970 EVO M.2 NVMe drives (1Tb & 500 Gb), Windows 10 Professional, Thrustmaster Warthog HOTAS, Thrustmaster Warthog Stick, Thrustmaster Cougar Throttle, Cougar MFDs x3, Saitek Combat Rudder Pedals and TrackIR 5. -={TAC}=-DCS Server Gigabyte GA-Z68XP-UD3, i7-3770K CPU @ 3.90GHz, 32GB G.SKILL Ripjaws DDR3 @ 1600Mhz, ZOTAC GeForce® GTX 970. Link to comment Share on other sites More sharing options...
Grimes Posted December 21, 2016 Share Posted December 21, 2016 Usually its a bug of some kind. It is especially odd if it worked on the initial patch but then something in the hotfix broke it. If anything it reinforces the idea of "99 bugs in the code, take one down, patch it around, 127 bugs in the code". Stuff breaks without rhyme or reason. As far as who needs to fix it, the answer is essentially both. The reason this error is occurring is because of a bug in DCS, so that is up to ED to fix. I can mitigate the error within mist, but any functionality associated with that bug will continue to be lost. The right man in the wrong place makes all the difference in the world. Current Projects: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum Link to comment Share on other sites More sharing options...
ESAc_matador Posted December 21, 2016 Share Posted December 21, 2016 Which function is broken? Link to comment Share on other sites More sharing options...
Grimes Posted December 21, 2016 Share Posted December 21, 2016 Dynamically spawned aircraft groups aren't currently accessible to the scripting engine. Suffice to say I've reported the bug and set its severity to block. The right man in the wrong place makes all the difference in the world. Current Projects: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum Link to comment Share on other sites More sharing options...
arkasha_s_mishkoi Posted December 25, 2016 Share Posted December 25, 2016 Can we detect smoke marker rockets in triggers? I know how to access rocket type with weapon.flag, i can access vec3 position of rocket, but how i can detect ground hit? We have trigger condition "missile in zone" but it condition can't detect smoke marker rocket. I just need trigger zone that detect smoke. Link to comment Share on other sites More sharing options...
Sierra99 Posted December 25, 2016 Share Posted December 25, 2016 Can we detect smoke marker rockets in triggers? I know how to access rocket type with weapon.flag, i can access vec3 position of rocket, but how i can detect ground hit? We have trigger condition "missile in zone" but it condition can't detect smoke marker rocket. I just need trigger zone that detect smoke. https://forums.eagle.ru/showpost.php?p=2633131&postcount=1 Works with rickets...:thumbup: Sierra ROckets too... [sIGPIC][/sIGPIC] Primary Computer ASUS Z390-P, i7-9700K CPU @ 5.0Ghz, 32GB Patriot Viper Steel DDR4 @ 3200Mhz, ZOTAC GeForce 1070 Ti AMP Extreme, Samsung 970 EVO M.2 NVMe drives (1Tb & 500 Gb), Windows 10 Professional, Thrustmaster Warthog HOTAS, Thrustmaster Warthog Stick, Thrustmaster Cougar Throttle, Cougar MFDs x3, Saitek Combat Rudder Pedals and TrackIR 5. -={TAC}=-DCS Server Gigabyte GA-Z68XP-UD3, i7-3770K CPU @ 3.90GHz, 32GB G.SKILL Ripjaws DDR3 @ 1600Mhz, ZOTAC GeForce® GTX 970. Link to comment Share on other sites More sharing options...
arkasha_s_mishkoi Posted December 25, 2016 Share Posted December 25, 2016 Thank you! Link to comment Share on other sites More sharing options...
Rivvern Posted January 1, 2017 Share Posted January 1, 2017 I want to be able to spawn in random enemy fighter aircraft with the task to search and engage in zone. Been using the command below with great success. Ive created one flight per spawn location/altitudeHighorLow/Aircraft type/groupsize1or2. mist.cloneGroup ('1xMiG-21', true) When adding more planes i see this is not a good solution as i need to create sooo many planes and triggers. I was thinking i could use mist.cloneinzone to make it a bit better. That way i could only create one aircraft and randomly spawn in different zones. With cloneGroup you set it to use the current task with true. But with cloneInZone i cannot set the true command and the flight will just RTB as soon as they spawn in. mist.cloneInZone('1xMiG-21', true {'zone1', 'zone2', 'zone3', 'zone4', 'zone5', 'zone7', 'zone8'}) Questions 1. What would be a better way to spawn in random type of aircraft at random location. Random flight size? Ready to learn. :) 2. How can i use the CloneInZone so the group keeps its current task? [sIGPIC][/sIGPIC] We are looking for Swedish members! http://www.masterarms.se Link to comment Share on other sites More sharing options...
ENO Posted January 9, 2017 Share Posted January 9, 2017 Dynamically spawned aircraft groups aren't currently accessible to the scripting engine. Suffice to say I've reported the bug and set its severity to block. A true grinder. Thanks Grimes. This might explain why my server is crashing with the random air traffic script... "ENO" Type in anger and you will make the greatest post you will ever regret. "Sweetest's" Military Aviation Art Link to comment Share on other sites More sharing options...
ENO Posted January 16, 2017 Share Posted January 16, 2017 (edited) Anything abstract / not working about the "group patrol route" function? Does it need to be entered as an overall trigger or as a last waypoint advanced entry? Edit: Okay well now that I'm at the computer- I've tried both and both crash out. This is what I've put both in the advanced waypoint trigger as well as in the basic trigger for the group. do local vars = {} vars.gpData = 'm', vars.offRoadForm = 'diamond' vars.pType = 'doubleBack' mist.ground.patrolRoute(vars) end In the advanced trigger even though I save it there in the last waypoint it just gets deleted... I tried saving it again- deleted. Okay- maybe just not the right spot. This is copy and pasted from the hoggit "groundpatrolroute" entry with my slight adjustment for group name. It's not a dynamic group obviously... so not sure what I'm doing wrong? Edited January 17, 2017 by ENO "ENO" Type in anger and you will make the greatest post you will ever regret. "Sweetest's" Military Aviation Art Link to comment Share on other sites More sharing options...
ESAc_matador Posted January 18, 2017 Share Posted January 18, 2017 I am doing a script where I first do some teleports and spawns and then I use mist.makeUnitTable({'[red]'}). It does not work... and may be it is because since I created new units through the teleport... How to get the list of the current units?? Link to comment Share on other sites More sharing options...
ENO Posted January 18, 2017 Share Posted January 18, 2017 Curious about your situation- if you're teleporting units it should just move the same unit. I'm having some issues with some "cloned" groups- which are different (I think) since they are actually generated dynamically and are out of reach from the mission scripting engine. "ENO" Type in anger and you will make the greatest post you will ever regret. "Sweetest's" Military Aviation Art Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now