Welcome, Guest. Please login or register.
Did you miss your activation email?

News: The latest PSX update (version 10.40 from 18 July 2018) is available at: http://aerowinx.com/board/index.php?topic=4191.0

Author Topic: PSX.NET.vPilot  (Read 1053 times)

Mark

  • Join date: Nov 2014
  • Posts: 344
    • Email
PSX.NET.vPilot
« on: Sat, 30 Dec 2017 22:00 »
Hello all,

I've written a plugin for vPilot that will insert the appropriate VATSIM traffic into the PSX TCAS.

Now available for beta testing:
Download here

To install
Extract and copy the 'PSX.NET.vPilot.dll' file inside the ZIP to:
%localappdata%\vPilot\Plugins

If your PSX server is on a different computer, install the plugin, run vPilot, then close vPilot after 10+ seconds. Then go to this directory which contains the XML settings file where you can edit the PSX server IP within:
%appdata%\PSX.NET\PSX.NET.vPilot

(If you're unsure how to use the % paths, just copy it into the File Explorer address bar and hit enter)

Please let me know how well it works. When working, it'll look like this (link).

ScudRunner

  • Join date: Apr 2013
  • Location: YBBN
  • Posts: 120
Re: PSX.NET.vPilot
« Reply #1 on: Sat, 30 Dec 2017 23:48 »
Many thanks Mark!

kev32b

  • Join date: Oct 2014
  • Posts: 89
    • Email
Re: PSX.NET.vPilot
« Reply #2 on: Sat, 30 Dec 2017 23:59 »
Mark

Thanks for your hard work
And for your excellent software
Kev

Britjet

  • Join date: Aug 2014
  • Location: Camberley, UK
  • Posts: 1192
Re: PSX.NET.vPilot
« Reply #3 on: Sun, 31 Dec 2017 12:25 »
Thanks Mark!
Peter.

SIMU-3G7

  • Join date: Apr 2013
  • Location: CYQB
  • Posts: 18
Re: PSX.NET.vPilot
« Reply #4 on: Sun, 31 Dec 2017 18:52 »
Thanks a lot Mark.

Cheers

Gilles-Gabriel  8)
Up There With The Best Of The Best...

kev32b

  • Join date: Oct 2014
  • Posts: 89
    • Email
Re: PSX.NET.vPilot
« Reply #5 on: Tue, 2 Jan 2018 07:27 »
Hi,

If you are running Vpilot on two machines ie host and remote it needs to go on the Host Machine .

Works lovely
Kev

(only issue is when closing it the program you cant it wont shut down !!)

Mark

  • Join date: Nov 2014
  • Posts: 344
    • Email
Re: PSX.NET.vPilot
« Reply #6 on: Tue, 2 Jan 2018 17:09 »
(only issue is when closing it the program you cant it wont shut down !!)

If you mean you're trying to close the TCAS window - this is intended behaviour as there is no easy way to respawn it again without restarting vPilot. Closing vPilot should work as normal.

Jeroen Hoppenbrouwers

  • Moderator
  • Join date: May 2009
  • Location: KTMB
  • Posts: 3094
  • Hoppie designs SATCOM equipment for airliners.
    • http://www.hoppie.nl/
    • Email
Re: PSX.NET.vPilot
« Reply #7 on: Tue, 2 Jan 2018 23:08 »
I know it is nearly whining, but a popup explaining why this window won't shut down may actually be helpful. It's sufficiently counter-intuitive.


Hoppie

farrokh747

  • Join date: May 2009
  • Location: Mumbai, India
  • Posts: 809
    • http://www.farrokhchothia.com/
    • Email
Re: PSX.NET.vPilot
« Reply #8 on: Wed, 3 Jan 2018 04:23 »
Thanks Mark!

Felix.

  • Join date: Feb 2016
  • Posts: 126
    • Email
Re: PSX.NET.vPilot
« Reply #9 on: Sat, 13 Jan 2018 17:27 »
Forgive my ignorance, does this mean I can use PSX naively without P3D and still have VATSIM traffic injected into PSX?

 

Mark

  • Join date: Nov 2014
  • Posts: 344
    • Email
Re: PSX.NET.vPilot
« Reply #10 on: Sat, 13 Jan 2018 21:08 »
Felix - not yet, vPilot still has to make a connection to P3D so that it can get the position & other data.

The aim is to eventually resolve this so that P3D is optional for PSX vatsim users if you're happy with just the PSX generated view.

Markus Vitzethum

  • Join date: May 2009
  • Location: Reutlingen, Germany (near EDDS)
  • Posts: 270
Re: PSX.NET.vPilot
« Reply #11 on: Thu, 5 Jul 2018 20:50 »
Hello Mark,

having missed the topic in earlier in winter this winter, I gave it try myself tonight. First of all, great nice little program, thank you very much.

Actually, it took some debugging on my side.

Minor issue:
- install the .dll into the vPilot program folder (Plugins subdirectory) and not in the %localappdata% folder. At least on my system, they are different

Not so minor issue:
- after adjusting plugin path and editing the dll, the TCAS plugin recognized and connected to PSX. But I could not see TCAS traffic inside PSX, yet. It took me a while to recognize that I have solved this problem earlier with TrafficPSX, see

http://aerowinx.com/board/index.php?topic=2321.msg23105#msg23105

Like in 2014 I have monitored the Qs450 output of the DLL in a telnet client. Same result.

The problem is that the PSX.net TCAS dll is using the (Windows) system decimal seperator which may be either "," (comma) or "." (decimal point) on different systems. But PSX is using a fixed decimal seperator which is a decimal point but never a comma.

Changing the system decimal seperator on my German language Windows usually has side effects (breaks MS Excel, ... ).

The better solution - programming-wise - is to use a fixed decimal seperator in your program code (most languages have a system variable for that), e.g. like

DecimalSeparator := '.';

This would be a permanent stable solution, it worked well for VisualPSX.

Thanks,
  Markus
« Last edit: Fri, 6 Jul 2018 22:05 by Markus Vitzethum »

Greg Hateley

  • Join date: Aug 2011
  • Location: Perth
  • Posts: 70
    • Email
Re: PSX.NET.vPilot
« Reply #12 on: Mon, 9 Jul 2018 06:01 »
I used this program with Vpilot on the wekend with great success.

Thanks Mark for another great program.

Markus Vitzethum

  • Join date: May 2009
  • Location: Reutlingen, Germany (near EDDS)
  • Posts: 270
Re: PSX.NET.vPilot
« Reply #13 on: Mon, 9 Jul 2018 12:51 »
Same here, I flew a VATSIM event (Kai Tak!) with plenty of airplanes to watch (cockpit window and TCAS on the ND) in plenty of holding patterns.

Greg, you might have noticed my TCAS blip in the ABBEY/ALPHA holding pattern. I left the stack just as you entered, I think.

Markus

p.s.
turning in a holding pattern back to the fix when one enters 1000' below and, simultaneously, another 1000' above you - priceless.
« Last edit: Tue, 10 Jul 2018 08:54 by Markus Vitzethum »