Jump to content
  • 0
Sign in to follow this  
Petey Pablo

Failed to connect after login

Question

I use clientdate 2015-05-13

 

I set src/common/mmo.h

 #define PACKETVER 20150513

 

clientinfo.xml

<?xml version="1.0" encoding="euc-kr" ?>
<clientinfo>
    <desc>Ragnarok Online Client Information</desc>
    <servicetype>korea</servicetype>
    <servertype>primary</servertype>
    <connection>
        <display>Ragnarok Online</display>
          <address>127.0.0.1</address>
          <port>6900</port>
          <version>46</version>
          <langtype>10</langtype>
        <registrationweb>www.will-ro.net/?module=account&action=create</registrationweb>
        <loading>
            <image>loading00.jpg</image>
            <image>loading01.jpg</image>
            <image>loading02.jpg</image>
            <image>loading03.jpg</image>
            <image>loading04.jpg</image>
        </loading>
        <yellow>
            <admin>2000000</admin>
            <admin>2000001</admin>
            <admin>2000002</admin>
        </yellow>
       </connection>
</clientinfo>

 

Server files is running with No errors/issues

 

Login Server

[[email protected]<script data-cfhash='f9e31' type="text/javascript">/*  */</script> Hercules]$ screen -r 5588
[Info]: Finished reading conf/import/login-server.conf.
[Status]: Read information about 1 LAN subnets.
[Status]: Read information about 1 trusted IP ranges.
[Status]: Read information about 1 allowed server IP ranges.
[Warning]: Using a wildcard IP range in the allowed server IPs is NOT RECOMMENDED.
[Notice]: Please edit your 'conf/network.conf' allowed list to fit your network configuration.
[Info]: Hercules, Copyright © 2012-2015, Hercules Dev Team and others.
[Info]: Licensed under the GNU General Public License, version 3 or later.
[Status]: The login-server is ready (Server is listening on the port 6900).


[Info]: Connection request of the char-server 'Hercules' @ 127.0.0.1:6121 (account: 'ragnarok1', pass: 'ragnarok2', ip: '127.0.0.1')
[Notice]: Authentication accepted (account: ragnarok1, id: 1, ip: 127.0.0.1)
[Status]: Connection of the char-server 'Hercules' accepted.
[Status]: Request for connection of mwsuranol_m (ip: 203.87.129.158).
[Notice]: Account creation (account mwsuranol, id: 2000000, pass: passtest, sex: M)
[Notice]: Authentication accepted (account: mwsuranol, id: 2000000, ip: 203.87.129.158)
[Status]: Connection of the account 'mwsuranol' accepted.
[Info]: Closed connection from '203.87.129.158'.

 

Char Server

[[email protected] Hercules]$ screen -r 6995
[Info]: Loaded guild castle (11 - guild 0)
[Info]: Loaded guild castle (12 - guild 0)
[Info]: Loaded guild castle (13 - guild 0)
[Info]: Loaded guild castle (14 - guild 0)
[Info]: Loaded guild castle (15 - guild 0)
[Info]: Loaded guild castle (16 - guild 0)
[Info]: Loaded guild castle (17 - guild 0)
[Info]: Loaded guild castle (18 - guild 0)
[Info]: Loaded guild castle (19 - guild 0)
[Info]: Loaded guild castle (20 - guild 0)
[Info]: Loaded guild castle (21 - guild 0)
[Info]: Loaded guild castle (22 - guild 0)
[Info]: Loaded guild castle (23 - guild 0)
[Info]: Loaded guild castle (24 - guild 0)
[Info]: Loaded guild castle (25 - guild 0)
[Info]: Loaded guild castle (26 - guild 0)
[Info]: Loaded guild castle (27 - guild 0)
[Info]: Loaded guild castle (28 - guild 0)
[Info]: Loaded guild castle (29 - guild 0)
[Info]: Loaded guild castle (30 - guild 0)
[Info]: Loaded guild castle (31 - guild 0)
[Info]: Loaded guild castle (32 - guild 0)
[Info]: Loaded guild castle (33 - guild 0)

 

Map Server

[[email protected] Hercules]$ screen -r 7054
[Info]: Done loading '16258' NPCs:
        -'3472' Warps
        -'2' Shops
        -'12784' Scripts
        -'3380' Spawn sets
        -'49241' Mobs Cached
        -'0' Mobs Not Cached
