xDiiZeRx 42 Posted March 30, 2017 Share Posted March 30, 2017 Hey! How do I set to only patcher you get started the start.exe? Link to comment Share on other sites More sharing options...
DarkOne 12 Posted March 31, 2017 Share Posted March 31, 2017 Can you be a little more specific? Are you talking about using official patcher? Link to comment Share on other sites More sharing options...
Taz21 38 Posted March 31, 2017 Share Posted March 31, 2017 he is talking about start with argument, like start metin2client.bin --argument Link to comment Share on other sites More sharing options...
Premium Speachless 767 Posted March 31, 2017 Premium Share Posted March 31, 2017 This is the tutorial : Link to comment Share on other sites More sharing options...
xDiiZeRx 42 Posted March 31, 2017 Author Share Posted March 31, 2017 The need to start only in patcher. Only patcher. Link to comment Share on other sites More sharing options...
Premium Speachless 767 Posted March 31, 2017 Premium Share Posted March 31, 2017 2 hours ago, xDiiZeRx said: The need to start only in patcher. Only patcher. I already gave you the topic for argument start, use your brain. 1 Link to comment Share on other sites More sharing options...
Abigo 7 Posted March 31, 2017 Share Posted March 31, 2017 42 minutes ago, Dobrescu Sebastian said: I already gave you the topic for argument start, use your brain. don't speak about brain when you are brain dead ON: search in userinterface.cpp int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { add under if (strstr(lpCmdLine, "anything_you_want") == 0) return 0; just like in that tutorial and in your autopatcher you might have something like this Start("metin2client.exe"); change it to Start("metin2client.exe", "anything_you_want"); Link to comment Share on other sites More sharing options...
Premium Speachless 767 Posted March 31, 2017 Premium Share Posted March 31, 2017 The same answer i gave to him. Who is brain dead now ? + xDiiZeRx After you finish the source part you go to webhost > metin2torrent.config.xml, search cur_patcher_path="game.bin" and there you put your launcher, -argument . + go to input.cpp void CInputProcessor::Version(LPCHARACTER ch, const char* c_pData) and Replace with : void CInputProcessor::Version(LPCHARACTER ch, const char* c_pData) { if (!ch) return; TPacketCGClientVersion * p = (TPacketCGClientVersion *) c_pData; if (strcmp(p->filename, "game.bin") && ch->GetGMLevel() !=GM_IMPLEMENTOR) { DBManager::instance().Query("INSERT INTO log.wait_hack SET login='%s', nickname='%s'", ch->GetDesc()->GetAccountTable().login, ch->GetName()); return; } sys_log(0, "VERSION: %s %s %s", ch->GetName(), p->timestamp, p->filename); ch->GetDesc()->SetClientVersion(p->timestamp); } Go to log and execute : DROP TABLE IF EXISTS `wait_hack`; CREATE TABLE `wait_hack` ( `login` varchar(50) COLLATE big5_bin DEFAULT NULL, `nickname` varchar(50) COLLATE big5_bin DEFAULT NULL ) ENGINE=MyISAM DEFAULT CHARSET=big5 COLLATE=big5_bin; And you will get the player name who tried to enter without patcher. Link to comment Share on other sites More sharing options...
xDiiZeRx 42 Posted March 31, 2017 Author Share Posted March 31, 2017 Thanks dude! I use the Sanchez Patcher. How to do it? Link to comment Share on other sites More sharing options...
Premium Speachless 767 Posted March 31, 2017 Premium Share Posted March 31, 2017 If you trust my words, official patcher is more good than sanchez. Sanchez patcher have high HDD and cpu usage and can cause some incapability with some operating sistems. I don't think you can start with argument your launcher with that, try ="Mom.exe,-argument"; Link to comment Share on other sites More sharing options...
xDiiZeRx 42 Posted March 31, 2017 Author Share Posted March 31, 2017 Okey. Which do you recommend? Link to comment Share on other sites More sharing options...
Premium Speachless 767 Posted April 1, 2017 Premium Share Posted April 1, 2017 The official one. Link to comment Share on other sites More sharing options...
Abigo 7 Posted April 1, 2017 Share Posted April 1, 2017 in sanchez autopatcher search in Starter.cs startProcess.Start(); change to startProcess.Start("MoM.exe", "anything_you_want"); and delete startProcess.StartInfo.FileName = Globals.BinaryName; Link to comment Share on other sites More sharing options...
xDiiZeRx 42 Posted April 1, 2017 Author Share Posted April 1, 2017 Not working, error! Link to comment Share on other sites More sharing options...
Abigo 7 Posted April 1, 2017 Share Posted April 1, 2017 sorry my bad, Process.Start("MoM.exe", "anything"); you can replace all this Process startProcess = new Process(); startProcess.StartInfo.FileName = Globals.BinaryName; startProcess.StartInfo.UseShellExecute = false; startProcess.Start(); with just this Process.Start("mom.exe", "anything"); Link to comment Share on other sites More sharing options...
xDiiZeRx 42 Posted April 1, 2017 Author Share Posted April 1, 2017 Thanks, and not working. It starts the same way. Now it just starts with exe.. Link to comment Share on other sites More sharing options...
Abigo 7 Posted April 1, 2017 Share Posted April 1, 2017 if (strstr(lpCmdLine, "anything_you_want") == 0) return 0; not if (strstr(lpCmdLine, "anything_you_want") != 0) return 0; see the difference between "==" and "!=" 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