Jump to content

DCS-SimpleRadio Standalone


Ciribob

Recommended Posts

I searched but you dont explain how it works, does it use the individual position or each aircraft and thats why it works when people are in SP but same SRS server?

 

Yes, everything was set up normally.

He did. SRS calculates distance and Line Of Sight.

If the aircraft position is calculated from L/L and MSL, MGRS and MSL or DCS X-Y-Z coordinates is not really important, I guess.

Shagrat

 

- Flying Sims since 1984 -:pilotfly:

Win 10 | i5 10600K@4.1GHz | 64GB | GeForce RTX 3090 - Asus VG34VQL1B  | TrackIR5 | Simshaker & Jetseat | VIRPIL CM 50 Stick & Throttle | VPC Rotor TCS Plus/Apache64 Grip | MFG Crosswind Rudder Pedals | WW Top Gun MIP | a hand made AHCP | 2x Elgato StreamDeck (Buttons galore)

Link to comment
Share on other sites

I searched but you dont explain how it works, does it use the individual position or each aircraft and thats why it works when people are in SP but same SRS server?

 

Yes, everything was set up normally.

It's not setup normally if it didn't work

 

You also didn't give me any more info - for example if you had coalition security on it wouldn't work in singleplayer :)

 

Please search, there is a long post about it.

 

Dcs position is the same regardless of singleplayer or multiplayer, as it's the same map, same coordinates. If two players in sp were connect to SRS, and assuming they'd configured server and client correctly, it would work.

 

Sent from my ONEPLUS A3003 using Tapatalk

Scripts: Complete Transport And Logistics Deployment - CTLD / CTLD Examples - Lots of example of how to use CTLD

CSAR Script - Downed Pilot Rescue / Dedicated Server Script - Automatically launch DCS Multiplayer server at startup

Range Scoring Script - Get scores and counts hits on targets for gunnery or bombs / SimpleSlotBlock - Multiplayer dynamic Slot Blocking Script

 

Projects: DCS-SimpleRadio Standalone - DCS Radio Integration for All Aircraft - NO TeamSpeak Required! :)

DCS-SimpleRadio Troubleshooting Post / DCS-SimpleRadio Free Support Channel on Discord

Link to comment
Share on other sites

Hi Ciribob!

 

Im sorry for my lack of detail. Yes I had the coalition setting ON. But the fun fact is that I have it ON right now and Im talking to a friend in SP as I write this.

 

Can this be possible or Im going crazy?

If you have spectator audio enabled and both are in SP it'll work too. If a 3rd person came on and was in MP and not a spectator, you wouldn't be able to hear them.

 

When in sp you have no coalition so are a "spectator" to SRS

 

Sent from my ONEPLUS A3003 using Tapatalk

Scripts: Complete Transport And Logistics Deployment - CTLD / CTLD Examples - Lots of example of how to use CTLD

CSAR Script - Downed Pilot Rescue / Dedicated Server Script - Automatically launch DCS Multiplayer server at startup

Range Scoring Script - Get scores and counts hits on targets for gunnery or bombs / SimpleSlotBlock - Multiplayer dynamic Slot Blocking Script

 

Projects: DCS-SimpleRadio Standalone - DCS Radio Integration for All Aircraft - NO TeamSpeak Required! :)

DCS-SimpleRadio Troubleshooting Post / DCS-SimpleRadio Free Support Channel on Discord

Link to comment
Share on other sites

How to add playback volume? 28dB is not enough.
Reduce the volume of other sources (DCS), and/or check the volume for SRS is set to maximum in the Windows 10 Volumemixer.

Shagrat

 

- Flying Sims since 1984 -:pilotfly:

Win 10 | i5 10600K@4.1GHz | 64GB | GeForce RTX 3090 - Asus VG34VQL1B  | TrackIR5 | Simshaker & Jetseat | VIRPIL CM 50 Stick & Throttle | VPC Rotor TCS Plus/Apache64 Grip | MFG Crosswind Rudder Pedals | WW Top Gun MIP | a hand made AHCP | 2x Elgato StreamDeck (Buttons galore)

Link to comment
Share on other sites

New RELEASE Version - 1.5.3.2

 

