Jump to content

Oxxy

Members
  • Posts

    106
  • Joined

  • Last visited

Posts posted by Oxxy

  1. Вот скрипт. Будет ли он работать правильно?) Вообщем, мат фильтр. За каждый мат переменная Bad + 1, но если проходит 24 часа без мата, то Bad - 1 должно быть.

    Тему клоуз.

  2. Извиняюсь, за далб пост, но так мне кажется будет удобнее читать:

    Clientinfo.xml:

    <?xml version="1.0" encoding="euc-kr" ?> <clientinfo>
    <desc>Ragnarok Client Information</desc>  
    <servicetype>korea</servicetype>
    <servertype>sakray</servertype>
    <extendedslot></extendedslot>
    <readfolder></readfolder>
    
    <connection>
    <display>Ragnarok Online</display>
    <desc></desc>
    <balloon></balloon>
    <address>192.168.1.50</address>
    <port>6900</port>
    <version>25</version>
    <langtype>14</langtype>
    <registrationweb>http://google.com</registrationweb>
    <aid>
    <admin>2000000</admin>
    </aid>
    </connection>
    </clientinfo>

    Map_athena.conf:

    //	  ______  __    __							     
    //	 /\  _  \/\ \__/\ \							    
    //   __\ \ \L\ \ \ ,_\ \ \___	  __    ___	  __     
    // /'__`\ \  __ \ \ \/\ \  _ `\  /'__`\/' _ `\  /'__`\   
    ///\  __/\ \ \/\ \ \ \_\ \ \ \ \/\  __//\ \/\ \/\ \L\.\_
    //\ \____\\ \_\ \_\ \__\\ \_\ \_\ \____\ \_\ \_\ \__/.\_\
    // \/____/ \/_/\/_/\/__/ \/_/\/_/\/____/\/_/\/_/\/__/\/_/
    //  _   _   _   _   _   _   _	 _   _   _   _   _   _
    // / \ / \ / \ / \ / \ / \ / \   / \ / \ / \ / \ / \ / \
    //( e | n | g | l | i | s | h ) ( A | t | h | e | n | a )
    // \_/ \_/ \_/ \_/ \_/ \_/ \_/   \_/ \_/ \_/ \_/ \_/ \_/
    //
    //--------------------------------------------------------------
    //eAthena Map-Server Configuration File
    //--------------------------------------------------------------
    
    // 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.
    
    //--------------------------------------------------------------
    //            Configuration Info        
    //--------------------------------------------------------------
    // Interserver communication passwords, set in account.txt (or equiv.)
    userid: ---
    passwd: ---
    
    // Character Server IP
    // The map server connects to the character server using this IP address.
    // NOTE: This is useful when you are running behind a firewall or are on
    // a machine with multiple interfaces.
    char_ip: 127.0.0.1
    
    // The map server listens on the interface with this IP address.
    // NOTE: This allows you to run multiple servers on multiple interfaces
    // while using the same ports for each server.
    //bind_ip: 127.0.0.1
    
    // Character Server Port
    char_port: 6121
    
    // Map Server IP
    // The IP address which clients will use to connect.
    // Set this to what your server's public IP address is.
    map_ip: 127.0.0.1
    
    // Map Server Port
    map_port: 5121
    
    //Time-stamp format which will be printed before all messages.
    //Can at most be 20 characters long.
    //Common formats:
    // %I:%M:%S %p (hour:minute:second 12 hour, AM/PM format)
    // %H:%M:%S (hour:minute:second, 24 hour format)
    // %d/%b/%Y (day/Month/year)
    //For full format information, consult the strftime() manual.
    //timestamp_format: [%d/%b %H:%M]
    
    //If redirected output contains escape sequences (color codes)
    stdout_with_ansisequence: no
    
    //Makes server output more silent by ommitting certain types of messages:
    //1: Hide Information messages
    //2: Hide Status messages
    //4: Hide Notice Messages
    //8: Hide Warning Messages
    //16: Hide Error and SQL Error messages.
    //32: Hide Debug Messages
    //Example: "console_silent: 7" Hides information, status and notice messages (1+2+4)
    console_silent: 0
    
    //Where should the map data be read from?
    map_cache_file: db/map_cache.dat
    
    //Where should all database data be read from?
    db_path: db
    
    // Enable the @guildspy and @partyspy at commands?
    // Note that enabling them decreases packet sending performance.
    enable_spy: no
    
    // Read map data from GATs and RSWs in GRF files or a data directory
    // as referenced by grf-files.txt rather than from the mapcache?
    use_grf: no
    
    // Console Commands
    // Allow for console commands to be used on/off
    // This prevents usage of >& log.file
    console: off
    
    // Database autosave time
    // All characters are saved on this time in seconds (example:
    // autosave of 60 secs with 60 characters online -> one char is saved every
    // second)
    autosave_time: 300
    
    // Min database save intervals (in ms)
    // Prevent saving characters faster than at this rate (prevents char-server
    // save-load getting too high as character-count increases)
    minsave_time: 100
    
    // Apart from the autosave_time, players will also get saved when involved
    // in the following (add as needed):
    // 1: after every successful trade
    // 2: after every vending transaction
    // 4: after closing storage/guild storage.
    // 8: After hatching/returning to egg a pet.
    // 16: After successfully sending a mail with attachment
    // 32: After successfully submitting an item for auction
    // 64: After successfully get/delete/complete a quest
    // NOTE: These settings decrease the chance of dupes/lost items when there's a
    // server crash at the expense of increasing the map/char server lag. If your
    // server rarely crashes, but experiences interserver lag, you may want to set
    // these off.
    save_settings: 127
    
    // Message of the day file, when a character logs on, this message is displayed.
    motd_txt: conf/motd.txt
    
    // When @help or @h is typed when you are a gm, this is displayed for helping new gms understand gm commands.
    help_txt: conf/help.txt
    help2_txt: conf/help2.txt
    charhelp_txt: conf/charhelp.txt
    
    // Scripts
    import: npc/scripts_main.conf
    
    // Maps:
    import: conf/maps_athena.conf
    
    import: conf/import/map_conf.txt

    Char_athena.conf:

    // Athena Character configuration file.
    
    // 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.
    
    // Server Communication username and password.
    userid: ---
    passwd: ---
    
    // Server name, use alternative character such as ASCII 160 for spaces.
    // NOTE: Do not use spaces in the name, or guild emblems won't work client-side!
    server_name: ---
    
    // Wisp name for server: used to send wisp from server to players (between 4 to 23 characters)
    wisp_server_name: ---
    
    // Login Server IP
    // The character server connects to the login server using this IP address.
    // NOTE: This is useful when you are running behind a firewall or are on
    // a machine with multiple interfaces.
    login_ip: 127.0.0.1
    
    // The character server listens on the interface with this IP address.
    // NOTE: This allows you to run multiple servers on multiple interfaces
    // while using the same ports for each server.
    //bind_ip: 127.0.0.1
    
    // Login Server Port
    login_port: 6900
    
    // Character Server IP
    // The IP address which clients will use to connect.
    // Set this to what your server's public IP address is.
    char_ip: 127.0.0.1
    
    // Character Server Port
    char_port: 6121
    
    //Time-stamp format which will be printed before all messages.
    //Can at most be 20 characters long.
    //Common formats:
    // %I:%M:%S %p (hour:minute:second 12 hour, AM/PM format)
    // %H:%M:%S (hour:minute:second, 24 hour format)
    // %d/%b/%Y (day/Month/year)
    //For full format information, consult the strftime() manual.
    //timestamp_format: [%d/%b %H:%M]
    
    //If redirected output contains escape sequences (color codes)
    stdout_with_ansisequence: no
    
    //Makes server output more silent by ommitting certain types of messages:
    //1: Hide Information messages
    //2: Hide Status messages
    //4: Hide Notice Messages
    //8: Hide Warning Messages
    //16: Hide Error and SQL Error messages.
    //32: Hide Debug Messages
    //Example: "console_silent: 7" Hides information, status and notice messages (1+2+4)
    console_silent: 0
    
    // Console Commands
    // Allow for console commands to be used on/off
    // This prevents usage of >& log.file
    console: off
    
    // Option to force a player to create an e-mail.
    // If a player have default e-mail, and if you activate this option, the player can only connect in the game (to arrive on a map) like follow:
    // - Create at least 1 character
    // - Select 1 character
    // - Select DEL to enter his/her e-mail. (if OK is choosen, client says to the player: 'invalid e-mail')
    // - If his/her e-mail is correct, the player enter in the game (an e-mail is saved definitively).
    // - If his/her e-mail is incorrect, he/she have 'incorrect e-mail' and must select again DEL.
    // - After entering in the game (when the player arrives on a map), DEL and SEL/OK button work normaly for all next connections.
    // Resume: If a player have "incorrect/invalid e-mail" when he/she click on 'OK' button,
    //		 the player must click 'DEL' button and register his/her NEW e-mail to enter in the game
    // So, default is 0, because administrator must explain to their players before to activate this option.
    email_creation: 0
    
    // Type of server.
    // No functional side effects at the moment.
    // Displayed next to the server name in the client.
    // 0=normal, 1=maintenance, 2=over 18, 3=paying, 4=P2P
    char_maintenance: 0
    
    // Enable or disable creation of new characters.
    // Now it is actually supported [Kevin]
    char_new: 1
    
    // Display (New) in the server list.
    char_new_display: 0
    
    // Maximum users able to connect to the server. Set to 0 for unlimited.
    max_connect_user: 0
    
    // Minimum GM level that is allowed to bypass the server limit of users.
    gm_allow_level: 99
    
    // How often should the server save all files? (In seconds)
    // Note: Applies to all data files on TXT servers.
    // On SQL servers, it applies to guilds (character save interval is defined on the map config)
    autosave_time: 60
    
    // Display information on the console whenever characters/guilds/parties/pets are loaded/saved?
    save_log: yes
    
    // Character server flatfile database
    char_txt: save/athena.txt
    
    // Friends list flatfile database
    friends_txt: save/friends.txt
    
    // Start point, Map name followed by coordinates (x,y)
    start_point: new_1-1,53,111
    
    // Starting weapon for new characters
    start_weapon: 1201
    
    // Starting armor for new characters
    start_armor: 2301
    
    // Starting zeny for new characters
    start_zeny: 0
    
    // Size for the fame-lists
    fame_list_alchemist: 10
    fame_list_blacksmith: 10
    fame_list_taekwon: 10
    
    // Guild earned exp modifier.
    // Adjusts taxed exp before adding it to the guild's exp. For example, if set
    // to 200, the guild receives double the player's taxed exp.
    guild_exp_rate: 100
    
    // Name used for unknown characters
    unknown_char_name: Unknown
    
    // To log the character server?
    log_char: 1
    
    // Log Filename
    char_log_filename: log/char.log
    
    // Allow or not identical name for characters but with a different case (upper/lower):
    // example: Test-test-TEST-TesT; Value: 0 not allowed (default), 1 allowed
    name_ignoring_case: no
    
    // Manage possible letters/symbol in the name of charater. Control character (0x00-0x1f) are never accepted. Possible values are:
    // NOTE: Applies to character, party and guild names.
    // 0: no restriction (default)
    // 1: only letters/symbols in 'char_name_letters' option.
    // 2: Letters/symbols in 'char_name_letters' option are forbidden. All others are possibles.
    char_name_option: 1
    
    // Set the letters/symbols that you want use with the 'char_name_option' option.
    // Note: Don't add spaces unless you mean to add 'space' to the list.
    char_name_letters: abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890
    
    // How many Characters are allowed per Account ? (0 = disabled)
    chars_per_account: 0
    
    // Restrict character deletion by BaseLevel
    // 0: no restriction (players can delete characters of any level)
    // -X: you can't delete chars with BaseLevel <= X
    // Y: you can't delete chars with BaseLevel >= Y
    // e.g. char_del_level: 80 (players can't delete characters with 80+ BaseLevel)
    char_del_level: 0
    
    // Amount of time in seconds by which the character deletion is delayed.
    // Default: 86400 (24 hours)
    // NOTE: Requires client 2010-08-03aragexeRE or newer.
    char_del_delay: 86400
    
    // What folder the DB files are in (item_db.txt, etc.)
    db_path: db
    
    //NOTE: The following online listing options are only for TXT servers.
    
    // Filename of the file which receives the online players list in text
    online_txt_filename: online.txt
    
    // Filename of the file which receives the online players list, but in html version
    online_html_filename: online.html
    
    // Choose how to display online players.
    // (sorting operation with a lot of online players can take time on a slow computer)
    // 0: no sorting (default)
    // 1: by alphabetical order of their name
    // 2: by number of their zenys
    // 3: by their base level
    // 4: by their job (and job level inside the same job)
    // 5: by alphabetical order of their actual map location
    online_sorting_option: 0
    
    // Choose which columns that you want display in the online files. Do the addition of these values:
    // (if value is 0, no file is done)
    // 1: name (just the name, no function like 'GM')
    // 2: job
    // 4: levels
    // 8: map name
    // 16: mapname and coordonates
    // 32: zenys
    // 64: name (with 'GM' if the player is a GM)
    // default value: 1 (only name)
    online_display_option: 1
    
    // minimum GM level to display 'GM' when we want to display it (default: 1)
    online_gm_display_min_level: 20
    
    // refresh time (in sec) of the html file in the explorer (default 20)
    online_refresh_html: 20
    
    import: conf/import/char_conf.txt

    Login_athena.conf:

    // 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.
    
    // The login server listens on the interface with this IP address.
    // NOTE: This allows you to run multiple servers on multiple interfaces
    // while using the same ports for each server.
    //bind_ip: 127.0.0.1
    
    // Login Server Port
    login_port: 6900
    
    //Time-stamp format which will be printed before all messages.
    //Can at most be 20 characters long.
    //Common formats:
    // %I:%M:%S %p (hour:minute:second 12 hour, AM/PM format)
    // %H:%M:%S (hour:minute:second, 24 hour format)
    // %d/%b/%Y (day/Month/year)
    //For full format information, consult the strftime() manual.
    //timestamp_format: [%d/%b %H:%M]
    
    //If redirected output contains escape sequences (color codes)
    stdout_with_ansisequence: no
    
    //Makes server output more silent by ommitting certain types of messages:
    //1: Hide Information messages
    //2: Hide Status messages
    //4: Hide Notice Messages
    //8: Hide Warning Messages
    //16: Hide Error and SQL Error messages.
    //32: Hide Debug Messages
    //Example: "console_silent: 7" Hides information, status and notice messages (1+2+4)
    console_silent: 0
    
    // Console Commands
    // Allow for console commands to be used on/off
    // This prevents usage of >& log.file
    console: off
    
    // Can you use _M/_F to make new accounts on the server?
    new_account: yes
    
    // Account registration flood protection system
    // allowed_regs is the number of registrations allowed in time_allowed (in seconds)
    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
    
    // To log the login server?
    // NOTE: The login-sql server needs the login logs to enable dynamic pass failure bans.
    log_login: yes
    
    // Indicate how to display date in logs, to players, etc.
    date_format: %Y-%m-%d %H:%M:%S
    
    // Indicate the minimum GM level of player that the server accepts to connection.
    // 0: all players (normal player are 0. it's default), 1-99: GM level at least with level x
    min_level_to_connect: 0
    
    // Starting additional sec from now for the limited time at creation of account
    // -1: new account are created with UNlimited time (default value)
    // 0 or more: new accounts was created by addition of the value (in sec) to the actual time (to set first limited time)
    start_limited_time: -1
    
    // Check The clientversion set in the clientinfo ?
    check_client_version: no
    
    // What version we would allow to connect? (if the options above is enabled..)
    client_version_to_connect: 20
    
    // Store passwords as MD5 hashes instead of plaintext ?
    // NOTE: Will not work with clients that use <passwordencrypt>
    use_MD5_passwords: yes
    
    // Ipban features (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
    
    // Interval (in seconds) to clean up expired IP bans. 0 = disabled. default = 60.
    // NOTE: Even if this is disabled, expired IP bans will be cleaned up on login server start/stop.
    // Players will still be able to login if an ipban entry exists but the expiration time has already passed.
    ipban_cleanup_interval: 60
    
    // 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: 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
    
    import: conf/inter_athena.conf
    import: conf/import/login_conf.txt

    Inter_athena.conf:

    // 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:
    
    
    // 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: ---
    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: ---
    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: ---
    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: ---
    log_db_db: ragnarok
    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
    
    // 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

    Subnet_athena.conf:

    // Subnet support file
    // Format is:
    // subnet: net-submask:char_ip:map_ip
    // you can add more than one subnet
    
    subnet: 255.0.0.0:127.0.0.1:127.0.0.1
    subnet: 255.255.255.0:192.168.1.50:192.168.1.50

    Логи терминала с момента включения сервера:

    		  (=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=)
    	  (		    eAthena Development Team presents		    )
    	  (	   ______  __    __								  )
    	  (	  /\  _  \/\ \__/\ \								 )
    	  (    __\ \ \_\ \ \ ,_\ \ \___	  __    ___	  __	  )
    	  (  /'__`\ \  __ \ \ \/\ \  _ `\  /'__`\/' _ `\  /'__`\    )
    	  ( /\  __/\ \ \/\ \ \ \_\ \ \ \ \/\  __//\ \/\ \/\ \_\.\_  )
    	  ( \ \____\\ \_\ \_\ \__\\ \_\ \_\ \____\ \_\ \_\ \__/.\_\ )
    	  (  \/____/ \/_/\/_/\/__/ \/_/\/_/\/____/\/_/\/_/\/__/\/_/ )
    	  (   _   _   _   _   _   _   _	 _   _   _   _   _   _   )
    	  (  / \ / \ / \ / \ / \ / \ / \   / \ / \ / \ / \ / \ / \  )
    	  ( ( e | n | g | l | i | s | h ) ( A | t | h | e | n | a ) )
    	  (  \_/ \_/ \_/ \_/ \_/ \_/ \_/   \_/ \_/ \_/ \_/ \_/ \_/  )
    	  (														 )
    	  (=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=)
    
    [info]: SVN Revision: '15138'.
    [info]: Server supports up to '1024' concurrent connections.
    [info]: Char Server IP Address : '127.0.0.1' -> '127.0.0.1'.
    [info]: Map Server IP Address : '127.0.0.1' -> '127.0.0.1'.
    [info]: Console Silent Setting: 0
    [status]: Memory manager initialised: log/char-server_sql.leaks
    
    	  (=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=)
    	  (		    eAthena Development Team presents		    )
    	  (	   ______  __    __								  )
    	  (	  /\  _  \/\ \__/\ \								 )
    	  (    __\ \ \_\ \ \ ,_\ \ \___	  __    ___	  __	  )
    	  (  /'__`\ \  __ \ \ \/\ \  _ `\  /'__`\/' _ `\  /'__`\    )
    	  ( /\  __/\ \ \/\ \ \ \_\ \ \ \ \/\  __//\ \/\ \/\ \_\.\_  )
    	  ( \ \____\\ \_\ \_\ \__\\ \_\ \_\ \____\ \_\ \_\ \__/.\_\ )
    	  (  \/____/ \/_/\/_/\/__/ \/_/\/_/\/____/\/_/\/_/\/__/\/_/ )
    	  (   _   _   _   _   _   _   _	 _   _   _   _   _   _   )
    	  (  / \ / \ / \ / \ / \ / \ / \   / \ / \ / \ / \ / \ / \  )
    	  ( ( e | n | g | l | i | s | h ) ( A | t | h | e | n | a ) )
    	  (  \_/ \_/ \_/ \_/ \_/ \_/ \_/   \_/ \_/ \_/ \_/ \_/ \_/  )
    	  (														 )
    	  (=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=)
    
    [info]: SVN Revision: '15138'.
    [info]: Server supports up to '1024' concurrent connections.
    [status]: Memory manager initialised: log/login-server_sql.leaks
    
    	  (=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=)
    	  (		    eAthena Development Team presents		    )
    	  (	   ______  __    __								  )
    	  (	  /\  _  \/\ \__/\ \								 )
    	  (    __\ \ \_\ \ \ ,_\ \ \___	  __    ___	  __	  )
    	  (  /'__`\ \  __ \ \ \/\ \  _ `\  /'__`\/' _ `\  /'__`\    )
    	  ( /\  __/\ \ \/\ \ \ \_\ \ \ \ \/\  __//\ \/\ \/\ \_\.\_  )
    	  ( \ \____\\ \_\ \_\ \__\\ \_\ \_\ \____\ \_\ \_\ \__/.\_\ )
    	  (  \/____/ \/_/\/_/\/__/ \/_/\/_/\/____/\/_/\/_/\/__/\/_/ )
    	  (   _   _   _   _   _   _   _	 _   _   _   _   _   _   )
    	  (  / \ / \ / \ / \ / \ / \ / \   / \ / \ / \ / \ / \ / \  )
    	  ( ( e | n | g | l | i | s | h ) ( A | t | h | e | n | a ) )
    	  (  \_/ \_/ \_/ \_/ \_/ \_/ \_/   \_/ \_/ \_/ \_/ \_/ \_/  )
    	  (														 )
    	  (=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=)
    
    [info]: SVN Revision: '15138'.
    [info]: Server supports up to '1024' concurrent connections.
    [info]: Reading configuration file conf/login_athena.conf...
    [status]: set login_port : 6900
    [info]: Console Silent Setting: 0
    [info]: Reading configuration file conf/inter_athena.conf...
    [info]: Reading configuration file conf/import/inter_conf.txt...
    [info]: Finished reading conf/import/inter_conf.txt.
    [info]: Finished reading conf/inter_athena.conf.
    [info]: Reading configuration file conf/import/login_conf.txt...
    [info]: Finished reading conf/import/login_conf.txt.
    [info]: Finished reading conf/login_athena.conf.
    [info]: Reading the configuration file conf/subnet_athena.conf...
    [status]: Read information about 2 subnetworks.
    [info]: Reading configuration file conf/char_athena.conf...
    [status]: --- server has been initialized
    [status]: Login server IP address : 127.0.0.1 -> 127.0.0.1
    [status]: Character server IP address : 127.0.0.1 -> 127.0.0.1
    [info]: Console Silent Setting: 0
    [info]: Reading configuration file conf/import/char_conf.txt...
    [info]: Done reading conf/import/char_conf.txt.
    [info]: Done reading conf/char_athena.conf.
    [info]: Reading the configuration file conf/subnet_athena.conf...
    [status]: Read information about 2 subnetworks.
    [info]: Reading file conf/inter_athena.conf...
    [info]: Reading file conf/import/inter_conf.txt...
    [info]: Done reading conf/import/inter_conf.txt.
    [info]: Done reading conf/inter_athena.conf.
    [info]: Finished reading the char-server configuration.
    [info]: interserver initialize...
    [info]: reading file conf/inter_athena.conf...
    [status]: set char_server_ip : 127.0.0.1
    [status]: set char_server_port : 3306
    [status]: set char_server_id : root
    [status]: set char_server_pw : ---
    [status]: set char_server_db : ragnarok
    [info]: reading file conf/import/inter_conf.txt...
    [info]: done reading conf/import/inter_conf.txt.
    [info]: done reading conf/inter_athena.conf.
    [info]: Connect Character DB server.... (Character Server)
    [info]: Using account engine 'sql'.
    [status]: The login-server is ready (Server is listening on the port 6900).
    
    [status]: Using SQL dbs: no
    [info]: Logging item transactions to file 'log/picklog.log'.
    [info]: Logging gm commands to file 'log/atcommandlog.log'.
    [info]: Connecting to the Map DB Server....
    [status]: connect success! (Map Server Connection)
    [status]: Loading maps (using db/map_cache.dat as map cache)...
    [info]: Finished reading the inter-server configuration.
    [info]: Initializing char server.
    [info]: Begin Initializing.......
    [status]: Chars per Account: 'Unlimited'.......
    [info]: Finished initilizing.......
    [info]: char server initialized.
    [info]: Cleaning the 'char' table...
    [info]: Cleaning the 'guild' table...
    [info]: Cleaning the 'guild_member' table...
    [info]: End of char server initilization function.
    [info]: open port 6121.....
    [status]: The char-server is ready (Server is listening on the port 6121).
    
    [status]: Loading maps (760)..
    [info]: Attempt to connect to login-server...
    [status]: Connecting to 127.0.0.1:6900
    [info]: Connection request of the char-server '---' @ 127.0.0.1:6121 (account: '---', pass: 'a52d7990dfb534b95800da9484328bc5', ip: '127.0.0.1')
    [Notice]: Authentication accepted (account: ---, id: 1, ip: 127.0.0.1)
    [status]: Connection of the char-server '---' accepted.
    [status]: Connected to login-server (connection #5).
    [status]: Awaiting maps from map-server.
    [info]: Successfully loaded '760' maps.
    [status]: Done reading packet database from 'packet_db.txt'. Using default packet version: 26.
    [status]: Done reading '6214' entries in 'item_db.txt'.
    [status]: Done reading '0' entries in 'item_db2.txt'.
    [status]: Done reading 'item_group_db.txt'.
    [status]: Done reading '1' entries in 'db/item_avail.txt'.
    [status]: Done reading '19' entries in 'db/item_noequip.txt'.
    [status]: Done reading '1361' entries in 'db/item_trade.txt'.
    [status]: Done reading '4' entries in 'db/item_delay.txt'.
    [status]: Done reading '1057' entries in 'db/item_buyingstore.txt'.
    [status]: Done reading '660' entries in 'db/skill_db.txt'.
    [status]: Done reading '452' entries in 'db/skill_require_db.txt'.
    [status]: Done reading '445' entries in 'db/skill_cast_db.txt'.
    [status]: Done reading '36' entries in 'db/skill_castnodex_db.txt'.
    [status]: Done reading '84' entries in 'db/skill_nocast_db.txt'.
    [status]: Done reading '76' entries in 'db/skill_unit_db.txt'.
    [status]: Done reading '145' entries in 'db/produce_db.txt'.
    [status]: Done reading '136' entries in 'db/create_arrow_db.txt'.
    [status]: Done reading '207' entries in 'db/abra_db.txt'.
    [status]: Done reading '992' entries in 'db/mob_db.txt'.
    [status]: Done reading '0' entries in 'db/mob_db2.txt'.
    [status]: Done reading '0' entries in 'db/mob_avail.txt'.
    [status]: Done reading 'mob_branch.txt'.
    [status]: Done reading 'mob_poring.txt'.
    [status]: Done reading 'mob_boss.txt'.
    [status]: Done reading 'mob_pouch.txt'.
    [status]: Done reading 'mob_chat_db.txt'.
    [status]: Done reading '5492' entries in 'db/mob_skill_db.txt'.
    [status]: Done reading '0' entries in 'db/mob_skill_db2.txt'.
    [status]: Done reading '6' entries in 'db/mob_race2_db.txt'.
    [status]: Done reading 'exp.txt'.
    [status]: Done reading '2181' entries in 'db/skill_tree.txt'.
    [status]: Done reading 'attr_fix.txt'.
    [status]: Done reading 'statpoint.txt'.
    [status]: Done reading '1' entries in 'conf/motd.txt'.
    [status]: Done reading '75' entries in 'db/job_db1.txt'.
    [status]: Done reading '74' entries in 'db/job_db2.txt'.
    [status]: Done reading '3' entries in 'db/size_fix.txt'.
    [status]: Done reading '5' entries in 'db/refine_db.txt'.
    [status]: Done reading '34' entries in 'db/castle_db.txt'.
    [status]: Done reading '15' entries in 'db/guild_skill_tree.txt'.
    [status]: Done reading '58' pets in 'pet_db.txt'.
    [status]: Done reading '0' pets in 'pet_db2.txt'.
    [status]: Done reading '8' entries in 'db/homunculus_db.txt'.
    [status]: Done reading '99' levels in 'exp_homun.txt'.
    [status]: Done reading '56' entries in 'db/homun_skill_tree.txt'.
    [status]: Done reading '44' entries in 'db/mercenary_db.txt'.
    [status]: Done reading '118' entries in 'db/mercenary_skill_db.txt'.
    [status]: Done reading '1703' entries in 'quest_db.txt'.
    [info]: Done loading '12801' NPCs:
       -'3050' Warps
       -'187' Shops
       -'9564' Scripts
       -'3926' Spawn sets
       -'41060' Mobs Cached
       -'0' Mobs Not Cached
    [status]: Event 'OnInit' executed with '1451' NPCs.
    [status]: Server is 'ready' and listening on port '5121'.
    
    [status]: Attempting to connect to Char Server. Please wait.
    [status]: Connecting to 127.0.0.1:6121
    [status]: Logging in to char server...
    [status]: Successfully logged on to Char Server (Connection: '5').
    [status]: Sending maps to char server...
    [status]: Event 'OnInterIfInit' executed with '0' NPCs.
    [status]: Event 'OnInterIfInitOnce' executed with '31' NPCs.
    [status]: Map-Server 0 connected: 760 maps, from IP 127.0.0.1 port 5121.
    [status]: Map-server 0 loading complete.
    [status]: Map Server is now online.
    [info]: Received Fame List of '0' characters.
    [status]: Request for connection of Oxxy (ip: 192.168.1.40).
    [Notice]: Authentication accepted (account: Oxxy, id: 2000000, ip: 192.168.1.40)
    [status]: Connection of the account 'Oxxy' accepted.
    [info]: Closed connection from '192.168.1.40'.
    [info]: request connect - account_id:2000000/login_id1:336603609/login_id2:1933832791
    [info]: Loading Char Data (2000000)
    [status]: Request for connection of Oxxy (ip: 192.168.1.40).
    [Notice]: Authentication accepted (account: Oxxy, id: 2000000, ip: 192.168.1.40)
    [status]: Connection of the account 'Oxxy' accepted.
    [info]: Closed connection from '192.168.1.40'.
    [info]: request connect - account_id:2000000/login_id1:1456908350/login_id2:367614936
    [info]: Loading Char Data (2000000)
    [status]: Request for connection of Oxxy (ip: 192.168.1.40).
    [Notice]: Authentication accepted (account: Oxxy, id: 2000000, ip: 192.168.1.40)
    [status]: Connection of the account 'Oxxy' accepted.
    [info]: Closed connection from '192.168.1.40'.
    [info]: request connect - account_id:2000000/login_id1:850209353/login_id2:1410768480
    [info]: Loading Char Data (2000000)
    [status]: Request for connection of Oxxy (ip: 192.168.1.40).
    [Notice]: Authentication accepted (account: Oxxy, id: 2000000, ip: 192.168.1.40)
    [status]: Connection of the account 'Oxxy' accepted.
    [info]: Closed connection from '192.168.1.40'.
    [info]: request connect - account_id:2000000/login_id1:342203371/login_id2:1199728128
    [info]: Loading Char Data (2000000)
    [status]: Request for connection of Oxxy (ip: 192.168.1.40).
    [Notice]: Authentication accepted (account: Oxxy, id: 2000000, ip: 192.168.1.40)
    [status]: Connection of the account 'Oxxy' accepted.
    [info]: Closed connection from '192.168.1.40'.
    [info]: request connect - account_id:2000000/login_id1:1645754549/login_id2:1473783815
    [info]: Loading Char Data (2000000)
    
    

  3. ВСЕ порты у меня открыты :) Они никогда у меня закрытыми не бывают. :)

    Попробую твой способ. Спасибо )

    --

    Не помогло :(

    [status]: Connection of the account 'Oxxy' accepted.

    [info]: Closed connection from '192.168.1.40'.

    [info]: request connect - account_id:2000000/login_id1:1456908350/login_id2:367614936

    [info]: Loading Char Data (2000000)

    А в клиенте фэйлед ту коннект...

  4. IP какой? Сетевой? :) Если внешний, то он один(КЭП :) )

    Сетевой сервер: 192.168.1.50

    Сетевой клиента: 192.168.1.33

    В клиентинфо: 192.168.1.50

    В конфигах сервера: 127.0.0.1

    Внешний айпи: 213.168.31.254

    Ах да, это мне напоминает запуск РО на Линуксе. Там дальше логин-сервера не пускает(фэйлед ту коннект), я почитал, я так понял, он коннектится к левому айпи... Но что с ХРюшей, фиг знает :C

  5. Клиент дальше выбора сервера не пускает. Захожу на Ragnarok Online(0) и всё. Тупик. Failed to connect. Сервер стоит у меня на Убунте(PC обычный), захожу с ХРюши. Какие-то предложения есть?

    В серверах ничего не пишет. Всё ок.

    Пакетверсия прописана, в пакет дб: дефолт.

  6. Возможно, но не работают оба варианта(ГРФ / Папка).

    О! Спасибо, сейчас попробую другую кодировку, что-то забыл о ней вообще. Раньше всегда АЇАъАОЕНЖдАМЅє стояла, если не ошибаюсь.

    З.Ы Лилит, есть просьба) Можешь добавить систему языков в систему рас? :) Как в еА моде. И вариант 3 для бонусов без вещей: 3,VARIABLE,{ bonus... }

    З.Ы.Ы Алилуя! Спасибо :) Измение кодировки папки на АЇАъАОЕНЖдАМЅє помогло. :3

    Другая проблемка: Клиент дальше выбора сервера не пускает. Захожу на Ragnarok Online(0) и всё. Тупик. Failed to connect. Сервер стоит у меня на Убунте, захожу с ХРюши. Какие-то предложения есть?

    В серверах ничего не пишет. Всё ок.

    З.Ы.Ы.Ы Пакетверсия прописана, в пакет_дб: дефолт.

  7. К сожалению, могу сказать, что е**** с патчем.

    Вроде всё лежит правильно data/texture/À¯ÀúÀÎÅÍÆäÀ̽º , но проблема в том, что он не читает вообще папку дата/грф (текстуры)... Все кнопки и т.д на корейском. Что делать? Грф ясен пень указывал первым в Data.ini.

    Кто знает, что за напасть такая? =\

  8. Try this one...:

    -	shop	TCG_shop	-1,501:50
    prontera,144,169,5	script	Quest#1-1	953,{
    set @i,0;
    mes "[ TCG Shop ]";
    mes "Which item do you wish to obtain?";
    mes "Select only one.";
    callshop "TCG_shop",1;
    npcshopattach "TCG_shop";
    end;
    
    OnBuyItem:
    if(.BuildQuest) {
    	for(set .e,0; !compare(getarg(.e+1),"Zeny"); set .e,.e+2) {}
    	npcshopadditem "TCG_shop",getarg(.e+2),getarg(.e)*compare(getarg(.e+1),"SZeny");
    	setarray .Shop[.i],getarg(.e+2);
    	set .i,.i+1;
    	goto Quest_Setup;
    }
    if(.Shop[@i]!=@bought_nameid) for(set @i,1; 1; set @i,@i+1) if(.Shop[@i]==@bought_nameid) { set .i,@i; callsub Quest_Setup; }
    for(set @i,1; !@e; set @i,@i+1) if(.Shop[@i]==@bought_nameid) { set @e,1; set .i,@i; callsub Quest_Setup; }
    mes "[ TCG Shop ]";
    mes "I require the following:";
    for(set @i,0; !compare(getarg(@i+1),"Zeny"); set @i,@i+2) mes "^FF0000" + ((countitem(getarg(@i))>=getarg(@i+1))? "^00FF00":"") + "" + getarg(@i+1) + " " + getitemname(getarg(@i)) + " [" + countitem(getarg(@i)) + "/" + getarg(@i+1) + "]";
    if(getarg(@i)) mes "^FF0000" + ((Zeny>=getarg(@i))? "^00FF00":"") + "" + getarg(@i) + " Zeny";
    mes "^000000In exchange, I will give you:^0000FF";
    for(set @i,@i+2; getarg(@i+1,0); set @i,@i+2) mes getarg(@i+1) + " " + getitemname(getarg(@i));
    switch(select("Exchange:" + (((((getiteminfo(@bought_nameid,5) & 1) || (getiteminfo(@bought_nameid,5) & 256) || (getiteminfo(@bought_nameid,5) & 512)) && @equip==0))? "Preview Item":"") + ":No thanks")) {
    	case 1:
    		for(set @i,0; !compare(getarg(@i+1),"Zeny"); set @i,@i+2) if(countitem(getarg(@i)) < getarg(@i+1)) {
    			next;
    			mes "You have " + countitem(getarg(@i)) + " " + getitemname(getarg(@i)) + ", while I require " + getarg(@i+1) + ".";
    			mes "Please obtain ^FF0000" + (getarg(@i+1)-countitem(getarg(@i))) + " more " + getitemname(getarg(@i)) + "^000000.";
    			close;
    		}
    		if(Zeny < getarg(@i)) {
    			next;
    			mes "You do not have enough Zeny.";
    			mes "Please obtain ^FF0000" + (getarg(@i)-Zeny) + " more Zeny^000000.";
    			close;
    		}
    		for(set @i,0; !compare(getarg(@i+1),"Zeny"); set @i,@i+2) delitem getarg(@i),getarg(@i+1);
    		set Zeny,Zeny-getarg(@i);
    		for(set @i,@i+2; getarg(@i+1,0); set @i,@i+2) getitem getarg(@i),getarg(@i+1);
    		if (compare(getarg(@i,0),"announce")) announce strcharinfo(0) + " has just obtained " + getitemname(@bought_nameid) + "!",bc_all;
    		close;
    	case 2:
    		set @bottomview, getlook(3);
    		set @topview, getlook(4);
    		set @midview, getlook(5);
    		addtimer 1000, strnpcinfo(3)+"::On_Leave";
    		set @equip,getiteminfo(@bought_nameid, 5);
    		set @view, getiteminfo(@bought_nameid, 11);
    		if(@equip != -1 && @view > 0) {
    			if(@equip & 1) atcommand "@changelook 3 " + @view;
    			if(@equip & 256) atcommand "@changelook 1 " + @view;
    			if(@equip & 512) atcommand "@changelook 2 " + @view;
    		}
    		next;
    		goto OnBuyItem;
    	case 3:
    		close;
    }
    On_Leave:
    atcommand "@changelook 1 " + @topview;
    atcommand "@changelook 2 " + @midview;
    atcommand "@changelook 3 " + @bottomview;
    set @equip,0;
    set @view,0;
    set @topview,0;
    set @midview,0;
    set @bottomview,0;
    end;
    OnInit:
    npcshopitem "TCG_shop",0,0;
    set .BuildQuest,1;
    set .i,1;
    Quest_Setup:
    switch(.i) {
    	default: set .BuildQuest,0; set .e,0; set .i,0; end;
    	case 1: callsub OnBuyItem,7227,100,7037,100,602,500,7168,150,675,10,10000000,"SZeny",20000,1,"announce";
    	case 2: callsub OnBuyItem,7227,100,7037,100,602,500,7168,150,675,10,10000000,"SZeny",20001,1,"announce";
    	case 3: callsub OnBuyItem,7227,100,7037,100,602,500,7168,150,675,10,10000000,"SZeny",20002,1,"announce";
    	case 4: callsub OnBuyItem,7227,100,7037,100,602,500,7168,150,675,10,10000000,"SZeny",20004,1,"announce";
    	case 5: callsub OnBuyItem,7227,100,7037,100,602,500,7168,150,675,10,10000000,"SZeny",20005,1,"announce";
    	case 6: callsub OnBuyItem,7227,100,7037,100,602,500,7168,150,675,10,10000000,"SZeny",20006,1,"announce";
    	case 7: callsub OnBuyItem,7227,100,7037,100,602,500,7168,150,675,10,10000000,"SZeny",20007,1,"announce";
    	case 8: callsub OnBuyItem,7227,100,7037,100,602,500,7168,150,675,10,10000000,"SZeny",20008,1,"announce";
    	case 9: callsub OnBuyItem,7227,100,7037,100,602,500,7168,150,675,10,10000000,"SZeny",20009,1,"announce";
    	case 10: callsub OnBuyItem,7227,100,7037,100,602,500,7168,150,675,10,10000000,"SZeny",20010,1,"announce";
    	case 11: callsub OnBuyItem,7227,100,7037,100,602,500,7168,150,675,10,10000000,"SZeny",20012,1,"announce";
    	case 12: callsub OnBuyItem,7227,100,7037,100,602,500,7168,150,675,10,10000000,"SZeny",20013,1,"announce";
    	case 13: callsub OnBuyItem,7227,100,7037,100,602,500,7168,150,675,10,10000000,"SZeny",20014,1,"announce";
    	case 14: callsub OnBuyItem,7227,100,7037,100,602,500,7168,150,675,10,10000000,"SZeny",20015,1,"announce";
    	case 15: callsub OnBuyItem,7227,100,7037,100,602,500,7168,150,675,10,10000000,"SZeny",20016,1,"announce";
    	case 16: callsub OnBuyItem,7227,100,7037,100,602,500,7168,150,675,10,10000000,"SZeny",20017,1,"announce";
    	case 17: callsub OnBuyItem,7227,100,7037,100,602,500,7168,150,675,10,10000000,"SZeny",20018,1,"announce";
    	case 18: callsub OnBuyItem,7227,100,7037,100,602,500,7168,150,675,10,10000000,"SZeny",20019,1,"announce";
    	case 19: callsub OnBuyItem,7227,100,7037,100,602,500,7168,150,675,10,10000000,"SZeny",20020,1,"announce";
    	case 20: callsub OnBuyItem,7227,100,7037,100,602,500,7168,150,675,10,10000000,"SZeny",20021,1,"announce";
    	case 21: callsub OnBuyItem,7227,100,7037,100,602,500,7168,150,675,10,10000000,"SZeny",20022,1,"announce";
    	case 22: callsub OnBuyItem,7227,100,7037,100,602,500,7168,150,675,10,10000000,"SZeny",20023,1,"announce";
    	case 23: callsub OnBuyItem,7227,100,7037,100,602,500,7168,150,675,10,10000000,"SZeny",20024,1,"announce";
    	case 24: callsub OnBuyItem,7227,100,7037,100,602,500,7168,150,675,10,10000000,"SZeny",20026,1,"announce";
    }
    }
    
    prontera,145,169,5<TAB>duplicate(Quest#1-1)<TAB>Quest#1-2<TAB>953

  9. Find:

    prontera,144,169,5	script	Quest	953,{

    change to:

    prontera,144,169,5	script	Quest#1-1	953,{

    Find:

    Last } in the script

    add after:

    prontera,145,169,5<TAB>duplicate(Quest#1-1)<TAB>Quest#1-2<TAB>953

    Try this one! :)

    Edit: Had a mistake, it should work now. Don't forget to change the coordinats.

×
×
  • Create New...