[Status]: Event 'OnInit' executed with '2154' NPCs.
[Info]: Hercules, Copyright © 2012-2015, Hercules Dev Team and others.
[Info]: Licensed under the GNU General Public License, version 3 or later.
[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: '6').
[Status]: Sending maps to char server...
[Status]: Event 'OnInterIfInit' executed with '0' NPCs.
[Status]: Event 'OnInterIfInitOnce' executed with '0' NPCs.
[Status]: Requested '34' guild castles from char-server...
[Status]: Map Server is now online.
[Info]: Received Fame List of '0' characters.
[Status]: Received '34' guild castles from char-server.

 

 

char-server.conf

// Information related to inter-server behavior
    inter: {
        // Server Communication username and password.
        userid: "ragnarok1"
        passwd: "ragnarok2"
        // 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
    }

 

sql_connection.conf

sql_connection: {
    // [INTER] You can specify the codepage to use in your mySQL tables here.
    // (Note that this feature requires MySQL 4.1+)
    //default_codepage: ""


    // [LOGIN] Is `userid` in account_db case sensitive?
    //case_sensitive: false


    // 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
    db_hostname: "127.0.0.1"
    db_port: 3306
    db_username: "root"
    db_password: "passtest"
    db_database: "ragnarok"
    //codepage:""
}

 

map-server.conf

