Jump to content
  • 0

Rejected From Server not Rejected From Server(3)


panducakep

Question


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  77
  • Reputation:   3
  • Joined:  06/06/13
  • Last Seen:  

Greetings!

I stuck on trying to solve this problem. What I've used and done:

1. Latest rAthena Version. Pulled from Github

2. 2015-11-04aRagexe Client, diffed using the latest NEMO. Thanks to @Secrets (Note: I enable "the packet obfuscation"  option because I also enable it in packets.h)

3. Edited src/config/packets.h

Spoiler

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

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

#ifndef PACKETVER
    #define PACKETVER 20151104
#endif

#ifndef PACKETVER_RE
    /// From this point on only kRO RE clients are supported
    #if PACKETVER > 20151104
        #define PACKETVER_RE
    #endif
#endif

#if PACKETVER >= 20110817
    /// Comment to disable the official packet obfuscation support.
    /// This requires PACKETVER 2011-08-17 or newer.
    #ifndef PACKET_OBFUSCATION
        #define PACKET_OBFUSCATION

        // Define these inside src/custom/defines_pre.h or src/custom/defines_post.h
        //#define PACKET_OBFUSCATION_KEY1 <key1>
        //#define PACKET_OBFUSCATION_KEY2 <key2>
        //#define PACKET_OBFUSCATION_KEY3 <key3>

        /// Comment this to disable warnings for missing client side encryption
        #define PACKET_OBFUSCATION_WARN
    #endif
#else
    #if defined(PACKET_OBFUSCATION)
        #error You enabled packet obfuscation for a version which is too old. Minimum supported client is 2011-08-17.
    #endif
#endif

#ifndef DUMP_UNKNOWN_PACKET
    //#define DUMP_UNKNOWN_PACKET
#endif

#ifndef DUMP_INVALID_PACKET
    //#define DUMP_INVALID_PACKET
#endif

/**
 * No settings past this point
 **/

/// Check if the specified packetversion supports the pincode system
#define PACKETVER_SUPPORTS_PINCODE PACKETVER >= 20110309

/// Check if the client needs delete_date as remaining time and not the actual delete_date (actually it was tested for clients since 2013)
#define PACKETVER_CHAR_DELETEDATE (PACKETVER > 20130000 && PACKETVER <= 20141022) || PACKETVER >= 20150513

/// Check if the specified packetvresion supports the cashshop sale system
#define PACKETVER_SUPPORTS_SALES PACKETVER >= 20131223

#endif // _CONFIG_PACKETS_H_

4. Uncomment #define VIP_ENABLE in src/config/core.h

5. Add #define PACKETVER 20151104 in src/custom/defines_post.h

6. Compiled the server and run it.

7. The console works perfectly without any Error notification. All Green.

8. I run the diffed.exe, select the service, put the username and password, and LOGGED IN (the window shows "... players online")

9. After clicking it, a window popped up and said "Rejected from Server". I cannot go to char creation window.

10. I checked the char-server console, it said  "Char-server 'ragnarok': authentication of the account 2000005 REFUSED (ip: 127.0.0.1)."

 

Very welcome to anyone can help this problem. Thank you.

Link to comment
Share on other sites

12 answers to this question

Recommended Posts

  • 0

  • Group:  Developer
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  587
  • Reputation:   431
  • Joined:  01/26/16
  • Last Seen:  

You’re not supposed to edit config/packets.h

Link to comment
Share on other sites

  • 0

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

3 hours ago, panducakep said:

Greetings!

I stuck on trying to solve this problem. What I've used and done:

1. Latest rAthena Version. Pulled from Github

2. 2015-11-04aRagexe Client, diffed using the latest NEMO. Thanks to @Secrets (Note: I enable "the packet obfuscation"  option because I also enable it in packets.h)

3. Edited src/config/packets.h

  Hide contents

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

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

#ifndef PACKETVER
    #define PACKETVER 20151104
#endif

#ifndef PACKETVER_RE
    /// From this point on only kRO RE clients are supported
    #if PACKETVER > 20151104
        #define PACKETVER_RE
    #endif
#endif

#if PACKETVER >= 20110817
    /// Comment to disable the official packet obfuscation support.
    /// This requires PACKETVER 2011-08-17 or newer.
    #ifndef PACKET_OBFUSCATION
        #define PACKET_OBFUSCATION

        // Define these inside src/custom/defines_pre.h or src/custom/defines_post.h
        //#define PACKET_OBFUSCATION_KEY1 <key1>
        //#define PACKET_OBFUSCATION_KEY2 <key2>
        //#define PACKET_OBFUSCATION_KEY3 <key3>

        /// Comment this to disable warnings for missing client side encryption
        #define PACKET_OBFUSCATION_WARN
    #endif
