Jump to content
Sign in to follow this  
Guest Ezrekith

[Small C++] Remove packetinfo.txt / usage.txt

Recommended Posts

Guest Ezrekith

game / src / packet_info.cpp

 

void CPacketInfo::Log(const char * c_pszFileName)

 

Replace with:

 

Please login or register to see this code.

If you ever decide to use it again just define this in your service.h:

#define _I_Need_Packet_Info_Cause_My_Dingdong_Is_Heavy_Any_My_Cat_Cant_Handle_It_Oo_

 

p2p_packet_info.txt

 

Replace this: CPacketInfoGG::~CPacketInfoGG()

 

Please login or register to see this code.

udp_packet_info.txt

 

game / src / input_udp.cpp

CPacketInfoUDP::~CPacketInfoUDP() replace this

 

Please login or register to see this code.

 

db / src / clientmanager.cpp

 

void UsageLog() replace with this:

 

Please login or register to see this code.

Delete the txt files from the ch + db folers

 

(Or if you'd like to delete the whole function, just delete it from the cpp and h file.)

Edited by Ezrekith

Share this post


Link to post
Share on other sites

Why\when   we need to Disable it?

Edited by Aeglon

Share this post


Link to post
Share on other sites
Guest Ezrekith

If you don't like it in your CH folders.

It's kinda useless cause it have literally 0 functions. 

The game just logging the packets into a txt without any reason.

Share this post


Link to post
Share on other sites
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.

Our website is made possible by displaying online advertisements to our visitors.
Please consider supporting us by disabling your ad blocker.
You will be able to see content when you disable your adblocker and enable javascript.