the code is same to up :
<DllImport("user32.dll")> _
Public Function SetWindowText(ByVal hdl As IntPtr, ByVal title As String) As Boolean
End Function
Sub Main()
Dim prc As Process = Process.GetProcessesByName("sro_client")(0)
If SetWindowText(prc.MainWindowHandle, "Tati") Then
Debug.Print("ok")
End If
End Sub
Private Sub btn_StartClient_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_StartClient.Click
Proxy.Str.Start()
Thread.Sleep(10)
Connected = True
Dim Path As String = "E:\EliteSilkRoad[GameGuardNopped]\sro_client.exe"
Dim Mutex1 As New Mutex(False, "Silkroad Online Launcher")
Mutex1.WaitOne()
Dim Mutex2 As New Mutex(False, "Ready")
Mutex2.WaitOne()
Me.p.StartInfo.FileName = Path
Me.p.StartInfo.Arguments = " 0 /38 0 0"
Me.p.Start()
While Me.p.MainWindowHandle = IntPtr.Zero
Application.DoEvents()
End While
Mutex1.Close()
Mutex1.Dispose()
Mutex2.Close()
Mutex2.Dispose()
End Sub
Code:
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
SetWindowText(Me.p.MainWindowHandle, "TESTSTRING")
End Sub
I press button2 after i login to game.
Btw searching and choosing the (0)th one of sro_client's doesnt help me . Because my tool is based on multi-client.
Private Sub btn_StartClient_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_StartClient.Click
Proxy.Str.Start()
Thread.Sleep(10)
Connected = True
Dim Path As String = "E:\EliteSilkRoad[GameGuardNopped]\sro_client.exe"
Dim Mutex1 As New Mutex(False, "Silkroad Online Launcher")
Mutex1.WaitOne()
Dim Mutex2 As New Mutex(False, "Ready")
Mutex2.WaitOne()
Me.p.StartInfo.FileName = Path
Me.p.StartInfo.Arguments = " 0 /38 0 0"
Me.p.Start()
While Me.p.MainWindowHandle = IntPtr.Zero
Application.DoEvents()
End While
Mutex1.Close()
Mutex1.Dispose()
Mutex2.Close()
Mutex2.Dispose()
End Sub
Code:
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
SetWindowText(Me.p.MainWindowHandle, "TESTSTRING")
End Sub
I press button2 after i login to game.
Btw searching and choosing the (0)th one of sro_client's doesnt help me . Because my tool is based on multi-client.
Public Class Form1
<DllImport("user32.dll")> _
Public Shared Function SetWindowText(ByVal hdl As IntPtr, ByVal title As String) As Boolean
End Function
Private p As Process
Private Const pathSro As String = "E:\Games\ISilkroad\sro_client.exe"
Public Sub New()
InitializeComponent()
End Sub
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
End Sub
Private Sub _StartSro_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles _StartSro.Click
Dim Mutex1 As New Mutex(False, "Silkroad Online Launcher")
Dim Mutex2 As New Mutex(False, "Ready")
p = Process.Start(pathSro, "/18 0 0")
While p.MainWindowHandle = IntPtr.Zero
End While
Mutex1.Close()
Mutex2.Close()
End Sub
Private Sub _SetWindowText_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles _SetWindowText.Click
SetWindowText(p.MainWindowHandle, "xdfff")
End Sub
End Class
did you test with my code ? If not, try it. MainWindowHandle should be different 0.
did u start your application as admin ? test with admin
I tried your and it didnt work as i said.
Ok , i will try as admin and edit my post about did it work or not , ( but i think it wont work . When you start sro with code , gameguard and sro_client are executed together. I think when I hit start client gameguard handle is taken.)
[How To] Search Adresses 01/31/2011 - S4 League Hacks, Bots, Cheats & Exploits - 66 Replies Hi... here i ll post something that i found searching and searching xD.. all the things are public this is the reason of why i post this xD...
TUTORIALS
**************************************
Fake Shop:
Type :text
value: off
Steed Color Adresses in memory[Request] 01/28/2010 - Conquer Online 2 - 1 Replies Hello I am looking for the memory addresses for steed color in the memory using Cheat Engine. So far I've found the red value. I need the green and blue value. If anyone can help me out I will give them the new formula for rare steeds. Thanks!
Memory adresses für Browsergames 04/27/2009 - General Coding - 4 Replies Ich habe ein kleine Problem am besten ich Liste mal auf was ich habe und was nicht ;-)
Ich habe:
das browsergame von dem Ich die Addressen beziehen will
die Addressen (als text ) ausgelesen und gespeichert , habe sie in
einem Autoit Projekt eingebaut und anzeigen lassen ......
und zu meinem erstaunen .......
Autoit zeigt nicht den selben Wert als Text an , wie er eigentlich haben müsste ........
Er zeigt es auch nicht in ascII chars an (habe ich schon überprüft) , kann man addressen...
[Request] Need some help wit memory adresses 07/22/2008 - Conquer Online 2 - 4 Replies Hello EPVP it's been a while that Ive been here, now that im back and playing CO again Im back into cheating haha.
Anyway since cracked SV and all is not allowed here anymore I am thinking of making a memory based bot myself, and i can use some pointers to the right direction.
(Yes i have used search first :) )
Im looking for some current adresses of a few things, for 1 the monster names and theres more to that, I wonder how SV searches for the monsters exactly, because well its unlikely...
Sample of memory search in PW for memory bot learner 02/25/2008 - Perfect World - 6 Replies im learning how to make a memory bot as of know.. im expirience in pixel botin but the mob seacrh for it is quite slow.. ill be using au3 and the include nomadmemory.au3 from nomad in au3 forum. credits to him...
this is my sample of my memory script: it will be good for who wants to learn memory botin and has no available bot in their respective server
#include <Memory.au3>
Global $Pointer = d pointer in 4bytes in whch its store the modId when clicked just search in hex format in 4bytes...