#else
    #if defined(PACKET_OBFUSCATION)
        #error You enabled packet obfuscation for a version which is too old. Minimum supported client is 2011-08-17.
    #endif
#endif

#ifndef DUMP_UNKNOWN_PACKET
    //#define DUMP_UNKNOWN_PACKET
#endif

#ifndef DUMP_INVALID_PACKET
    //#define DUMP_INVALID_PACKET
#endif

/**
 * No settings past this point
 **/

/// Check if the specified packetversion supports the pincode system
#define PACKETVER_SUPPORTS_PINCODE PACKETVER >= 20110309

/// Check if the client needs delete_date as remaining time and not the actual delete_date (actually it was tested for clients since 2013)
#define PACKETVER_CHAR_DELETEDATE (PACKETVER > 20130000 && PACKETVER <= 20141022) || PACKETVER >= 20150513

/// Check if the specified packetvresion supports the cashshop sale system
#define PACKETVER_SUPPORTS_SALES PACKETVER >= 20131223

#endif // _CONFIG_PACKETS_H_

4. Uncomment #define VIP_ENABLE in src/config/core.h

5. Add #define PACKETVER 20151104 in src/custom/defines_post.h

6. Compiled the server and run it.

7. The console works perfectly without any Error notification. All Green.

8. I run the diffed.exe, select the service, put the username and password, and LOGGED IN (the window shows "... players online")

9. After clicking it, a window popped up and said "Rejected from Server". I cannot go to char creation window.

10. I checked the char-server console, it said  "Char-server 'ragnarok': authentication of the account 2000005 REFUSED (ip: 127.0.0.1)."

 

Very welcome to anyone can help this problem. Thank you.

step 3

comment at  #define PACKET_OBFUSCATION

and skipp step 5

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  77
  • Reputation:   3
  • Joined:  06/06/13
  • Last Seen:  

14 hours ago, Secrets said:

You’re not supposed to edit config/packets.h

I'll try to revert it. :3

10 hours ago, hendra814 said:

step 3

comment at  #define PACKET_OBFUSCATION

and skipp step 5

Ok.. i"ll try your advice... :3

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  77
  • Reputation:   3
  • Joined:  06/06/13
  • Last Seen:  

@hendra814 I already comment the #define PACKET_OBFUSCATION but still cannot enter the char creation window and rejected from the server. I also tried using different client.exe that one of the is diffed with packet obfuscation on. But no change.

Link to comment
Share on other sites

  • 0

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

9 hours ago, panducakep said:

@hendra814 I already comment the #define PACKET_OBFUSCATION but still cannot enter the char creation window and rejected from the server. I also tried using different client.exe that one of the is diffed with packet obfuscation on. But no change.

i think something wrong when you patch the client,

try use this option using nemo

Quote

9 Disable 1rag1 type parameters (Recommended)
10 Disable 4 Letter Character Name Limit
11 Disable 4 Letter User Name Limit
12 Disable 4 Letter Password Limit
13 Disable Ragexe Filename Check (Recommended)
19 Enable Title Bar Menu
20 Extend Chat Box
21 Extend Chat Room Box
22 Extend PM Box
23 Enable /who command (Recommended)
24 Fix Camera Angles (Recommended)
28 Increase Headgear ViewID
29 Disable Game Guard (Recommended)
33 Always Call SelectKoreaClientInfo() (Recommended)
34 Enable /showname (Recommended)
35 Read Data Folder First
36 Read msgstringtable.txt (Recommended)
37 Read questid2display.txt (Recommended)
38 Remove Gravity Ads (Recommended)
39 Remove Gravity Logo (Recommended)
40 Restore Login Window (Recommended)
41 Disable Nagle Algorithm (Recommended)
43 Always Use Email for Char Deletion
44 Translate Client (Recommended)
46 Use Normal Guild Brackets (Recommended)
47 Use Ragnarok Icon
48 Use Plain Text Descriptions (Recommended)
49 Enable Multiple GRFs (Recommended)
51 Always Show License Screen
53 Use Ascii on All LangTypes (Recommended)
61 Disable Packet Encryption
63 Use Official Cloth Palettes
64 @ Bug Fix (Recommended)
65 Load Custom lua file instead of iteminfo*.lub (Recommended)
68 Enable 64k Hairstyle
71 Ignore Resource Errors
72 Ignore Missing Palette Error
73 Remove Hourly Announce (Recommended)
76 Enforce Official Login Background
77 Enable Custom 3D Bones
84 Remove Serial Display (Recommended)
85 Show Cancel To Service Select
86 Only First Login Background
88 Allow space in guild name
90 Enable DNS Support (Recommended)
91 Disconnect to Login Window
97 Cancel to Login Window (Recommended)
104 Increase Hair Style & Color Limits
205 Enable Monster Tables
213 Disable Help Message on Login (Recommended)
222 Show Replay Button
 

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  77
  • Reputation:   3
  • Joined:  06/06/13
  • Last Seen:  

