Writing auto-pilots in JavaScript for MSFS
Fabulous writeup. On the default http://localhost:3000/ when I call server.autopilot.update({ [key]: value }); I get Uncaught (in promise) Error: no access permission on server:autopilot:update for client at HTMLButtonElement.<anonymous> (autopilot.js:44:26) Fetching the inital state(aka GET) works fine, but when I try update with any button, it fails same error <img width="847" alt="Screenshot 2024-10-25 at 00 17 02" src="https://github.com/user-attachments/assets/32dfa5a1-7fbb-4e77-b5ab-88f1b7e8d01d"> .env is : export DATA_FOLDER= export ALOS_PORT=9000 export WEB_PORT=3000 export API_PORT=8080 export FLIGHT_OWNER_KEY="dXNlcm5hbWVwYXNzd29yZA==" export FLIGHT_OWNER_USERNAME=username export FLIGHT_OWNER_PASSWORD=password
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be still under discussion. The issue was opened by vinnyglennon and has received 3 comments.