davidp57 Posted March 31, 2021 Share Posted March 31, 2021 (edited) Hi, dear ED programmers ! I'm the maintainer of a scripts library used by my squad in our missions. This library, among other things, allows for spawning units dynamically using map markers. I've read this post and updated my veafSpawn.lua script to make spawning FARPs possible. That's a dream come true, because I've been trying to do this for some time, without success. I think that recent changes in DCS code did something wonderful that allows FARPs to be spawned, thank you for this ! It's perfectly functional, I've made a small video to demonstrate. Unfortunately, it does not work in multiplayer. There is no error, no trace at all, nothing ; and no FARP is spawned. I tried with an invisible FARP, a single standard FARP, a quad FARP... nothing. It works perfectly in solo play, but not in multiplayer. Could someone from the dev team please help me understand what happens ? I'm stuck, I don't even know what happens on the server ; no message is logged - even in the trace log : log.set_output("dcs-trace", "", log.ALL + log.TRACE, log.MESSAGE + log.TIME_LOCAL + log.MODULE + log.LEVEL) I've attached a debug version of my mission with logging and tracing enabled. To test, simply run the mission, spawn in the UH-1H slot named "UH-1H test", go to the F10 map, create a map marker nearby and type `-farp` near your helicopter ; click outside of the map marker to validate your entry. The FARP should spawn (along with the required units, and decorative things). This only works solo. Thanks a lot ! Zip, VEAF. veaf-demo-mission_20210331.miz Edited March 31, 2021 by davidp57 added video Zip - VEAF :pilotfly: If you want to learn, talk and fly with french-speaking friends, the Virtual European Air Force is here for you ! Meet us on our Discord and our forum If you're a mission creator, you may want to check the VEAF Mission Creation Tools (and its GitHub repository) a set of open-source scripts and tools that make creating a dynamic mission a breeze ! Link to comment Share on other sites More sharing options...
ED Team BIGNEWY Posted March 31, 2021 ED Team Share Posted March 31, 2021 Hi, As far as I am aware spawning a FARP via script does not work as there is no birth event, it is reported, but I have no ETA on a solution. thanks Forum rules - DCS Crashing? Try this first - Cleanup and Repair - Discord BIGNEWY#8703 - Youtube - Patch Status Windows 11, NVIDIA MSI RTX 3090, Intel® i9-10900K 3.70GHz, 5.30GHz Turbo, Corsair Hydro Series H150i Pro, 64GB DDR @3200, ASUS ROG Strix Z490-F Gaming, HP Reverb G2 Link to comment Share on other sites More sharing options...
ED Team BIGNEWY Posted March 31, 2021 ED Team Share Posted March 31, 2021 Edit It seems to be working in MP in 2.7 1 Forum rules - DCS Crashing? Try this first - Cleanup and Repair - Discord BIGNEWY#8703 - Youtube - Patch Status Windows 11, NVIDIA MSI RTX 3090, Intel® i9-10900K 3.70GHz, 5.30GHz Turbo, Corsair Hydro Series H150i Pro, 64GB DDR @3200, ASUS ROG Strix Z490-F Gaming, HP Reverb G2 Link to comment Share on other sites More sharing options...
davidp57 Posted March 31, 2021 Author Share Posted March 31, 2021 Cool ; I'll test on 2.7 when it's available, and report here. Thanks @BIGNEWY! 1 Zip - VEAF :pilotfly: If you want to learn, talk and fly with french-speaking friends, the Virtual European Air Force is here for you ! Meet us on our Discord and our forum If you're a mission creator, you may want to check the VEAF Mission Creation Tools (and its GitHub repository) a set of open-source scripts and tools that make creating a dynamic mission a breeze ! Link to comment Share on other sites More sharing options...
Drexx Posted April 13, 2021 Share Posted April 13, 2021 Please add spawning player units (units that a player can spawn in) to this, why - because what is the use of a FARP spawn if you cant spawn player units there too dynamically. Developer of DDCS MP Engine, dynamicdcs.com https://forums.eagle.ru/showthread.php?t=208608 Link to comment Share on other sites More sharing options...
davidp57 Posted April 14, 2021 Author Share Posted April 14, 2021 That's not possible Drexx, at least not in 2.5 ; and the use is, to rearm and refuel, close to the front, in order to make multiple passes. Zip - VEAF :pilotfly: If you want to learn, talk and fly with french-speaking friends, the Virtual European Air Force is here for you ! Meet us on our Discord and our forum If you're a mission creator, you may want to check the VEAF Mission Creation Tools (and its GitHub repository) a set of open-source scripts and tools that make creating a dynamic mission a breeze ! Link to comment Share on other sites More sharing options...
davidp57 Posted April 15, 2021 Author Share Posted April 15, 2021 (edited) Well, too bad, it seems that it does not work in 2.7.0.4625 either. I tried with the same code (mission attached), and I recorded trace logs both in MP (on the server) and SP (on the standalone client) (attached). I'd love some help from the developers, maybe I can make more tests if they give me directions ? Thanks, as always. veaf-demo-mission_20210415.miz sp.log mp.log Edit : I just noted something weird : when the spawn works (that is, in single player), the spawn event is emitted before the log from my code had been written... Edited April 15, 2021 by davidp57 Zip - VEAF :pilotfly: If you want to learn, talk and fly with french-speaking friends, the Virtual European Air Force is here for you ! Meet us on our Discord and our forum If you're a mission creator, you may want to check the VEAF Mission Creation Tools (and its GitHub repository) a set of open-source scripts and tools that make creating a dynamic mission a breeze ! Link to comment Share on other sites More sharing options...
Grimes Posted April 15, 2021 Share Posted April 15, 2021 I think there was some miscommunication or miss-testing because I never saw it synced in MP. That aspect of it is still bugged. However the farp generating a spawn event might be fixed. 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...
Kappa Posted April 21, 2021 Share Posted April 21, 2021 (edited) I can confirm, in 2.7 FARPS are still not synced in MP. If spawned, only server host will see theme Edited April 21, 2021 by Kappa -- [sIGPIC][/sIGPIC] 36° Stormo Virtuale - Italian Virtual Flight Community www.36stormovirtuale.net Link to comment Share on other sites More sharing options...
Kappa Posted September 24, 2021 Share Posted September 24, 2021 Cita DCS 2.7.6.12852 Open Beta - ME. Scripting. Fixed the scripting function coalition.addStaticObject not being synced with connected clients to a server. FARP are now synced in MP but they do nothing more than rearming nearby ground units... If you land on it with an helo it will not refuel or rearm you if you are in multyplayer. At least in sigle player it works... -- [sIGPIC][/sIGPIC] 36° Stormo Virtuale - Italian Virtual Flight Community www.36stormovirtuale.net Link to comment Share on other sites More sharing options...
Apple Posted September 24, 2021 Share Posted September 24, 2021 Still mad it doesn’t work! And no player slot spawning either …. Link to comment Share on other sites More sharing options...
davidp57 Posted September 26, 2021 Author Share Posted September 26, 2021 I confirm, the FARP spawn do work now, but is of no use because the ground crew does not respond to my queries. @BIGNEWY, we know you're a wizard, could you please use your magic wand to make the dev team aware of this small step that needs to be done to complete this feature ? Zip - VEAF :pilotfly: If you want to learn, talk and fly with french-speaking friends, the Virtual European Air Force is here for you ! Meet us on our Discord and our forum If you're a mission creator, you may want to check the VEAF Mission Creation Tools (and its GitHub repository) a set of open-source scripts and tools that make creating a dynamic mission a breeze ! Link to comment Share on other sites More sharing options...
jonsky7 Posted October 21, 2022 Share Posted October 21, 2022 +1 Link to comment Share on other sites More sharing options...
winghunter Posted February 11 Share Posted February 11 Any update? DCS Web Editor - New 3D Mission Editor for DCS that runs in your browser DCS Web Viewer free browser based mission planner / viewer 4090 RTX, 13700KF, water cooled Link to comment Share on other sites More sharing options...
Recommended Posts