查看: 3331|回复: 7

【求助】Flywithlua 2.6.5的问题。

[复制链接]
已绑定手机
发表于 2017-12-20 11:55:21 | 显示全部楼层 |阅读模式
把原来的版本整个目录移除,只安装了最新的版本。但是任然会报错,出现“lua stopped”
打开FlyWithLua_Debug.txt
后半部分内容如下:
[001740] FlyWithLua Info: Start loading script file Resources/plugins/FlyWithLua/Scripts/please read the manual.lua
[001741] FlyWithLua Info: Finished loading script file Resources/plugins/FlyWithLua/Scripts/please read the manual.lua
[001742] FlyWithLua Info: Start loading script file Resources/plugins/FlyWithLua/Scripts/shadows_parameters.lua
[001743] FlyWithLua Error: The DataRef "sim/private/controls/fbo/shadow_cam_size" can not be accessed from FlyWithLua, as it is a private DataRef. Reading or writing private DataRefs is prohibited by Laminar Research.
[001744] FlyWithLua Info: Ben Supnik told us this:    (Please see http://developer.x-plane.com/2014/05/art-controls-are-an-active-volcano/ for more details.)
[001745] FlyWithLua Info: The art controls are not a public interface to make X-Plane add-ons. They are an internal development tool. They are unsupported, undocumented, unsafe, and most importantly subject to change with every patch of X-Plane.
[001746] FlyWithLua Info: If you create an add-on that requires reading or writing the art controls, you can expect that your add-on will stop working when X-Plane is updated. When your add-on breaks, please do not complain or file a bug.
[001747] FlyWithLua Error: The DataRef "sim/private/controls/shadow/csm_split_exterior" can not be accessed from FlyWithLua, as it is a private DataRef. Reading or writing private DataRefs is prohibited by Laminar Research.
[001748] FlyWithLua Info: Ben Supnik told us this:    (Please see http://developer.x-plane.com/2014/05/art-controls-are-an-active-volcano/ for more details.)
[001749] FlyWithLua Info: The art controls are not a public interface to make X-Plane add-ons. They are an internal development tool. They are unsupported, undocumented, unsafe, and most importantly subject to change with every patch of X-Plane.
[001750] FlyWithLua Info: If you create an add-on that requires reading or writing the art controls, you can expect that your add-on will stop working when X-Plane is updated. When your add-on breaks, please do not complain or file a bug.
[001751] FlyWithLua Error: The DataRef "sim/private/controls/shadow/last_3d_pass" can not be accessed from FlyWithLua, as it is a private DataRef. Reading or writing private DataRefs is prohibited by Laminar Research.
[001752] FlyWithLua Info: Ben Supnik told us this:    (Please see http://developer.x-plane.com/2014/05/art-controls-are-an-active-volcano/ for more details.)
[001753] FlyWithLua Info: The art controls are not a public interface to make X-Plane add-ons. They are an internal development tool. They are unsupported, undocumented, unsafe, and most importantly subject to change with every patch of X-Plane.
[001754] FlyWithLua Info: If you create an add-on that requires reading or writing the art controls, you can expect that your add-on will stop working when X-Plane is updated. When your add-on breaks, please do not complain or file a bug.
[001755] FlyWithLua Info: Finished loading script file Resources/plugins/FlyWithLua/Scripts/shadows_parameters.lua
[001756] FlyWithLua Error: The error seems to be inside of script file Resources/plugins/FlyWithLua/Scripts/shadows_parameters.lua
[001757] FlyWithLua Debug Info: Sorry, no debug Info on stack.
[001758] FlyWithLua Debug Info: Debug file written to "<<x-plane dir>>/FlyWithLua_Debug.txt".


*** History of code you entered directly into FlyWithLua ***
-- Welcome to FlyWithLua running Lua 5.1 (for more info see SYSTEM, SYSTEM_ARCHITECTURE, xplane_VERSION and XPLANE_LANGUAGE).
-- Get mouse, keyboard and screen info from MOUSE_X, MOUSE_Y, SCREEN_WIDTH, SCREEN_HIGHT, VKEY and CKEY.
感觉是其中这句:[001743] FlyWithLua Error: The DataRef "sim/private/controls/fbo/shadow_cam_size" can not be accessed from FlyWithLua, as it is a private DataRef. Reading or writing private DataRefs is prohibited by Laminar Research.但这个lua脚本也是下载下来的,并未做任何修改。
在xp11中也重启过Flywithlua。但都出现lua stopped。
请大家赐教,谢谢!


已绑定手机
楼主 发表于 2017-12-20 12:01:16 | 显示全部楼层
我的理解:是不是这几个dataref:sim/private/controls/fbo/shadow_cam_size和sim/private/controls/shadow/last_3d_pass还有sim/private/controls/shadow/csm_split_exterior,xp11不认?
能解决么?
已绑定手机
楼主 发表于 2017-12-20 14:41:20 | 显示全部楼层
然后我在xp11的dataref里面搜索,确实没有报错的这三个参数。dataref里连private的目录都没有,这是为何?请大神解惑,谢谢!
发表于 2017-12-20 16:45:35 | 显示全部楼层
https://forums.x-plane.org/index.php?/forums/topic/125278-flywith-lua-stopped/

用 Complete Edition试试
已绑定手机
楼主 发表于 2017-12-21 09:15:22 | 显示全部楼层
rray 发表于 2017-12-20 16:45
https://forums.x-plane.org/index.php?/forums/topic/125278-flywith-lua-stopped/

用 Complete Edition ...

收到!
谢谢!                  
已绑定手机
楼主 发表于 2017-12-21 10:30:49 | 显示全部楼层
rray 发表于 2017-12-20 16:45
https://forums.x-plane.org/index.php?/forums/topic/125278-flywith-lua-stopped/

用 Complete Edition ...

已解决,非常感谢!但有一个疑问,您的帖子中版主解释是版本不对,但我的是xp11,为何不行呢?
发表于 2017-12-21 12:35:17 | 显示全部楼层
本帖最后由 rray 于 2017-12-21 12:36 编辑
Dave could you please make the complete edition sticky. I'm afraid of new users won't find it if it goes down to a subpage. You can unstick the core edition and I can ref it in the download description.


是flywithlua用错版本了. 您之前的应该是core edition吧
已绑定手机
楼主 发表于 2018-1-3 08:35:18 来自手机来自手机 | 显示全部楼层
rray 发表于 2017-12-21 12:35
是flywithlua用错版本了. 您之前的应该是core edition吧

明白了,谢谢解惑!
您需要登录后才可以回帖 登录 | 加入联盟

本版积分规则

快速回复 返回顶部 返回列表