Ragnarok server

Раздел посвящён игровым серверам и игрушкам вообще.
Правила форума
Убедительная просьба юзать теги [code] при оформлении листингов.
Сообщения не оформленные должным образом имеют все шансы быть незамеченными.
Аватара пользователя
FenX
ст. прапорщик
Сообщения: 513
Зарегистрирован: 2008-04-23 17:46:53
Откуда: Moscow
Контактная информация:

Re: Ragnarok server

Непрочитанное сообщение FenX » 2009-07-30 18:46:30

расписывать что-либо для тхт версии не вижу смысла.
там настраивать-то нечего.
относительно настройки параметров самого сервера:
это уже на целый мануал потянет, а не на статейку-заметку.

относительно запроса:
скорее всего был сделан тупо копипаст.
надо будет подредактировать на будущее =\

правильный запрос такой, в одну строку:

Код: Выделить всё

mysql --user=root --password=<your_pass> --execute="GRANT ALL PRIVILEGES ON eathena_srv.* TO eathena@localhost IDENTIFIED BY '<your_password>'"
для рута без пароля:

Код: Выделить всё

mysql --user=root --execute="GRANT ALL PRIVILEGES ON eathena_srv.* TO eathena@localhost IDENTIFIED BY '<your_password>'"

Хостинговая компания Host-Food.ru
Хостинг HostFood.ru
 

Услуги хостинговой компании Host-Food.ru

Хостинг HostFood.ru

Тарифы на хостинг в России, от 12 рублей: https://www.host-food.ru/tariffs/hosting/
Тарифы на виртуальные сервера (VPS/VDS/KVM) в РФ, от 189 руб.: https://www.host-food.ru/tariffs/virtualny-server-vps/
Выделенные сервера, Россия, Москва, от 2000 рублей (HP Proliant G5, Intel Xeon E5430 (2.66GHz, Quad-Core, 12Mb), 8Gb RAM, 2x300Gb SAS HDD, P400i, 512Mb, BBU):
https://www.host-food.ru/tariffs/vydelennyi-server-ds/
Недорогие домены в популярных зонах: https://www.host-food.ru/domains/

Аватара пользователя
Fern
мл. сержант
Сообщения: 106
Зарегистрирован: 2009-06-23 21:56:21
Откуда: RU/Msk

Re: Ragnarok server

Непрочитанное сообщение Fern » 2009-07-31 11:45:29

FenX писал(а): правильный запрос такой, в одну строку:
Аха, полегчало=) вроде даже нормально дошел до конца гайда=)
А вот тут:

Код: Выделить всё

$ $ mysql --user=eathena --password=<your_password> --database=ea...
так и должно быть $ $ ?

Мдее...

Код: Выделить всё