Thanks... I will make the new diffed exe

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  77
  • Reputation:   3
  • Joined:  06/06/13
  • Last Seen:  

No change... still rejected from server

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  77
  • Reputation:   3
  • Joined:  06/06/13
  • Last Seen:  

I already use the clean one.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.01
  • Content Count:  42
  • Reputation:   3
  • Joined:  04/11/22
  • Last Seen:  

On 10/29/2017 at 11:00 PM, panducakep said:

Greetings!

I stuck on trying to solve this problem. What I've used and done:

1. Latest rAthena Version. Pulled from Github

2. 2015-11-04aRagexe Client, diffed using the latest NEMO. Thanks to @Secrets (Note: I enable "the packet obfuscation"  option because I also enable it in packets.h)

3. Edited src/config/packets.h

  Reveal hidden contents

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

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

#ifndef PACKETVER
    #define PACKETVER 20151104
#endif

#ifndef PACKETVER_RE
    /// From this point on only kRO RE clients are supported
    #if PACKETVER > 20151104
        #define PACKETVER_RE
    #endif
#endif

#if PACKETVER >= 20110817
    /// Comment to disable the official packet obfuscation support.
    /// This requires PACKETVER 2011-08-17 or newer.
    #ifndef PACKET_OBFUSCATION
        #define PACKET_OBFUSCATION

        // Define these inside src/custom/defines_pre.h or src/custom/defines_post.h
        //#define PACKET_OBFUSCATION_KEY1 <key1>
        //#define PACKET_OBFUSCATION_KEY2 <key2>
        //#define PACKET_OBFUSCATION_KEY3 <key3>

        /// Comment this to disable warnings for missing client side encryption
        #define PACKET_OBFUSCATION_WARN
    #endif
#else
    #if defined(PACKET_OBFUSCATION)
        #error You enabled packet obfuscation for a version which is too old. Minimum supported client is 2011-08-17.
    #endif
#endif

#ifndef DUMP_UNKNOWN_PACKET
    //#define DUMP_UNKNOWN_PACKET
#endif

#ifndef DUMP_INVALID_PACKET
    //#define DUMP_INVALID_PACKET
#endif

/**
 * No settings past this point
 **/

/// Check if the specified packetversion supports the pincode system
#define PACKETVER_SUPPORTS_PINCODE PACKETVER >= 20110309

/// Check if the client needs delete_date as remaining time and not the actual delete_date (actually it was tested for clients since 2013)
#define PACKETVER_CHAR_DELETEDATE (PACKETVER > 20130000 && PACKETVER <= 20141022) || PACKETVER >= 20150513

/// Check if the specified packetvresion supports the cashshop sale system
#define PACKETVER_SUPPORTS_SALES PACKETVER >= 20131223

#endif // _CONFIG_PACKETS_H_

4. Uncomment #define VIP_ENABLE in src/config/core.h

5. Add #define PACKETVER 20151104 in src/custom/defines_post.h

6. Compiled the server and run it.

7. The console works perfectly without any Error notification. All Green.

8. I run the diffed.exe, select the service, put the username and password, and LOGGED IN (the window shows "... players online")

9. After clicking it, a window popped up and said "Rejected from Server". I cannot go to char creation window.

10. I checked the char-server console, it said  "Char-server 'ragnarok': authentication of the account 2000005 REFUSED (ip: 127.0.0.1)."

 

Very welcome to anyone can help this problem. Thank you.

After changing that in rathena I was able to fix it on my 2021-11-17_Ragexe_1637052357.exe client with this setting on WARP:

image.png.1fd47b0481417180dd0d2d807b702294.png

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.01
  • Content Count:  42
  • Reputation:   3
  • Joined:  04/11/22
  • Last Seen:  

11 minutes ago, zeusc137 said:

After changing that in rathena I was able to fix it on my 2021-11-17_Ragexe_1637052357.exe client with this setting on WARP:

