Register for your free account! | Forgot your password?

You last visited: Today at 14:56

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Help Please

Discussion on Help Please within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2012
Posts: 14
Received Thanks: 0
Exclamation Help Please

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..!
worldgs is offline  
Old 09/11/2012, 20:47   #2
 
ZeraPain's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 360
Received Thanks: 249
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";
ZeraPain is offline  
Old 09/11/2012, 22:24   #3
 
elite*gold: 0
Join Date: Jul 2012
Posts: 14
Received Thanks: 0
what i will try ?

0 \ 22 0 0 work but when start char auto closed sro
worldgs is offline  
Old 09/12/2012, 11:11   #4
 
ZeraPain's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 360
Received Thanks: 249
Well depending on your program you may send some corrupt packets which will crash the client...
ZeraPain is offline  
Old 09/12/2012, 12:33   #5
 
elite*gold: 0
Join Date: Jul 2012
Posts: 14
Received Thanks: 0
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..
worldgs is offline  
Reply




All times are GMT +1. The time now is 14:56.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.