这是配置文件
#######################################################################
#
# OpenAscent Realms Configuration File
# Last updated at revision 446 by Burlex
#
#
http://www.openascent.com/
#
#
http://www.99game.org
#
#######################################################################
/********************************************************************************
* 配置文件的一些说明: *
* Config files are in a block->variable->setting format. *
* A < signifies the opening of a block, the block name is expected after that. *
* After the block name, a space and then the settings sperated by = / ' '. *
* *
* e.g. *
* <block setting="0" someval = "1"> *
* *
* Comments can be in C format, e.g. /* some stuff */, with a // at the start *
* of the line, or in shell format (#). *
********************************************************************************/
# LogonDatabase Section (登陆数据库设置部分)
#
# These directives are the location of the `realms` and `accounts`
# tables.
#
# LogonDatabase.Host - 数据库 IP地址.
# LogonDatabase.Username - 数据库 连接帐号
# LogonDatabase.Password - 数据库 连接密码
# LogonDatabase.Name - 数据库名
# LogonDatabase.Port - 数据库 连接端口
# LogonDatabase.Type - Client to use. 1 = MySQL, 2 = PostgreSQL, 3 = Oracle 10g
#
<LogonDatabase Hostname = "127.0.0.1"
Username = "root"
Password = "99game.org"
Name = "as_character"
Port = "3306"
Type = "1">
# 主机相关设置 ( 开外网,这里不需要做修改 )
#
# realmlist 程序所监听的端口 (使用默认即可)
# 对所有主机开放监听,设置为: 0.0.0.0
# 默认: 127.0.0.1 (localhost)
#
# Note: ISHost is the interserver communication listener.
#
<Listen Host = "0.0.0.0"
ISHost = "127.0.0.1"
RealmListPort = "3724"
ServerPort = "8093">
# 服务器控制台日志等级设置.
#
# Screen 取值:
# 0 = 最小级; 1 = 错误级; 2 = 详细级; 3 = 全部/调试
#
# 默认值: 0
#
<LogLevel Screen = "0"
File = "-1">
# 帐号刷新时间设置.
#
# 多久时间刷新一次 logon 库. (即: 注册帐号多久可以登陆游戏)
#
# 默认值 = 120
# (单位: 秒. 600=2 分钟)
#
<Rates AccountRefresh = "120">
# 客户端版本号设置.
#
# 设置允许客户端版本号的范围. 最小值和最大值.
#
#
# 参考值:
# 客户端版本 Build
# 2.3.2 7741
# 2.3.3 7799
# 2.4.0 8089
# 2.4.1 8125
# 2.4.2 8278
<Client MinBuild = "8089"
MaxBuild = "9999">
# WorldServer 相关设置
#
# ---------------------------------------------------------------------------------------------
# 注意: 如果 ascent-logonserver.exe 和 ascent-worldserver.exe 运行在同台主机上. 请跳过.无需设置
# ---------------------------------------------------------------------------------------------
#
# RemotePassword ( 验证密码 )
# 对应 ascent-world.conf 中的 <LogonServer RemotePassword>
#
#
# AllowedIPs ( 允许IP )
# 这里必须被设置, 否则所有的连接将被阻止.
#
# These "Allowed" fields are a space-seperated list of CIDR-form IP addresses that are allowed
# to make server connections to your logonserver, and register realms.
#
# 范例1 匹配IP段.
# 想允许 192.168.1.* 可以写成: 192.168.1.0/24
#
# 范例2 匹配指定IP.
# 想允许指定的 192.168.1.99 可以写成: 192.168.1.99/24
#
# AllowedModIPs
# In the same form as AllowedIPs, these are the IPs that are allowed to modify the database
# (adding bans, GMs, account permissions, etc)
#
<LogonServer RemotePassword = "www_99Game_org"
AllowedIPs = "127.0.0.1/24"
AllowedModIPs = "192.168.1.2/24">
这是ascent-realms的文件
#######################################################################
#
# OpenAscent Realms Configuration File
# Last updated at revision 446 by Burlex
#
#
http://www.openascent.com/
#
#
http://www.99game.org
#
#######################################################################
/********************************************************************************
* 配置文件的一些说明: *
* Config files are in a block->variable->setting format. *
* A < signifies the opening of a block, the block name is expected after that. *
* After the block name, a space and then the settings sperated by = / ' '. *
* *
* e.g. *
* <block setting="0" someval = "1"> *
* *
* Comments can be in C format, e.g. /* some stuff */, with a // at the start *
* of the line, or in shell format (#). *
********************************************************************************/
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
# LogonServer Section
#
# Address:
# The address (no port) of the server.
#
# Port:
# The port on which the logon server listens. (*** NOT 3724 ***)
#
# Name:
# Not really relavant, but name the logon.
#
# RealmCount:
# The number of realms in the next section.
#
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
<LogonServer Address = "127.0.0.1"
Port = "8093"
Name = "99Game_Logon"
RealmCount = "1">
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
# Realm Section
#
# Name:
# The name of the realm.
#
# Address:
# The address (and port) of that realm.
#
# Icon:
# The type of realm (PVP, Normal, RPPVP, RP)
#
# Colour: (0 = 绿色 1= 红色 2 = 黑色(离线))
# Realm colour in realm list display.
#
# TimeZone:
# Time zone the realm is in.
#
# Population:
# (0 = 底, 1 = 中, 2 = 高)
#
# Lock:
# (0 = 正常, 1 = 锁定)
#
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
<Realm1 Name = "零度空间"
Address = "127.0.0.1:8129"
Icon = "PVP"
Colour = "0"
Population = "0.0"
Lock = "0"
TimeZone = "1">
请帮忙解决!