image.png.1fd47b0481417180dd0d2d807b702294.png

 

Hi everyone!

Actually it's not working quite as I'd expect as I'm still not able to delete using the email confirmation.

This is on my `conf/char_athena.conf` (I did stop and start the server 2 times to test it this time!!!)

```

// Restrict character deletion by BaseLevel
// 0: no restriction (players can delete characters of any level)
// -X: you can't delete chars with BaseLevel <= X
// Y: you can't delete chars with BaseLevel >= Y
// e.g. char_del_level: 80 (players can't delete characters with 80+ BaseLevel)
char_del_level: 0
 
// Amount of time in seconds by which the character deletion is delayed.
// Default: 86400 (24 hours)
// NOTE: Requires client 2010-08-03aragexeRE or newer.
char_del_delay: 60
 
// Restrict character deletion by email address or birthdate.
// This restricts players from changing the langtype and deleting characters.
// Defaults based on client date.
// 1: Email address
// 2: Birthdate
// 3: Email address or Birthdate
// IMPORTANT!
// - This config only works for clients that send 0x0068 or 0x01fb for delete request.
// - Use langtype 1 for newer clients (2013+), to use 0x01fb.
// - Clients that are not using 0x0068 or 0x01fb, only use birthdate (YYMMDD) as default.
char_del_option: 1
 
// Restrict character deletion as long as he is still in a party or guild
// 0: No restriction is applied
// 1: Character cannot be deleted as long as he remains in a party
// 2: Character cannot be deleted as long as he remains in a guild
// 3: Character cannot be deleted as long as he remains in a party or guild(default)
char_del_restriction: 3
 

```

I got this email from database: [email protected] and tried like this:

image.png.5accc0d8379e2c737c219210aa54284b.png

 

But get the following error message:
image.png.8700f7ccb8cbd5914591a358fd29cacc.png

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.01
  • Content Count:  42
  • Reputation:   3
  • Joined:  04/11/22
  • Last Seen:  

19 hours ago, zeusc137 said:

 

Hi everyone!

Actually it's not working quite as I'd expect as I'm still not able to delete using the email confirmation.

This is on my `conf/char_athena.conf` (I did stop and start the server 2 times to test it this time!!!)

```

// Restrict character deletion by BaseLevel
// 0: no restriction (players can delete characters of any level)
// -X: you can't delete chars with BaseLevel <= X
// Y: you can't delete chars with BaseLevel >= Y
// e.g. char_del_level: 80 (players can't delete characters with 80+ BaseLevel)
char_del_level: 0
 
// Amount of time in seconds by which the character deletion is delayed.
// Default: 86400 (24 hours)
// NOTE: Requires client 2010-08-03aragexeRE or newer.
char_del_delay: 60
 
// Restrict character deletion by email address or birthdate.
// This restricts players from changing the langtype and deleting characters.
// Defaults based on client date.
// 1: Email address
// 2: Birthdate
// 3: Email address or Birthdate
// IMPORTANT!
// - This config only works for clients that send 0x0068 or 0x01fb for delete request.
// - Use langtype 1 for newer clients (2013+), to use 0x01fb.
// - Clients that are not using 0x0068 or 0x01fb, only use birthdate (YYMMDD) as default.
char_del_option: 1
 
// Restrict character deletion as long as he is still in a party or guild
// 0: No restriction is applied
// 1: Character cannot be deleted as long as he remains in a party
// 2: Character cannot be deleted as long as he remains in a guild
// 3: Character cannot be deleted as long as he remains in a party or guild(default)
char_del_restriction: 3
 

```

I got this email from database: [email protected] and tried like this:

image.png.5accc0d8379e2c737c219210aa54284b.png

 

But get the following error message:
image.png.8700f7ccb8cbd5914591a358fd29cacc.png

I posted this question in the wrong place, but if you get here using clients later than 2010-08-03 you also have to check `src/char/char.cpp` and change this part:

```

-#if PACKETVER >= 20100803
-       charserv_config.char_config.char_del_option = CHAR_DEL_BIRTHDATE;
-#else
+// #if PACKETVER >= 20100803
+       // charserv_config.char_config.char_del_option = CHAR_DEL_BIRTHDATE;
+// #else
        charserv_config.char_config.char_del_option = CHAR_DEL_EMAIL;
-#endif
+// #endif

```

 

Link to comment
Share on other sites

  • -1

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

15 minutes ago, panducakep said:

No change... still rejected from server

are you already put in back to original file at this step

Quote

. Add #define PACKETVER 20151104 in src/custom/defines_post.h

 

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