// Information related to inter-server behavior
    inter: {
        // Interserver communication passwords, set in the login server database
        userid: "ragnarok1"
        passwd: "ragnarok2"


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

 

I need help what is wrong with my configuration. I need pro staff here that can resolve this issue. Thank you very much!


34rsrqx.png

Edited by Will Su

Share this post


Link to post
Share on other sites

10 answers to this question

Recommended Posts

  • 0

Packet ver should be 52? in clientinfo.xml

 

Also try langtype 0 or 1 if that don't work ~ read about some people having issues with different langtypes not sure tho.

Edited by Wahahahaha

Share this post


Link to post
Share on other sites
  • 0

In Herc, packet version in clientinfo doesn't matter.

 

@topic, maybe its a misconfiguration on your .conf

Share this post


Link to post
Share on other sites
  • 0

In Herc, packet version in clientinfo doesn't matter.

 

@topic, maybe its a misconfiguration on your .conf

 

Misconfiguration in what part?   :hmm:

Packet ver should be 52? in clientinfo.xml

 

Also try langtype 0 or 1 if that don't work ~ read about some people having issues with different langtypes not sure tho.

 

Not working   :sob:

Edited by Will Su

Share this post


Link to post
Share on other sites
  • 0

not sure but it has a warning 
"[Warning]: Using a wildcard IP range in the allowed server IPs is NOT RECOMMENDED.

[Notice]: Please edit your 'conf/network.conf' allowed list to fit your network configuration."

 

check your network.conf , when I had that problem I just put // on the other IP except for "127.0.0.1:255.0.0.0"

 

// Network configuration file

/*
 * List here any LAN subnets this server is in.
 * Example:
 * - char- (or map-) server's IP in LAN is 192.168.0.10
 * - Public IP is 198.51.100.37
 * If the list contains "192.168.0.10:255.255.255.0", any clients connecting
 * from the same 192.168.0.0/24 network will be presented with the LAN IP
 * (192.168.0.10) in the server list, rather than the public IP (198.51.100.37).
 */
lan_subnets: (
	"127.0.0.1:255.0.0.0",
	// "192.168.1.1:255.255.255.0",
)

/*
 * List here any IP ranges a char- or map-server can connect from.
 * A wildcard of "0.0.0.0:0.0.0.0" means that server connections are allowed
 * from ANY IP. (not recommended).
 */
allowed: (
	//"0.0.0.0:0.0.0.0",
	// "127.0.0.1:255.0.0.0",
)

/*
 * List here any IP ranges a char- or map-server can connect from. These ranges
 * will also be excluded from the automatic ipban in casee of password failure.
 * Any entry present in this list is also automatically included in the
 * allowed IP list.
 * Note: This may be a security threat. Only edit this list if you know what
 * you are doing.
 */
trusted: (
	"127.0.0.1:255.0.0.0",
)

thats my configuration, 

Nevermind that I put // on the allowed I can still log in on my server

Edited by Vindicaree

Share this post


Link to post
Share on other sites
  • 0

Do you use mysql for database??
If yes,

 

sql_connection: {
    // [iNTER] You can specify the codepage to use in your mySQL tables here.
    // (Note that this feature requires MySQL 4.1+)
    //default_codepage: ""


    // [LOGIN] Is `userid` in account_db case sensitive?
    //case_sensitive: false


    // 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
    db_hostname: "localhost" <<------- Edit here!
    db_port: 3306
    db_username: "root"
    db_password: "passtest"
    db_database: "ragnarok"
    //codepage:""
}

Share this post


Link to post
Share on other sites
  • 0

I use clientdate 2015-05-13

 

I set src/common/mmo.h

 #define PACKETVER 20150513

 

clientinfo.xml

<?xml version="1.0" encoding="euc-kr" ?>
<clientinfo>
    <desc>Ragnarok Online Client Information</desc>
    <servicetype>korea</servicetype>
    <servertype>primary</servertype>
    <connection>
        <display>Ragnarok Online</display>
          <address>127.0.0.1</address>
          <port>6900</port>
          <version>46</version>
          <langtype>10</langtype>
        <registrationweb>www.will-ro.net/?module=account&action=create</registrationweb>
        <loading>
            <image>loading00.jpg</image>
            <image>loading01.jpg</image>
            <image>loading02.jpg</image>
            <image>loading03.jpg</image>
            <image>loading04.jpg</image>
        </loading>
        <yellow>
            <admin>2000000</admin>
            <admin>2000001</admin>
            <admin>2000002</admin>
        </yellow>
       </connection>
</clientinfo>

 

Server files is running with No errors/issues

 

Login Server

[[email protected]<script data-cfhash='f9e31' type="text/javascript">/*  */</script> Hercules]$ screen -r 5588
[Info]: Finished reading conf/import/login-server.conf.
[Status]: Read information about 1 LAN subnets.
[Status]: Read information about 1 trusted IP ranges.
[Status]: Read information about 1 allowed server IP ranges.
[Warning]: Using a wildcard IP range in the allowed server IPs is NOT RECOMMENDED.
[Notice]: Please edit your 'conf/network.conf' allowed list to fit your network configuration.
[Info]: Hercules, Copyright © 2012-2015, Hercules Dev Team and others.
[Info]: Licensed under the GNU General Public License, version 3 or later.
[Status]: The login-server is ready (Server is listening on the port 6900).


[Info]: Connection request of the char-server 'Hercules' @ 127.0.0.1:6121 (account: 'ragnarok1', pass: 'ragnarok2', ip: '127.0.0.1')
[Notice]: Authentication accepted (account: ragnarok1, id: 1, ip: 127.0.0.1)
[Status]: Connection of the char-server 'Hercules' accepted.
[Status]: Request for connection of mwsuranol_m (ip: 203.87.129.158).
[Notice]: Account creation (account mwsuranol, id: 2000000, pass: passtest, sex: M)
[Notice]: Authentication accepted (account: mwsuranol, id: 2000000, ip: 203.87.129.158)
[Status]: Connection of the account 'mwsuranol' accepted.
[Info]: Closed connection from '203.87.129.158'.

 

Char Server

[[email protected] Hercules]$ screen -r 6995
[Info]: Loaded guild castle (11 - guild 0)
[Info]: Loaded guild castle (12 - guild 0)
[Info]: Loaded guild castle (13 - guild 0)
[Info]: Loaded guild castle (14 - guild 0)
[Info]: Loaded guild castle (15 - guild 0)
[Info]: Loaded guild castle (16 - guild 0)
[Info]: Loaded guild castle (17 - guild 0)
[Info]: Loaded guild castle (18 - guild 0)
[Info]: Loaded guild castle (19 - guild 0)
[Info]: Loaded guild castle (20 - guild 0)
[Info]: Loaded guild castle (21 - guild 0)
[Info]: Loaded guild castle (22 - guild 0)
[Info]: Loaded guild castle (23 - guild 0)
[Info]: Loaded guild castle (24 - guild 0)
[Info]: Loaded guild castle (25 - guild 0)
[Info]: Loaded guild castle (26 - guild 0)
[Info]: Loaded guild castle (27 - guild 0)
[Info]: Loaded guild castle (28 - guild 0)
[Info]: Loaded guild castle (29 - guild 0)
[Info]: Loaded guild castle (30 - guild 0)
[Info]: Loaded guild castle (31 - guild 0)
[Info]: Loaded guild castle (32 - guild 0)
[Info]: Loaded guild castle (33 - guild 0)

 

Map Server

[[email protected] Hercules]$ screen -r 7054
[Info]: Done loading '16258' NPCs:
        -'3472' Warps
        -'2' Shops
        -'12784' Scripts
        -'3380' Spawn sets
        -'49241' Mobs Cached
        -'0' Mobs Not Cached
[Status]: Event 'OnInit' executed with '2154' NPCs.
[Info]: Hercules, Copyright © 2012-2015, Hercules Dev Team and others.
[Info]: Licensed under the GNU General Public License, version 3 or later.
[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: '6').
[Status]: Sending maps to char server...
[Status]: Event 'OnInterIfInit' executed with '0' NPCs.
[Status]: Event 'OnInterIfInitOnce' executed with '0' NPCs.
[Status]: Requested '34' guild castles from char-server...
[Status]: Map Server is now online.
[Info]: Received Fame List of '0' characters.
[Status]: Received '34' guild castles from char-server.

 

 

char-server.conf

// Information related to inter-server behavior
    inter: {
        // Server Communication username and password.
        userid: "ragnarok1"
        passwd: "ragnarok2"
        // 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
    }

 

sql_connection.conf

sql_connection: {
    // [INTER] You can specify the codepage to use in your mySQL tables here.
    // (Note that this feature requires MySQL 4.1+)
    //default_codepage: ""


    // [LOGIN] Is `userid` in account_db case sensitive?
    //case_sensitive: false


    // 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
    db_hostname: "127.0.0.1"
    db_port: 3306
    db_username: "root"
    db_password: "passtest"
    db_database: "ragnarok"
    //codepage:""
}

 

map-server.conf

// Information related to inter-server behavior
    inter: {
        // Interserver communication passwords, set in the login server database
        userid: "ragnarok1"
        passwd: "ragnarok2"


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

 

I need help what is wrong with my configuration. I need pro staff here that can resolve this issue. Thank you very much!

34rsrqx.png

 

 

not sure but it has a warning 

"[Warning]: Using a wildcard IP range in the allowed server IPs is NOT RECOMMENDED.

[Notice]: Please edit your 'conf/network.conf' allowed list to fit your network configuration."

 

check your network.conf , when I had that problem I just put // on the other IP except for "127.0.0.1:255.0.0.0"

 

// Network configuration file

/*
 * List here any LAN subnets this server is in.
 * Example:
 * - char- (or map-) server's IP in LAN is 192.168.0.10
 * - Public IP is 198.51.100.37
 * If the list contains "192.168.0.10:255.255.255.0", any clients connecting
 * from the same 192.168.0.0/24 network will be presented with the LAN IP
 * (192.168.0.10) in the server list, rather than the public IP (198.51.100.37).
 */
lan_subnets: (
	"127.0.0.1:255.0.0.0",
	// "192.168.1.1:255.255.255.0",
)

/*
 * List here any IP ranges a char- or map-server can connect from.
 * A wildcard of "0.0.0.0:0.0.0.0" means that server connections are allowed
 * from ANY IP. (not recommended).
 */
allowed: (
	//"0.0.0.0:0.0.0.0",
	// "127.0.0.1:255.0.0.0",
)

/*
 * List here any IP ranges a char- or map-server can connect from. These ranges
 * will also be excluded from the automatic ipban in casee of password failure.
 * Any entry present in this list is also automatically included in the
 * allowed IP list.
 * Note: This may be a security threat. Only edit this list if you know what
 * you are doing.
 */
trusted: (
	"127.0.0.1:255.0.0.0",
)

thats my configuration, 

Nevermind that I put // on the allowed I can still log in on my server

 

 

Do you use mysql for database??

If yes,

 

sql_connection: {

    // [iNTER] You can specify the codepage to use in your mySQL tables here.

    // (Note that this feature requires MySQL 4.1+)

    //default_codepage: ""

 

 

    // [LOGIN] Is `userid` in account_db case sensitive?

    //case_sensitive: false

 

 

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

    db_hostname: "localhost" <<------- Edit here!

    db_port: 3306

    db_username: "root"

    db_password: "passtest"

    db_database: "ragnarok"

    //codepage:""

}

 

i can't also connect after login, how to solve this guys? does OP already fixed it?

Share this post


Link to post
Share on other sites
  • 0

Heya, newbie here as well, I was having this issue myself and I fixed it by going into nemo and rebuilding the client but leaving the "Disable Packet Encryption" option turned off/red for the time being. Take it with a grain of salt :)

Share this post


Link to post
Share on other sites
  • 0

Actually this often happens to servers who have iptables or a firewall active. You need to enable them to listen to the ports listed in your conf files.

Share this post


Link to post
Share on other sites
  • 0

solved mine, used another client (20141022b) the one defaulted @mmo.h

idk what the problem was i just can't connect to the map server after login with 2015-05-13 (no error or anything)

Share this post


Link to post
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.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.