snowmini# mysql --user=eathena --password=223344 --database=eathena_srv --execute="INSERT INTO `login` (userid,user_pass,sex,email,level) VALUES ('ADM', 'ADMPASS', 'M', '11@11.com', 99)"
Не является login-шеллом.
ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(userid,user_pass,sex,email,level) VALUES ('ADM', 'ADMPASS', 'M', '11@11.com', 9' at line 1
:cry: что с ним делать та?
Сделал вот так:

Код: Выделить всё

snowmini# mysql --user=eathena --password=223344
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 16
Server version: 5.0.77 FreeBSD port: mysql-server-5.0.77_1

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> database=eathena_srv
    -> execute="INSERT INTO `login` (userid,user_pass,sex,email,level) VALUES ('ADM', 'ADMPASS', 'M', 'admin@myserv.com', 99)"
    -> Aborted
snowmini# 
Эт правильно?


Ну и в итоге не пашед:(

Код: Выделить всё

[fern@snowmini /usr/local/eathena]$ [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: '13981'.
[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 1 subnetworks.
[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: '13981'.
[Info]: Reading configuration file conf/char_athena.conf...
[Status]: eAthena server has been initialized
[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 1 subnetworks.
[Info]: Reading file conf/inter_athena.conf...
[Status]: Memory manager initialised: log/map-server_sql.leaks

          (=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=)
          (            eAthena Development Team presents            )
          (       ______  __    __                                  )
          (      /\  _  \/\ \__/\ \                                 )
          (    __\ \ \_\ \ \ ,_\ \ \___      __    ___      __      )
          (  /'__`\ \  __ \ \ \/\ \  _ `\  /'__`\/' _ `\  /'__`\    )
          ( /\  __/\ \ \/\ \ \ \_\ \ \ \ \/\  __//\ \/\ \/\ \_\.\_  )
          ( \ \____\\ \_\ \_\ \__\\ \_\ \_\ \____\ \_\ \_\ \__/.\_\ )
          (  \/____/ \/_/\/_/\/__/ \/_/\/_/\/____/\/_/\/_/\/__/\/_/ )
          (   _   _   _   _   _   _   _     _   _   _   _   _   _   )
          (  / \ / \ / \ / \ / \ / \ / \   / \ / \ / \ / \ / \ / \  )
          ( ( e | n | g | l | i | s | h ) ( A | t | h | e | n | a ) )
          (  \_/ \_/ \_/ \_/ \_/ \_/ \_/   \_/ \_/ \_/ \_/ \_/ \_/  )
          (                                                         )
          (=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=)

[Info]: SVN Revision: '13981'.
[Info]: Console Silent Setting: 0
[Error]: Using the default user/password s1/p1 is NOT RECOMMENDED.
[Notice]: Please edit your 'login' table to create a proper inter-server user/password (gender 'S')
[Notice]: and then edit your user/password in conf/map_athena.conf (or conf/import/map_conf.txt)
[Error]: 
Not all IP addresses in map_athena.conf configured, autodetecting...
[Info]: Defaulting to 127.0.0.1 as our IP address
[Info]: Map Server IP Address : '127.0.0.1' -> '127.0.0.1'.
[Info]: Char Server IP Address : '127.0.0.1' -> '127.0.0.1'.
[Info]: Reading file conf/import/inter_conf.txt...
[Info]: Done reading conf/import/inter_conf.txt.
[Info]: Done reading conf/inter_athena.conf.
[Error]: Using the default user/password s1/p1 is NOT RECOMMENDED.
[Notice]: Please edit your 'login' table to create a proper inter-server user/password (gender 'S')
[Notice]: And then change the user/password to use in conf/char_athena.conf (or conf/import/char_conf.txt)
[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 : ragnarok
[Status]: set char_server_pw : ragnarok
[Status]: set char_server_db : ragnarok
[Info]: reading file conf/import/inter_conf.txt...
[Status]: set char_server_ip : 127.0.0.1
[Status]: set char_server_port : 3306
[Status]: set char_server_id : eathena
[Status]: set char_server_pw : 223344
[Status]: set char_server_db : eathena_srv
[Info]: done reading conf/import/inter_conf.txt.
[Info]: done reading conf/inter_athena.conf.
[Info]: Connect Character DB server.... (Character Server)
[Status]: Using SQL dbs: no
[Status]: Using SQL dbs: yes
[Notice]: Logging Item Picks to table `picklog`
[Notice]: Logging GM Level 40 Commands to table `atcommandlog`
[Notice]: Logging Item Picks to file `log/picklog.log`.txt
[Notice]: Logging GM Level 40 Commands to file `log/atcommandlog.log`.txt
[SQL]: Access denied for user 'eathena'@'localhost' to database 'eathena_log'
[Debug]: at loginlog_sql.c:110
[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.
[Status]: Defaulting to 127.0.0.1 as our IP address
[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).

[Info]: Attempt to connect to login-server...
[Status]: Connecting to 127.0.0.1:6900
[Error]: make_connection: connect failed (socket #5, code 61)!
[Info]: Successfully loaded '707' maps.
[Status]: Done reading packet database from 'packet_db.txt'. Using default packet version: 23.
[Status]: Done reading '4694' entries in 'item_db'.
[Status]: Done reading '0' entries in 'item_db2'.
[Status]: Done reading 'item_group_db.txt'.
[Status]: Done reading '1' entries in 'item_avail.txt'.
[Status]: Done reading '11' entries in 'item_noequip.txt'.
[Status]: Done reading '447' entries in 'item_trade.txt'.
[Status]: Done reading '654' entries in 'db/skill_db.txt'.
[Status]: Done reading '447' entries in 'db/skill_require_db.txt'.
[Status]: Done reading '441' entries in 'db/skill_cast_db.txt'.
[Status]: Done reading '25' entries in 'db/skill_castnodex_db.txt'.
[Status]: Done reading '55' 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 '970' entries in 'mob_db'.
[Status]: Done reading '0' entries in 'mob_db2'.
[Status]: Done reading '0' entries in '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'.
[Error]: mob_skill: Non existant Mob id 1997 at db/mob_skill_db.txt, line 5195
[Error]: mob_skill: Non existant Mob id 1998 at db/mob_skill_db.txt, line 5200
[Error]: mob_skill: Non existant Mob id 1999 at db/mob_skill_db.txt, line 5205
[Status]: Done reading 'mob_skill_db.txt'.
[Status]: Done reading 'mob_skill_db2.txt'.
[Status]: Done reading 'mob_race2_db.txt'.
[Status]: Done reading 'exp.txt'.
[Status]: Done reading 'skill_tree.txt'.
[Status]: Done reading 'attr_fix.txt'.
[Status]: Done reading 'statpoint.txt'.
[Status]: Done reading 'db/job_db1.txt'.
[Status]: Done reading 'db/job_db2.txt'.
[Status]: Done reading 'db/size_fix.txt'.
[Status]: Done reading 'db/refine_db.txt'.
[Status]: Done reading '34' entries in 'castle_db.txt'.
[Status]: Done reading '15' entries in 'guild_skill_tree.txt'.
[Status]: Done reading '55' pets in 'pet_db.txt'.
[Status]: Done reading '8' homunculus in 'db/homunculus_db.txt'.
[Status]: Done reading '99' levels in 'exp_homun.txt'.
[Status]: Done reading 'homun_skill_tree.txt'.
[Status]: Done reading '36' mercenaries in 'db/mercenary_db.txt'.
[Status]: Done reading '82' entries in 'db/mercenary_skill_db.txt'.
[Status]: Done reading 'quest_db.txt'.
[Info]: Done loading '11151' NPCs:
	-'2883' Warps
	-'180' Shops
	-'8088' Scripts
	-'3864' Spawn sets
	-'39545' Mobs Cached
	-'0' Mobs Not Cached
[Status]: Event 'OnInit' executed with '1264' 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 'OnCharIfInit' executed with '0' NPCs.
[Status]: Event 'OnInterIfInit' executed with '0' NPCs.
[Status]: Event 'OnInterIfInitOnce' executed with '31' NPCs.
[Status]: Map-Server 0 connected: 707 maps, from IP 127.0.0.1 port 5121.
[Status]: Map-server 0 loading complete.
[Status]: Map sending complete. Map Server is now online.
[Info]: Received Fame List of '0' characters.
[Info]: Attempt to connect to login-server...
[Status]: Connecting to 127.0.0.1:6900
[Error]: make_connection: connect failed (socket #6, code 61)!
[Info]: Attempt to connect to login-server...
[Status]: Connecting to 127.0.0.1:6900
[Error]: make_connection: connect failed (socket #6, code 61)!
[Info]: Attempt to connect to login-server...
[Status]: Connecting to 127.0.0.1:6900
[Error]: make_connection: connect failed (socket #6, code 61)!
[Info]: Attempt to connect to login-server...
[Status]: Connecting to 127.0.0.1:6900
[Error]: make_connection: connect failed (socket #6, code 61)!
[Info]: Attempt to connect to login-server...
[Status]: Connecting to 127.0.0.1:6900
[Error]: make_connection: connect failed (socket #6, code 61)!
[Info]: Attempt to connect to login-server...
[Status]: Connecting to 127.0.0.1:6900
[Error]: make_connection: connect failed (socket #6, code 61)!
[Info]: Attempt to connect to login-server...
[Status]: Connecting to 127.0.0.1:6900
[Error]: make_connection: connect failed (socket #6, code 61)!
[Info]: Attempt to connect to login-server...
[Status]: Connecting to 127.0.0.1:6900
[Error]: make_connection: connect failed (socket #6, code 61)!
[fern@snowmini /usr/local/eathena]$ ./athena-start stop
[Info]: Doing final stage...
[Notice]: Sending all users offline.
[Info]: ok! all done...
[Info]: Memory manager: No memory leaks found.
[Warning]: Map Server disconnected from Char Server.
[Status]: Terminating...
[Status]: Close Map DB Connection....
[Status]: Successfully terminated.
[Info]: Memory manager: No memory leaks found.
Или логин сервер запускается отдельно.... Или я где-то все таки накосячил :(
Изображение
Все хорошее приходит сверху, а лучшее со временем...

Аватара пользователя
Fern
мл. сержант
Сообщения: 106
Зарегистрирован: 2009-06-23 21:56:21
Откуда: RU/Msk

Re: Ragnarok server

Непрочитанное сообщение Fern » 2009-07-31 14:11:17

О, заработало вроде

Код: Выделить всё

[fern@snowmini /usr/local/eathena]$ cd /usr/local/eathena && ./athena-start startAthena Starting...
            (c) 2003 Athena Project
              modified by shazeya@syafi.com

checking...
Check complete.
Looks good, a nice Athena!
Now Started Athena.
[fern@snowmini /usr/local/eathena]$ [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: '13981'.
[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 1 subnetworks.
[Status]: Memory manager initialised: log/map-server_sql.leaks

          (=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=)
          (            eAthena Development Team presents            )
          (       ______  __    __                                  )
          (      /\  _  \/\ \__/\ \                                 )
          (    __\ \ \_\ \ \ ,_\ \ \___      __    ___      __      )
          (  /'__`\ \  __ \ \ \/\ \  _ `\  /'__`\/' _ `\  /'__`\    )
          ( /\  __/\ \ \/\ \ \ \_\ \ \ \ \/\  __//\ \/\ \/\ \_\.\_  )
          ( \ \____\\ \_\ \_\ \__\\ \_\ \_\ \____\ \_\ \_\ \__/.\_\ )
          (  \/____/ \/_/\/_/\/__/ \/_/\/_/\/____/\/_/\/_/\/__/\/_/ )
          (   _   _   _   _   _   _   _     _   _   _   _   _   _   )
          (  / \ / \ / \ / \ / \ / \ / \   / \ / \ / \ / \ / \ / \  )
          ( ( e | n | g | l | i | s | h ) ( A | t | h | e | n | a ) )
          (  \_/ \_/ \_/ \_/ \_/ \_/ \_/   \_/ \_/ \_/ \_/ \_/ \_/  )
          (                                                         )
          (=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=)

[Info]: SVN Revision: '13981'.
[Info]: Console Silent Setting: 0
[Error]: Using the default user/password s1/p1 is NOT RECOMMENDED.
[Notice]: Please edit your 'login' table to create a proper inter-server user/password (gender 'S')
[Notice]: and then edit your user/password in conf/map_athena.conf (or conf/import/map_conf.txt)
[Error]: 
Not all IP addresses in map_athena.conf configured, autodetecting...
[Info]: Defaulting to 127.0.0.1 as our IP address
[Info]: Map Server IP Address : '127.0.0.1' -> '127.0.0.1'.
[Info]: Char Server IP Address : '127.0.0.1' -> '127.0.0.1'.
[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: '13981'.
[Info]: Reading configuration file conf/char_athena.conf...
[Status]: eAthena server has been initialized
[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 1 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.
[Error]: Using the default user/password s1/p1 is NOT RECOMMENDED.
[Notice]: Please edit your 'login' table to create a proper inter-server user/password (gender 'S')
[Notice]: And then change the user/password to use in conf/char_athena.conf (or conf/import/char_conf.txt)
[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 : ragnarok
[Status]: set char_server_pw : ragnarok
[Status]: set char_server_db : ragnarok
[Info]: reading file conf/import/inter_conf.txt...
[Status]: set char_server_ip : 127.0.0.1
[Status]: set char_server_port : 3306
[Status]: set char_server_id : eathena
[Status]: set char_server_pw : 223344
[Status]: set char_server_db : eathena_srv
[Info]: done reading conf/import/inter_conf.txt.
[Info]: done reading conf/inter_athena.conf.
[Info]: Connect Character DB server.... (Character Server)
[Status]: Using SQL dbs: no
[Status]: Using SQL dbs: yes
[Info]: Using account engine 'sql'.
[Status]: The login-server is ready (Server is listening on the port 6900).

[Notice]: Logging Item Picks to table `picklog`
[Notice]: Logging GM Level 40 Commands to table `atcommandlog`
[Notice]: Logging Item Picks to file `log/picklog.log`.txt
[Notice]: Logging GM Level 40 Commands to file `log/atcommandlog.log`.txt
[Info]: Connecting to the Map DB Server....
[Info]: Finished reading the inter-server configuration.
[Status]: connect success! (Map Server Connection)
[Info]: Initializing char server.
[Status]: Loading maps (using db/map_cache.dat as map cache)...
[Info]: Begin Initializing.......
[Status]: Chars per Account: 'Unlimited'.......
[Info]: Finished initilizing.......2trea
[Info]: char server initialized.alberta
[Status]: Defaulting to 127.0.0.1 as our IP address
[Info]: Cleaning the 'char' table..._dun01
[Info]: Cleaning the 'guild' table...dun02
[Info]: Cleaning the 'guild_member' table...
[Info]: End of char server initilization function.
[Info]: open port 6121.....07]: aldeba_in
[Status]: The char-server is ready (Server is listening on the port 6121).
[Status]: Loading maps [10/707]: anthell01
[Info]: Attempt to connect to login-server...
[Status]: Connecting to 127.0.0.1:6900
[Info]: Connection request of the char-server 'eAthena' @ 127.0.0.1:6121 (account: 's1', pass: 'p1', ip: '127.0.0.1')
[Notice]: Authentication accepted (account: s1, id: 1, ip: 127.0.0.1)
[Status]: Connection of the char-server 'eAthena' accepted.
[Status]: Connected to login-server (connection #5).
[Status]: Awaiting maps from map-server.
[Info]: Successfully loaded '707' maps.
[Status]: Done reading packet database from 'packet_db.txt'. Using default packet version: 23.
[Status]: Done reading '4694' entries in 'item_db'.
[Status]: Done reading '0' entries in 'item_db2'.
[Status]: Done reading 'item_group_db.txt'.
[Status]: Done reading '1' entries in 'item_avail.txt'.
[Status]: Done reading '11' entries in 'item_noequip.txt'.
[Status]: Done reading '447' entries in 'item_trade.txt'.
[Status]: Done reading '654' entries in 'db/skill_db.txt'.
[Status]: Done reading '447' entries in 'db/skill_require_db.txt'.
[Status]: Done reading '441' entries in 'db/skill_cast_db.txt'.
[Status]: Done reading '25' entries in 'db/skill_castnodex_db.txt'.
[Status]: Done reading '55' 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 '970' entries in 'mob_db'.
[Status]: Done reading '0' entries in 'mob_db2'.
[Status]: Done reading '0' entries in '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'.
[Error]: mob_skill: Non existant Mob id 1997 at db/mob_skill_db.txt, line 5195
[Error]: mob_skill: Non existant Mob id 1998 at db/mob_skill_db.txt, line 5200
[Error]: mob_skill: Non existant Mob id 1999 at db/mob_skill_db.txt, line 5205
[Status]: Done reading 'mob_skill_db.txt'.
[Status]: Done reading 'mob_skill_db2.txt'.
[Status]: Done reading 'mob_race2_db.txt'.
[Status]: Done reading 'exp.txt'.
[Status]: Done reading 'skill_tree.txt'.
[Status]: Done reading 'attr_fix.txt'.
[Status]: Done reading 'statpoint.txt'.
[Status]: Done reading 'db/job_db1.txt'.
[Status]: Done reading 'db/job_db2.txt'.
[Status]: Done reading 'db/size_fix.txt'.
[Status]: Done reading 'db/refine_db.txt'.
[Status]: Done reading '34' entries in 'castle_db.txt'.
[Status]: Done reading '15' entries in 'guild_skill_tree.txt'.
[Status]: Done reading '55' pets in 'pet_db.txt'.
[Status]: Done reading '8' homunculus in 'db/homunculus_db.txt'.
[Status]: Done reading '99' levels in 'exp_homun.txt'.
[Status]: Done reading 'homun_skill_tree.txt'.
[Status]: Done reading '36' mercenaries in 'db/mercenary_db.txt'.
[Status]: Done reading '82' entries in 'db/mercenary_skill_db.txt'.
[Status]: Done reading 'quest_db.txt'.
[Info]: Done loading '11151' NPCs:
	-'2883' Warps
	-'180' Shops
	-'8088' Scripts
	-'3864' Spawn sets
	-'39545' Mobs Cached
	-'0' Mobs Not Cached
[Status]: Event 'OnInit' executed with '1264' 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 'OnCharIfInit' executed with '0' NPCs.
[Status]: Event 'OnInterIfInit' executed with '0' NPCs.
[Status]: Event 'OnInterIfInitOnce' executed with '31' NPCs.
[Status]: Map-Server 0 connected: 707 maps, from IP 127.0.0.1 port 5121.
[Status]: Map-server 0 loading complete.
[Status]: Map sending complete. Map Server is now online.
[Info]: Received Fame List of '0' characters.
После чтения лога сошибкой вылечилось командой:

Код: Выделить всё

mysql --user=root --execute="GRANT ALL PRIVILEGES ON eathena_log.* TO eathena@localhost IDENTIFIED BY '******'"
Или я что-то сразу не понял... или гайд чуть откусан=)
Изображение
Все хорошее приходит сверху, а лучшее со временем...

Аватара пользователя
FenX
ст. прапорщик
Сообщения: 513
Зарегистрирован: 2008-04-23 17:46:53
Откуда: Moscow
Контактная информация:

Re: Ragnarok server

Непрочитанное сообщение FenX » 2009-07-31 15:22:34

когда писал статью, сам делал всё пошагово.
работало всё нормально.

Аватара пользователя
Fern
мл. сержант
Сообщения: 106
Зарегистрирован: 2009-06-23 21:56:21
Откуда: RU/Msk

Re: Ragnarok server

Непрочитанное сообщение Fern » 2009-07-31 15:31:56

Та, еще при добалении админской учетки кавычки у login не нужна. С учетом того, что это не кавычка, а апостроф.
В общем серв запустися, но приконектитсо на него не дает... :Search:

Код: Выделить всё

[Status]: Request for connection of test (ip: 192.168.1.154).
[Notice]: Authentication accepted (account: test, id: 2000000, ip: 192.168.1.154)
[Status]: Connection of the account 'test' accepted.
[Info]: Closed connection from '192.168.1.154'.
Что делать? :oops: В клиенте это выглядит как момент выбора игрового сервера и потом дисконект.
Изображение
Все хорошее приходит сверху, а лучшее со временем...

Аватара пользователя
FenX
ст. прапорщик
Сообщения: 513
Зарегистрирован: 2008-04-23 17:46:53
Откуда: Moscow
Контактная информация:

Re: Ragnarok server

Непрочитанное сообщение FenX » 2009-07-31 15:53:03

несоответствие верий пакетов.
ехе возьми по-новее.

Аватара пользователя
Fern
мл. сержант
Сообщения: 106
Зарегистрирован: 2009-06-23 21:56:21
Откуда: RU/Msk

Re: Ragnarok server

Непрочитанное сообщение Fern » 2009-07-31 16:16:46

FenX писал(а):несоответствие верий пакетов.
ехе возьми по-новее.
Буду признателен за ссылку в студию (ЛС или еще куда). Клиент сейчашний от EuRO, потому что испытываю проблемы на тему скачать rag_setup :( ссылки или битые или фейк...
UPD: скачал RAG_SETUP1010 и SAK_SETUP1010, заинсталил в одну папку... Таже фигня, что и EuROшным клиентом... И обновить клиент через офсервер тоже увы нельзя, патчер что-то по корейски ругается.


Аватара пользователя
Fern
мл. сержант
Сообщения: 106
Зарегистрирован: 2009-06-23 21:56:21
Откуда: RU/Msk

Re: Ragnarok server

Непрочитанное сообщение Fern » 2009-08-01 2:11:14

За ссылки спасибо, скачал клиент, он даже пропатчил до последней корейской версии. В итоге коннектится, но все так же сервер плюется, сразу делает клозед конекш и все... Пойду наверное писать на форум еаетерны...
Изображение
Все хорошее приходит сверху, а лучшее со временем...

Аватара пользователя
FenX
ст. прапорщик
Сообщения: 513
Зарегистрирован: 2008-04-23 17:46:53
Откуда: Moscow
Контактная информация:

Re: Ragnarok server

Непрочитанное сообщение FenX » 2009-08-02 17:36:37

одна из первых ссылок.
там ссыль на последние ехе и диффы к ним.
так же, там есть ссыль на патч для сервера, добавляющий последние версии пакетов.

скачай это всё, наверни патч на сервер, собери свой ехе
и играй :)

Аватара пользователя
Fern
мл. сержант
Сообщения: 106
Зарегистрирован: 2009-06-23 21:56:21
Откуда: RU/Msk

Re: Ragnarok server

Непрочитанное сообщение Fern » 2009-08-02 23:36:49

FenX писал(а):одна из первых ссылок.
там ссыль на последние ехе и диффы к ним.
так же, там есть ссыль на патч для сервера, добавляющий последние версии пакетов.

скачай это всё, наверни патч на сервер, собери свой ехе
и играй :)
Да я подозреваю, что дело не в клиенте все же, а в самой еатене... Может просто в системе что-то где-то накосячено,что она не работает как надо. Попробовал поставить стейбл в SQL-версии и тринк в TXT версии... В итоге - симптому тебе, но в TXT версии не пишет что дисконект... Сейчас есть желание поставить на старый комп чистую фрю и с 0 проверить.
А вот патч на сервер.. с этого места я как-то не понял...
UPD: Как я подозреваю, речь идет о Packet_Ver_23___New_Pet_Pcket__Trunk_.patch файлах... Что тока что с ними делать - не ясно...
Изображение
Все хорошее приходит сверху, а лучшее со временем...

Аватара пользователя
FenX
ст. прапорщик
Сообщения: 513
Зарегистрирован: 2008-04-23 17:46:53
Откуда: Moscow
Контактная информация:

Re: Ragnarok server

Непрочитанное сообщение FenX » 2009-08-03 10:46:41

да, реч идёт о нём.
это патч, который над онавернуть на твой эмуль.
допустим, афина у тебя лежит в /home/user/eathena
а патч в /home/user/pv23.patch

то команда будет выглядеть так:

Код: Выделить всё

$ cd /home/user/eathena
$ cat /home/user/pv23.patch | patch -p1

Аватара пользователя
FenX
ст. прапорщик
Сообщения: 513
Зарегистрирован: 2008-04-23 17:46:53
Откуда: Moscow
Контактная информация:

Re: Ragnarok server

Непрочитанное сообщение FenX » 2009-08-03 10:47:59

и как я уже говорил, дело тут не только в афине,
это проблема не соответствия версий пакетов в клиенте и эмуляторе.

поверь моему опыту =))

Аватара пользователя
Fern
мл. сержант
Сообщения: 106
Зарегистрирован: 2009-06-23 21:56:21
Откуда: RU/Msk

Re: Ragnarok server

Непрочитанное сообщение Fern » 2009-08-06 9:49:27

Ам... Опять не получаетсо... Я чего-то не понимаю, какой фаил у меня патчер спрашивает :cz2:

Код: Выделить всё

snowmini# cd /usr/local/ea2
snowmini# cat /usr/home/fern/Desktop/Packet_Ver_23___New_Pet_Pcket__Trunk_.patch | patch -p1
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: db/packet_db.txt
|===================================================================
|--- db/packet_db.txt	(revision 13984)
|+++ db/packet_db.txt	(working copy)
--------------------------
File to patch: db/packet_db.txt
Patching file db/packet_db.txt using Plan A...
Hunk #1 succeeded at 1211.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: src/map/clif.h
|===================================================================
|--- src/map/clif.h	(revision 13984)
|+++ src/map/clif.h	(working copy)
--------------------------
File to patch: src/map/clif.h
Patching file src/map/clif.h using Plan A...
Hunk #1 succeeded at 41.
done
По логике как то так, но не особо помогло -__-
Изображение
Все хорошее приходит сверху, а лучшее со временем...

Аватара пользователя
FenX
ст. прапорщик
Сообщения: 513
Зарегистрирован: 2008-04-23 17:46:53
Откуда: Moscow
Контактная информация:

Re: Ragnarok server

Непрочитанное сообщение FenX » 2009-08-06 11:50:29

патч поставил)) а пересобрать?))

Код: Выделить всё

$ gmake clean && gmake sql

Гость
проходил мимо

Re: Ragnarok server

Непрочитанное сообщение Гость » 2009-08-06 13:26:25

FenX писал(а):патч поставил)) а пересобрать?))

Код: Выделить всё

$ gmake clean && gmake sql
пересобрал... Не помогло... :no: Мистика какая то... :cz2:

Аватара пользователя
Fern
мл. сержант
Сообщения: 106
Зарегистрирован: 2009-06-23 21:56:21
Откуда: RU/Msk

Re: Ragnarok server

Непрочитанное сообщение Fern » 2009-08-06 15:31:04

FenX, у меня созрел глупый вопрос=) Очередной. Правда почти оффтоп.
В общем, дело было днем и делать было нечего. Решил потестить я коннект с другой машины (с w2kSP4), ибо возникло у меня подозрение, что это Vista SP2 x86-64 наводит нехорошую ауру.
В результате у меня вопрос - а где можно взять нормальный клиент без хакшилда? Ибо корейский тянет его за собой и от этого очень тормозит, сакрай поверх корейского клиента зависает на этапе где надо согласится дополнительным соглашением сакрая. RagexeRE вообще вываливается сразу с ошибкой крякозябрами как и сакрай, который на нем сидит. Но там распаковоно без ХШ, может от этого. Евро-клиент тупо не коннектится к чар серверу.
Или разработчики атерны пишут патчи быстрее корейцев или я уже хз что думать и откуда качать.
Изображение
Все хорошее приходит сверху, а лучшее со временем...

Аватара пользователя
FenX
ст. прапорщик
Сообщения: 513
Зарегистрирован: 2008-04-23 17:46:53
Откуда: Moscow
Контактная информация:

Re: Ragnarok server

Непрочитанное сообщение FenX » 2009-08-06 17:35:20

установлена еА r13896 + патч на пакеты v23.
клиент взят отсюда
ехе v2009-06-17 + diff к нему взят из этой темы, а точнее отсюда.

всё работает как часы.

Аватара пользователя
Fern
мл. сержант
Сообщения: 106
Зарегистрирован: 2009-06-23 21:56:21
Откуда: RU/Msk

Re: Ragnarok server

Непрочитанное сообщение Fern » 2009-08-11 21:07:25

FenX писал(а):установлена еА r13896 + патч на пакеты v23.
клиент взят отсюда
ехе v2009-06-17 + diff к нему взят из этой темы, а точнее отсюда.

всё работает как часы.
А у меня, при попытке прикрутить diff к sakexe v2009-06-17 выдает, что контрольная сумма не сходится. А если патчить обычный sakexe из комплекта ragray, то при запуске что-то пишет крякозябрами про хак шилд... Ну, а если не патчить, то с любой версией sakexe коннектится, но не заходит на чарсервер как и раньше.

Это, а может я его неправильно запускаю? У меня батник выглядит так:

Код: Выделить всё

 sakexe -1sak1- /account:athlocal.xml
ну и соответствено в папке data лежит этот самй athlocal.xml с насройками для коннекта -____-
Изображение
Все хорошее приходит сверху, а лучшее со временем...

Аватара пользователя
FenX
ст. прапорщик
Сообщения: 513
Зарегистрирован: 2008-04-23 17:46:53
Откуда: Moscow
Контактная информация:

Re: Ragnarok server

Непрочитанное сообщение FenX » 2009-08-11 22:47:14

вообще очень странно про маты =\
короче - пиши какие именно опции надо, соберу тебе ехе нормальный.

Аватара пользователя
Fern
мл. сержант
Сообщения: 106
Зарегистрирован: 2009-06-23 21:56:21
Откуда: RU/Msk

Re: Ragnarok server

Непрочитанное сообщение Fern » 2009-08-11 23:06:18

FenX писал(а):вообще очень странно про маты =\
короче - пиши какие именно опции надо, соберу тебе ехе нормальный.
Да меня устроил бы и стандартный клиент, главное чтоб ему не нужен был коннект к интернету. Т.е. без всяких там хакшилдов и проч.
А если их того хочется в отличии от стандарта: включения игнора отсутствующих картинок и палитр; интерфейс и поддержку ввода хотя бы английскими буквами; отключение антифлуда в чате; отключение анимации ламп; черный фон при логине (без картинки); чарсервер на 15-18 персов; фикс ввода в батл моде (double letters). А, и лицензионное соглашение,тоже елси можно :oops:
Изображение
Все хорошее приходит сверху, а лучшее со временем...

Аватара пользователя
FenX
ст. прапорщик
Сообщения: 513
Зарегистрирован: 2008-04-23 17:46:53
Откуда: Moscow
Контактная информация:

Re: Ragnarok server

Непрочитанное сообщение FenX » 2009-08-11 23:29:21

хттп://www.free-source.org/files/new.zip

отключен хак шилд
не требуется подставлять ключ 1sak1
используется multi grf (data.ini из корня клиента)
неограниченное число повторов фраз в чат.
папка data читается перед grf архивами.
ошибки отсутствующих файлов\палитр отключены.

вроде всё)) так на вскидку больше не помню))
пользуйся))

З.Ы.
базируется на 2009-06-17aSakexe

Гость
проходил мимо

Re: Ragnarok server

Непрочитанное сообщение Гость » 2011-05-16 12:35:21

а что со 2ой частью ? эмулятор уже есть ? реально сервер сделать? или фантастика ?

Гость
проходил мимо

Re: Ragnarok server

Непрочитанное сообщение Гость » 2011-05-16 12:35:56

а что со 2ой частью ? эмулятор уже есть ? реально сервер сделать? или фантастика ?

Гость
проходил мимо

Re: Ragnarok server

Непрочитанное сообщение Гость » 2011-05-17 20:45:26

можете подсказать по поводу файла login_athena.conf ? чтото там севрер кричит на стандартный пароль s1 p1 если их изменить в файле

Код: Выделить всё

account.txt
то вобще ничего не запустится...или это не страшно?
Интересует вот это:

Код: Выделить всё

// 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
делал по статье но про настройку этого конфа нислова
ps было бы отлично еслибы статью обновили - дополнили.