Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online
You last visited: Today at 03:33

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

Advertisement



Need some help [VB.NET]

Discussion on Need some help [VB.NET] within the Silkroad Online forum part of the Popular Games category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2009
Posts: 364
Received Thanks: 53
Need some help [VB.NET]

Heey ppl
Im coding a loader for RSro for sharing on E*pvp
But I cant get something to work
I keep getting the error "please execute silkroad.exe""
so i injected this code :

WriteProcessMemory(SroProcessHandle, &H7697EC, &HEB, 1, 0)
I have the right address i guess
but I keep getting the same error :S
this is the Olly code
007697EC |. 75 1F JNZ SHORT sro_clie.0076980D

Can anyone tell me what im doing wrong ? ^^
thenetherlands is offline  
Old 12/29/2009, 23:14   #2
 
elite*gold: 0
Join Date: May 2009
Posts: 364
Received Thanks: 53
BUMP
thenetherlands is offline  
Old 12/29/2009, 23:39   #3
 
InvincibleNoOB's Avatar
 
elite*gold: 20
Join Date: Mar 2007
Posts: 4,277
Received Thanks: 2,990
There's no need to modify memory.

C#:
Code:
        [DllImport("kernel32.dll")]
        static private extern IntPtr CreateMutex(IntPtr lpMutexAttributes, bool bInitialOwner
        [DllImport("kernel32.dll", SetLastError = true)]
        [return: MarshalAs(UnmanagedType.Bool)]
        static extern bool CloseHandle(IntPtr hObject);

        private Process __SRClient;
        public IntPtr __Handle { get; private set; };

....

        private void Run(string path){
            IntPtr mut1 = CreateMutex(IntPtr.Zero, false, "Silkroad Online Launcher");
            IntPtr mut2 = CreateMutex(IntPtr.Zero, false, "Ready");

            ProcessStartInfo __info = new ProcessStartInfo();
            __info.FileName = path;
            __info.UseShellExecute = false;
            __info.WindowStyle = ProcessWindowStyle.Normal;
            __info.Arguments = "0 /23 0 1"; //0x17 for vsro //0x12 for isro
            __SRClient = Process.Start(__info);
            __Handle = __SRClient.Handle;
        }
Don't forget to call CloseHandle after you're done.

Avoid bumping in this section,only in black market.
InvincibleNoOB is offline  
Old 12/30/2009, 00:11   #4
 
elite*gold: 0
Join Date: May 2009
Posts: 364
Received Thanks: 53
Quote:
Originally Posted by InvincibleNoOB View Post
There's no need to modify memory.

C#:
Code:
        [DllImport("kernel32.dll")]
        static private extern IntPtr CreateMutex(IntPtr lpMutexAttributes, bool bInitialOwner
        [DllImport("kernel32.dll", SetLastError = true)]
        [return: MarshalAs(UnmanagedType.Bool)]
        static extern bool CloseHandle(IntPtr hObject);

        private Process __SRClient;
        public IntPtr __Handle { get; private set; };

....

        private void Run(string path){
            IntPtr mut1 = CreateMutex(IntPtr.Zero, false, "Silkroad Online Launcher");
            IntPtr mut2 = CreateMutex(IntPtr.Zero, false, "Ready");

            ProcessStartInfo __info = new ProcessStartInfo();
            __info.FileName = path;
            __info.UseShellExecute = false;
            __info.WindowStyle = ProcessWindowStyle.Normal;
            __info.Arguments = "0 /23 0 1"; //0x17 for vsro //0x12 for isro
            __SRClient = Process.Start(__info);
            __Handle = __SRClient.Handle;
        }
Don't forget to call CloseHandle after you're done.

Avoid bumping in this section,only in black market.
Thnx for your help
Im gonna try to translate this to Visual basic . net
What you gave is C#:P
Thnx anyway i will try to do what i can
thenetherlands is offline  
Reply




All times are GMT +1. The time now is 03:33.


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.