3DMGAME 3DM首页 新闻中心 前瞻 | 评测 游戏库 热门 | 最新 攻略中心 攻略 | 秘籍 下载中心 游戏 | 汉化 购买正版 论坛

注册 登录

QQ登录

只需一步,快速开始

查看: 2421|回复: 15
打印 上一主题 下一主题

[讨论] 马卡来一下,看看这个I组的插件IRCBridge怎么个用法

  [复制链接]

35

主题

952

帖子

1027

积分

游戏狂人

俺是很纯洁滴!

Rank: 6Rank: 6

贡献度
61
金元
7825
积分
1027
精华
0
注册时间
2010-1-23
跳转到指定楼层
主题
发表于 2013-4-17 10:45 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
原贴:http://fourdeltaone.net/forum/viewtopic.php?f=40&t=9162
没有看明白这个插件怎么个运行机制,似乎可以通过这个插件获取游戏的统计数据及聊天记录等,马卡有没有用过?这个统计数据是保存在什么地方的?不会是I组的服务器上吧?



粗略翻译(机翻+人工调整)了一下:
Trying out InfinityScript.(可能是不稳定的)
试用InfinityScript。


Source(源码):https://github.com/Deathmax/iw5m-scripts/tree/master/IRCBridge

(May be unstable)
r3 - Fix server password(r3版,修复服务器密码)

System.Net (place in lib):https://dl.dropbox.com/u/7557397/System.Net.dll
需要System.Net组件,放在lib文件夹下。

You need to create a settings.txt under \scripts\ircbridge\
你需要在\scripts\ircbridge\下创建一个settings.txt文件

settings.txt格式如下:
server hostname
server port
channel
nickname
nickserv password
server password


Features(特点):
In-game chat is relayed to IRC.(在游戏中的聊天转发到IRC。)
Killfeed is relayed to IRC.(杀人记录转发到IRC。)
List scoreboard from IRC.(从IRC获取记分列表。)

TODO(要做到):
More commands.(更多的指令)
Output IRC chat into game.(导出IRC的聊天到游戏中。)
Provide a (limited*) admin interface for channel ops.(为管理员通道提供一个(有限的*)管理界面。)
*Limited as InfinityScript has slightly less control compared to IW4M's AdminPlugin interface as it is basically GSC.
*有限是因为它是基于GSC,相比IW4M的管理插件接口InfinityScript略少的控制到的。

Example(举例):
<Deathsnacks_> Deathmax is connecting to the game.
<Deathsnacks_> Deathmax has connected to the game.
<Deathmax> !players
<Deathsnacks_> Player - Score - Death
<Deathsnacks_> Deathmax - 0 - 0
<Deathsnacks_> Deathmax: hmmm
<Deathsnacks_> Deathmax: is there by any chance  colour?
<NTAuthority> yay
<NTAuthority> colors
<Deathsnacks_> Deathmax(axis) suicided.
<Deathsnacks_> Deathmax is connecting to the game.
<Deathsnacks_> Deathmax has connected to the game.
<Deathsnacks_> Deathmax(allies) was killed by Deathmax(allies) with destructible_car.
<Deathmax> !players
<Deathsnacks_> Player - Score - Death
<Deathsnacks_> Deathmax - 0 - 1
<Deathsnacks_> Deathmax is connecting to the game.
<Deathsnacks_> Deathmax has connected to the game.
<Deathsnacks_> Deathmax(allies) was killed by Deathmax(allies) with destructible_car.
<Deathsnacks_> Deathmax(allies) suicided.
<Deathmax> !players
<Deathsnacks_> Player - Score - Kills - Assists - Death
<Deathsnacks_> Deathmax - 0 - 0 - 0 - 2
<Deathsnacks_> Deathmax: damn, its lonely here
<Deathsnacks_> Deathmax(allies) was killed by Deathmax(allies) with destructible_car.
<Deathsnacks_> Deathmax has disconnected from the game.



回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|3DMGAME ( 京ICP备14006952号-1  沪公网安备 31011202006753号

GMT+8, 2026-3-30 09:37 , Processed in 0.025766 second(s), 15 queries , Memcached On.

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

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