pet333r / pw-dev_script

Script for DCS World
http://pw-developer.com/
GNU Lesser General Public License v3.0
115 stars 12 forks source link

[Issue] Various Panel Data not Displaying #4

Closed robohunterx closed 4 years ago

robohunterx commented 4 years ago

The numeric nav data for the KA-50's INU is not displaying. I tried on two different devices, and both devices are working fine for other modules with similar functionality (such as the DED for the F-16 etc) and both have the same issue of not displaying the INU text in the app.

pet333r commented 4 years ago

I checked the script, nothing has changed in the application, try to install the script again, maybe you have a typo somewhere in one of the files

robohunterx commented 4 years ago

Hey Peter, sorry about the slow response. This is going to be about as detailed as I can muster as to what I've tried. I'm still experiencing the issue with not having data displayed on some panels.

All functionality related to me pressing buttons works just fine! The only issue is some of the data isn't making it to my

The two photos below is what I'm seeing. 20200723_200558 20200723_200528 As you can see the hornet doesn't show any of the data for the fuel, yet it does show items on the UFC just fine. Other modules work perfectly fine, like the F-16, it displays the DED data no issues whatsoever. There's also some other airframes that work perfectly like the A-10C, and others that partially work such as the KA-50's NAV numbers not displaying correctly.

Here's how I have my configs setup, minus the IP's because...yeah

-- properties
ExportScript.Config = {}

-- device 1
ExportScript.Config.Export      = true              -- sending data
ExportScript.Config.Export1SD   = false              -- sendind data from SD
ExportScript.Config.Host        = "192.168.x.xxx"     -- IP for 1st app
ExportScript.Config.Port        = 5160              -- port for sending data

-- device 2
ExportScript.Config.Export2     = true              -- sending data
ExportScript.Config.Export2SD   = false              -- sendind data from SD
ExportScript.Config.Host2       = "192.168.x.xxx"     -- IP for 2nd app
ExportScript.Config.Port2       = 5160              -- port for sending data

-- device 3
ExportScript.Config.Export3     = true              -- sending data
ExportScript.Config.Export3SD   = false              -- sendind data from SD
ExportScript.Config.Host3       = "192.168.x.xxx"     -- IP for 3rd app
ExportScript.Config.Port3       = 5160              -- port for sending data

-- device 4
ExportScript.Config.Export4     = true              -- sending data
ExportScript.Config.Export4SD   = false              -- sendind data from SD
ExportScript.Config.Host4       = "127.0.0.1"       -- IP for 3rd app
ExportScript.Config.Port4       = 5160              -- port for sending data

-- receive commands from external apps
ExportScript.Config.Listener         = true         -- listen commands from apps
ExportScript.Config.ListenerPort     = 25070        -- Listener Port receiving commands

-- data separator (do not change)
ExportScript.Config.Separator = ";"

-- Other
ExportScript.Config.ExportInterval         = 0.05   -- export every 0.05 seconds
ExportScript.Config.ExportLowTickInterval  = 0.1    -- export every 0.x seconds
ExportScript.Config.ExportModulePath       = lfs.writedir()..[[Scripts\pw-dev_script\Modules\]]
ExportScript.Config.FirstNewDataSend       = true
ExportScript.Config.FirstNewDataSendCount  = 100

-- data export ( change to true if You are using DCS AoA Indexer )
ExportScript.Config.ExportSelfData          = false     -- export SelfData (Lat, Lon, Alt etc.) every LowTickInterval

-- export Displays data
ExportScript.Config.ExportDisplaysA10C      = true      -- A-10C
ExportScript.Config.ExportDisplaysAV8BNA    = true      -- AV8BNA (UFC, ODU, UVHF)
ExportScript.Config.ExportDisplaysF14B      = true      -- F-14B
ExportScript.Config.ExportDisplaysF16       = true      -- F-16C Viper (DED, CMDS, UHF)
ExportScript.Config.ExportDisplaysFA18      = true      -- F/A-18C (UFC)
ExportScript.Config.ExportDisplaysJF17      = true      -- JF-17 (UFC)
ExportScript.Config.ExportDisplaysM2000     = true      -- Mirage 2000C
ExportScript.Config.ExportDisplaysKA50      = true      -- Ka-50

ExportScript.Config.ExportTWS               = true      -- Threats from FC3

-- if you don't use CDU in A-10C and you want better performance on older devices, change to false
ExportScript.Config.ExportA10C_CDU          = true

As for my Export.lua, it looks like this (I also use SRS so that's in there as well):

local lfs=require('lfs'); dofile(lfs.writedir()..[[Scripts\pw-dev_script\Export.lua]])

pcall(function() local dcsSr=require('lfs');dofile(dcsSr.writedir()..[[Mods\Services\DCS-SRS\Scripts\DCS-SimpleRadioStandalone.lua]]); end,nil);

This is about as detailed as I can think to get, hopefully it's just something silly I'm overlooking. Loving the program though, thanks for the efforts you've put into it thusfar!

scortelezzi commented 4 years ago

Hi!

I have the same problem for the Hornet. Brand new install, I just purchased the app yesterday. Follow the instructions from the video, the UFC works perfect (both buttons and information it`s display OK), but for the IFEI the buttons works OK but I have no information displayed.

Let me know if you need any more information/logs/configs.

Thanks!

scortelezzi commented 4 years ago

Quick update, I just made a clean reinstall of DCS OpenBeta and the problem remains the same.

Please let me know if you need anything to be tested from my side.

Thanks in advance.

pet333r commented 4 years ago

I found a minor error in the script in the Hornet file. Download the file "FA-18C_hornet.lua" and change it in the folder "Modules". Let me know if it helped

pet333r commented 4 years ago

As you can see the hornet doesn't show any of the data for the fuel, yet it does show items on the UFC just fine. Other modules work perfectly fine, like the F-16, it displays the DED data no issues whatsoever. There's also some other airframes that work perfectly like the A-10C, and others that partially work such as the KA-50's NAV numbers not displaying correctly.

  • Robo

Give some screenshots of what it looks like in the Ka-50, maybe I missed something, or I will have to change the font if not everything is displayed as it should

robohunterx commented 4 years ago

Give some screenshots of what it looks like in the Ka-50, maybe I missed something, or I will have to change the font if not everything is displayed as it should

Screen should would basically be the NAV panel in the KA-50 in portrait mode, with no numbers displaying at all. I don't get any data displayed, but the NAV panel does update the lights on the button etc, just no digits. I'd get you a picture of that but I'm traveling for a week or so.

I found a minor error in the script in the Hornet file. Download the file "FA-18C_hornet.lua" and change it in the folder "Modules". Let me know if it helped

I'll give it a wack when I'm able to. Thanks for the replies.

pet333r commented 4 years ago

Update the script, everything should work as it should;-)

robohunterx commented 4 years ago

That fixed it! However looks like you moved that page to another one away from the UFC page and replaced it with an RWR panel indicator that's somewhat buggish, but at any rate thanks for helping!