redxi / vatsimbrief-helper Goto Github PK
View Code? Open in Web Editor NEWX-Plane Lua Plugin supporting VR pilots with their Simbrief flight plan and live frequency information from VATSIM
License: MIT License
X-Plane Lua Plugin supporting VR pilots with their Simbrief flight plan and live frequency information from VATSIM
License: MIT License
Hi, I installed vatsimbrief-helper using the .exe installer. Started X-Plane 11 and the windows came up. I added my SimBrief username and all of the vatsimbrief-helper and VR Radio Helper windows went black. No text. Red text at top right of screen indicating Lua stopped. I would uninstall and reinstall but not sure which folders and files to delete. Also happy to send any log files to you if you let me know which ones to create or grab.
Reported by Mike, seemingly the PDF contains some error response body from the former HTTP request.
ATC frequencies and airplane positions do not load from VATSIM network as they changed the endpoint. The new endpoint provides the information in a diffent format (JSON instad of CSV). It also uses HTTPS instead of HTTP, which is currently not supported by FlyWithLua.
Expected behavior: ATC window shows VATSIM frequencies.
Actual behavior: ATC window shows no VATSIM frequencies but remains in "Downloading" state.
X-Plane log file:
Requesting URL 'http://cluster.data.vatsim.net/vatsim-data.txt' at time '19:37:09'
...plane/xp3/Resources/plugins/FlyWithLua/Modules/copas.lua:43: ...plane/xp3/Resources/plugins/FlyWithLua/Modules/copas.lua:43: ...plane/xp3/Resources/plugins/FlyWithLua/Modules/copas.lua:582: module 'ssl' not found:
no field package.preload['ssl']
no file '.\ssl.lua'
no file 'C:\Users\johan\xplane\xp3\lua\ssl.lua'
no file 'C:\Users\johan\xplane\xp3\lua\ssl\init.lua'
no file 'C:\Program Files (x86)\Lua\5.1\lua\ssl.luac'
no file 'C:\Users/johan/xplane/xp3/Resources/plugins/FlyWithLua/Internals/ssl.lua'
no file 'C:\Users/johan/xplane/xp3/Resources/plugins/FlyWithLua/Internals/ssl/init.lua'
no file 'C:\Users/johan/xplane/xp3/Resources/plugins/FlyWithLua/Modules/ssl.lua'
no file 'C:\Users/johan/xplane/xp3/Resources/plugins/FlyWithLua/Modules/ssl/init.lua'
no file '.\ssl.dll'
no file 'C:\Users\johan\xplane\xp3\ssl.dll'
no file 'C:\Users\johan\xplane\xp3\loadall.dll'
no file 'C:\Users/johan/xplane/xp3/Resources/plugins/FlyWithLua/Internals/ssl_64.dll'
no file 'C:\Users/johan/xplane/xp3/Resources/plugins/FlyWithLua/Modules/ssl_64.dll' (coroutine: thread: 0x26e49430, socket: tcp{client}: 0000000026EE1490)
stack traceback:
[C]: in function 'error'
...plane/xp3/Resources/plugins/FlyWithLua/Modules/copas.lua:43: in function 'request'
...ources/plugins/FlyWithLua/Scripts/vatsimbrief-helper.lua:578: in function 'performDefaultHttpGetRequest'
...ources/plugins/FlyWithLua/Scripts/vatsimbrief-helper.lua:1409: in function <...ources/plugins/FlyWithLua/Scripts/vatsimbrief-helper.lua:1406>
Requesting URL 'http://cluster.data.vatsim.net/vatsim-data.txt' at time '19:38:10'
...plane/xp3/Resources/plugins/FlyWithLua/Modules/copas.lua:43: ...plane/xp3/Resources/plugins/FlyWithLua/Modules/copas.lua:43: ...plane/xp3/Resources/plugins/FlyWithLua/Modules/copas.lua:582: module 'ssl' not found:
no field package.preload['ssl']
no file '.\ssl.lua'
no file 'C:\Users\johan\xplane\xp3\lua\ssl.lua'
no file 'C:\Users\johan\xplane\xp3\lua\ssl\init.lua'
no file 'C:\Program Files (x86)\Lua\5.1\lua\ssl.luac'
no file 'C:\Users/johan/xplane/xp3/Resources/plugins/FlyWithLua/Internals/ssl.lua'
no file 'C:\Users/johan/xplane/xp3/Resources/plugins/FlyWithLua/Internals/ssl/init.lua'
no file 'C:\Users/johan/xplane/xp3/Resources/plugins/FlyWithLua/Modules/ssl.lua'
no file 'C:\Users/johan/xplane/xp3/Resources/plugins/FlyWithLua/Modules/ssl/init.lua'
no file '.\ssl.dll'
no file 'C:\Users\johan\xplane\xp3\ssl.dll'
no file 'C:\Users\johan\xplane\xp3\loadall.dll'
no file 'C:\Users/johan/xplane/xp3/Resources/plugins/FlyWithLua/Internals/ssl_64.dll'
no file 'C:\Users/johan/xplane/xp3/Resources/plugins/FlyWithLua/Modules/ssl_64.dll' (coroutine: thread: 0x268ac3c8, socket: tcp{client}: 0000000026ACC670)
stack traceback:
[C]: in function 'error'
...plane/xp3/Resources/plugins/FlyWithLua/Modules/copas.lua:43: in function 'request'
...ources/plugins/FlyWithLua/Scripts/vatsimbrief-helper.lua:578: in function 'performDefaultHttpGetRequest'
...ources/plugins/FlyWithLua/Scripts/vatsimbrief-helper.lua:1409: in function <...ources/plugins/FlyWithLua/Scripts/vatsimbrief-helper.lua:1406>
Cause: Webservice interface now enforces TLS but Lua does not provide SSL libraries out of the box.
Time in ATC window shows local time instead of zulu time.
Hi,
First of all great work! I like the plugin. Some feedback:
It would be nice to have different mappings where the files are sent to, not just 1 folder. For example; the FMC file my addon uses is in a different map. The PDF I would like to automaticly be put in the Avitab Charts folder and the Vpilot file in another dedicated Xpilot folder.
I was trying to assign keys to popup the different helper windows but I couldn't find the related plugin actions. Selecting the fly with lua menu and then the window is a bit time consuming ....
My 2 cents, I will certainly continue using it.
Grtz
The configuration window still opens up as expected but the log contained the following message:
Not fetching flight plan. No simbrief username configured.
...ources/plugins/FlyWithLua/Scripts/vatsimbrief-helper.lua:1335: attempt to call global 'createVatsimbriefHelperControlWindow' (a nil value) (coroutine: thread: 0x36c70bc0, socket: nil)
stack traceback:
...ources/plugins/FlyWithLua/Scripts/vatsimbrief-helper.lua: in function <...ources/plugins/FlyWithLua/Scripts/vatsimbrief-helper.lua:1325>
Hotfix, line 1335:
if createVatsimbriefHelperControlWindow ~= nil then
createVatsimbriefHelperControlWindow()
end
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.