OK論壇

 找回密碼
 註冊
查看: 3402|回復: 19

我用SQL開機但是一直開不起來... T-T

 關閉 [複製鏈接]
  • TA的每日心情
    奮斗
    2025-2-23 09:05 PM
  • 簽到天數: 606 天

    連續簽到: 1 天

    [LV.9]以壇為家II

    發表於 2012-6-8 17:33:32 | 顯示全部樓層 |閱讀模式


    請問這是怎麼一回事啊><?

    評分

    參與人數 1積分 -30 現金 -30 積極性 -30 收起 理由
    goddameit -30 -30 -30 閒置超過三天

    查看全部評分

    回復

    使用道具 舉報

  • TA的每日心情
    奮斗
    2025-2-23 09:05 PM
  • 簽到天數: 606 天

    連續簽到: 1 天

    [LV.9]以壇為家II

     樓主| 發表於 2012-6-8 18:51:39 | 顯示全部樓層
    本帖最後由 zax20014 於 2012-6-8 06:52 PM 編輯

    如果有不清楚的地方 可以跟我說
    我現在真的不知道為什麼會這樣><
    回復 支持 反對

    使用道具 舉報

  • TA的每日心情
    慵懶
    2012-5-29 03:25 PM
  • 簽到天數: 9 天

    連續簽到: 0 天

    [LV.3]偶爾看看II

    發表於 2012-6-8 19:07:47 | 顯示全部樓層
    那個好像是在說蝦咪密碼帳號 的問題的樣子
    你在看看好了~應該是這麼回事八(!?
    回復 支持 反對

    使用道具 舉報

  • TA的每日心情
    奮斗
    2025-2-23 09:05 PM
  • 簽到天數: 606 天

    連續簽到: 1 天

    [LV.9]以壇為家II

     樓主| 發表於 2012-6-8 20:44:43 | 顯示全部樓層
    回復 3# 396396


       好><
    謝謝你
    回復 支持 反對

    使用道具 舉報

  • TA的每日心情
    郁悶
    2013-4-25 11:35 AM
  • 簽到天數: 6 天

    連續簽到: 2 天

    [LV.2]偶爾看看I

    發表於 2012-6-8 21:09:31 | 顯示全部樓層
    本帖最後由 lcm29 於 2012-6-8 09:17 PM 編輯

    把IP都改成(包含DATA下的) 127.0.0.1

    你有創新帳號嗎?

    例如 XXXX_F OR XXXX_M ?

    TXT 跟 SQL 開法不一樣喔

    還有NPC你有自創?
    回復 支持 反對

    使用道具 舉報

  • TA的每日心情

    2017-5-27 03:04 AM
  • 簽到天數: 702 天

    連續簽到: 17 天

    [LV.9]以壇為家II

    發表於 2012-6-8 23:03:33 | 顯示全部樓層
    檢查ragnarok/login 是否s1/p1

    map_athena char_athena

    確定你設定的帳密是s1/p1嘛?

    他無法聯結帳密 就是你設定有錯誤吧...
    回復 支持 反對

    使用道具 舉報

  • TA的每日心情
    慵懶
    2013-8-7 04:05 PM
  • 簽到天數: 276 天

    連續簽到: 1 天

    [LV.8]以壇為家I

    發表於 2012-6-9 01:04:15 | 顯示全部樓層
    SeAr的S1和P1需作修改動作~

    先調整後,看狀況如何?
    如剩下腳本錯誤,在討論~

    另外請確認腳本適用於你的服務端,
    否則需增加些原碼內容...等,才能正常使用!
    回復 支持 反對

    使用道具 舉報

  • TA的每日心情
    奮斗
    2025-2-23 09:05 PM
  • 簽到天數: 606 天

    連續簽到: 1 天

    [LV.9]以壇為家II

     樓主| 發表於 2012-6-9 10:15:27 | 顯示全部樓層
    回復 6# aa128937140


       檢查ragnarok/login 是否s1/p1    是什麼意思啊? 不就是 s1打sql帳號 p1打sql密碼嗎?
        我打了以後還是一樣><  IP: 127.0.0.1


    回復 支持 反對

    使用道具 舉報

  • TA的每日心情
    奮斗
    2025-2-23 09:05 PM
  • 簽到天數: 606 天

    連續簽到: 1 天

    [LV.9]以壇為家II

     樓主| 發表於 2012-6-9 10:17:06 | 顯示全部樓層
    回復 7# 疾風神影

    我S1/P1打上去之後還是一樣耶><
    請問要怎麼確認腳本適用我的服務端><? 謝謝
    回復 支持 反對

    使用道具 舉報

  • TA的每日心情
    奮斗
    2025-2-23 09:05 PM
  • 簽到天數: 606 天

    連續簽到: 1 天

    [LV.9]以壇為家II

     樓主| 發表於 2012-6-9 10:18:29 | 顯示全部樓層
    回復 5# lcm29


       我不太懂你的意思耶><
    回復 支持 反對

    使用道具 舉報

  • TA的每日心情
    開心
    2023-9-25 11:37 PM
  • 簽到天數: 1686 天

    連續簽到: 1 天

    [LV.Master]伴壇終老

    發表於 2012-6-9 10:46:41 | 顯示全部樓層
    貼上設定比較快

    s1 p1  可改可不改

    差別在於你會不會被用某個程式攻擊.
    回復 支持 反對

    使用道具 舉報

  • TA的每日心情
    奮斗
    2025-2-23 09:05 PM
  • 簽到天數: 606 天

    連續簽到: 1 天

    [LV.9]以壇為家II

     樓主| 發表於 2012-6-9 10:49:20 | 顯示全部樓層
    回復 11# a91323


       貼上設定是char_athena、inter_athena、login_athena、map_athena 裡面的內容嗎><?
    回復 支持 反對

    使用道具 舉報

  • TA的每日心情
    奮斗
    2025-2-23 09:05 PM
  • 簽到天數: 606 天

    連續簽到: 1 天

    [LV.9]以壇為家II

     樓主| 發表於 2012-6-9 10:55:15 | 顯示全部樓層
    回復 11# a91323

    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: 99


    // 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: 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: 127.0.0.1
    sql.db_port: 3306
    sql.db_username: root
    sql.db_password: asd456123
    sql.db_database: ragnarok
    sql.codepage:

    // MySQL Character SQL server
    char_server_ip: 127.0.0.1
    char_server_port: 3306
    char_server_id: root
    char_server_pw: asd456123
    char_server_db: ragnarok

    // MySQL Map SQL Server
    map_server_ip: 127.0.0.1
    map_server_port: 3306
    map_server_id: root
    map_server_pw: asd456123
    map_server_db: ragnarok

    // MySQL Log SQL Database
    log_db_ip: 127.0.0.1
    log_db_port: 3306
    log_db_id: root
    log_db_pw: asd456123
    log_db_db: logs
    log_codepage:

    // 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
    回復 支持 反對

    使用道具 舉報

  • TA的每日心情
    奮斗
    2025-2-23 09:05 PM
  • 簽到天數: 606 天

    連續簽到: 1 天

    [LV.9]以壇為家II

     樓主| 發表於 2012-6-9 10:56:12 | 顯示全部樓層
    回復 11# a91323


       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: scppdlove1314.no-ip.info


    // 控制台指令
    // 控制台指令設定參數使用  on和off
    // 是否記錄日誌到log資料夾
    console: off


    // 註冊是否區分大小寫 (SQL限定)?
    case_sensitive: yes


    // 是否允許遊戲客戶端登入帳號在號面增加“_M/_F”註冊新的帳號?
    new_account: yes


    // 帳號註冊保護系統
    // 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: manry718.no-ip.info
    //ipban.sql.db_port: 3306
    //ipban.sql.db_username: ragnarok
    //ipban.sql.db_password: ragnarok
    //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: 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: root
    account.sql.db_password: asd456123
    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
    回復 支持 反對

    使用道具 舉報

  • TA的每日心情
    奮斗
    2025-2-23 09:05 PM
  • 簽到天數: 606 天

    連續簽到: 1 天

    [LV.9]以壇為家II

     樓主| 發表於 2012-6-9 10:56:37 | 顯示全部樓層
    回復 11# a91323


       這兩個可以嗎><?
    回復 支持 反對

    使用道具 舉報

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

    本版積分規則

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

    GMT+8, 2025-6-30 05:17 AM , Processed in 0.085651 second(s), 21 queries , Gzip On.

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

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