gemini_zm 发表于 2013-4-17 10:45

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

原贴: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 chancecolour?
<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.



马卡洛夫@Makaro 发表于 2013-4-17 11:02

我只知道调用插件需要先把插件放到scripts目录,然后在server.cfg里添加一行: loadscript "xxx.dll"(xxx.dll是你插件的完整名称)

xeon5300 发表于 2013-4-17 11:09

IRC是个网络聊天室……没几个中国人会上

gemini_zm 发表于 2013-4-17 11:49

马卡洛夫@Makaro 发表于 2013-4-17 11:02 static/image/common/back.gif
我只知道调用插件需要先把插件放到scripts目录,然后在server.cfg里添加一行: loadscript "xxx.dll"(xxx.d ...

我只是关心这个插件可以转出游戏统计数据的功能,这样我就可以调用来作其它的,比如杀人排行榜之类的,不知道这些数据是转到哪里!

Jimmy. 发表于 2013-4-17 12:00

马卡洛夫@Makaro 发表于 2013-4-17 11:02 static/image/common/back.gif
我只知道调用插件需要先把插件放到scripts目录,然后在server.cfg里添加一行: loadscript "xxx.dll"(xxx.d ...

{:3_131:}洛夫bot弄好了吗

Jimmy. 发表于 2013-4-17 12:08

马卡洛夫@Makaro 发表于 2013-4-17 11:02 static/image/common/back.gif
我只知道调用插件需要先把插件放到scripts目录,然后在server.cfg里添加一行: loadscript "xxx.dll"(xxx.d ...

{:3_143:}继续努力等你好消息

Jimmy. 发表于 2013-4-17 12:10

{:3_142:}楼主   我有好几个脚本文件不知道 放进哪个好==

折翅的雄鹰 发表于 2013-4-17 12:18

Jimmy. 发表于 2013-4-17 12:10 static/image/common/back.gif
楼主   我有好几个脚本文件不知道 放进哪个好==

我就知道你会3连的 {:3_94:}给你回一个等会你就4连了{:3_94:}

Jimmy. 发表于 2013-4-17 12:20

折翅的雄鹰 发表于 2013-4-17 12:18 static/image/common/back.gif
我就知道你会3连的 给你回一个等会你就4连了

{:3_131:}lol(lol 不是 、纯表情)

折翅的雄鹰 发表于 2013-4-17 12:24

Jimmy. 发表于 2013-4-17 12:20 static/image/common/back.gif
lol(lol 不是 、纯表情)

好想 扣你啊{:3_109:}

Jimmy. 发表于 2013-4-17 12:26

折翅的雄鹰 发表于 2013-4-17 12:24 static/image/common/back.gif
好想 扣你啊

{:3_143:}渣渣   拿我没办法

折翅的雄鹰 发表于 2013-4-17 12:32

Jimmy. 发表于 2013-4-17 12:26 static/image/common/back.gif
渣渣   拿我没办法

你半夜1点出来 叫我问候一下 你自己说的{:3_94:}哈哈哈哈哈哈哈哈哈哈.

Jimmy. 发表于 2013-4-17 12:33

折翅的雄鹰 发表于 2013-4-17 12:32 static/image/common/back.gif
你半夜1点出来 叫我问候一下 你自己说的哈哈哈哈哈哈哈哈哈哈.

{:3_141:}我错了 。

Jimmy. 发表于 2013-4-17 12:38

折翅的雄鹰 发表于 2013-4-17 12:32 static/image/common/back.gif
你半夜1点出来 叫我问候一下 你自己说的哈哈哈哈哈哈哈哈哈哈.

{:3_143:}lol发财了   

gemini_zm 发表于 2013-4-17 14:19

马卡洛夫@Makaro 发表于 2013-4-17 11:02 static/image/common/back.gif
我只知道调用插件需要先把插件放到scripts目录,然后在server.cfg里添加一行: loadscript "xxx.dll"(xxx.d ...

我的意思是通过这个插件转出来的数据会保存在哪里!

Jimmy. 发表于 2013-4-18 12:27

马卡洛夫@Makaro 发表于 2013-4-17 11:02 static/image/common/back.gif
我只知道调用插件需要先把插件放到scripts目录,然后在server.cfg里添加一行: loadscript "xxx.dll"(xxx.d ...

{:3_149:}顶上
页: [1]
查看完整版本: 马卡来一下,看看这个I组的插件IRCBridge怎么个用法