Denis 1474 Posted March 30, 2014 Share Posted March 30, 2014 Hello, If you want to protect little more you binary you can add this to protection to start the game with argument.Because if someone try to open your binary without patcher the game won't open. Open the file UserInterface/UserInterface.cpp and find: if (strstr(lpCmdLine, "--hackshield") != 0) return 0; and add after that this: if (strstr(lpCmdLine, "--open-client") == 0) return 0; You can add a message box, that will say Open the patcher or everything you want. then compile it and open it with cmd with the argument that you add.For example: metin2client.exe --open-client Feel free to ask any question! 13 Link to comment Share on other sites More sharing options...
Dennis 166 Posted March 31, 2014 Share Posted March 31, 2014 Very nice. Thanks for this. But i have a patcher i start the game in patcher with System.Diagnostics.Process.Start("metin2client.exe"); and now would start the client with System.Diagnostics.Process.Start("metin2client.exe --key"); but dosent work can help me why i get this error : Das System kann die angegebene Datei nicht finden :: System Link to comment Share on other sites More sharing options...
Shichirojii 8 Posted March 31, 2014 Share Posted March 31, 2014 Do not quite understand how it works, could better explain please? Link to comment Share on other sites More sharing options...
Denis 1474 Posted April 1, 2014 Author Share Posted April 1, 2014 Very nice. Thanks for this. But i have a patcher i start the game in patcher with System.Diagnostics.Process.Start("metin2client.exe"); and now would start the client with System.Diagnostics.Process.Start("metin2client.exe --key"); but dosent work can help me why i get this error : Das System kann die angegebene Datei nicht finden :: System Check this out: http://msdn.microsoft.com/en-us/library/h6ak8zt5%28v=vs.110%29.aspx?cs-save-lang=1&cs-lang=vb#code-snippet-1 I think it will helps you. Or try this: ProcessStartInfo startInfo = new ProcessStartInfo(); startInfo.FileName = "metin2client.exe"; startInfo.Arguments = "--key"; Process.Start(startInfo); @Shichirojii If you do what I said in tutorial you can not open the game normally,you can open it via patcher or something like game starter with your argument. 2 Link to comment Share on other sites More sharing options...
Dennis 166 Posted April 1, 2014 Share Posted April 1, 2014 Thx Denic but I have already found a solution System.Diagnostics.Process.Start("metin2client.exe", "--key"); it works Link to comment Share on other sites More sharing options...
Shichirojii 8 Posted April 1, 2014 Share Posted April 1, 2014 Muy agradable. Gracias por esto. Pero tengo un parche empiezo el juego en parche con System.Diagnostics.Process.Start ("metin2client.exe"); y ahora se inicie el cliente con System.Diagnostics.Process.Start ("metin2client.exe - clave"); pero el trabajo dosent me puede ayudar por qué me sale este error: Das kann die Sistema angegebene nicht finden :: Sistema Datei Marque esta creo que le ayuda. O intente esto: ProcessStartInfo startInfo = new ProcessStartInfo (); startInfo.FileName = "metin2client.exe"; startInfo.Arguments = "tecla" -; Process.Start (startInfo); @ Shichirojii Si haces lo que te dije en el tutorial no se puede abrir el juego normalmente, se puede abrir a través de parche o algo así como el juego de arranque con su argumento. Thanks works perfect! How to add an argument? Link to comment Share on other sites More sharing options...
Denis 1474 Posted April 1, 2014 Author Share Posted April 1, 2014 The tutorial is about how to add the argument in binary... 2 Link to comment Share on other sites More sharing options...
Shichirojii 8 Posted April 1, 2014 Share Posted April 1, 2014 I mean to open a dialog box Link to comment Share on other sites More sharing options...
Denis 1474 Posted April 1, 2014 Author Share Posted April 1, 2014 MessageBox(NULL, "your text here", "Title", MB_ICONSTOP); 1 Link to comment Share on other sites More sharing options...
Strzikjav 0 Posted May 6, 2014 Share Posted May 6, 2014 I have the Invoice Client, dont have a binary, is this also possible without? Link to comment Share on other sites More sharing options...
Shichirojii 8 Posted May 18, 2014 Share Posted May 18, 2014 MessageBox(NULL, "your text here", "Title", MB_ICONSTOP); thanks Link to comment Share on other sites More sharing options...
ѕeмa™ 307 Posted August 26, 2014 Share Posted August 26, 2014 Anyone know how start the metin2client.exe with argumen from oficial patcher? run_path="metin2client.exe" Thanks. https://m2admin.net/ Link to comment Share on other sites More sharing options...
oguzhankrcby 2 Posted November 21, 2014 Share Posted November 21, 2014 Anyone know how start the metin2client.exe with argumen from oficial patcher? run_path="metin2client.exe" Thanks. is there any answer ? Link to comment Share on other sites More sharing options...
Active Member Koray 1993 Posted November 21, 2014 Active Member Share Posted November 21, 2014 (edited) Anyone know how start the metin2client.exe with argumen from oficial patcher? run_path="metin2client.exe" Thanks. is there any answer ? Edited August 26, 2022 by Metin2 Dev Core X - External 2 Internal 2 Link to comment Share on other sites More sharing options...
oguzhankrcby 2 Posted November 21, 2014 Share Posted November 21, 2014 (edited) Anyone know how start the metin2client.exe with argumen from oficial patcher? run_path="metin2client.exe" Thanks. is there any answer ? it's good to know you are following me Edited August 26, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Active Member Koray 1993 Posted November 21, 2014 Active Member Share Posted November 21, 2014 (edited) Anyone know how start the metin2client.exe with argumen from oficial patcher? run_path="metin2client.exe" Thanks. is there any answer ? it's good to know you are following me Nahh, I saw your post from Latest posts Edited August 26, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
TheDelphi 0 Posted December 12, 2014 Share Posted December 12, 2014 Hello, If you want to protect little more you binary you can add this to protection to start the game with argument.Because if someone try to open your binary without patcher the game won't open. Open the file UserInterface/UserInterface.cpp and find: if (strstr(lpCmdLine, "--hackshield") != 0) return 0; and add after that this: if (strstr(lpCmdLine, "--open-client") == 0) return 0; You can add a message box, that will say Open the patcher or everything you want. then compile it and open it with cmd with the argument that you add.For example: metin2client.exe --open-client Feel free to ask any question! How To Starting Game with hackshield ? Link to comment Share on other sites More sharing options...
garofolo 12 Posted July 29, 2015 Share Posted July 29, 2015 Anyone know how start the metin2client.exe with argumen from oficial patcher? run_path="metin2client.exe" Thanks. Help? Link to comment Share on other sites More sharing options...
Krusty 32 Posted July 30, 2015 Share Posted July 30, 2015 Anyone know how start the metin2client.exe with argumen from oficial patcher? run_path="metin2client.exe" Thanks. Help? Same problem... Link to comment Share on other sites More sharing options...
djciccio 0 Posted August 10, 2015 Share Posted August 10, 2015 But with this metod is possibile to run hsupdate.exe of hackshield?? Link to comment Share on other sites More sharing options...
Metin2Dev12345 0 Posted August 10, 2015 Share Posted August 10, 2015 why so aggressive? Link to comment Share on other sites More sharing options...
Krusty 32 Posted August 13, 2015 Share Posted August 13, 2015 #closerequest he gives no support Link to comment Share on other sites More sharing options...
Recommended Posts