.NET Version - PLEASE INSTALL THIS or it may not work: https://www.microsoft.com/en-gb/download/details.aspx?id=53345

 

Windows 8/10 N Users - PLEASE INSTALL THIS OR IT WILL NOT WORK - Adds the media codecs you need which are removed in the N Version - https://support.microsoft.com/en-us/help/3145500/media-feature-pack-list-for-windows-n-editions - You'll know when you get the audio initialisation error :)

 

NOT BACKWARDS COMPATIBLE with 1.5.2.0 - Servers and clients must be on 1.5.3.1 or newer

 

SERVER OWNERS - You need to open an extra TCP port for SRS to work and its +1 above your normal server port. I.e if you run a server on 5002 you need to open port 5002 and 5003 for TCP

 

AutoConnect Script must be in Saved GamesDCSScriptsHooks now instead of just Scripts folder. Just create a hooks folder in Scripts folder if you dont have one

 

KNOWN BUG

If you get lag while using the radio, press L Ctrl + L Shift + L to fix. This is a DCS bug i'm trying to work around and is triggered by pressing L Ctrl + L. It doesn't matter if that key is bound or not, it'll still cause lag when you press it

 

Changelog

  • A10C Switched back to HOTAS by default - change _data.control = 1 in DCS-SimpleRadioStandalone.lua to change back
  • Addition of External AWACS / GCI Mode (EAM) - requires enabling server side and the correct password
  • Addition of connected and ingame counts
  • Added Server .cfg option to change JSON export path
  • Added beta opt in option (allows you to be alerted of beta updates)
  • Added simultaneous transmission to AWACS panel - turn on Simultaneous transmission, select the radios to transmit on and press the PTT (not radio switch as PTT button)
  • Only allow one SRS instance to be run at one time
  • Better warning / handling for incorrect server version
  • Removed extra harrier radio - now has the correct amount as both radios function

 

 

DCS / VR Overlay and Overlay Configuration

 

The overlay has 3 states, hidden, small & full that you can see by pressing Left Control + Left Shift + Escape by default.

 

The Full state has a title bar that you can click and drag the window around with. The window position will be saved for when DCS is next opened.

 

The radio status is removed after 5 seconds if SRS is closed or loses server connection

 

To configure the overlay hotkey, run DCS once to create a config file in Saved GamesDCSConfig which will look something like so and quit DCS:

 

config = 
{
   ["mode"] = "minimum",
   ["hotkey"] = "Ctrl+Shift+escape",
   ["windowPosition"] = 
   {
       ["y"] = 342,
       ["x"] = 981,
   }, -- end of ["windowPosition"]
} -- end of config

 

Edit the "Hotkey" section and add the characters from the keyboard you'd like to use instead. i.e

 

config = 
{
   ["mode"] = "minimum",
   ["hotkey"] = "Ctrl+Shift+1", -- now uses the combination of ctrl shift and 1 together to toggle
   ["windowPosition"] = 
   {
       ["y"] = 342,
       ["x"] = 981,
   }, -- end of ["windowPosition"]
} -- end of config

 

Dont forget to restart DCS after editing this file or you wont see the changes.

 

If you want to remove the overlay entirely and never use it, just delete:

  • DCS-SRS-Overlay.dlg
  • DCS-SRS-OverlayGameGUI.lua

 

In Saved GamesDCSScripts

 

Preset Channel Configuration

 

Preset channels can be created for all FC3 aircraft and all expansion radios for Non FC3.

 

Channel presets are created per Radio - full list of names & frequencies here https://docs.google.com/spreadsheets/d/1tzd996zJ1t0heZ-t1PpL7vNUIZbXl7pI6De0GThN1Qw/edit#gid=1869108790 )

 

Preset files are named after the radio (no special characters needed & case is ignored) and are text files with a single frequency on each line.

 

For example, to create a fixed channel list for the first UHF radio in the F15C:

 

Create a file called ANARC-164 UHF1.txt or anarc164 UHF1.txt where you installed SimpleRadio Standalone (where the client exe is), add frequencies and save.

 

The file will be automatically loaded when that radio appears on an aircraft. The frequency list can also be manually reloaded with the reload button. The files are per radio not per aircraft.

 

As always, thanks for the support and let me know if there are any issues!

 

