Quote:
Originally Posted by bootdisk
If you have never tried this before, try to find the signature/pattern of 'Please, execute the Silkroad.exe' message and apply a patch to bypass it.
|
To bypass the launcher you don't need any memory editing, .NET has Mutex in the System.Threading namespace.
C#:
Code:
using System.Threading;
using System.Diagnostics;
Code:
string Path = "C:\\Program Files (x86)\\Mail.ru\\SilkRoad Online\\sro_client.exe";
Mutex Mutex1 = new Mutex(false, "Silkroad Online Launcher");
Mutex1.WaitOne();
Mutex Mutex2 = new Mutex(false, "Ready");
Mutex2.WaitOne();
Process p = new Process();
p.StartInfo.FileName = Path;
p.StartInfo.Arguments = " 0 /38 0 0";
p.Start();
while (p.MainWindowHandle == IntPtr.Zero)
{
Application.DoEvents();
Thread.Sleep(1);
}
Mutex1 = null;
Mutex2 = null;
VB.NET:
Code:
Imports System.Threading
Code:
Dim Path As String = "C:\Program Files (x86)\Mail.ru\SilkRoad Online\sro_client.exe"
Dim Mutex1 As New Mutex(False, "Silkroad Online Launcher")
Mutex1.WaitOne()
Dim Mutex2 As New Mutex(False, "Ready")
Mutex2.WaitOne()
Dim p As New Process
p.StartInfo.FileName = Path
p.StartInfo.Arguments = " 0 /38 0 0"
p.Start()
While p.MainWindowHandle = 0
Application.DoEvents()
Thread.Sleep(1)
End While
Mutex1 = Nothing
Mutex2 = Nothing
This is just a simple example of course.