XSquawkBox 1.3.2更新了!
RT,3月18号更新的。下载的地址:http://www.xsquawkbox.net/xsb/download/
顺便问个问题:Flywithlua启动的时候,都会“谈到”跟XSB的事情,请问Flywithlua和XSB之间有什么联系么?
我在Flywithlua的internals目录里,看到了XsquawkBox.lua,但里面的代码如下:
module(..., package.seeall);
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- >8 -- -- -- -- --
-- FlyWithLua XSquawkBox library V1.0 build 2012-10-03
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- This library sets all basic XSB DataRefs, use it to name them equal in different scripts
--
-- For more info how to use them, please read the official XSquawkBox developer manual.
--
-- Usage: Instead of defining the DataRefs, just insert a line >>require("XSquawkBox")<<
-- -- -- -- 8< -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- info about XSB
dataref("XSB_VERS_NUMBER", "xsquawkbox/vers/number", "readonly") -- int,100 = 1.0
dataref("XSB_VERS_STRING", "xsquawkbox/vers/string", "readonly", 0) -- string, e.g. 1.0b4
-- DataRefs used for connecting to the VATSIM server
dataref("XSB_CON_CALLSIGN", "xsquawkbox/login/callsign", "writable", 0) -- string
dataref("XSB_CON_SERVER", "xsquawkbox/login/server", "writable", 0) -- string (DNS address or IP as string
dataref("XSB_CON_PORT", "xsquawkbox/login/port", "writable") -- int
dataref("XSB_CON_PILOT_ID", "xsquawkbox/login/pilot_id", "writable", 0) -- string
dataref("XSB_CON_PASSWORD", "xsquawkbox/login/password", "writable", 0) -- string
dataref("XSB_CON_REALNAME", "xsquawkbox/login/realname", "writable", 0) -- string
dataref("XSB_CON_MODEL", "xsquawkbox/login/model", "writable", 0) -- string
dataref("XSB_CON_STATUS", "xsquawkbox/login/status", "readonly") -- int, 0 = disconnected, 1 = connecting, 2 = connected, NOT WRITABLE
-- your flightplan, remember that an integer is not a char!
dataref("XSB_FP_FLIGHT_TYPE", "xsquawkbox/fp/flight_type", "writable") -- int, either I, V, D, or S
dataref("XSB_FP_TCAS_TYPE", "xsquawkbox/fp/tcas_type", "writable") -- int, T, H, B, L, or 0
dataref("XSB_FP_NAV_TYPE", "xsquawkbox/fp/nav_type", "writable") -- int, F, G, R, A, etc.
dataref("XSB_FP_SPEED", "xsquawkbox/fp/speed", "writable") -- int, knots
dataref("XSB_FP_DEPARTURE_AIRPORT", "xsquawkbox/fp/departure_airport", "writable", 0) -- string, ICAO code
dataref("XSB_FP_DEPARTURE_TIME", "xsquawkbox/fp/departure_time", "writable") -- int, zulu time, e.g. 1340 = 13:40
dataref("XSB_FP_DEPARTURE_TIME_ACTUAL", "xsquawkbox/fp/departure_time_actual", "writable") -- int, zulu time
dataref("XSB_FP_CRUISE_ALTITUDE", "xsquawkbox/fp/cruise_altitude", "writable", 0) -- string, either FLxxx or yyyyy
dataref("XSB_FP_ARRIVAL_AIRPORT", "xsquawkbox/fp/arrival_airport", "writable", 0) -- string, ICAO code
dataref("XSB_FP_ENROUTE_HRS", "xsquawkbox/fp/enroute_hrs", "writable") -- int, hrs
dataref("XSB_FP_ENROUTE_MINS", "xsquawkbox/fp/enroute_mins", "writable") -- int, mins
dataref("XSB_FP_FUEL_HRS", "xsquawkbox/fp/fuel_hrs", "writable") -- int, hrs
dataref("XSB_FP_FUEL_MINS", "xsquawkbox/fp/fuel_mins", "writable") -- int, mins
dataref("XSB_FP_ALTERNATE_AIRPORT", "xsquawkbox/fp/alternate_airport", "writable", 0) -- string, ICAO code
dataref("XSB_FP_REMARKS", "xsquawkbox/fp/remarks", "writable", 0) -- string
dataref("XSB_FP_ROUTE", "xsquawkbox/fp/route", "writable", 0) -- string
dataref("XSB_MIC_OPEN", "xsquawkbox/mic/open", "readonly") -- int, 1 if the mic is open right now, NOT WRITABLE
dataref("XSB_MIC_ENABLED", "xsquawkbox/mic/enabled", "writable") -- int, 0 to mute mic, 1 to let XSB decide, 2 to force open请大神们指教!谢谢!
这次1.32的最重大利好是CSL机模库读取方式改变了 现在就算放多少CSL也不会对载入速度和内存占用造成影响 简直历史性的进步 这个插件是干什么的? moshido 发表于 2017-3-23 16:12
这个插件是干什么的?
xp11的联机软件(应该是唯一一个吧?) flamenco 发表于 2017-3-23 16:19
这次1.32的最重大利好是CSL机模库读取方式改变了 现在就算放多少CSL也不会对载入速度和内存占用造成影响 简 ...
那真是好! 然而还没玩到联机的水平:D liuqin621003 发表于 2017-3-23 20:18
这个程序是什么作用的
xp平台的连飞软件。 看看FlyWithLua的Manual你就知道了,用XSB跟FlyWithLua对话(实际上就是使用Lua语言完成一些功能)非常方便,可选,不是必须的 brookings 发表于 2017-3-25 03:16
看看FlyWithLua的Manual你就知道了,用XSB跟FlyWithLua对话(实际上就是使用Lua语言完成一些功能)非常方便 ...
哦,是这样,谢谢!我去看看说明去! flamenco 发表于 2017-3-23 16:19
这次1.32的最重大利好是CSL机模库读取方式改变了 现在就算放多少CSL也不会对载入速度和内存占用造成影响 简 ...
请问有没有csl机模打包下载的地方?谢谢! 希望效率能提高 我看了下官网CSL机模最后更新是四年前能用吗 老涂装不少
页:
[1]