IMPORTANT NOTE: for 2.0j of DDC2 to work correctly you must install a previous version of the discord contrib. To install this please open and admin powershell window and execute the following.
npm install node-red-contrib-discord@4.0.3
NOTE: Only ddc2.ps1 file was updated in this hotfix release, no need to update ddc2_config.ps1 or Node-Red Flow
New Instructions:
Download and Install the new version of powershell
From an Admin Powershell Console execute the command below. iex "& { $(irm https://aka.ms/install-powershell.ps1) } -UseMSI"
In the Exec Node make sure you add the additionalparameter to point to the DDC2 Folder (Extra Input Parameters)
-DDC2DIR "YourDDC2InstanceLocation"
All config is now located in ddc2_config.ps1 and that file MUST be co-located with the ddc2.ps1 file. Node-Red only requires the Exec Node to be updated and should work once correctly updated.
DDC2 2.0+ will not work with the powershell that comes with windows by default, an error message will come up in the log if you attempt to run it with the old version of powershell.
A video will come out closer to the full release and once i have worked out all the big bugs I am yet unaware of.
Any issues please post them here for record keeping.
Thanks for taking the time to try out DDC2. Here are some useful links to keep up to date with all that is happening with DDC2.
DDC2 Eagle Dynamics Forum Thread
If you have found DDC2 useful and you have a few coins laying around, please consider passing a few of them this way to help me continue the development.
Discord: OzDeaDMeaT#0240
All commercial use requests please sent to ozdeadmeat@gmail.com
EpicNinjaCheese for his knowledge on all things DCS LUA.
Wedgie for his knowledge of Node-Red and integration expertise.
Zyfr for his wealth of knowledge regarding all things DCS and LUA.
MrPing for his knowledge in all things DCS Dedicated Server.
Rob from HypeMan for showing me DCS UDP Ports and Event Handlers.
Jeffrey Friedl for his work on JSON.lua.