Help Please

09/11/2012 20:12 worldgs#1
Quote:
if (Loop.sClientPath == "")
{
if (oFDLoadClient.ShowDialog() == DialogResult.OK)
{
Loop.sClientPath = oFDLoadClient.FileName;
}
}

if (Loop.sClientPath != "")
{
SilkroadSecurityApi.Proxy.Init();

IntPtr Mutex = WinAPI.CreateMutex(IntPtr.Zero, false, "Silkroad Online Launcher");
IntPtr Mutex2 = WinAPI.CreateMutex(IntPtr.Zero, false, "Ready");

p_Silkroad = new Process();
p_Silkroad.StartInfo.FileName = Loop.sClientPath;
p_Silkroad.StartInfo.Arguments = "0 /4 0 0";
p_Silkroad.Start();


Thread.Sleep(100);
string errors = "";
WinAPI.DoInject(p_Silkroad, "cDetour.dll", out errors);
if (errors.Length != 0)
Console.WriteLine(errors);

IntPtr whandle = WinAPI.OpenProcess(WinAPI.Rights, 0, (IntPtr)p_Silkroad.Handle);

byte[] AlreadyExecuted = { 0xEB };
WinAPI.WriteBytes((IntPtr)p_Silkroad.Handle, 0x633D6C, AlreadyExecuted, AlreadyExecuted.Length);

Pattern pattern = new Pattern(p_Silkroad);
uint ClientSeedAdress = pattern.FindPattern("55 8B 6C 24 1C 8D 44 24 04 50 FF 15 00 00 00 00 8B 4C 24 04 81 E1 00 00 00 00", "xxxxxxxxxxxx????xxxxxx????") + 0x10;

ASM asm = new ASM();
asm.__ASM("MOV ECX,0x33");
for (byte i = 0; i < 5; i++)
asm.__ASM("NOP");
asm.InjectIntoProcess(p_Silkroad.Handle, ClientSeedAdress);

WinAPI.CloseHandle(Mutex);
WinAPI.CloseHandle(Mutex2);

}
else
AddLog("You need to select the sro_client first!");
}
when i was start sro_client write ıd pw failed connect C8 . where the problem i don't understand i am waiting help for me ..
or any one know the how to connect with edxLoader code in C#. Please i am waiting for Comment..!
09/11/2012 20:47 ZeraPain#2
C8 means wrong client locale, you will have to edit this line with the locale of the client you're using
p_Silkroad.StartInfo.Arguments = "0 /4 0 0";
09/11/2012 22:24 worldgs#3
what i will try ?

0 \ 22 0 0 work but when start char auto closed sro
09/12/2012 11:11 ZeraPain#4
Well depending on your program you may send some corrupt packets which will crash the client...
09/12/2012 12:33 worldgs#5
how i started sro client with edxLoader what the code in C# ? :( my bot will finished .. just start sro client problem . working clientless and another..