Dedicated support now available on Discord: https://discord.gg/baw7g3t

 

 

DOWNLOAD THE LATEST RELEASE: https://github.com/ciribob/DCS-SimpleRadioStandalone/releases/latest

 

Video Demo & Installation

Scripts: Complete Transport And Logistics Deployment - CTLD / CTLD Examples - Lots of example of how to use CTLD

CSAR Script - Downed Pilot Rescue / Dedicated Server Script - Automatically launch DCS Multiplayer server at startup

Range Scoring Script - Get scores and counts hits on targets for gunnery or bombs / SimpleSlotBlock - Multiplayer dynamic Slot Blocking Script

 

Projects: DCS-SimpleRadio Standalone - DCS Radio Integration for All Aircraft - NO TeamSpeak Required! :)

DCS-SimpleRadio Troubleshooting Post / DCS-SimpleRadio Free Support Channel on Discord

Link to comment
Share on other sites

What is the EAM for, I don't understand how sb. could do AWACS without seeing the F10 map in DCS.

DCS Wishlist: 2K11 Krug SA-4 Ganef SAM, VR-TrackIR icons next to player names in score-chart

PvP: 100+ manual player-kills with Stingers on a well known dynamic campaign server - 100+ VTOL FARP landings & 125+ hours AV-8B, F-14 crew, royal dutch airforce F-16C - PvP campaigns since 2013

DCS server-admins: please adhere to a common sense gaming industry policy as most server admins throughout the industry do. (After all there's enough hostility on the internet already which really doesn't help anyone. Thanks.)

Dell Visor VR headset, Ryzen 5 5600 (6C/12T), RTX 2060 - basic DCS-community rule-of-thumb: Don't believe bad things that a PvP pilot claims about another PvP pilot without having analyzed the existing evidence

Link to comment
Share on other sites

I have a question that has probably been asked a lot. Can't seem to find the answer. Why doesn't ED use something like this. Its really amazing to have now that its stand alone.
Only guessing, but an educated guess would be, because it uses open source libraries and that can likely cause legal problems, with a commercial product.

Shagrat

 

- Flying Sims since 1984 -:pilotfly:

Win 10 | i5 10600K@4.1GHz | 64GB | GeForce RTX 3090 - Asus VG34VQL1B  | TrackIR5 | Simshaker & Jetseat | VIRPIL CM 50 Stick & Throttle | VPC Rotor TCS Plus/Apache64 Grip | MFG Crosswind Rudder Pedals | WW Top Gun MIP | a hand made AHCP | 2x Elgato StreamDeck (Buttons galore)

Link to comment
Share on other sites

Only guessing, but an educated guess would be, because it uses open source libraries and that can likely cause legal problems, with a commercial product.

 

Thanks was always wondering why ED has tried to get something going like this. But hey that's why SRS is here to stay

Link to comment
Share on other sites

Hi Ciribob,

seems like this latest release of SRS doesn't work with F/A18 anymore, still works with A10C though

[sIGPIC][/sIGPIC]

Simming since 2005

My Rig: Gigabyte X470 Aorus Ultra Gaming, AMD Ryzen7 2700X, G.Skill RipJaws 32GB DDR4-3200, EVGA RTX 2070 Super Black Gaming, Corsair HX850

Link to comment
Share on other sites

No worries, already solved :)

 

Please see announcement on Discord (you can use webrowser, no need to download Discord) with details.

 

https://discord.gg/Ajzxqxj

 

I'll edit and post here when I'm behind pc again

 

Sent from my ONEPLUS A3003 using Tapatalk

Scripts: Complete Transport And Logistics Deployment - CTLD / CTLD Examples - Lots of example of how to use CTLD

CSAR Script - Downed Pilot Rescue / Dedicated Server Script - Automatically launch DCS Multiplayer server at startup

Range Scoring Script - Get scores and counts hits on targets for gunnery or bombs / SimpleSlotBlock - Multiplayer dynamic Slot Blocking Script

 

Projects: DCS-SimpleRadio Standalone - DCS Radio Integration for All Aircraft - NO TeamSpeak Required! :)

DCS-SimpleRadio Troubleshooting Post / DCS-SimpleRadio Free Support Channel on Discord

