C# developer
- Joined
- Dec 4, 2013
- Messages
- 656
- Reaction score
- 80
The lag is caused by the reason that you keep launching a new instance of your own program, What will on his turn also launch a new instance etc.
The problem is "Str2" Change "M-Launcher" to "MapleStory.exe"
(the stuff i made red)
The code is the decompiled code from Reflector, (since i where to lazy to download your project and open it)
Code:int num1 = 5; int millisecondsTimeout1 = 1; int millisecondsTimeout2 = 500; string str1 = "MapleStory.dll"; [COLOR=#ff0000] string str2 = string.Format("{0}\\M-Launcher.exe", (object) Environment.CurrentDirectory);[/COLOR] if (!System.IO.File.Exists(str2)) { int num2 = (int) MessageBox.Show("Couldn't find M-Launcher.exe", "MapleStory Redirector"); } else if (!System.IO.File.Exists(string.Format("{0}\\{1}", (object) Environment.CurrentDirectory, (object) str1))) { int num3 = (int) MessageBox.Show("Couldn't find MapleStory.dll", "MapleStory Redirector"); } else { if (!((object) args1[1]).ToString().Equals("false")) Process.Start(((object) args1[1]).ToString()); [COLOR=#ff0000] using (Process process = Process.Start([SIZE=6][B]str2[/B][/SIZE], "GameLaunching"))[/COLOR] {
That again? then I forgot to update the links..
Okay, updated.
kittyloveusatat