Dave Ramsey 1280218 Posted February 3, 2016 at 11:57 PM Posted February 3, 2016 at 11:57 PM Hi, My Euroscope plugin needs to determine when the connected controller is using the sweatbox server. We have tried using the function CPlugIn::GetConnectionType(), but this always returns CONNECTION_TYPE_DIRECT even when connected to the sweatbox server. I was expecting that it would return CONNECTION_TYPE_SWEATBOX. Does anyone know why this is, or under what exact conditions CONNECTION_TYPE_SWEATBOX is returned? Thanks, Dave www.vstrips.co.uk Link to comment Share on other sites More sharing options...
Matt Middleton 1264577 Posted February 27, 2016 at 12:37 AM Posted February 27, 2016 at 12:37 AM Anyone? What utter rubbish - https://gyazo.com/c741236275df2634ed8ab451698ea10d Link to comment Share on other sites More sharing options...
Harry Sugden Posted March 5, 2016 at 12:28 PM Posted March 5, 2016 at 12:28 PM I don't make plugins, but CONNECTION_TYPE_DIRECT is a return, then the function most likely relates to the very top option in the connection dialogue, and not which server you connect to. I.e. the user is selecting their Connection Type to be 'Direct to VATSIM' ATC Examiner, VATSIM UK No nonsense controlling Twitch - HazControl ✈️ @HVatsim Link to comment Share on other sites More sharing options...
Dave Ramsey 1280218 Posted March 7, 2016 at 08:26 PM Author Posted March 7, 2016 at 08:26 PM Hi Harry, I now expect that you are correct, but unfortunately I don't have the necessary permissions to test this. Perhaps someone "in the know" could either confirm or refute your hypothesis. Link to comment Share on other sites More sharing options...
Pierre Ferran Posted March 7, 2016 at 09:34 PM Posted March 7, 2016 at 09:34 PM I don't make plugins, but CONNECTION_TYPE_DIRECT is a return, then the function most likely relates to the very top option in the connection dialogue, and not which server you connect to. I.e. the user is selecting their Connection Type to be 'Direct to VATSIM' It's that. vSMR Plugin for EuroScope Link to comment Share on other sites More sharing options...
Recommended Posts