|
You last visited: Today at 04:40
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/02/2011, 09:33
|
#1
|
elite*gold: 0
Join Date: May 2007
Posts: 160
Received Thanks: 23
|
C# FindPattern make an example pls
1
|
|
|
07/02/2011, 12:47
|
#2
|
elite*gold: 12
Join Date: Oct 2009
Posts: 290
Received Thanks: 194
|
It's possible, you can hook winsock with .NET as well, but that's bad. But you can easily change the IP in the Media.pk2 then start the client on the normal way.
To find memory addresses you can use OllyDbg or some easier tools like T-Search or CheatEngine.
To work with these memory addresses you can use the kernel32.dll:
|
|
|
07/02/2011, 14:22
|
#3
|
elite*gold: 0
Join Date: May 2007
Posts: 160
Received Thanks: 23
|
I want to search the memory adresses after each update WITH my C# code and not with manually with OllyDBG.
I want a program in C# who works like the edxLoader. Not only with WriteProcessMemory
|
|
|
07/16/2011, 20:11
|
#4
|
elite*gold: 0
Join Date: May 2007
Posts: 160
Received Thanks: 23
|
push
|
|
|
07/16/2011, 20:38
|
#5
|
elite*gold: 0
Join Date: Feb 2009
Posts: 1,064
Received Thanks: 539
|
Quote:
Originally Posted by vitalka
push
|
bump*
|
|
|
07/18/2011, 14:52
|
#6
|
elite*gold: 0
Join Date: Sep 2010
Posts: 134
Received Thanks: 41
|
chea77er is right.
This thing of 'patterns'/'signatures' is commonly used to apply patches, to make your tool non-dependant of a certain version of the executable for instance.
It just searches for some code bytes that might be likely be always in the same sequence and returns the address.
From there you can do whatever you want.
If you have never tried this before, try to find the signature/pattern of 'Please, execute the Silkroad.exe' message and apply a patch to bypass it.
Once you've achieved that you will understand better the whole thing... as everything in life, it looks complicated but it's not.
don't give up!
|
|
|
07/18/2011, 17:03
|
#7
|
elite*gold: 94
Join Date: Mar 2007
Posts: 569
Received Thanks: 1,496
|
Quote:
Originally Posted by bootdisk
If you have never tried this before, try to find the signature/pattern of 'Please, execute the Silkroad.exe' message and apply a patch to bypass it.
|
To bypass the launcher you don't need any memory editing, .NET has Mutex in the System.Threading namespace.
C#:
Code:
using System.Threading;
using System.Diagnostics;
Code:
string Path = "C:\\Program Files (x86)\\Mail.ru\\SilkRoad Online\\sro_client.exe";
Mutex Mutex1 = new Mutex(false, "Silkroad Online Launcher");
Mutex1.WaitOne();
Mutex Mutex2 = new Mutex(false, "Ready");
Mutex2.WaitOne();
Process p = new Process();
p.StartInfo.FileName = Path;
p.StartInfo.Arguments = " 0 /38 0 0";
p.Start();
while (p.MainWindowHandle == IntPtr.Zero)
{
Application.DoEvents();
Thread.Sleep(1);
}
Mutex1 = null;
Mutex2 = null;
VB.NET:
Code:
Imports System.Threading
Code:
Dim Path As String = "C:\Program Files (x86)\Mail.ru\SilkRoad Online\sro_client.exe"
Dim Mutex1 As New Mutex(False, "Silkroad Online Launcher")
Mutex1.WaitOne()
Dim Mutex2 As New Mutex(False, "Ready")
Mutex2.WaitOne()
Dim p As New Process
p.StartInfo.FileName = Path
p.StartInfo.Arguments = " 0 /38 0 0"
p.Start()
While p.MainWindowHandle = 0
Application.DoEvents()
Thread.Sleep(1)
End While
Mutex1 = Nothing
Mutex2 = Nothing
This is just a simple example of course.
|
|
|
07/18/2011, 17:14
|
#8
|
elite*gold: 0
Join Date: Sep 2010
Posts: 134
Received Thanks: 41
|
Quote:
Originally Posted by Oriya9
To bypass the launcher you don't need any memory editing, .NET has Mutex in the System.Threading namespace.
|
Mutexes are part of the win32 api, sure .Net will have that. 
I prefer the patches, at some point you will need to do them, perhaps for C inlining or asm.
And he was asking about FindPattern or FindSignatures, not a launcher...
The suppress of the 'Please...' message is a good way of learning how to.
|
|
|
07/18/2011, 17:38
|
#9
|
elite*gold: 0
Join Date: Dec 2007
Posts: 2,400
Received Thanks: 1,517
|
Quote:
Originally Posted by Oriya9
To bypass the launcher you don't need any memory editing, .NET has Mutex in the System.Threading namespace.
*Examples*
|
He was just trying to make a point, how signatures work.
But thanks, didn't know .Net had Mutex. ^^
|
|
|
07/19/2011, 13:22
|
#10
|
elite*gold: 0
Join Date: May 2007
Posts: 99
Received Thanks: 39
|
Don't do :
Mutex1 = null;
Mutex2 = null;
use :
Mutex1.Close()
Mutex1.Dispose()
Mutex2.Close()
Mutex2.Dispose()
|
|
|
07/19/2011, 14:21
|
#11
|
elite*gold: 94
Join Date: Mar 2007
Posts: 569
Received Thanks: 1,496
|
Quote:
Originally Posted by benco
Don't do :
Mutex1 = null;
Mutex2 = null;
use :
Mutex1.Close()
Mutex1.Dispose()
Mutex2.Close()
Mutex2.Dispose()
|
Mutex is not a resource, it's an API, you can't close or dispose it.
setting the variable to null will release the API command line, you don't even have to do this if the sub ends somewhere (if there's no loop or something).
|
|
|
07/19/2011, 20:15
|
#12
|
elite*gold: 0
Join Date: May 2007
Posts: 99
Received Thanks: 39
|
Mutex is a class in .NET not an API function... if his application is open every time he should dispose the instance of this classe for multiple launching.
read msdn Mutext :
|
|
|
07/20/2011, 01:12
|
#13
|
elite*gold: 0
Join Date: Feb 2008
Posts: 3,777
Received Thanks: 1,455
|
one another question
My loader from oriya9 code work , but the problem is sro_client is hidden
I mean espically in esro
in isro i can see sro_Client but in this i cant
You know how to show it , so i can do hide and show features to the loader
|
|
|
07/20/2011, 14:50
|
#14
|
elite*gold: 94
Join Date: Mar 2007
Posts: 569
Received Thanks: 1,496
|
Quote:
Originally Posted by benco
Mutex is a class in .NET not an API function... if his application is open every time he should dispose the instance of this classe for multiple launching.
read msdn Mutext :

|
You are right, sorry, I must have been confused with something else.
@UP
Must be a GG related issue with your system, it is working for me.
|
|
|
07/20/2011, 21:24
|
#15
|
elite*gold: 0
Join Date: May 2007
Posts: 160
Received Thanks: 23
|
ive found a really simple code snippet for findpattern, but i dont know why it doesnt work in Visual C# 2008:
Can someone test it?
|
|
|
 |
|
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 04:40.
|
|