Link to comment
Share on other sites

Ciribob,

 

I've got an issue with the SERVER version of SRS, whereby it only stays connected for about 15 minutes at a time, then disconnects.

 

I've noticed that my router seems to always want to assign Port numbers which are different from the ones that are set in the server settings config file (I have tried 5002/5003 and 5242/5243 so far). I explicitly told my router to open 5002/5003 for TCP protocol. But it kept moving over to random port numbers in the 61XXX range. Then I opened 5242/5243 and told the SRS server config to use that instead. It worked for 20 minutes, then failed. Now I see once again that my router is showing ports in the 61XXX range as being "externally assigned", even though I still have ports 5242/5243 open in router port forwarding settings.

See the image below, which shows the ports that my router is trying to assign, even though I set the port forwarding to the above 5xxx numbers:

12Ea8r4.jpg

 

Here is another image showing the "requested" ports versus the "assigned" ones. My router just does not seem to want to keep the ports I request:

6isWOvR.jpg

 

Furthermore, it seems that after 15 minutes or so, the SRS will terminate connection every time.

For clients the connect button is often grayed out, so they cannot re-connect.

 

Windows firewall has been told to permit SRS on all networks.

 

Some text from the SRS server log is pasted below. I'm not really up to speed with what's going on here, but it looks like SRS is failing to find the correct port, which seems related to the issues of my router wanting to assign a different "external" port to the ones I open.

2018-07-20 17:50:32.9268 | Ciribob.DCS.SimpleRadio.Standalone.Server.Network.ServerSync | Error reading from socket. Disconnecting  System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'System.Net.Sockets.Socket'.
  at System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult, SocketError& errorCode)
  at System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult)
  at Ciribob.DCS.SimpleRadio.Standalone.Server.Network.ServerSync.ReadCallback(IAsyncResult ar) 
2018-07-20 17:50:32.9268 | Ciribob.DCS.SimpleRadio.Standalone.Server.Network.ServerSync | Waiting for a connection on 5242... 
2018-07-20 17:50:32.9268 | Ciribob.DCS.SimpleRadio.Standalone.Server.Network.TCPVoiceRouter | VOIP Listener Shutdown Requested 
2018-07-20 17:50:32.9268 | Ciribob.DCS.SimpleRadio.Standalone.Server.Network.TCPVoiceRouter | VOIP Listener Waiting for Shutting down... 
2018-07-20 17:50:32.9268 | Ciribob.DCS.SimpleRadio.Standalone.Server.Network.ServerSync | Error accepting socket System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'System.Net.Sockets.Socket'.
  at System.Net.Sockets.Socket.EndAccept(IAsyncResult asyncResult)
  at Ciribob.DCS.SimpleRadio.Standalone.Server.Network.ServerSync.AcceptCallback(IAsyncResult ar) 
2018-07-20 17:50:32.9268 | Ciribob.DCS.SimpleRadio.Standalone.Server.Network.ServerSync | Server Listen error: Cannot access a disposed object.
Object name: 'System.Net.Sockets.Socket'. System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'System.Net.Sockets.Socket'.
  at System.Net.Sockets.Socket.BeginAccept(AsyncCallback callback, Object state)
  at Ciribob.DCS.SimpleRadio.Standalone.Server.Network.ServerSync.StartListening() 
2018-07-20 17:50:32.9268 | Ciribob.DCS.SimpleRadio.Standalone.Server.Network.ServerSync | Disconnecting Client 
2018-07-20 17:50:48.0021 | Ciribob.DCS.SimpleRadio.Standalone.Server.Network.TCPVoiceRouter | VOIP Listener Shutdown 
2018-07-20 17:51:25.2946 | Ciribob.DCS.SimpleRadio.Standalone.Server.Network.ServerState | Unable to read banned.txt System.IO.FileNotFoundException: Could not find file 'C:\SimpleRadio\DCS-SimpleRadio-Standalone\banned.txt'.
File name: 'C:\SimpleRadio\DCS-SimpleRadio-Standalone\banned.txt'
  at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
  at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
  at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
  at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)
  at System.IO.StreamReader..ctor(String path, Encoding encoding)
  at System.IO.File.InternalReadAllLines(String path, Encoding encoding)
  at Ciribob.DCS.SimpleRadio.Standalone.Server.Network.ServerState.PopulateBanList() 
