Jump to content
  • 0

Successful char creation but failed to connect?


Question

Posted

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

11 answers to this question

Recommended Posts

  • 0
Posted

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

 

  • 0
Posted (edited)
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
  • 0
Posted
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.

  • 0
Posted
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.

  • 0
Posted
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

  • 0
Posted
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"

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...