UID272076
帖子
精華
主題
積分-45
現金
積極性
威望
違規
熱心
推廣次數
閱讀權限0
註冊時間2010-6-30
在線時間 小時
最後登錄1970-1-1
TA的每日心情 | 怒 2010-7-6 12:08 AM |
---|
簽到天數: 7 天 連續簽到: 0 天 [LV.3]偶爾看看II
|
本帖最後由 st1234580 於 2010-7-5 12:41 AM 編輯
我已經爬文過了
造著大大的方式自己架設sql
但是我的char 的黨一值跑出錯誤 類似ip的錯誤 下面圖案

我沒使用ip分享器
TXT可開
MY SQL不懂?
可以稍等
以下INTER
// Athena InterServer configuration.
// Options for both versions
// 是否紀錄登入紀錄?
log_inter: 1
// 儲存紀錄的檔案名稱
inter_log_filename: log/inter.log
// 組隊時經驗值分享的等級差距
party_share_level: 10
// TXT 版專用設定 ↓
// 倉庫資料
storage_txt: save/storage.txt
// 隊伍資料
party_txt: save/party.txt
// 熱鍵位置資料
hotkeys_txt: save/hotkeys.txt
// 公會資料
guild_txt: save/guild.txt
// 寵物資料
pet_txt: save/pet.txt
// 人工生命體資料
homun_txt: save/homun.txt
// 公會城資料
castle_txt: save/castle.txt
// 狀態儲存資料( 重登後依然有天賜、諸如此類 )
scdata_txt: save/scdata.txt
// 永久變數($-type) 儲存資料
mapreg_txt: save/mapreg.txt
// SQL版本專用設定 ↓
// 這裡可以設定您的MYSQL資料庫的編碼
// (MySQL 的版本至少要4.1以上)
default_codepage: big5
// 對於需設置的IP來說, 在Linux系統下面,建議你使用localhost 而不是127.0.0.1
// 在Windows系統下,你需要使用 127.0.0.1 如果你遇到了下面的錯誤提示
// "Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)"
// 你必須使用127.0.0.1,而不是localhost
// Global SQL settings
// overriden by local settings when the hostname is defined there
// (currently only the login-server reads/obeys these settings)
sql.db_hostname: 127.0.0.1
sql.db_port: 3306
sql.db_username: qaz60819
sql.db_password: qaz60819
sql.db_database: ragnarok
sql.codepage:
// MySQL Character SQL server
char_server_ip: 127.0.0.1
char_server_port: 3306
char_server_id: qaz60819
char_server_pw: qaz60819
char_server_db: ragnarok
// MySQL Map SQL Server
map_server_ip: 127.0.0.1
map_server_port: 3306
map_server_id: qaz60819
map_server_pw: qaz60819
map_server_db: ragnarok
// MySQL Log SQL Database
log_db_ip: 127.0.0.1
log_db_port: 3306
log_db_id: qaz60819
log_db_pw: qaz60819
log_db_db: logs
log_codepage:
// 如果你對資料庫不瞭解,請不要更改以下參數
// 以下參數僅僅為開發人員和對資料庫瞭解並想進行資料庫規劃
// 的人員準備的 [CLOWNISIUS]
// 所有 MySQL 資料庫表格名稱
// Login 資料庫表格
loginlog_db: loginlog
// Char 資料庫表格
char_db: char
hotkey_db: hotkey
scdata_db: sc_data
cart_db: cart_inventory
inventory_db: inventory
charlog_db: charlog
storage_db: storage
reg_db: global_reg_value
skill_db: skill
interlog_db: interlog
memo_db: memo
guild_db: guild
guild_alliance_db: guild_alliance
guild_castle_db: guild_castle
guild_expulsion_db: guild_expulsion
guild_member_db: guild_member
guild_skill_db: guild_skill
guild_position_db: guild_position
guild_storage_db: guild_storage
party_db: party
pet_db: pet
friend_db: friends
mail_db: mail
auction_db: auction
quest_db: quest
quest_obj_db: quest_objective
// Map 資料庫表格
item_db_db: item_db
item_db2_db: item_db2
mob_db_db: mob_db
mob_db2_db: mob_db2
mapreg_db: mapreg
//使用 SQL 格式的 item_db 與 mob_db 嗎?
use_sql_db: no
// 發送主訊息時使用暱稱
// 訊息類似密頻的形式
main_chat_nick: Main
import: conf/import/inter_conf.txt
以下LOGIN
// Athena Login Server configuration file.
// 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
// 如果你的伺服器運作在防火墻或是多網卡後面,你應該設定這裡
// 在這種情況下,你需要指定你希望能與外面通訊的的 IP 地址
bind_ip: wertetwertte.no-ip.org
// 登陸伺服器連接埠設置
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]
//If redirected output contains escape sequences (color codes)
stdout_with_ansisequence: no
// 伺服器視窗 訊息簡略顯示設定
// 1: 隱藏普通資訊
// 2: 隱藏狀態資訊
// 4: 隱藏注意資訊
// 8: 隱藏警告資訊
// 16: 隱藏錯誤及SQL錯誤資訊
// 32: 隱藏偵錯訊息
//舉例: 設定為7則隱藏[普通]、[狀態]和[注意]的訊息 (1+2+4累加)
console_silent: 0
// 是否允許遠程式控制制
admin_state: no
// 遠程式控制制管理員密碼,如果你在上面的設定中允許了遠程式控制制,請及時變更密碼,以保證伺服器安全
// NOTICE: you should change this value for security if you use ladmin.
admin_pass: admin
// 允許遠程管理本伺服器的IP/host
admin_allowed_host: 127.0.0.1
// 控制台指令
// 控制台指令設定參數使用 on和off
// 是否記錄日誌到log資料夾
console: off
// 是否允許遊戲客戶端登入帳號在號面增加“_M/_F”註冊新的帳號?
new_account: yes
// 帳號註冊保護系統
// allowed_regs 中的數字是在 time_allowed 時間內允許的註冊人數(秒)
allowed_regs: 1
time_allowed: 10
// Log Filename. All operations received by the server are logged in this file.
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
// 玩家最低GM管理等級要多少,伺服器才允許其連接登陸
// 0: 所有玩家 (允許普通玩家0. 這是預設值), 其它請依自己的需要填寫1至99
min_level_to_connect: 0
// 對新建賬戶開始以秒為單位計時
// -1: 新建賬戶將擁有無限的使用期限(預設值)
// 0 或更多: 新建的賬戶將可以使用到 現行時間加上這個參數的值的時間
start_limited_time: -1
// 是否檢查客戶端版本資訊?
check_client_version: no
//允許連接的最低版本(如果客戶端的版本大於這個版本號,則可以正常連接)
client_version_to_connect: 20
// Login數據庫的密碼為MD5碼 - <passwordencrypt> 不能在客戶端上使用這個
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
//執行 DNS/IP 更新的間隔時間(分為單位). 預設為關閉
//假如你的伺服器使用會因時間改變的動態IP則啟用
//ip_sync_interval: 10
// DNS Blacklist Blocking
// If enabled, each incoming connection will be tested against the blacklists
// on the specified dnsbl_servers (comma-separated list)
use_dnsbl: no
//DNS伺服器 (以空白區隔)
dnsbl_servers: dnsbl.deltaanime.net
// Which account engine to use.
// 'auto' selects the first engine available (txt, sql, then others)
// (defaults to auto)
account.engine: auto
// Account data storage configuration
// TXT
account.txt.account_db: save/account.txt
account.txt.case_sensitive: no
// SQL
account.sql.db_hostname: 127.0.0.1
account.sql.db_port: 3306
account.sql.db_username: qaz60819
account.sql.db_password: qaz60819
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
import: conf/inter_athena.conf
import: conf/import/login_conf.txt |
|