Jump to content
  • 0

2015-11-04a packets problem


kolikan36

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  6
  • Reputation:   0
  • Joined:  08/31/17
  • Last Seen:  

Hi there thanks a lot for everything you provide on this site ! 

I've done this tutorial : 

My server is loading corectly and my database works well.

I've a big issue concerning this client version. I tried to apply all the answers you provided on the forum during these days... but Nothing.

I'm still rejected from the server.

Can you help me ? :)

---

CLIENT INFO XML

<?xml version="1.0" encoding="euc-kr" ?>
<clientinfo>
	<desc>Ragnarok Client Information</desc>
	<servicetype>korea</servicetype>
	<servertype>primary</servertype>
	<connection>
		<display>Local</display>
      		<address>127.0.0.1</address>
      		<port>6900</port>
      		<version>55</version>
      		<langtype>19</langtype>
		<registrationweb>www.ragnarok.com</registrationweb>
<aid>
	<admin>2000000</admin>
</aid>
		<loading>
			<image>loading00.jpg</image>
			<image>loading01.jpg</image>
			<image>loading02.jpg</image>
			<image>loading03.jpg</image>
			<image>loading04.jpg</image>
		</loading>
   	</connection>
</clientinfo>

PACKETS.H

// 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 > 20170517
		#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_

 

 

 

Link to comment
Share on other sites

8 answers to this question

Recommended Posts

  • 0

  • Group:  Developer
  • Topic Count:  50
  • Topics Per Day:  0.02
  • Content Count:  763
  • Reputation:   227
  • Joined:  02/11/17
  • Last Seen:  

9 minutes ago, kolikan36 said:

Hi there thanks a lot for everything you provide on this site ! 

I've done this tutorial : 

My server is loading corectly and my database works well.

I've a big issue concerning this client version. I tried to apply all the answers you provided on the forum during these days... but Nothing.

I'm still rejected from the server.

Can you help me ? :)

---

CLIENT INFO XML


<?xml version="1.0" encoding="euc-kr" ?>
<clientinfo>
	<desc>Ragnarok Client Information</desc>
	<servicetype>korea</servicetype>
	<servertype>primary</servertype>
	<connection>
		<display>Local</display>
      		<address>127.0.0.1</address>
      		<port>6900</port>
      		<version>55</version>
      		<langtype>19</langtype>
		<registrationweb>www.ragnarok.com</registrationweb>
<aid>
	<admin>2000000</admin>
</aid>
		<loading>
			<image>loading00.jpg</image>
			<image>loading01.jpg</image>
			<image>loading02.jpg</image>
			<image>loading03.jpg</image>
			<image>loading04.jpg</image>
		</loading>
   	</connection>
</clientinfo>

PACKETS.H


// 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 > 20170517
		#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_

 

 

 

Can you provide the map server error when you are trying to login? :))

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  6
  • Reputation:   0
  • Joined:  08/31/17
  • Last Seen:  

Thanks ! 

This is from logserver : 

[Info]: Closed connection from '127.0.0.1'.
[Status]: Char-server ragnarok': authentication of the account 1 REFUSED (ip: 127.0.0.1).

 

No error on map server...

Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  50
  • Topics Per Day:  0.02
  • Content Count:  763
  • Reputation:   227
  • Joined:  02/11/17
  • Last Seen:  

14 minutes ago, kolikan36 said:

Thanks ! 

This is from logserver : 

[Info]: Closed connection from '127.0.0.1'.
[Status]: Char-server ragnarok': authentication of the account 1 REFUSED (ip: 127.0.0.1).

 

No error on map server...

May i ask what id are you trying to use for loggin in? :)) and have you set up the conf files all into local ip(127.0.0.1 :o)

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  6
  • Reputation:   0
  • Joined:  08/31/17
  • Last Seen:  

the same as the tutorial.

username

password

All config files are connecting the server. I see the server name with online number :)

Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  50
  • Topics Per Day:  0.02
  • Content Count:  763
  • Reputation:   227
  • Joined:  02/11/17
  • Last Seen:  

8 minutes ago, kolikan36 said:

the same as the tutorial.

username

password

All config files are connecting the server. I see the server name with online number :)

ehh i mean for the character :o 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  6
  • Reputation:   0
  • Joined:  08/31/17
  • Last Seen:  

sorry :/

Here it is : [Info]: request connect - account_id:1/login_id1:131563907/login_id2:559163282

Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  50
  • Topics Per Day:  0.02
  • Content Count:  763
  • Reputation:   227
  • Joined:  02/11/17
  • Last Seen:  

11 minutes ago, kolikan36 said:

sorry :/

Here it is : [Info]: request connect - account_id:1/login_id1:131563907/login_id2:559163282

you shouldn't use the id 1 for logging in to your character XD That's for server login//
you should create another account in your my sql db login starting in the id 2000000 // GM Account 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  6
  • Reputation:   0
  • Joined:  08/31/17
  • Last Seen:  

OMG THANKS THANKS THANKS

That was just.... for that aha :)

Thanks a lot !

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