khenma09 Posted October 6, 2018 Group: Members Topic Count: 14 Topics Per Day: 0.00 Content Count: 58 Reputation: 1 Joined: 10/15/13 Last Seen: May 6, 2023 Share Posted October 6, 2018 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. Quote Link to comment Share on other sites More sharing options...
0 xilence01 Posted October 6, 2018 Group: Members Topic Count: 54 Topics Per Day: 0.01 Content Count: 177 Reputation: 4 Joined: 05/23/12 Last Seen: April 16, 2019 Share Posted October 6, 2018 Is your clientinfo <version>XX</version> same on your packet? Quote Link to comment Share on other sites More sharing options...
0 Lelouch vi Britannia Posted October 6, 2018 Group: Members Topic Count: 45 Topics Per Day: 0.01 Content Count: 715 Reputation: 84 Joined: 01/05/12 Last Seen: April 10, 2023 Share Posted October 6, 2018 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 Quote Link to comment Share on other sites More sharing options...
0 khenma09 Posted October 8, 2018 Group: Members Topic Count: 14 Topics Per Day: 0.00 Content Count: 58 Reputation: 1 Joined: 10/15/13 Last Seen: May 6, 2023 Author Share Posted October 8, 2018 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? Quote Link to comment Share on other sites More sharing options...
0 khenma09 Posted October 8, 2018 Group: Members Topic Count: 14 Topics Per Day: 0.00 Content Count: 58 Reputation: 1 Joined: 10/15/13 Last Seen: May 6, 2023 Author Share Posted October 8, 2018 (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 October 8, 2018 by khenma09 Quote Link to comment Share on other sites More sharing options...
0 khenma09 Posted October 9, 2018 Group: Members Topic Count: 14 Topics Per Day: 0.00 Content Count: 58 Reputation: 1 Joined: 10/15/13 Last Seen: May 6, 2023 Author Share Posted October 9, 2018 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 Quote Link to comment Share on other sites More sharing options...
0 hendra814 Posted October 9, 2018 Group: Members Topic Count: 59 Topics Per Day: 0.01 Content Count: 1278 Reputation: 170 Joined: 06/12/12 Last Seen: 3 hours ago Share Posted October 9, 2018 1 hour ago, khenma09 said: Doesn't work at all What client do you use? Quote Link to comment Share on other sites More sharing options...
0 Lelouch vi Britannia Posted October 9, 2018 Group: Members Topic Count: 45 Topics Per Day: 0.01 Content Count: 715 Reputation: 84 Joined: 01/05/12 Last Seen: April 10, 2023 Share Posted October 9, 2018 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. Quote Link to comment Share on other sites More sharing options...
0 khenma09 Posted October 9, 2018 Group: Members Topic Count: 14 Topics Per Day: 0.00 Content Count: 58 Reputation: 1 Joined: 10/15/13 Last Seen: May 6, 2023 Author Share Posted October 9, 2018 4 hours ago, hendra814 said: What client do you use? I use 20170517 Quote Link to comment Share on other sites More sharing options...
0 khenma09 Posted October 9, 2018 Group: Members Topic Count: 14 Topics Per Day: 0.00 Content Count: 58 Reputation: 1 Joined: 10/15/13 Last Seen: May 6, 2023 Author Share Posted October 9, 2018 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. Quote Link to comment Share on other sites More sharing options...
0 hendra814 Posted October 10, 2018 Group: Members Topic Count: 59 Topics Per Day: 0.01 Content Count: 1278 Reputation: 170 Joined: 06/12/12 Last Seen: 3 hours ago Share Posted October 10, 2018 16 hours ago, khenma09 said: Nothing change. i have done this as per your instruction. Try disable this option because some one got same error with you, but after disable this option his client run well Quote Link to comment Share on other sites More sharing options...
0 khenma09 Posted October 14, 2018 Group: Members Topic Count: 14 Topics Per Day: 0.00 Content Count: 58 Reputation: 1 Joined: 10/15/13 Last Seen: May 6, 2023 Author Share Posted October 14, 2018 On 10/10/2018 at 11:53 AM, hendra814 said: Try disable this option 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" Quote Link to comment Share on other sites More sharing options...
Question
khenma09
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.
Link to comment
Share on other sites
11 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.