Mouse21 发表于 2017-12-20 11:55:21

【求助】Flywithlua 2.6.5的问题。

把原来的版本整个目录移除,只安装了最新的版本。但是任然会报错,出现“lua stopped”
打开FlyWithLua_Debug.txt
后半部分内容如下:
FlyWithLua Info: Start loading script file Resources/plugins/FlyWithLua/Scripts/please read the manual.lua
FlyWithLua Info: Finished loading script file Resources/plugins/FlyWithLua/Scripts/please read the manual.lua
FlyWithLua Info: Start loading script file Resources/plugins/FlyWithLua/Scripts/shadows_parameters.lua
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.
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.)
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.
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.
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.
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.)
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.
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.
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.
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.)
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.
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.
FlyWithLua Info: Finished loading script file Resources/plugins/FlyWithLua/Scripts/shadows_parameters.lua
FlyWithLua Error: The error seems to be inside of script file Resources/plugins/FlyWithLua/Scripts/shadows_parameters.lua
FlyWithLua Debug Info: Sorry, no debug Info on stack.
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.感觉是其中这句: 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。
请大家赐教,谢谢!


Mouse21 发表于 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不认?
能解决么?

Mouse21 发表于 2017-12-20 14:41:20

然后我在xp11的dataref里面搜索,确实没有报错的这三个参数。dataref里连private的目录都没有,这是为何?请大神解惑,谢谢!

rray 发表于 2017-12-20 16:45:35

https://forums.x-plane.org/index.php?/forums/topic/125278-flywith-lua-stopped/

用 Complete Edition试试

Mouse21 发表于 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 ...

收到!
谢谢!                  

Mouse21 发表于 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,为何不行呢?

rray 发表于 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吧

Mouse21 发表于 2018-1-3 08:35:18

rray 发表于 2017-12-21 12:35
是flywithlua用错版本了. 您之前的应该是core edition吧

明白了,谢谢解惑!
页: [1]
查看完整版本: 【求助】Flywithlua 2.6.5的问题。