3GO模拟飞行网|3GO Cyber Air Force

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 2916|回复: 10

[安装] 利用lua脚本记录联机结果并存为html的方法

[复制链接]
发表于 2004-12-12 23:35:58 | 显示全部楼层 |阅读模式
<P>首先,备份好config\export\export.lua</P>
<P>然后,把附件中的3个lua解压到config\export目录,包括3个文件:</P>
<P>export.lua</P>
<P>fileOps.lua</P>
<P>logFlight.lua</P>
<P>这样,在做主机时,在每次联机完毕都会在lockon目录的temp子目录下产生LogFile.html,详细记录了联机的战斗记录,包括积分表、具体战报等,还有一个LastFlight.html(什么作用还不清楚)。</P>
<P>同时,在temp目录中有一个mp_log.txt文件,这是lockon系统自动产生的每次联机任务的结果文字描述txt文件。</P>
<P>这个方法对在网站上记录战绩是非常有用的。</P>
<P>
</P>

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
 楼主| 发表于 2004-12-12 23:38:59 | 显示全部楼层
<P>LogFile.html的内容示例

</P>

[此贴子已经被作者于2004-12-12 23:41:49编辑过]

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2004-12-13 09:33:19 | 显示全部楼层
<P>感觉很说明问题啊,以后我们的战役可以有很好很清晰的记录了。不过还是没有看懂积分?积分的累计有什么规律?</P><P>如何积分的?</P>
发表于 2004-12-14 10:14:46 | 显示全部楼层
<P>你的1。02 README文件里有的:</P><P> A multiplayer scoring system has been added.  To view mission scores, ping rate, losses, and kills, press the quote key to view the score window.  Scores are based on the following point values:
Tornado IDS = 50
F/A-18A = 50
F/A-18C = 50
MiG-29S = 50
MiG-29A = 50
F-14A = 50
Tu-22M3 = 100
F-4E = 30
B-52H = 100
MiG-27K = 50
A-10A = 50
Su-27 = 50
MiG-29A = 50
MiG-23MLD = 30
Su-25 = 50
Su-39 = 50
Su-33 = 50
MiG-25PD = 30
MiG-25RBT = 30
Su-30 = 50
Su-34 = 70
Su-17M4 = 50
MiG-31 = 50
Tu-95MS = 100
Su-24M  = 70
Tu-160 = 100
F-117A = 70
B-1B = 100
S-3B = 50
S-3B = 50
Mirage 2000-5 = 50
F-15C = 50
F-5E = 30
MiG-29K = 50
Tu-142 = 100
C-130 = 50
An-26B = 50
An-30M = 50
C-17A = 50
A-50 = 100
E-3A = 100
IL-78M = 100
KC-10A = 100
E-2C = 100
IL-76MD = 70
F-16C = 50
Su-24MR = 70
F-16A = 50
Ka-50 = 50
Ka-52 = 50
Mi-24W = 30
Mi-8MT = 30
Mi-26 = 30
Ka-27 = 30
UH-60A = 30
CH-53E = 30
CH-47D = 30
SH-3W = 30
AH-64A = 50
AH-64D = 50
AH-1W = 30
SH-60B = 30
AB-212ASW = 20
Moscow = 4500
Elnya = 700
Albatros = 2000
Rezky = 1460
Molniya = 1000
Oliver Perry = 2500
Ticonderoga = 4000
Kilo = 1200
Som = 1500
Zvezdny = 50
Yastrebov = 2000
Neustrashimy = 1500
Admiral Kuznetsov = 5500
CVN-70 = 5500
Yakushev = 50
Ivanov = 50
1L13 EWR= 100
55G6 EWR = 100
S-300PS 40B6M tr = 20
S-300PS 40B6MD sr = 100
S-300PS 5H63C tr = 20
S-300PS 64H6E sr = 100
S-300PS 5P85C ln = 70
S-300PS 5P85D ln = 70
Buk SR = 100
Buk LN = 70
Buk LD/LN = 70
Kub STR = 100
Kub LN = 70
Osa 9A33 ln = 50
Osa 9T217 ld = 20
Strela-1 9P31 = 30
Strela-10 9A35 = 30
Dog Ear rdr = 50
Tor 9A331 = 100
Tunguska = 100
Shilka = 30
Roland ADS = 100
Roland rdr = 100
Avenger = 30
Patriot STR = 100
Patriot LN = 100
Gepard = 70
Hawk SR = 100
Hawk TR = 20
Hawk LN = 70
Igla = 30
Stinger = 30
Vulcan = 50
SAU Msta = 50
SAU Akatsia = 50
SAU Nona = 50
ATMZ-5 = 20
ATZ-10 = 20
ATZ-60 = 30
APA = 20
BMD-1 = 30
BMP-1 = 30
BMP-2 = 30
BRDM-2 = 30
BTR-70 = 30
Grad = 50
Hummer = 20
LAV-25 = 30
Leopard-2 = 100
LVTP-7 = 30
M-109 = 50
M-113 = 30
M-1 = 100
Marder = 30
SAU Bereg = 50
Smerch = 100
T-80UD = 100
BTR TPZ = 30
UAZ-469 = 20
Ural-375 = 20
Ural-375 PBU = 20
ZIL-135 = 20
Electric locomotive = 20
IKARUS-280 = 10
VAZ-2109 = 10
Locomotive = 20
ZIU-9 = 10
Coach a tank = 20
Coach cargo = 20
Coach cargo open = 20
Coach a platform = 20
Coach a passenger = 20
KAMAZ-41310P = 10
KAMAZ-41310 = 10
LAZ-695 = 10
SAU Gvozdika = 50
BMP-3 = 50
M-2 = 100
MCV-80 = 30
MLRS = 50
M-60 = 30
M-48 = 30
BTR-D = 20
M 818 = 20
S-300PS 54K6 cp = 50
S-300V 9S457-1 cp = 50
GAZ-66 = 10
GAZ-3308 = 10
MAZ-6303 = 10
Patriot CP = 50
GAZ-3307 = 10
ZIL-4331 = 10
Player lands = 100 percent of point given.
Player ejects = 70 percent of points given.
Player is KIA = 10 percent of points given.
Player destroys the friendly unit = double the amount of points is subtracted from score.
</P>
发表于 2004-12-15 19:58:00 | 显示全部楼层
<P>最后4行:</P><P>玩家降落,分数全给
玩家跳伞,分数70%给
玩家阵亡,分数10%给
玩家误击友军单位,分数双倍扣</P>
发表于 2005-1-21 14:06:28 | 显示全部楼层
<P>把JPG文件放到LOCKON\TEMP\IMG里,供主机战果记录日志文件LastFlight.html/LogFile.html引用。
LastFlight.html记录了此次联机的战斗记录,包括积分表、具体战报等,LogFile.html累积历次联机结果。</P>

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
 楼主| 发表于 2005-2-24 22:52:15 | 显示全部楼层
