|
You last visited: Today at 06:31
Advertisement
C# Redirect IP and Search Memory Adresses?
Discussion on C# Redirect IP and Search Memory Adresses? within the SRO Coding Corner forum part of the Silkroad Online category.
07/30/2011, 09:57
|
#31
|
elite*gold: 0
Join Date: Dec 2007
Posts: 2,400
Received Thanks: 1,517
|
How do you get your window handle?
|
|
|
07/30/2011, 10:19
|
#32
|
elite*gold: 0
Join Date: May 2007
Posts: 99
Received Thanks: 39
|
it's weird, I will try it with isro
|
|
|
07/30/2011, 12:04
|
#33
|
elite*gold: 166
Join Date: Apr 2009
Posts: 2,339
Received Thanks: 2,654
|
Quote:
Originally Posted by lesderid
How do you get your window handle?
|
p.MainWindowHandle
|
|
|
07/30/2011, 13:04
|
#34
|
elite*gold: 0
Join Date: May 2007
Posts: 99
Received Thanks: 39
|
i have tested and it works great with GG look :
|
|
|
07/30/2011, 13:07
|
#35
|
elite*gold: 166
Join Date: Apr 2009
Posts: 2,339
Received Thanks: 2,654
|
Quote:
Originally Posted by benco
i have tested and it works great with GG look :
|
Can i see your code to start client if its not problem ?
|
|
|
07/30/2011, 13:24
|
#36
|
elite*gold: 0
Join Date: May 2007
Posts: 99
Received Thanks: 39
|
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
post your code please
|
|
|
07/30/2011, 13:28
|
#37
|
elite*gold: 166
Join Date: Apr 2009
Posts: 2,339
Received Thanks: 2,654
|
Code:
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.
|
|
|
07/30/2011, 14:03
|
#38
|
elite*gold: 0
Join Date: May 2007
Posts: 99
Received Thanks: 39
|
Quote:
Originally Posted by sarkoplata
Code:
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.
|
try this :
PHP Code:
Imports System.Diagnostics Imports System.Runtime.InteropServices Imports System.Threading 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
It works great for me, I don't have problems
|
|
|
07/30/2011, 14:45
|
#39
|
elite*gold: 166
Join Date: Apr 2009
Posts: 2,339
Received Thanks: 2,654
|
@benco
Even though i message box the mainwindowhandle and the value isn't 0 , window text is same. I think mainwindowhandle is WRONG but how.
|
|
|
07/30/2011, 14:57
|
#40
|
elite*gold: 0
Join Date: May 2007
Posts: 99
Received Thanks: 39
|
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
|
|
|
07/30/2011, 15:12
|
#41
|
elite*gold: 166
Join Date: Apr 2009
Posts: 2,339
Received Thanks: 2,654
|
Quote:
Originally Posted by benco
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.)
|
|
|
07/30/2011, 15:16
|
#42
|
elite*gold: 0
Join Date: May 2007
Posts: 99
Received Thanks: 39
|
when did you click button2 ?
|
|
|
07/30/2011, 15:30
|
#43
|
elite*gold: 166
Join Date: Apr 2009
Posts: 2,339
Received Thanks: 2,654
|
Quote:
Originally Posted by benco
when did you click button2 ?
|
after i spawn ingame.
|
|
|
07/30/2011, 16:02
|
#44
|
elite*gold: 0
Join Date: May 2007
Posts: 99
Received Thanks: 39
|
i don't know what's the problem. It works with my sro & GG enabled. did you solved problem ?
|
|
|
08/06/2015, 18:02
|
#45
|
elite*gold: 0
Join Date: Feb 2008
Posts: 56
Received Thanks: 4
|
its gives me C8 error , i managed to lucnh but not log in
|
|
|
|
|
Similar Threads
|
[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...
|
All times are GMT +2. The time now is 06:31.
|
|