News:

Precision Simulator update 10.173 (24 February 2024) is now available.
Navburo update 13 (23 November 2022) is now available.
NG FMC and More is released.

Main Menu

PSX.NET.vPilot

Started by Mark, Sat, 30 Dec 2017 22:00

Gary Oliver

#20
yep needs a recompile..... I'll do that tomorrow

Gary Oliver



Martin Baker

Gary, sorry to report this, but the new file doesn't load. Here's the debug log:


[15:28:44.215] vPilot version 2.8.1
[15:28:44.277] Performing version check...
[15:28:44.765] Server list download succeeded. 7 servers found.
[15:28:45.208] Version check complete. You are running the latest version.
[15:28:45.211] Checking for updated model matching data...
[15:28:45.643] Model matching data check complete. You have the most up-to-date data.
[15:28:45.653] Checking for changes to installed models...
[15:28:45.754] No changes found.
[15:28:45.765] Attempting simulator connection...
[15:28:45.765] Error loading plugin from file "C:\Users\marti\AppData\Local\vPilot\Plugins\PSX.NET.vPilot.dll": Could not load file or assembly 'file:///C:\Users\marti\AppData\Local\vPilot\Plugins\PSX.NET.vPilot.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
[15:28:45.913] Connected to simulator: Lockheed MartinĀ® Prepar3DĀ® v4 (4.5.13.32097)
[15:28:45.917] Custom model matching rules loaded.
[15:28:45.920] Model matching rules generated.
[15:28:45.922] Reevaluating model selection for all aircraft
[15:28:45.927] Radio state changed

Gary Oliver

Martin,

Did you unblock the DLL after downloading?  Windows puts a 'mark of the web' on the file which prevents it being loaded.

Right click the DLL and go Properties and tick the unblock box (or press unblock if you have a button instead)

https://prnt.sc/100raws

Cheers
G

Martin Baker

Quote from: Gary Oliver on Fri, 19 Feb 2021 11:14
Did you unblock the DLL after downloading?  Windows puts a 'mark of the web' on the file which prevents it being loaded.

Ah - whoops - all sorted now. Many thanks, Gary.

M

Gary Oliver

All,

A quick pre world flight update which will light up the HF L call button on a Selcal Check from VATSIM.

https://www.dropbox.com/s/7l331c0p8vgq9ux/PSX.NET.vPilotV3.0.0.zip?dl=1

Cheers
G


Martin Baker

Wonderful - can't wait - thanks so much Gary. M

macroflight

#28
I'm running the plugin from PSX.NET.vPilotV3.0.0.zip. It's detected by vPilot, and if I launch vPilot with /dbgwin I can see that it's sending data to PSX:

[...]
(0.61809;-1.76870;88029;442;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;)
[23:21:58.420] From plugin: "PSX.NET.vPilot": PSX.NET.vPilot transmitted to PSX. (0.61809;-1.76870;88029;442;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;)
[23:22:00.426] From plugin: "PSX.NET.vPilot": PSX.NET.vPilot transmitted to PSX. (0.61807;-1.76884;87254;443;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;)

But I'm not seeing the "TCAS window" described here, just the normal vPilot one. And I'm not seeing any TCAS traffic in PSX. What can be wrong?

Edit: and now it works. No idea why... does PSX log injected TCAS traffic somewhere?

Gary Oliver

I removed the traffic pop up window in a later version - the debug window is the best to view.... I can see it was trying to inject one traffic from the 4 values at the beginning.

macroflight

I might have been confused by WidePSX, which also can inject traffic into PSX... I used it on and off yesterday, it might have been running when I could see aircraft on TCAS.

Anyway, I'm currently flying 11nm behind BAW47C, same altitude (according to VAT-Spy).

TFC is shown on the ND, but no TCAS traffic. TCAS panel set to neutral and TA/RA.

The last loglines from vPilot:

[16:52:56.425] From plugin: "PSX.NET.vPilot": PSX.NET.vPilot transmitted to PSX. (0.59491;-2.00246;359762;436;0.59327;-2.00768;319667;437;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;)
[16:52:58.428] From plugin: "PSX.NET.vPilot": PSX.NET.vPilot transmitted to PSX. (0.59491;-2.00246;359762;436;0.59320;-2.00791;319676;437;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;)

Martin Baker

See a few posts above. I had the same problem and it was simply because I hadn't unblocked the DLL file. Could it be that? M

macroflight

Quote from: Martin Baker on Sat,  3 Sep 2022 16:00
See a few posts above. I had the same problem and it was simply because I hadn't unblocked the DLL file. Could it be that? M

I don't think so, I checked it yesterday and again now. Wouldn't the plugin be unable to run at all if that was the problem?

I edited the plugin config file and changed the port number to an unused port. Then I don't get any log lines "PSX.NET.vPilot transmitted to PSX". So it seems as if vPilot is indeed connecting to PSX, but it's not getting displayed for some reason.

Is the traffic data received by PSX logged somewhere?

Martin Baker

Probably a silly question but have you selected the TCAS display on in PSX itself?

macroflight

Quote from: Martin Baker on Sat,  3 Sep 2022 18:35
Probably a silly question but have you selected the TCAS display on in PSX itself?

It turned out Traffic was set to "Off" in the situ file I was using (but TA/RA + TFC was on in the cockpit). Stupid mistake... Not sure how it happened, that situ file was the only one with TfcMode=0. Clumsy me, I guess.

Thanks for the silly question :)

Martin Baker

Oh good - if it helps,you're not the first person to make this mistake.  :-[

Jeroen Hoppenbrouwers

Almost feels like we need PSX sim checklists... "too much simulator for one man to fly."
http://www.atchistory.org/how-the-pilots-checklist-came-about-2/

The Forum serves as a kind of QRH, but we all know that finding old postings (or anything, really) based on a simple key word matching engine is neigh impossible.

However a QRH Forum section or such won't maintain itself. It will need work. Would there be a way to make this a distributed effort so that it isn't going to be a one-person work of love?

Hoppie

Ton van Bochove

QuoteHowever a QRH Forum section or such won't maintain itself. It will need work. Would there be a way to make this a distributed effort so that it isn't going to be a one-person work of love?

Would be worth trying to set something up: you only need a couple of people with time and stamina ;-)
Ton

Jeroen Hoppenbrouwers

Suppose we create one post in the Tutorials forum:

"PSX FAQ and QRH"

Only Forum Moderators (there are a few) can go back and edit this post. So to collate and nurture the post we will need some volunteer work over time.

Everybody can reply to the post and grow the list or comment/improve on it.

Once a reply has been sort of finished, moderators can/should/will copy the final new QRH entry into the main (first) posting. This may be merely a direct pointer to the finished entry, for simplicity and to retain the history etc.


Hoppie

Gary Oliver

All,

vPilot plugin has been updated to correct TCAS altitudes, this is more evident when using MSFS as a scenery generator.

https://www.dropbox.com/s/9dg1efy8en3gbpm/PSX.NET.vPilot.zip?dl=1

Cheers
G