zhaosin 0 Posted August 27, 2015 After diff client, i want to protect it ( want everyone have to use it, if not will show error or can't connect ), because if normal, everyone can put their client to my ro folder and run with their client ! Quote Share this post Link to post Share on other sites
0 Litro 45 Posted August 27, 2015 you can use md5 hash feature to protect your game.exe being tampered 1 zhaosin reacted to this Quote Share this post Link to post Share on other sites
0 zhaosin 0 Posted August 27, 2015 you can use md5 hash feature to protect your game.exe being tampered Can you give a guide how to use md5 hash sir ? Quote Share this post Link to post Share on other sites
0 Emistry 145 Posted August 27, 2015 https://github.com/HerculesWS/Hercules/blob/master/conf/login-server.conf#L150 // Client MD5 hash check// If turned on, the login server will check if the client's hash matches// the value below, and will not connect tampered clients.// Note: see doc/md5_hashcheck.txt for more details.client_hash_check: off// Client MD5 hashes// The client with the specified hash can be used to log in by players with// a group_id equal to or greater than the given value.// If you specify 'disabled' as hash, players with a group_id greater than or// equal to the given value will be able to log in regardless of hash (and even// if their client does not send a hash at all.)// Format: group_id, hash// Note: see doc/md5_hashcheck.txt for more details.//client_hash: 0, 113e195e6c051bb1cfb12a644bb084c5//client_hash: 10, cb1ea78023d337c38e8ba5124e2338ae//client_hash: 99, disabled get the files Hash and add into the conf files. Quote Share this post Link to post Share on other sites
0 zhaosin 0 Posted August 28, 2015 https://github.com/HerculesWS/Hercules/blob/master/conf/login-server.conf#L150 // Client MD5 hash check// If turned on, the login server will check if the client's hash matches// the value below, and will not connect tampered clients.// Note: see doc/md5_hashcheck.txt for more details.client_hash_check: off// Client MD5 hashes// The client with the specified hash can be used to log in by players with// a group_id equal to or greater than the given value.// If you specify 'disabled' as hash, players with a group_id greater than or// equal to the given value will be able to log in regardless of hash (and even// if their client does not send a hash at all.)// Format: group_id, hash// Note: see doc/md5_hashcheck.txt for more details.//client_hash: 0, 113e195e6c051bb1cfb12a644bb084c5//client_hash: 10, cb1ea78023d337c38e8ba5124e2338ae//client_hash: 99, disabled get the files Hash and add into the conf files. How to get two this number of my client bro ? -> 0, 113e195e6c051bb1cfb12a644bb084c5 Quote Share this post Link to post Share on other sites
0 Samuel 83 Posted August 28, 2015 @@zhaosin 0 = group id 113e195e6c051bb1cfb12a644bb084c5 = hash of the client but i think you need to diff your client with force sending hash in order for this to work, well you could try first 1 zhaosin reacted to this Quote Share this post Link to post Share on other sites
0 Litro 45 Posted August 30, 2015 try reading this document it have explanation you need https://github.com/HerculesWS/Hercules/blob/master/doc/md5_hashcheck.txt 1 zhaosin reacted to this Quote Share this post Link to post Share on other sites
After diff client, i want to protect it ( want everyone have to use it, if not will show error or can't connect ), because if normal, everyone can put their client to my ro folder and run with their client !
Share this post
Link to post
Share on other sites