2018-07-20 17:51:25.3258 | Ciribob.DCS.SimpleRadio.Standalone.Server.Network.ServerSync | Waiting for a connection on 5242... 
2018-07-20 17:51:25.3258 | Ciribob.DCS.SimpleRadio.Standalone.Server.UI.MainWindow.MainViewModel | DCS-SRS Server Running - 1.5.3.2 
2018-07-20 17:51:25.3258 | Ciribob.DCS.SimpleRadio.Standalone.Server.Network.TCPVoiceRouter | VOIP Listener INIT 
2018-07-20 17:51:25.3570 | Ciribob.DCS.SimpleRadio.Standalone.Server.Network.TCPVoiceRouter | VOIP Listener Binding to 5243 
2018-07-20 17:51:25.4194 | Ciribob.DCS.SimpleRadio.Standalone.Server.Network.TCPVoiceRouter | VOIP Listener Bound to 5243 
2018-07-20 17:51:25.4194 | Ciribob.DCS.SimpleRadio.Standalone.Server.Network.TCPVoiceRouter | VOIP Listener Waiting for Shutdown... 
2018-07-20 17:51:26.5582 | Ciribob.DCS.SimpleRadio.Standalone.Common.UpdaterChecker | Running latest stable version: 1.5.3.2 
2018-07-20 18:08:12.1437 | Ciribob.DCS.SimpleRadio.Standalone.Server.Network.TCPVoiceRouter | VOIP Listener Shutdown Requested 
2018-07-20 18:08:12.1437 | Ciribob.DCS.SimpleRadio.Standalone.Server.Network.TCPVoiceRouter | VOIP Listener Waiting for Shutting down... 
2018-07-20 18:08:12.1437 | Ciribob.DCS.SimpleRadio.Standalone.Server.Network.ServerSync | Waiting for a connection on 5242... 
2018-07-20 18:08:12.1437 | Ciribob.DCS.SimpleRadio.Standalone.Server.Network.ServerSync | Server Listen error: Cannot access a disposed object.
Object name: 'System.Net.Sockets.Socket'. System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'System.Net.Sockets.Socket'.
  at System.Net.Sockets.Socket.BeginAccept(AsyncCallback callback, Object state)
  at Ciribob.DCS.SimpleRadio.Standalone.Server.Network.ServerSync.StartListening() 
2018-07-20 18:08:12.1437 | Ciribob.DCS.SimpleRadio.Standalone.Server.Network.ServerSync | Error accepting socket System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'System.Net.Sockets.Socket'.
  at System.Net.Sockets.Socket.EndAccept(IAsyncResult asyncResult)
  at Ciribob.DCS.SimpleRadio.Standalone.Server.Network.ServerSync.AcceptCallback(IAsyncResult ar) 
2018-07-20 18:08:27.2306 | Ciribob.DCS.SimpleRadio.Standalone.Server.Network.TCPVoiceRouter | VOIP Listener Shutdown


Edited by philstyle

On YouTube: https://www.youtube.com/philstylenz

Storm of War WW2 server website: https://stormofwar.net/

 

Link to comment
Share on other sites

UniversRadio - Broken

 

I had the latest UR version/patch installed and it used to work with the hornet.

 

Now the hornet does not work, but UR is still working with my other aircraft. Did anyone else find that the latest DCS update made UR incompatible with the hornet?

AKA Gaffer

Link to comment
Share on other sites

This appears to be a solution for Simple Radio... which I do have

 

But I need a solution for UniversRadio

Why do you post in the Simple Radio Thread, when you need a solution for Univers Radio?! :huh:

Shagrat

 

- Flying Sims since 1984 -:pilotfly:

Win 10 | i5 10600K@4.1GHz | 64GB | GeForce RTX 3090 - Asus VG34VQL1B  | TrackIR5 | Simshaker & Jetseat | VIRPIL CM 50 Stick & Throttle | VPC Rotor TCS Plus/Apache64 Grip | MFG Crosswind Rudder Pedals | WW Top Gun MIP | a hand made AHCP | 2x Elgato StreamDeck (Buttons galore)

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...