Jump to content
  • 0

I cant disable PACKET_OBFUSCATION in new rathena


Eross

Question


  • Group:  Members
  • Topic Count:  155
  • Topics Per Day:  0.10
  • Content Count:  349
  • Reputation:   12
  • Joined:  04/05/20
  • Last Seen:  

Good day ! Just need a small help guys , I commented the PACKET_OBFUSCATION part in packets.hpp but still enabled 

#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.hpp or src/custom/defines_post.hpp
		//#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

image.png.4359ce01900fecfd9f93a506dadb4689.png

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  927
  • Reputation:   169
  • Joined:  04/05/13
  • Last Seen:  

Maybe 0x0 mean not enabled.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  155
  • Topics Per Day:  0.10
  • Content Count:  349
  • Reputation:   12
  • Joined:  04/05/20
  • Last Seen:  

11 minutes ago, Start_ said:

Maybe 0x0 mean not enabled.

I dont think so ..And also notice the client version there it says 20180621 while Ive already set my 20211103 client on packets.hpp and custom/defines_post and defines_pre.hpp files

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  927
  • Reputation:   169
  • Joined:  04/05/13
  • Last Seen:  

20211103 should already set in \rathena\src\config\packets.hpp lines 16

If it wasn't, you may have to update your rAthena.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  155
  • Topics Per Day:  0.10
  • Content Count:  349
  • Reputation:   12
  • Joined:  04/05/20
  • Last Seen:  

Just now, Start_ said:

20211103 should already set in \rathena\src\config\packets.hpp lines 16

If it wasn't, you may have to update your rAthena.

 

 

Yes I set it here

#ifndef PACKETVER
    /// Do NOT edit this line! To set your client version, please do this instead:
    /// In Windows: Add this line in your src\custom\defines_pre.hpp file: #define PACKETVER YYYYMMDD
    /// In Linux: The same as above or run the following command: ./configure --enable-packetver=YYYYMMDD
    #define PACKETVER 20211103
#endif

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  27
  • Reputation:   10
  • Joined:  09/14/21
  • Last Seen:  

just go ahead to   ./src/custom/defines_post.hpp , and put this 2 line before the last line of the file. recompile.

#undef PACKET_OBFUSCATION
#undef PACKET_OBFUSCATION_WARN
Link to comment
Share on other sites

  • 0

  • Group:  Forum Manager
  • Topic Count:  282
  • Topics Per Day:  0.06
  • Content Count:  3123
  • Reputation:   1617
  • Joined:  03/26/12
  • Last Seen:  

chrome_lVyE9EsqzQ.png

Why do you not read the file's warnings...

Clients haven't used the obfuscation packets for several years if I recall correctly. Unsure which client was the last to support them properly, but it's reasonably safe to disable the feature since you can't use it correctly now anyway.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.02
  • Content Count:  911
  • Reputation:   166
  • Joined:  11/27/14
  • Last Seen:  

Everytime you change the src you need to rebuild your server files . Just put "//" in the beginning and rebuild your 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...