Jump to content
  • 0

Successful char creation but failed to connect?


khenma09

Question


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  58
  • Reputation:   1
  • Joined:  10/15/13
  • Last Seen:  

Hello,

how can i fix the error failed to connect to server on my newly setup VPS?

Successfully run the map, char, and login-server.exe. (No any errors)

until then logging in from my client,

Successfully created a character BUT Failed to connect afterwards.

See attached.

looks someting wrong with subnet?

but my subnet was on default and i didn’t change anything from there.

80752C31-FDD6-4280-BC86-3E100CDCCFE7.jpeg

Link to comment
Share on other sites

11 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  177
  • Reputation:   4
  • Joined:  05/23/12
  • Last Seen:  

Is your clientinfo <version>XX</version> 
same on your packet?

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.01
  • Content Count:  715
  • Reputation:   83
  • Joined:  01/05/12
  • Last Seen:  

Did you add this on your src/custom/defines_pre.hpp? if you haven't just add #define PACKETVER YYYYMMDD then save and recompile it

// Copyright (c) rAthena Dev Teams - Licensed under GNU GPL
// For more information, see LICENCE in the main folder

#ifndef CONFIG_CUSTOM_DEFINES_PRE_HPP
#define CONFIG_CUSTOM_DEFINES_PRE_HPP

/**
 * rAthena configuration file (http://rathena.org)
 * For detailed guidance on these check http://rathena.org/wiki/SRC/config/
 **/

#define PACKETVER YYYYMMDD

#endif /* CONFIG_CUSTOM_DEFINES_PRE_HPP */

YYYYMMDD is your client date for example...

#define PACKETVER 20180718

 

But if its subnet try changing it in conf/subnet_athena.conf

subnet: 255.0.0.0:127.0.0.1:127.0.0.1

Change it like this and restart your server

subnet: 255.255.255.0:YOUR SERVER IP:YOUR SERVER IP

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  58
  • Reputation:   1
  • Joined:  10/15/13
  • Last Seen:  

On 10/6/2018 at 7:50 PM, xilence01 said:

Is your clientinfo <version>XX</version> 
same on your packet?

 

How can i check this?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  58
  • Reputation:   1
  • Joined:  10/15/13
  • Last Seen:  

On 10/6/2018 at 11:24 PM, Lelouch vi Britannia said:

Did you add this on your src/custom/defines_pre.hpp? if you haven't just add #define PACKETVER YYYYMMDD then save and recompile it


// Copyright (c) rAthena Dev Teams - Licensed under GNU GPL
// For more information, see LICENCE in the main folder

#ifndef CONFIG_CUSTOM_DEFINES_PRE_HPP
#define CONFIG_CUSTOM_DEFINES_PRE_HPP

/**
 * rAthena configuration file (http://rathena.org)
 * For detailed guidance on these check http://rathena.org/wiki/SRC/config/
 **/

#define PACKETVER YYYYMMDD

#endif /* CONFIG_CUSTOM_DEFINES_PRE_HPP */

YYYYMMDD is your client date for example...


#define PACKETVER 20180718

 

But if its subnet try changing it in conf/subnet_athena.conf


subnet: 255.0.0.0:127.0.0.1:127.0.0.1

Change it like this and restart your server


subnet: 255.255.255.0:YOUR SERVER IP:YOUR SERVER IP

 

Hi @Lelouch vi Britannia, Nothing added on defines_pre.hpp.

should it be pre instead of post?

Edited by khenma09
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  58
  • Reputation:   1
  • Joined:  10/15/13
  • Last Seen:  

12 hours ago, khenma09 said:

Hi @Lelouch vi Britannia, Nothing added on defines_pre.hpp.

should it be pre instead of post?

Doesn't work at all

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  55
  • Topics Per Day:  0.01
  • Content Count:  1190
  • Reputation:   161
  • Joined:  06/12/12
  • Last Seen:  

1 hour ago, khenma09 said:

Doesn't work at all

What client do you use?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.01
  • Content Count:  715
  • Reputation:   83
  • Joined:  01/05/12
  • Last Seen:  

14 hours ago, khenma09 said:

Hi @Lelouch vi Britannia, Nothing added on defines_pre.hpp.

should it be pre instead of post?

As for that defines_pre.hpp thats the file where you add your client date for example you're using 2014-10-22bRagexe you'' add it as #define PACKETVER 20141022 but if you're using the default client which is 2015-11-04aRagexe you don't have to add it in the defines_pre.hpp.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  58
  • Reputation:   1
  • Joined:  10/15/13
  • Last Seen:  

4 hours ago, hendra814 said:

What client do you use?

I use 20170517

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  58
  • Reputation:   1
  • Joined:  10/15/13
  • Last Seen:  

6 hours ago, Lelouch vi Britannia said:

As for that defines_pre.hpp thats the file where you add your client date for example you're using 2014-10-22bRagexe you'' add it as #define PACKETVER 20141022 but if you're using the default client which is 2015-11-04aRagexe you don't have to add it in the defines_pre.hpp.

Nothing change.

 

i have done this as per your instruction.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  55
  • Topics Per Day:  0.01
  • Content Count:  1190
  • Reputation:   161
  • Joined:  06/12/12
  • Last Seen:  

16 hours ago, khenma09 said:

Nothing change.

 

i have done this as per your instruction.

Try disable this option

d.PNG

because some one got same error with you, but after disable this option 

his client run well

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  58
  • Reputation:   1
  • Joined:  10/15/13
  • Last Seen:  

On 10/10/2018 at 11:53 AM, hendra814 said:

Try disable this option

d.PNG

because some one got same error with you, but after disable this option 

his client run well

Hi, 

Still the same. 

I am connected but only until character selection.

always "Failed to Connect to Server"

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