Coder Social home page Coder Social logo

redxi / vatsimbrief-helper Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 0.0 4.46 MB

X-Plane Lua Plugin supporting VR pilots with their Simbrief flight plan and live frequency information from VATSIM

License: MIT License

Lua 97.81% Batchfile 2.06% NSIS 0.13%
x-plane vatsim vr simbrief flight-plan atc

vatsimbrief-helper's People

Contributors

redxi avatar verticallongboard avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

vatsimbrief-helper's Issues

Install of vatsimbrief-helper crashed lua

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.

vatsimbrief helper crash screenshot_2
vatsimbrief helper crash screenshot
.

VATSIM Information service N/A

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.

  1. As a temporary fix, disable the ATC window which is not functioning at the moment.
  2. Find a solution to fetch URLs with TLS.

Vatsim Frequencies do not load anymore

Expected behavior: ATC window shows VATSIM frequencies.

Actual behavior: ATC window shows no VATSIM frequencies but remains in "Downloading" state.

vatsimbrief-vatsim-atc-window

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.

vatsimbrief-vatsim-https

Great plugin!

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

Exception during (first) launch when no simbrief user name is set

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.