Jump to content
Sign in to follow this  
Ezrekith

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

Recommended Posts

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

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.