Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

A simple packet dumper for old MMOs using Winsock send() and recv()

[emoji848]
Legend
Joined
Dec 3, 2011
Messages
2,232
Reaction score
1,518
Looks simple and doing the job!

Small suggestion, you might want to use a stringstream there rather than your string and all the appends, then flush it before opening the file. Running much more efficient on performance there on the long run. Next level efficiency would be a buffer as you have a fixed size of MAX_PATH on the filename, but prolly overkill for this scenario.
 
Joined
Jun 10, 2009
Messages
658
Reaction score
140
Looks simple and doing the job!

Small suggestion, you might want to use a stringstream there rather than your string and all the appends, then flush it before opening the file. Running much more efficient on performance there on the long run. Next level efficiency would be a buffer as you have a fixed size of MAX_PATH on the filename, but prolly overkill for this scenario.

I'll try to improve these in the next release. Thanks for the feedback! :thumbup1:
 
Back
Top