Premium FlorinMarian 122 Posted August 14, 2015 Premium Share Posted August 14, 2015 Hello devs ! Anybody can tell me how to change login packet to prevent login from unofficial client ? Thanks. Shared Hosting | Domain names | Dedicated Servers | VPS HAZI.ro Link to comment Share on other sites More sharing options...
ondry 334 Posted August 14, 2015 Share Posted August 14, 2015 packet.h HEADER_CG_LOGIN3 = 111, Link to comment Share on other sites More sharing options...
Premium FlorinMarian 122 Posted August 14, 2015 Author Premium Share Posted August 14, 2015 packet.h HEADER_CG_LOGIN3 = 111, What I need to change ? Just number? Shared Hosting | Domain names | Dedicated Servers | VPS HAZI.ro Link to comment Share on other sites More sharing options...
ondry 334 Posted August 14, 2015 Share Posted August 14, 2015 yes, just change to another number... but make sure that number dont exist yet in packet.h Link to comment Share on other sites More sharing options...
VegaS 1087 Posted July 30, 2016 Share Posted July 30, 2016 Or you can much easy..xd packet.h -> Server typedef struct command_login3 { BYTE header; char login[LOGIN_MAX_LEN + 1]; char passwd[PASSWD_MAX_LEN + 1]; DWORD adwClientKey[4]; #ifdef ENABLE_CHANGE_PACKET_LOGIN int tValueFake_; #endif } TPacketCGLogin3; packet.h -> Client typedef struct command_login3 { BYTE header; char name[ID_MAX_NUM + 1]; char pwd[PASS_MAX_NUM + 1]; DWORD adwClientKey[4]; #ifdef ENABLE_CHANGE_PACKET_LOGIN int tValueFake_; #endif } TPacketCGLogin3; Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now