playerkiller 发表于 2002-12-24 22:00:29

psyshots无法正确解析队名的解决

关注一下里面的clantags.cfg文件,里面的英文解释已经说得很清楚了。

# This file contains all the clan tag markings.
# Format:
# 1 pair of tags per line seperated by at least one space or tab.
# <lt><rt>
# <lt> & <rt> = the left and right sides of the clantag (IE: "[ ]")
# If you don't want a L or R tag put the word 'none' in place for that tag
# (IE: "none |" = clan|playername)
#
# = specifies if the tag can be positioned on the left or right of the
# playername. You can specify both 'lr' to indicate the tag can be found on
# either side. Or just one or the other: 'l', or 'r'.
# If nothing is specified, 'l' for left is assumed.
#
# The LEFT side is always checked BEFORE the RIGHT, if 'lr' is specified.
#
# NOTE: if you add your own tags, its recommended that more 'complex' tags
# go closer to the top. Otherwise a player might be tagged as being in a
# different clan then they should of been. (the more characters in the
# tag, the more complex it is)
$comments = "        # change comment character so '#' doesn't conflict with stuff below
                       

none        |*        l
-=[        ]=-        l
[        ]=-        r
-=[        ]        l
:+:        :+:        lr
[        ]        lr
(        )        lr
{        }        lr
:        :        lr
=        =        lr
>        <        lr
<        >        lr
#        #        lr
**        **        lr
*        *        lr
{        }        lr
_        _        lr
-        -        lr
\        \        lr
~        ~        lr
|        |        lr
.        .        lr
/        /        lr
none        .        l
.        none        r
none        *        l
*        none        r
none        _        l
_        none        r
none        |        l
|        none        r
none        /        l
/        none        r
none        \        l
\        none        r

在以上的文件里,我添加了几个tag以正确解析一些队名,大家可以举一反三,在这个文件里做正确的设置,即可以完全解析出你网站上的所有队名。

  enjoy!

恍若如梦 发表于 2002-12-25 00:09:21

COOL。

yam 发表于 2002-12-25 09:42:04

嘿嘿

谢啦 :P:P:P

playerkiller 发表于 2002-12-25 10:33:10

谢谢老大

那个东东太好用了,我用一个是service,一个是depend on that service。
哈哈!!
启用了双CPU支持,这下停电后服务器自动重启也不怕喽!
牛!
页: [1]
查看完整版本: psyshots无法正确解析队名的解决