UID179998
帖子
精華
主題
積分24
現金
積極性
威望
違規
熱心
推廣次數
閱讀權限5
註冊時間2009-7-29
在線時間 小時
最後登錄1970-1-1
TA的每日心情 | 難過 2014-11-20 11:23 AM |
---|
簽到天數: 2 天 連續簽到: 2 天 [LV.1]初來乍到
|
樓主 |
發表於 2014-11-20 01:32:04
|
顯示全部樓層
A.Bathing.APE. 發表於 2014-11-20 12:42 AM
很簡單
登入服務器的IP
login_athena
你說login_athena檔?
是要更改哪?
// ______ __ __
// /\ _ \/\ \__/\ \
// __\ \ \_\ \ \ _\ \ \___ __ ___ __
// / __ \ \ __ \ \ \/\ \ _ \ / __ \/ _ \ / __ \
///\ __/\ \ \/\ \ \ \_\ \ \ \ \/\ __//\ \/\ \/\ \_\ \_
//\ \____\\ \_\ \_\ \__\\ \_\ \_\ \____\ \_\ \_\ \__/ \_\
// \/____/ \/_/\/_/\/__/ \/_/\/_/\/____/\/_/\/_/\/__/\/_/
// _ _ _ _ _ _ _ _ _ _ _ _ _
// / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \
//( 9 | 9 | M | a | x | E | a ) ( A | t | h | e | n | a )
// \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/
//
//-------------------------------------------------------------------------
// Athena 登錄服務器配置文件
// Translated by Peter Kieser <[email protected]>
// Note: "Comments" are all text on the right side of a double slash "//"
// Whatever text is commented will not be parsed by the servers, and serves
// only as information/reference.
// 如果你是一個網卡配置了多個IP,就需要配置這裡
// 注意:當你希望在多個服務器上使用相同的端口時,此設置允許你在多個接口
// 中運行多個服務器
//bind_ip: 168.95.98.254
// 登錄服務器連接端口
login_port: 6900
// 在每條資訊前面輸出的時間戳格式
// 最多包含20個字符
// 通常格式包括
// %I:%M:%S %p (小時:分鐘:秒 12小時制, AM/PM 格式)
// %H:%M:%S (小時:分鐘:秒, 24 小時制)
// %d/%b/%Y (日/月/年)
// 可參考 strftime() 手冊查詢可用的其他格式
//timestamp_format: [%d/%b %H:%M]
//重定向輸出轉義序列(顏色代碼組)
stdout_with_ansisequence: no
// 伺服器視窗 訊息簡略顯示設定
// 1: 隱藏普通資訊
// 2: 隱藏狀態資訊
// 4: 隱藏注意資訊
// 8: 隱藏警告資訊
// 16: 隱藏錯誤及SQL錯誤資訊
// 32: 隱藏偵錯訊息
//舉例: 設定為7則隱藏[普通]、[狀態]和[注意]的訊息 (1+2+4累加)
console_silent: 0
// 控制台指令
// 控制台指令設定參數使用 on和off
// 是否記錄日誌到log資料夾
console: off
// 是否允許遊戲客戶端登入帳號在號面增加「_M/_F」註冊新的帳號?
new_account: yes
//如果 new_account 啟用, 使用者帳號密碼最少為4個字符限制
//必定 'Yes' , 除非你的 client 使用 'Disable 4 LetterUserID/Password' Diffs
new_acc_length_limit: yes
// 帳號註冊保護系統
// allowed_regs 中的數字是在 time_allowed 時間內允許的註冊人數(秒)
allowed_regs: 1
time_allowed: 10
// 日誌文件名. 服務器登入的所有操作紀錄在此文件.
login_log_filename: log/login.log
// 是否紀錄登陸伺服器日誌?
// NOTE: The login-sql server needs the login logs to enable dynamic pass failure bans.
log_login: yes
// 對玩家顯示的時間格式, 日誌記錄的時間格式..等各種項目的時間格式.
date_format: %Y-%m-%d %H:%M:%S
// Required account group id to connect to server.
// -1: 關閉
// 0 or more: group id
group_id_to_connect: -1
// Minimum account group id required to connect to server.
// Will not function if group_id_to_connect config is enabled.
// -1: 關閉
// 0 or more: group id
min_group_id_to_connect: -1
// 對新建賬戶開始以秒為單位計時
// -1: 新建賬戶將擁有無限的使用期限(預設值)
// 0 或更多: 新建的賬戶將可以使用到 現行時間加上這個參數的值的時間
start_limited_time: -1
// 是否檢查客戶端版本資訊 ?
check_client_version: no
// 允許連接的最低版本(如果客戶端的版本大於這個版本號,則可以正常連接)
client_version_to_connect: 20
// Login數據庫的密碼為MD5碼 ?
// NOTE: <密碼加密> 不能在客戶端上使用這個
use_MD5_passwords: no
// 封閉帳號特性 (SQL only)
ipban.enable: yes
//ipban.sql.db_hostname: 127.0.0.1
//ipban.sql.db_port: 3306
//ipban.sql.db_username: ragnarok
//ipban.sql.db_password: ragnarok
//ipban.sql.db_database: ragnarok
//ipban.sql.codepage:
//ipban.sql.ipban_table: ipbanlist
// Dynamic password failure ipban system
ipban.dynamic_pass_failure_ban: yes
ipban.dynamic_pass_failure_ban_interval: 5
ipban.dynamic_pass_failure_ban_limit: 7
ipban.dynamic_pass_failure_ban_duration: 5
// 間隔(以秒為單位) 清除被封鎖的到期IP. 0 = 關閉. 預設值 = 60.
// 注意: 即使這已失效, 被封鎖的到期IP在登陸伺服器將 開始/停止 被清除 .
// Players will still be able to login if an ipban entry exists but the expiration time has already passed.
ipban_cleanup_interval: 60
//執行 DNS/IP 更新的間隔時間(分為單位). 預設為關閉
//假如你的伺服器使用會因時間改變的動態IP則啟用
//ip_sync_interval: 10
// DNS黑名單封鎖
// 如果啟用, 每個進入的連接將被測試對黑名單上的指定
// dnsbl_servers (逗號-分隔列表)
use_dnsbl: no
dnsbl_servers: bl.blocklist.de, socks.dnsbl.sorbs.net
// Here are some free DNS Blacklist Services: http://en.wikipedia.org/wiki/Comparison_of_DNS_blacklists
//==============================================================================
// dnsbl_servers Description
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// bl.blocklist.de IP-Addresses who attack other servers/honeypots over SSH, FTP, IMAP, etc.
// ircbl.ahbl.org AHBL (open proxies, compromised machines, comment spammers)
// safe.dnsbl.sorbs.net All zones in dnsbl.sorbs.net except "recent" and "escalations"
// sbl-xbl.spamhaus.org Spamhaus blacklist (spammers, open proxies)
// socks.dnsbl.sorbs.net Open SOCKS proxy servers
// tor.ahbl.org Current tor relay and exit nodes
// 使用哪種 帳號 方式儲存
// 'auto' 自動選擇 (txt, sql, 等等)
// (預設 auto)
account.engine: auto
// 帳號資料的儲存設定
// SQL
//account.sql.db_hostname: 127.0.0.1
//account.sql.db_port: 3306
//account.sql.db_username: ragnarok
//account.sql.db_password: ragnarok
//account.sql.db_database: ragnarok
//account.sql.codepage:
//account.sql.case_sensitive: no
//account.sql.account_db: login
//account.sql.accreg_db: global_reg_value
// 登入器 MD5 hash 檢查
// 如果開啟, 登入服務器將檢查登入器 hash 值
// 並且不會篡改登入器連接.
// 注意:有關詳細信息,請參閱 doc\md5_hashcheck.txt
client_hash_check: off
// 登入器 MD5 hashes
// A player can login with a client hash at or below the account group_id.
// Format: group_id, hash
client_hash: 0, 113e195e6c051bb1cfb12a644bb084c5
client_hash: 99, cb1ea78023d337c38e8ba5124e2338ae
import: conf/inter_athena.conf
import: conf/import/login_conf.txt
|
|