Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Coding Corner
You last visited: Today at 06:15

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

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.

Reply
 
Old 07/20/2011, 21:58   #16
 
bootdisk's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 134
Received Thanks: 41
"Read" is defined?
could you post the errors?
bootdisk is offline  
Old 07/21/2011, 13:35   #17
 
vitalka's Avatar
 
elite*gold: 0
Join Date: May 2007
Posts: 160
Received Thanks: 23
it shows me german error, but something with read
vitalka is offline  
Old 07/21/2011, 17:01   #18
 
bootdisk's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 134
Received Thanks: 41
perhaps you're missing 'Read' definition... at that url there is just an small snippet.
Did that guy release a library or something like that?

*although I'm not german, if you post it here someone will translate it.
bootdisk is offline  
Old 07/21/2011, 21:28   #19
 
vitalka's Avatar
 
elite*gold: 0
Join Date: May 2007
Posts: 160
Received Thanks: 23
I had send a email his answer was:

The Read<byte[]> is just a managed wrapper for ReadProcessMemory
vitalka is offline  
Old 07/22/2011, 10:02   #20
 
lesderid's Avatar
 
elite*gold: 0
Join Date: Dec 2007
Posts: 2,400
Received Thanks: 1,517
Quote:
Originally Posted by vitalka View Post
I had send a email his answer was:

The Read<byte[]> is just a managed wrapper for ReadProcessMemory
So recreate it with P/Invoke?
lesderid is offline  
Old 07/22/2011, 15:37   #21
 
vitalka's Avatar
 
elite*gold: 0
Join Date: May 2007
Posts: 160
Received Thanks: 23
really!! i dont know ;/
vitalka is offline  
Old 07/29/2011, 22:57   #22

 
sarkoplata's Avatar
 
elite*gold: 166
Join Date: Apr 2009
Posts: 2,339
Received Thanks: 2,661
To Oriya and benco...
I start the sro_client with the code at first page , posted by oriya.
I want to change the title of sro_client and i use
Code:
SetWindowText(p.MainWindowHandle , "example" )
But sometimes it work , sometimes it doesnt , really there is no point , just random.
Anything to solve this?
sarkoplata is offline  
Old 07/29/2011, 23:46   #23
 
elite*gold: 0
Join Date: May 2007
Posts: 99
Received Thanks: 39
wait until window is not showed with Thread.Sleep(x) before to call SetWindowText
exemple : Thread.Sleep(1000);
benco is offline  
Old 07/30/2011, 00:11   #24

 
sarkoplata's Avatar
 
elite*gold: 166
Join Date: Apr 2009
Posts: 2,339
Received Thanks: 2,661
Quote:
Originally Posted by benco View Post
wait until window is not showed with Thread.Sleep(x) before to call SetWindowText
exemple : Thread.Sleep(1000);
I already do it after i login to game. I added it to a button..
sarkoplata is offline  
Old 07/30/2011, 00:59   #25
 
elite*gold: 0
Join Date: May 2007
Posts: 99
Received Thanks: 39
i have tested and it works great, tryt this code :
<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, "b3nc0") Then
Debug.Print("ok")
End If
End Sub
benco is offline  
Thanks
1 User
Old 07/30/2011, 01:11   #26

 
sarkoplata's Avatar
 
elite*gold: 166
Join Date: Apr 2009
Posts: 2,339
Received Thanks: 2,661
Quote:
Originally Posted by benco View Post
i have tested and it works great, tryt this code :
<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, "b3nc0") Then
Debug.Print("ok")
End If
End Sub
Well , it should already work because you search for sro_clients and select the first one. I want to change the name of the client which has started from my tool.But , i will try yours setwindowtext func.
sarkoplata is offline  
Old 07/30/2011, 01:15   #27
 
elite*gold: 0
Join Date: May 2007
Posts: 99
Received Thanks: 39
Quote:
Originally Posted by sarkoplata View Post
Well , it should already work because you search for sro_clients and select the first one. I want to change the name of the client which has started from my tool.But , i will try yours setwindowtext func.
yes I use search but you can use your p.MainWindowHandle.
benco is offline  
Old 07/30/2011, 01:26   #28

 
sarkoplata's Avatar
 
elite*gold: 166
Join Date: Apr 2009
Posts: 2,339
Received Thanks: 2,661
Quote:
Originally Posted by benco View Post
yes I use search but you can use your p.MainWindowHandle.
The strange thing is , it sometimes work sometimes doesnt. I check p.Mainwindowhandle , even though it's not 0 , sometimes it doesnt work.
And i worry about the gameguard because when i hit start gg + sro_client opens in the same time so it may take the handle of gg?
sarkoplata is offline  
Old 07/30/2011, 01:37   #29
 
elite*gold: 0
Join Date: May 2007
Posts: 99
Received Thanks: 39
i have tested on CSRO, maybe GG deny access to setwindowtext
benco is offline  
Old 07/30/2011, 01:46   #30

 
sarkoplata's Avatar
 
elite*gold: 166
Join Date: Apr 2009
Posts: 2,339
Received Thanks: 2,661
Quote:
Originally Posted by benco View Post
i have tested on CSRO, maybe GG deny access to setwindowtext
I disable GG
sarkoplata is offline  
Reply


Similar Threads 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 +1. The time now is 06:15.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.