OK論壇

 找回密碼
 註冊
12
返回列表 發新帖
樓主: v03586

EA13888註冊如何使用SQL

 關閉 [複製鏈接]
  • TA的每日心情
    慵懶
    2011-10-25 10:15 PM
  • 簽到天數: 121 天

    連續簽到: 0 天

    [LV.7]常住居民III

    發表於 2009-7-26 10:41:01 | 顯示全部樓層
    1.重新貼出開機圖
    2.教學區 有篇 "按教學還開不了私服"  那篇看一下
    回復 支持 反對

    使用道具 舉報

  • TA的每日心情
    開心
    2014-4-4 08:41 PM
  • 簽到天數: 1 天

    連續簽到: 1 天

    [LV.1]初來乍到

     樓主| 發表於 2009-7-26 18:32:21 | 顯示全部樓層
    開機圖



    那篇文章我去讀過了~也照了方法!!依然不形...
    回復 支持 反對

    使用道具 舉報

  • TA的每日心情
    慵懶
    2011-10-25 10:15 PM
  • 簽到天數: 121 天

    連續簽到: 0 天

    [LV.7]常住居民III

    發表於 2009-7-26 18:41:47 | 顯示全部樓層
    inter_athena 設定錯誤
    login_athena 也要改
    回復 支持 反對

    使用道具 舉報

    該用戶從未簽到

    發表於 2009-7-26 19:18:03 | 顯示全部樓層
    #15
    你要照那邊那個論壇發的教學檔 就在那問
    這裡不是不給你問
    只是你連結有 但不是所有人都有那個論壇的帳號可以看得到

    大小寫我不知道有沒有關係

    就目前你給的資訊裡 看不出來哪邊是問題所在

    設成這樣我是 OK 的:
    account.engine: sql

    我比較好奇的是

    你有動了什麼 subnet_athena.conf ?

    請確認以下程序已開啟:

    本帖子中包含更多資源

    您需要 登錄 才可以下載或查看,沒有帳號?註冊

    x
    回復 支持 反對

    使用道具 舉報

  • TA的每日心情
    開心
    2014-4-4 08:41 PM
  • 簽到天數: 1 天

    連續簽到: 1 天

    [LV.1]初來乍到

     樓主| 發表於 2009-7-26 19:19:59 | 顯示全部樓層
    本帖最後由 v03586 於 2009-7-26 07:43 PM 編輯

    --------------以下是我的inter_athena設定--------------------------------------------
    // Athena InterServer configuration.
    // Options for both versions
    // Log Inter Connections, etc.?
    log_inter: 1
    // Inter Log Filename
    inter_log_filename: log/inter.log
    // Level range for sharing within a party
    party_share_level: 10

    // TXT version options only
    // Storage flatfile database, used for Karfa storage.
    storage_txt: save/storage.txt
    // Party flatfile database, for party names, members and other party info.
    party_txt: save/party.txt
    // Hotkeys flatfile database, where character skill shortcuts are stored.
    hotkeys_txt: save/hotkeys.txt
    // Guild flatfile database, for guild names, members, and other guild info.
    guild_txt: save/guild.txt
    // Pet flatfile database, for pet names, and other pet info.
    pet_txt: save/pet.txt
    // Homunculus flatfile database, for homunculus information.
    homun_txt: save/homun.txt
    // Castle flatfile database, for emperium war castles, etc.
    castle_txt: save/castle.txt
    // Status change flatfile database, for status changes that are saved between sessions.
    scdata_txt: save/scdata.txt
    // Mapserver permanent script variables ($-type)
    mapreg_txt: save/mapreg.txt

    // SQL version options only
    // You can specify the codepage to use in your mySQL tables here.
    // (Note that this feature requires MySQL 4.1+)
    default_codepage: big5

    // For IPs, ideally under linux, you want to use localhost instead of 127.0.0.1
    // Under windows, you want to use 127.0.0.1.  If you see a message like
    // "Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)"
    // and you have localhost, switch it to 127.0.0.1
    // 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: initial.no-ip.biz
    sql.db_port: 3306
    sql.db_username: root
    sql.db_password: ******
    sql.db_database: ragnarok
    sql.codepage:big5
    // MySQL Character SQL server
    char_server_ip: initial.no-ip.biz
    char_server_port: 3306
    char_server_id: root
    char_server_pw: ******
    char_server_db: ragnarok
    // MySQL Map SQL Server
    map_server_ip: initial.no-ip.biz
    map_server_port: 3306
    map_server_id: root
    map_server_pw: ******
    map_server_db: ragnarok
    // MySQL Log SQL Database
    log_db_ip: initial.no-ip.biz
    log_db_port: 3306
    log_db_id: root
    log_db_pw: ******
    log_db_db: log
    log_codepage:big5
    // DO NOT CHANGE ANYTHING BEYOND THIS LINE UNLESS YOU KNOW YOUR DATABASE DAMN WELL
    // this is meant for people who KNOW their stuff, and for some reason want to change their
    // database layout. [CLOWNISIUS]
    // ALL MySQL Database Table names
    // Login Database Tables
    loginlog_db: loginlog
    // Char Database Tables
    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 Database Tables
    item_db_db: item_db
    item_db2_db: item_db2
    mob_db_db: mob_db
    mob_db2_db: mob_db2
    mapreg_db: mapreg
    //Use SQL item_db and mob_db for the map server
    use_sql_db: no
    // Nick for sending mainchat
    // messages like whisper
    main_chat_nick: Main
    import: conf/import/inter_conf.txt
    --------------以下是我的login_athena設定------------------------------------
    // 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: 127.0.0.1

    // 登陸伺服器連接埠設置
    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
    //對console輸出的資訊進行過濾選項
    //1: 隱藏普通資訊
    //2: 隱藏狀態資訊
    //4: 隱藏注意資訊
    //8: 隱藏警告資訊
    //16: 隱藏錯誤及SQL錯誤資訊
    //32: 隱藏偵錯訊息
    //例子: "console_silent: 7"隱藏普通、狀態和注意資訊 (1+2+4)
    console_silent: 0
    // 是否允許遠程式控制制
    admin_state: no
    // 遠程式控制制管理員密碼,如果你在上面的設定中允許了遠程式控制制,請及時變更密碼,以保證伺服器安全
    // NOTICE: If you enable remote administration, you should change its value for security
    // NOTE: ladmin 只對TXTlogin server有效
    admin_pass: admin
    // 允許遠程管理本伺服器的IP/host
    admin_allowed_ip: initial.no-ip.biz
    // 控制台指令
    // 控制台指令設定參數使用  on和off
    // 是否記錄日誌到log資料夾
    console: off
    // 註冊是否區分大小寫 (SQL限定)?
    case_sensitive: yes
    // 是否允許遊戲客戶端登入帳號在號面增加“_M/_F”註冊新的帳號?
    new_account: no
    // 帳號註冊保護系統
    // allowed_regs 中的數字是在 time_allowed 時間內允許的註冊人數(秒)
    allowed_regs: 1
    time_allowed: 60
    // 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
    // 當設定為yes的時候,登陸伺服器將拒絕以及連接的帳號再次登陸.
    // 當登陸帳號被拒絕的時候,這個帳號將會從所有的角色伺服器上被連接埠.
    // 如果你只有一個角色伺服器或者多角色伺服器從一個庫中讀取資訊,
    // 可以很安全的將它設定為no/
    online_check: 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: 7200
    // Login數據庫的密碼為MD5碼 - <passwordencrypt> 不能在客戶端上使用這個
    use_MD5_passwords: no
    // Ipban features (SQL only)
    ipban.enable: yes
    ipban.sql.db_hostname: initial.no-ip.biz
    ipban.sql.db_port: 3306
    ipban.sql.db_username: root
    ipban.sql.db_password: ******
    ipban.sql.db_database: ragnarok
    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
    // Interval (in minutes) to execute a DNS/IP update. Disabled by default.
    // Enable it if your server uses a dynamic IP which changes with time.
    //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
    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: sql
    // Account data storage configuration
    // TXT
    account.txt.account_db: save/account.txt
    account.txt.case_sensitive: no
    // SQL
    account.sql.db_hostname: initial.no-ip.biz
    account.sql.db_port: 3306
    account.sql.db_username: root
    account.sql.db_password: ******
    account.sql.db_database: ragnarok
    account.sql.codepage: big5
    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



    紅色為密碼以星號代表
    藍色則是我動手修改過的地方

    請問有哪邊設定錯誤嗎!!?

    教學上只有改帳密以及數據庫名字而已!!


    我把subnet_athena.conf 復原一樣也是圖片上的樣子!!


    樓上大大實在非常抱歉給你帶來困擾

    小弟我實在是山窮水盡了...軟體也移除重新安裝好幾次

    但依然解決不瞭...歷年來在OK的高手非常多..也為小弟我解決不少難題

    所以才會來此發問..

    小弟我去系統管理員看了兩個檔案都有在執行中!
    回復 支持 反對

    使用道具 舉報

  • TA的每日心情
    慵懶
    2011-10-25 10:15 PM
  • 簽到天數: 121 天

    連續簽到: 0 天

    [LV.7]常住居民III

    發表於 2009-7-26 19:41:22 | 顯示全部樓層
    log_db_db: log改
    log_db_db: logS
    回復 支持 反對

    使用道具 舉報

  • TA的每日心情
    開心
    2014-4-4 08:41 PM
  • 簽到天數: 1 天

    連續簽到: 1 天

    [LV.1]初來乍到

     樓主| 發表於 2009-7-26 21:16:24 | 顯示全部樓層
    還是不形呢~"~...但還是謝謝各位板主幫我
    回復 支持 反對

    使用道具 舉報

    該用戶從未簽到

    發表於 2009-7-27 00:19:46 | 顯示全部樓層
    本帖最後由 lendlice0001 於 2009-7-27 12:22 AM 編輯

    須修改部分:
    sql.db_hostname: 127.0.0.1
    或者
    sql.db_hostname: localhost
    log_db_ip: 127.0.0.1
    或者
    log_db_ip: localhost
    account.sql.db_hostname: 127.0.0.1
    或者
    account.sql.db_hostname: localhost


    主要原則:
    只要需要連到 MySQL 部分就使用 127.0.0.1
    回復 支持 反對

    使用道具 舉報

  • TA的每日心情
    開心
    2014-4-4 08:41 PM
  • 簽到天數: 1 天

    連續簽到: 1 天

    [LV.1]初來乍到

     樓主| 發表於 2009-7-27 09:34:49 | 顯示全部樓層
    還是不形...我反覆修改兩個換來喚去互相搭配也不可以呢@@"
    回復 支持 反對

    使用道具 舉報

  • TA的每日心情
    開心
    2014-4-4 08:41 PM
  • 簽到天數: 1 天

    連續簽到: 1 天

    [LV.1]初來乍到

     樓主| 發表於 2009-7-27 10:18:17 | 顯示全部樓層
    感謝各位板主的幫忙...小弟已經找到問題所在點了

    在此分享希望能幫助到遇到相同類型問題的人

    inter_athena 的設定

    // MySQL Log SQL Database
    log_db_ip: 127.0.0.1
    log_db_port: 3306
    log_db_id: root
    log_db_pw: ******
    log_db_db: ragnarok  原本logragnarok
    log_codepage:big5
    回復 支持 反對

    使用道具 舉報

    您需要登錄後才可以回帖 登錄 | 註冊

    本版積分規則

    Archiver|手機版|小黑屋|OK討論區

    GMT+8, 2024-5-16 05:20 PM , Processed in 0.053955 second(s), 17 queries , Gzip On.

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

    快速回復 返回頂部 返回列表