Jump to content
  • 0

Failed to connect to the server after selecting "rAthena(0)"


Patofet

Question


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   0
  • Joined:  08/21/12
  • Last Seen:  

Hello, I just set up a server rAthena rev16673 (downloaded from https://rathena.svn..../rathena/trunk/) and have "joined" RASGUI and map server remains in waiting, however the other servers are online:

http://dl.dropbox.co...360/waiting.jpg [/ img]

I compiled the server with "#define PACKETVER 20110315". and The problem comes when I use the 2011-03-15aRagexeRE.exe(diffed) enter my ID and password log in fine, then I select "rAthena(0)" and when I pres OK it give me "Please wait ..." and then I get "Failed to connect to the server", I try a lot of "data" folders:

The strange thing is that if I use the 2010-06-08aRagexeRE I connected well and let me enter.

Am I diffed wrong 2011-03-15aRagexeRE?

Thank you in advance

Server logs:

Login

(14:14:13) Status: Memory manager initialised: log/login-server_sql.exe.leaks

(14:14:13) Info: SVN Revision: 'Unknown'.

(14:14:14) Info: Server supports up to '4096' concurrent connections.

(14:14:14) Info: Reading configuration file conf/login_athena.conf...

(14:14:14) Status: set login_port : 6900

(14:14:14) Info: Console Silent Setting: 0

(14:14:14) Info: Reading configuration file conf/inter_athena.conf...

(14:14:14) Info: Reading configuration file conf/import/inter_conf.txt...

(14:14:14) Info: Finished reading conf/import/inter_conf.txt.

(14:14:14) Info: Finished reading conf/inter_athena.conf.

(14:14:14) Info: Reading configuration file conf/import/login_conf.txt...

(14:14:14) Info: Finished reading conf/import/login_conf.txt.

(14:14:14) Info: Finished reading conf/login_athena.conf.

(14:14:14) Info: Reading the configuration file conf/subnet_athena.conf...

(14:14:14) Status: Read information about 1 subnetworks.

(14:14:14) Info: Initializing random number generator.

(14:14:14) Info: Using account engine 'sql'.

(14:14:14) Status: The login-server is ready (Server is listening on the port 6900).

(14:14:15) Info: Connection request of the char-server 'rAthena' @ 127.0.0.1:6121 (account: 'su1', pass: 'pu1', ip: '127.0.0.1')

(14:14:15) Notice: Authentication accepted (account: su1, id: 1, ip: 127.0.0.1)

(14:14:15) Status: Connection of the char-server 'rAthena' accepted.

(14:15:00) Status: Request for connection of patofet (ip: 192.168.1.20).

(14:15:00) Notice: Authentication accepted (account: patofet, id: 2000000, ip: 192.168.1.20)

(14:15:00) Status: Connection of the account 'patofet' accepted.

(14:15:00) Info: Closed connection from '192.168.1.20'.

Char

(14:14:13) Status: Memory manager initialised: log/char-server_sql.exe.leaks

(14:14:13) Info: SVN Revision: 'Unknown'.

(14:14:14) Info: Server supports up to '4096' concurrent connections.

(14:14:14) Info: Reading configuration file conf/char_athena.conf...

(14:14:14) Status: rAthena server has been initialized

(14:14:14) Status: Login server IP address : 127.0.0.1 -> 127.0.0.1

(14:14:14) Status: Character server IP address : 127.0.0.1 -> 127.0.0.1

(14:14:14) Info: Console Silent Setting: 0

(14:14:14) Info: Reading configuration file conf/import/char_conf.txt...

(14:14:14) Info: Done reading conf/import/char_conf.txt.

(14:14:14) Info: Done reading conf/char_athena.conf.

(14:14:14) Info: Reading the configuration file conf/subnet_athena.conf...

(14:14:14) Status: Read information about 1 subnetworks.

(14:14:14) Info: Reading file conf/inter_athena.conf...

(14:14:14) Info: Reading file conf/import/inter_conf.txt...

(14:14:14) Info: Done reading conf/import/inter_conf.txt.

(14:14:14) Info: Done reading conf/inter_athena.conf.

(14:14:14) Info: Finished reading the char-server configuration.

(14:14:14) Info: interserver initialize...

(14:14:14) Info: reading file conf/inter_athena.conf...

(14:14:14) Status: set char_server_ip : 127.0.0.1

(14:14:14) Status: set char_server_port : 3306

(14:14:14) Status: set char_server_id : root

(14:14:14) Status: set char_server_pw : 123456

(14:14:14) Status: set char_server_db : rathena

(14:14:14) Info: reading file conf/import/inter_conf.txt...

(14:14:14) Info: done reading conf/import/inter_conf.txt.

(14:14:14) Info: done reading conf/inter_athena.conf.

(14:14:14) Info: Connect Character DB server.... (Character Server)

(14:14:14) Status: Finished Reading GeoIP Database.

(14:14:14) Info: Finished reading the inter-server configuration.

(14:14:14) Info: Initializing char server.

(14:14:14) Info: Begin Initializing.......

(14:14:14) Status: Chars per Account: 'Unlimited'.......

(14:14:14) Info: Finished initilizing.......

(14:14:14) Info: char server initialized.

(14:14:14) Info: Cleaning the 'char' table...

(14:14:14) Info: Cleaning the 'guild' table...

(14:14:14) Info: Cleaning the 'guild_member' table...

(14:14:14) Info: End of char server initilization function.

(14:14:14) Info: open port 6121.....

(14:14:14) Status: The char-server is ready (Server is listening on the port 6121).

(14:14:15) Info: Attempt to connect to login-server...

(14:14:15) Status: Connecting to 127.0.0.1:6900

(14:14:15) Status: Connected to login-server (connection #2).

(14:14:15) Status: Awaiting maps from map-server.

(14:14:27) Status: Map-Server 0 connected: 804 maps, from IP 127.0.0.1 port 5121.

(14:14:27) Status: Map-server 0 loading complete.

(14:14:27) Info: Loaded guild castle (0 - guild 0)

(14:14:27) Info: Loaded guild castle (1 - guild 0)

(14:14:27) Info: Loaded guild castle (2 - guild 0)

(14:14:27) Info: Loaded guild castle (3 - guild 0)

(14:14:27) Info: Loaded guild castle (4 - guild 0)

(14:14:27) Info: Loaded guild castle (5 - guild 0)

(14:14:27) Info: Loaded guild castle (6 - guild 0)

(14:14:27) Info: Loaded guild castle (7 - guild 0)

(14:14:27) Info: Loaded guild castle (8 - guild 0)

(14:14:27) Info: Loaded guild castle (9 - guild 0)

(14:14:27) Info: Loaded guild castle (10 - guild 0)

(14:14:27) Info: Loaded guild castle (11 - guild 0)

(14:14:27) Info: Loaded guild castle (12 - guild 0)

(14:14:27) Info: Loaded guild castle (13 - guild 0)

(14:14:27) Info: Loaded guild castle (14 - guild 0)

(14:14:27) Info: Loaded guild castle (15 - guild 0)

(14:14:27) Info: Loaded guild castle (16 - guild 0)

(14:14:27) Info: Loaded guild castle (17 - guild 0)

(14:14:27) Info: Loaded guild castle (18 - guild 0)

(14:14:27) Info: Loaded guild castle (19 - guild 0)

(14:14:27) Info: Loaded guild castle (20 - guild 0)

(14:14:27) Info: Loaded guild castle (21 - guild 0)

(14:14:27) Info: Loaded guild castle (22 - guild 0)

(14:14:27) Info: Loaded guild castle (23 - guild 0)

(14:14:27) Info: Loaded guild castle (24 - guild 0)

(14:14:27) Info: Loaded guild castle (25 - guild 0)

(14:14:27) Info: Loaded guild castle (26 - guild 0)

(14:14:27) Info: Loaded guild castle (27 - guild 0)

(14:14:27) Info: Loaded guild castle (28 - guild 0)

(14:14:27) Info: Loaded guild castle (29 - guild 0)

(14:14:27) Info: Loaded guild castle (30 - guild 0)

(14:14:27) Info: Loaded guild castle (31 - guild 0)

(14:14:27) Info: Loaded guild castle (32 - guild 0)

(14:14:27) Info: Loaded guild castle (33 - guild 0)

Map

(14:14:14) Status: Memory manager initialised: log/map-server_sql.exe.leaks

(14:14:14) Info: SVN Revision: 'Unknown'.

(14:14:14) Info: Server supports up to '4096' concurrent connections.

(14:14:14) Info: Initializing random number generator.

(14:14:14) Info: Char Server IP Address : '127.0.0.1' -> '127.0.0.1'.

(14:14:14) Info: Map Server IP Address : '127.0.0.1' -> '127.0.0.1'.

(14:14:14) Info: Console Silent Setting: 0

(14:14:14) Status: Using SQL dbs: no

(14:14:14) Info: Logging item transactions to table 'picklog'.

(14:14:14) Info: Logging commands to table 'atcommandlog'.

(14:14:14) Info: Connecting to the Map DB Server....

(14:14:14) Status: connect success! (Map Server Connection)

(14:14:14) Info:

: Connecting to the Log Database log At 127.0.0.1...

(14:14:14) Status: [sql]: Successfully 'connected' to Database 'log'.

(14:14:14) Status: Loading maps (using db/map_cache.dat as map cache)...

(14:14:14) Status: Loading maps (806)..

(14:14:16) Notice: Removing map [ poring_c01 ] from maplist

(14:14:16) Notice: Removing map [ poring_c02 ] from maplist

(14:14:18) Info: Successfully loaded '804' maps.

(14:14:18) Notice: Maps removed: '2'

(14:14:18) Status: Done reading '57' command aliases in 'conf/atcommand_athena.conf'.

(14:14:18) Status: Done reading packet database from 'packet_db.txt'. Using default packet version: 30.

(14:14:18) Status: Done reading '6747' entries in 're/item_db.txt'.

(14:14:18) Status: Done reading '2' entries in 'item_db2.txt'.

(14:14:18) Status: Done reading '190' entries in 'item_combo_db'.

(14:14:18) Status: Done reading 'item_group_db.txt'.

(14:14:18) Status: Done reading '1' entries in 'db/item_avail.txt'.

(14:14:18) Status: Done reading '19' entries in 'db/re/item_noequip.txt'.

(14:14:18) Status: Done reading '1701' entries in 'db/re/item_trade.txt'.

(14:14:18) Status: Done reading '10' entries in 'db/item_delay.txt'.

(14:14:18) Status: Done reading '10' entries in 'db/item_stack.txt'.

(14:14:18) Status: Done reading '1057' entries in 'db/re/item_buyingstore.txt'.

(14:14:18) Status: Done reading '1048' entries in 'db/re/skill_db.txt'.

(14:14:18) Status: Done reading '818' entries in 'db/re/skill_require_db.txt'.

(14:14:18) Status: Done reading '772' entries in 'db/re/skill_cast_db.txt'.

(14:14:18) Status: Done reading '38' entries in 'db/re/skill_castnodex_db.txt'.

(14:14:18) Status: Done reading '137' entries in 'db/re/skill_unit_db.txt'.

(14:14:18) Status: Done reading '105' entries in 'db/re/skill_nocast_db.txt'.

(14:14:18) Status: Done reading '249' entries in 'db/produce_db.txt'.

(14:14:18) Status: Done reading '136' entries in 'db/create_arrow_db.txt'.

(14:14:18) Status: Done reading '205' entries in 'db/abra_db.txt'.

(14:14:18) Status: Done reading '17' entries in 'db/spellbook_db.txt'.

(14:14:18) Status: Done reading '22' entries in 'db/magicmushroom_db.txt'.

(14:14:18) Status: Done reading '133' entries in 'db/skill_reproduce_db.txt'.

(14:14:18) Status: Done reading '25' entries in 'db/skill_improvise_db.txt'.

(14:14:18) Status: Done reading '0' entries in 'db/mob_item_ratio.txt'.

(14:14:18) Status: Done reading 'mob_chat_db.txt'.

(14:14:18) Status: Done reading '1296' entries in 'db/re/mob_db.txt'.

(14:14:18) Status: Done reading '0' entries in 'db/mob_db2.txt'.

(14:14:18) Status: Done reading '7376' entries in 'db/re/mob_skill_db.txt'.

(14:14:18) Status: Done reading '0' entries in 'db/mob_skill_db2.txt'.

(14:14:18) Status: Done reading '0' entries in 'db/mob_avail.txt'.

(14:14:18) Status: Done reading 're/mob_branch.txt'.

(14:14:18) Status: Done reading 're/mob_poring.txt'.

(14:14:18) Status: Done reading 're/mob_boss.txt'.

(14:14:18) Status: Done reading 'mob_pouch.txt'.

(14:14:18) Status: Done reading 'mob_classchange.txt'.

(14:14:18) Status: Done reading '6' entries in 'db/re/mob_race2_db.txt'.

(14:14:18) Status: Done reading 'exp.txt'.

(14:14:19) Status: Done reading '5324' entries in 'db/re/skill_tree.txt'.

(14:14:19) Status: Done reading 'attr_fix.txt'.

(14:14:19) Status: Done reading 'statpoint.txt'.

(14:14:19) Status: Done reading '1' entries in 'conf/motd.txt'.

(14:14:19) Status: Done reading '7' groups in 'conf/groups.conf'.

(14:14:19) Status: Done reading '133' entries in 'db/re/job_db1.txt'.

(14:14:19) Status: Done reading '132' entries in 'db/job_db2.txt'.

(14:14:19) Status: Done reading '3' entries in 'db/size_fix.txt'.

(14:14:19) Status: Done reading '5' entries in 'db/re/refine_db.txt'.

(14:14:19) Status: Done reading '34' entries in 'db/castle_db.txt'.

(14:14:19) Status: Done reading '15' entries in 'db/guild_skill_tree.txt'.

(14:14:19) Status: Done reading '58' pets in 'pet_db.txt'.

(14:14:19) Status: Done reading '0' pets in 'pet_db2.txt'.

(14:14:19) Status: Done reading '13' entries in 'db/homunculus_db.txt'.

(14:14:19) Status: Done reading '150' levels in 're/exp_homun.txt'.

(14:14:19) Status: Done reading '82' entries in 'db/homun_skill_tree.txt'.

(14:14:19) Status: Done reading '44' entries in 'db/mercenary_db.txt'.

(14:14:19) Status: Done reading '118' entries in 'db/mercenary_skill_db.txt'.

(14:14:19) Status: Done reading '12' elementals in 'db/elemental_db.txt'.

(14:14:19) Status: Done reading '36' entries in 'db/elemental_skill_db.txt'.

(14:14:19) Status: Done reading '1953' entries in 'quest_db.txt'.

(14:14:26) Debug: this npc:

(14:14:26) Debug: other npc:

(14:14:26) Debug: this npc:

(14:14:26) Debug: other npc:

(14:14:26) Debug: this npc:

(14:14:26) Debug: other npc:

(14:14:26) Debug: this npc:

(14:14:26) Debug: other npc:

(14:14:26) Debug: this npc:

(14:14:26) Debug: other npc:

(14:14:26) Debug: this npc:

(14:14:26) Debug: other npc:

(14:14:26) Debug: this npc:

(14:14:26) Debug: other npc:

(14:14:26) Debug: this npc:

(14:14:26) Debug: other npc:

(14:14:26) Info: Done loading '13613' NPCs:

(14:14:27) Status: Event 'OnInit' executed with '1554' NPCs.

(14:14:27) Status: Server is 'ready' and listening on port '5121'.

(14:14:27) Status: Attempting to connect to Char Server. Please wait.

(14:14:27) Status: Connecting to 127.0.0.1:6121

(14:14:27) Status: Logging in to char server...

(14:14:27) Status: Successfully logged on to Char Server (Connection: '2').

(14:14:27) Status: Sending maps to char server...

(14:14:27) Status: Event 'OnInterIfInit' executed with '0' NPCs.

(14:14:27) Status: Event 'OnInterIfInitOnce' executed with '97' NPCs.

(14:14:27) Status: Requested '34' guild castles from char-server...

(14:14:27) Status: Map Server is now online.

(14:14:27) Info: Received Fame List of '0' characters.

(14:14:28) Status: Received '34' guild castles from char-server.

Link to comment
Share on other sites

8 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  198
  • Reputation:   47
  • Joined:  08/01/12
  • Last Seen:  

(14:14:14) Status: set char_server_ip : 127.0.0.1

(14:14:14) Status: set char_server_port : 3306

(14:14:14) Status: set char_server_id : root

(14:14:14) Status: set char_server_pw : 123456

(14:14:14) Status: set char_server_db : rathena

should be :

// MySQL Character SQL server

char_server_ip: 127.0.0.1

char_server_port: 3306

char_server_id: ragnarok

char_server_pw: ragnarok

char_server_db: ragnarok

not sure XD

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   0
  • Joined:  08/21/12
  • Last Seen:  

(14:14:14) Status: set char_server_ip : 127.0.0.1

(14:14:14) Status: set char_server_port : 3306

(14:14:14) Status: set char_server_id : root

(14:14:14) Status: set char_server_pw : 123456

(14:14:14) Status: set char_server_db : rathena

should be :

// MySQL Character SQL server

char_server_ip: 127.0.0.1

char_server_port: 3306

char_server_id: ragnarok

char_server_pw: ragnarok

char_server_db: ragnarok

not sure XD

No, it's correct ^^

Edited by Patofet
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  198
  • Reputation:   47
  • Joined:  08/01/12
  • Last Seen:  

Check your inter_athena.conf it should look like this


sql.db_hostname: 127.0.0.1
sql.db_port: 3306
sql.db_username: ragnarok
sql.db_password: ragnarok
sql.db_database: ragnarok
sql.codepage:

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

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

// MySQL Log SQL Database
log_db_ip: 127.0.0.1
log_db_port: 3306
log_db_id: ragnarok
log_db_pw: ragnarok
log_db_db: log
log_codepage:
log_login_db: loginlog

anyway, you can connect thru the 2010-06-08aRagexeRE client, while you compiled the source with

2011-03-15aRagexeRE , confused XD /spin

ahmm :

can u try creating another account, user_m & pass

try it if u can login

Edited by Sperm
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   0
  • Joined:  08/21/12
  • Last Seen:  

In my inter_athena.conf I have this:

// 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: 123456

sql.db_database: rathena

sql.codepage:

// MySQL Character SQL server

char_server_ip: 127.0.0.1

char_server_port: 3306

char_server_id: root

char_server_pw: 123456

char_server_db: rathena

// MySQL Map SQL Server

map_server_ip: 127.0.0.1

map_server_port: 3306

map_server_id: root

map_server_pw: 123456

map_server_db: rathena

// MySQL Log SQL Database

log_db_ip: 127.0.0.1

log_db_port: 3306

log_db_id: root

log_db_pw: 123456

log_db_db: log

log_codepage:

log_login_db: loginlog

// 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

// 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

homunculus_db: homunculus

skill_homunculus_db: skill_homunculus

mercenary_db: mercenary

mercenary_owner_db: mercenary_owner

ragsrvinfo_db: ragsrvinfo

// Map Database Tables

item_db_db: item_db

item_db_re_db: item_db_re

item_db2_db: item_db2

mob_db_db: mob_db

mob_db2_db: mob_db2

mob_skill_db_db: mob_skill_db

mob_skill_db2_db: mob_skill_db2

mapreg_db: mapreg

//Use SQL item_db, mob_db and mob_skill_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

I think that I have this options correct

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  8
  • Reputation:   0
  • Joined:  05/02/13
  • Last Seen:  

erm... so is this solved?? cause i having the same problem here...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  24
  • Reputation:   1
  • Joined:  04/28/13
  • Last Seen:  

erm... so is this solved?? cause i having the same problem here...

Try to use external ip in char and inter config (exept sql ip)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  8
  • Reputation:   0
  • Joined:  05/02/13
  • Last Seen:  

erm... so is this solved?? cause i having the same problem here...

Try to use external ip in char and inter config (exept sql ip)

erm thanks , i solved this problem, now i have problem that i click on my exe and nth happen... if not than it shows me dunno what cmdonofflist and optionlist problem... im still searching for solution

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  20
  • Reputation:   0
  • Joined:  03/30/13
  • Last Seen:  

When diffing your client dont use "Read data folder first"
And use grf files. That should solve your problem.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...