Shared cockpit for Microsoft Flight Simulator.
License: GNU General Public License v3.0
Describe the bug
No UI is showing up and the software crashes when trying to resize the window
To Reproduce
Expected behavior
UI should show up
Additional context
I have followed all tutorials.
v1.3.0 works fine
https://i.imgur.com/vzmox81.png
PLEASE ATTACH EVERYONE'S LOGS
07:39:07 [INFO] Creating webview...
07:39:07 [INFO] Spawning webview thread...
Describe the bug
All of the A32NXscreens spawn in blacked out. I've got the newest version of YourControls (2.3.2)
To Reproduce
Steps to reproduce the behavior, for example:
Expected behavior
The screens were supposed to be on
So Me and my friend were in the same aircraft c172 specifically andc the TBM 930 Same Issue
When i turn the Battery On It does not Sync on his end Same Thing With Engine start Key
also The Propeller Seems To Be static When We are connected its pretty Funny But Yeah man Great Start Cant Wait for the Update <3
Please add a Donation Area i wanna pledge in !
Need a tutorial video on Youtube!!! Please!!! My English is poor. The translation is literal and incomprehensible. Thanks!
I put the ip and the port and it won't let me join my friend
I connect to my friends server and my plane immediately crashes, this has been an issue since 0.2.3
Version: 1.2.2
Attempting to use the button to close the server does not seem to do anything. The GUI still shows that the server is up. Using the X to actually close the GUI seems to close the server down.
Looks like a socket is staying open and getting hung up trying to close?
Hello to you,
First, please excuse me for my poor English.
I risk posting a message, because I don't know where to post it elsewhere. Like many I also installed "Your controls". I had to open port 7777, but I didn't encounter any major difficulty.
It works relatively well with all airplanes EXCEPT the airbus. But when we try the Airbus my brother and I, the song is not the same. When we use a button, the other player does not notice it. The lighting works (the "dome" switch not every time). Both players can change their buttons, but this is ignored by the other player, as "your controls" usually do with other planes.
The MCDU is not shared, the altimeter / heading / VS / Speed / baro, are not shared. Basically the lamps work, two or three buttons to start the aircraft (but not the battery switches, not the "engine one and two" switches). Ecam and its interupteurs are not shared either ... Except, on youtube, I see players succeed in sharing the mcdu and others.
We can't do it, whereas with the other planes, there is no problem.
Do you have any idea what to do? We tested with FlyByWire A32 in "dev" or "stable" version, with or without update, we took the last update of "your controls" from yesterday, but that does not change anything.
Thank you for reading this post.
When we engage the AP, the trim of the non-flying pilot is going full up with a lot of noise, impossible to move. It become then impossible to transfer controls because the plane would have weird behavior.
To reproduce
Take off and engage AP
Describe the bug
We have had trouble with the FMC on all the planes we have flown so far (A32nx, TBM, DA62). When I am in control and am trying to program the FMC, my friend is not seeing any of the buttons being pressed on the fmc. I program the flight plan and his FMC remains on the initial page when the battery/app start. Due to his FMC not registering my inputs, he cannot see any part of the flight plan.
To Reproduce
Expected behavior
The FMC will sync button presses between the clients so that my friend will actively see my programming of the FMC and the flight plan that is created.
It'd be great if the readme could include the type of procotol used for port forwardings (TCP or UDP). This would make configuring firewalls and forwardings easier.
(Edit: that's not the label I wanted to assign, don't think I can change it)
Friend and I tried this plugin out, we have used SmartCopilot so we have experience with this. We were on version 1.2.2
.
Both aircraft:
I turned my server on and he connected. Instantly, his plane turned on and mine stayed off even though we did not manipulate switches inside the aircraft. My friend then pulled the crash bar down to shut all electrical systems off and then my plane turned on.
We tried pausing, and reloading, yet the issue persisted.
Test
Describe the bug
After a short time, G1000 avionics pfd and mfd go black for the connecting client
To Reproduce
Steps to reproduce the behavior, for example:
Expected behavior
Mfd and pfd screens go black on client side but stay on for server. The switches and dials still work to add input to them, as shown in server's side of the session
Unable to provide logs at this time.
Hey Bro Long Time no see lol
Anyways i found some usefull info for you from the New SDK From The Sim Maybe You Can Check it Out They even added a Huge Chunk Of Simconnect Info !
SimConnect_Status_of_SimEvents.html.pdf
It would be nice if you could move YourControlGauge.wasm to the new standalone modules folder.
From the development update on November 12th:
- We added support for standalone WASM modules. These should be placed in a “modules” folder located at the root of the package, and will be loaded automatically when the said package is mounted. The “module_init” and “module_deinit” functions will be called upon loading/unloading.
Some advantages this could bring:
Though I have no clue how well the new standalone WASM API works or how much work it would be to port YourControlGauge.wasm to it.
Off-Topic: thank you for making this! I'm considering using YourControls to make non-SimConnect accessible parts of the cockpit (e.g. Garmin map zoom) accessible to home cockpit builders. It's really nice to have the WASM part of this already solved.
Hi, canyou please add a manifest file?? because the MSFSAddons_Linker needs it to recognize the addon. Would be nice that the addon is recognized by that tool.
Thanks
https://i.imgur.com/CX0Mhgu.png
Valid IPv4 address showing as not valid when trying to connect.
I STUMBLED ACROSS YOUR REPO AND I WAS JUST AMAZED BECAUSE I HAVE BEEN WAITING FOR THE SHARED COCKPIT FEATURE TO BE OUT SOONER BUT YUP YOU WIN MAN!
I WANNA HELP YOU MAKE THIS HUGE SO I MADE A VIDEO ABOUT IT ON MY CHANNEL AND SHARED THE HELL OF IT https://youtu.be/54t0nT768YM
"YOU Can Share Cockpits Now With This Mod😍"
PLEASE LET ME DONATE MY 5 BUCKS OF THANK YOU! ❤
Regards,
Michael or FSMADDNESSPILOT
hi amazing work!
But when using this addon, i'm experiencing a considerable framerate loss.
I have tried with cessna 172 and airbus a320 flybyware with shared cokpit.
What can be the problem?
Describe the bug
TBM930 touch screen controls spazz out
To Reproduce
Expected behavior
Touch screen controls do random things instead of doing what you are trying. For example try hitting flightplan, then add origin.
The touch screen controls go into completely different menus.
PLEASE ATTACH EVERYONE'S LOGS
client_log.txt
server_log.txt
.exe is not avaiable in the latest update.
Describe the bug
JonFly and I did another test with the new update and it overall went fine. Most values synced, but COM/NAV frequencies still don't sync. Neither through virtual cockpit or Spad.Next external controls. Squwak in the G1000 also did not sync. These systems are crucial to make a proper VATSIM pilot/copilot flight and I would really like to see them work.
Also when we passed controls while current pilot had AP engaged the plane started to spin out of control.
We flew a D40NG and selected the right config.
Video here http://www.twitch.tv/ndeavor/v/785039532?sr=a&t=0s
To Reproduce
Steps to reproduce the behavior, for example:
Expected behavior
COM/NAV frequencies sync and change when transfer button is pressed.
Additional context
Might be that the wrong SimConnect variables/events are used.
PLEASE ATTACH EVERYONE'S LOGS
On mobile, will have to add them later, if needed
Discord
nDeavor
Hey Sequal32,
JonFly and I tested the addon you wrote and overall we really enjoy it. We just did a test run again, but this time using VATSIM. Me controlling the aircraft and Jon doing coms. (https://www.twitch.tv/videos/747079454)
BAT and PITOT switches were not synced, but after using the latest version aka modifying the dat file it worked fine.
Jon was even able to bring up gears without me handing him controls which is awesome.
We noticed though that squawk did not work properly. code was synced, but when I switched to ALT reporting in the G1000 it did not sync that.
It also appears that radio standby/active frequencies are not correctly synced and we both had to make sure to set the right standby frequency before I switched them.
Transfer of controls is still wonky and messes things up, so we stopped using that for now.
This is an awesome addon and we really enjoy using it.
Client disconnected reason connection timed is the error I get. Is there a fix
Describe the bug
When tuning the NDB/ADF receiver in g1000 (e.g. C172 skyhawk) in a shared session the decimals are off by one between the two users, server and client. E.g. when tuning 0355 kHz and adjusting the last digit (5), one will show 5 while the other will show 4.
To Reproduce
Expected behavior
Both systems should show same frequency on NDB receiver, but they are off by one on the digit being tuned.
Simconnnect Issues
Your control do not connects to Simconnect, warning "Not connected".
Can't save settings, or start server or start as client, it becomes a blank page.
How To Reproduce
PS: No matter the procedures order.
*It's not working for me and my partner (FullerHKZ), same issues on both.
*Version 2.2.0 was working. I've tried to use it after 2.3.0 but it's not working anymore.
LOG
21:39:31 [INFO] Creating webview...
21:39:31 [INFO] Spawning webview thread...
21:39:31 [INFO] Connected to SimConnect.
21:39:31 [INFO] Running webview thread...
21:39:34 [INFO] Found 9 configuration file(s).
21:39:34 [INFO] Version 2.3.0 in use, 2.3.0 is newest.
So I tested this today and while in cruise on AP with ALT and NAV engaged in a 172 skyhawk I passed controls to the client and the plane started to rotate out of control as it didn't seem to be on AP or have the full plane config synced. I also noticed that when I pass controls the client plane jumped a bit forward and we were not in the same position anymore.
Happy to provide more details if needed
Not an issue, but I heard you have a Discord server. Where do I find it?
(Amazing project, we have tried it today and are abolutely sold.)
Describe the bug
yourcontrols 2.2.0
MSFS 1.10.7
I flew the A32NX today as a client and we ran into desync issues along the flight.
Everything went perfectly up until the point where an approach was manually entered into the CDU by the server.
You select an approach from a list in the CDU. If the client's and server's lists are the same it works out.
My server used Navigraph though, which replaces/expands the navigation database.
So his "25L" approach was the "07R" approach for me in the CDU's list.
To Reproduce
Expected behavior
The list of approaches in the CDU should be the same between server & client.
Additional context
I don't know how to fix this properly but I wanted to use this issue to talk about it.
If you can't fix it, maybe mention that client and server should have the same navigation databases for a smooth experience.
Discord
@MrMinimal
Describe the bug
Buttons and levers sync, client stays on same position.
Starting with pushback I could tell no sync was happening.
Additional context
v2.3.1
PLEASE ATTACH EVERYONE'S LOGS
log_server.txt
Discord
MrMinimal
Hi!
This mod is amazing and I've had tons of fun with it. One feature I'm missing is that the host can take control back when someone else is in control without the person in control having to do that.
Thank you!
When I am in mid-flight, in MSFS2020, my friend begins to slow down or starts to deviate from the route while I am still fine, when I try to reconnect I appear at 300 knots or more, he cannot go down because he is going up and I trying to go down This happens when one of the two is in command, and it is quite annoying because if we are in IVAO or Vatsim we have to end the flight because either he gets out of sync or I get out of sync, please fix this as soon as possible, this error came with him FBW 32NX mod Autopilot patch, please fix it
There is a conflict between YourControls and the DA62X-mod. With incompatibililty, I mean just having the YourControl-folder in the Community-folder (without having a shared cockpit session active) and trying to use the DA62X. Then the alternators fail and the the load only going up to ~70% at full throttle (there might be more that I have not realized yet).
I had a look at the folder structure of the two mods, I guess the problem arises from (one of) these two conflicting files:
As a next step, I also compared to the default DA62 in the “Official” folder. The difference of the PANEL.CFG is very easy to visualize (left: DA62X, middle: YourControl, right: default:
So here the analysis is straightforward: the two mods define different “Vcockpit05” objects.
The difference in the DA62_INTERIOR.xml is a bit more messy, In the DA62X version, of course there is some stuff added compared to the default version. But the YourControl-Version only differs marginally from the default one - and strangely: Different XML-Tags vs. , different variable name L vs I... I’m beginning to suspect that the YourControl-File is just an older version of the default?
Light switches in many aircraft (TBM, A320 neo, ...) are not syncing at all. We keep having to do weird stuff to make them sync but most of the time it is near impossible.
Version: 1.2.4
Aircraft: TBM
Looks like navigating through the menus on the bottom screen (MFD, PFD, and COMMS) is not synced. When entering waypoints, the GPS on my screen shows the route, but on my friend's it does not.
Is this a limitation of simconnect as well?
Hi, I have been studying the code for a while, could you provide some guidance on requirements and dependencies for cloning, or build details?
Thanks!
When streaming with shared cockpit there is a risk of exposing the IP address. Having an option to hide the IP would be great
Hey,
I am looking into adding some sync vars, but I am not familiar with Rust. How can I run the program with some debugging/logging to test changes locally?
I downloaded the latest version, but upon opening it, it goes straight into a "not responding" state and you can't interact with it.
I looked for any logs I could provide, or discern for myself, but I don't see any.
Current code is very messy with all the state changes. Data doesn't update often, react would be a good fit. Perhaps a transition to Tauri would benefit as well.
Describe the bug
when you install yourcontrols - it reverts touchscreen displays back to default. even if both users use working-title g300 mod
To Reproduce
just wanted to call it out - hopefully the two mods can co-exist!
I would suggest that it should be possible for the person not in control to force getting control (as an optional feature that can be activated by the server). If you fly in kind of an "instructor and student" configuration, this would add more realism and immersion.
Hello Sequal,
When trying this out with a friend, we were able to get connected and with him as the active, my plane was being towed around by him. Almost like my plane was on a rope. How do we get it synced so were the same plane? Below is the settings we used.
"port": 7777,
"update_rate": 20,
"buffer_size": 3,
"conn_timeout": 20.0,
The Bug: When we are flying in VATSIM the model matching is working on our plane, Which means I can see our plane 2 times on each other and we cant use the shared cockpit at all in VATSIM. (one connected as pilot one connected observer and still see the plane 2 times).
The reproduce:
"I am getting the error: The code execution cannot proceed because VCRUNTIME140_1.dll was not found. Reinstalling the program may fix this problem." Reinstalling the program did not fix the problem for me.
Airbus version 0.4.1
yourcontrols version 2.2.0
Autobrake Buttons
BARO/REF Selector (does a weird wiggling back and forth, both users have to turn at the same time)
TAKE OFF CONFIG BUTTON
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.