01/07:04:21 "3GO-302/JFox"(Su-27) kill "3GO*CHN-388/Akar"(F-15C) by R-73
01/07:04:28 "3GO*CHN-388/Akar"(F-15C) crash
01/07:04:36 "3GO*CHN-323/Firebird"(F-15C) kill "3GO-161/Ur235"(Su-27) by AIM-7
01/07:04:38 "3GO-161/Ur235"(Su-27) kill "3GO*CHN-323/Firebird"(F-15C) by R-73
01/07:04:52 "3GO*CHN-323/Firebird"(F-15C) crash
01/07:05:19 "3GO-161/Ur235"(Su-27) eject
01/07:05:24 "3GO-161/Ur235"(Su-27) crash
01/07:07:22 "3GO*CHN-388/Akar"(F-15C) kill "3GO-302/JFox"(Su-27) by AIM-120
01/07:07:35 "3GO-302/JFox"(Su-27) eject
01/07:07:37 "3GO-302/JFox"(Su-27) crash
01/07:08:01 "3GO*CHN-388/Akar"(F-15C) crash
01/07:11:21 "3GO-291/Mark"(Su-27) kill "3GO-353/Mickey"(F-15C) by shell
01/07:11:21 "3GO-353/Mickey"(F-15C) crash
01/07:11:31 "3GO-161/Ur235"(Su-27) crash
发表于 2011-4-10 17:52:21 | 显示全部楼层
真郁闷!怎么下不下来了,可以看看,技术帖,感谢
发表于 2011-4-10 17:57:22 | 显示全部楼层
哪位大侠方便帮忙传一份,谢谢   QQ 109797685
发表于 2011-4-15 09:56:51 | 显示全部楼层
回复 1# jeanfox


   
jeanfox !你发的帖很有意义,方便传一份  谢谢     QQ   109797685
发表于 2011-4-27 23:16:14 | 显示全部楼层
回复 jeanfox 的帖子

可惜文件不在了,方便续传下,邮箱也行!   109797685@qq.com
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|小黑屋|手机版|3GO模拟飞行网|3GO Cyber Air Force ( 沪ICP备08002287号|沪ICP备14050587号 )

GMT+8, 2024-12-23 04:11

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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