Register for your free account! | Forgot your password?

Go Back   elitepvpers › MMORPGs › 4Story
You last visited: Today at 21:26

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

Advertisement



Coding -> C#

Discussion on Coding -> C# within the 4Story forum part of the MMORPGs category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2009
Posts: 62
Received Thanks: 26
Post Coding -> C#

Heii ich hätte mal ne frage -> wer schreibt seine hacks alles mit C#?
Ich hab nen quellcode aber es gibt noch ein paar probleme die ich nicht selbst lösen kann da ich nicht weiß was falsch ist ...

Wer sich gut mit C# auskennt -> skype:matze_casjopeija

danke ( :
kptoo is offline  
Old   #2
 
elite*gold: 0
Join Date: Mar 2009
Posts: 7,260
Received Thanks: 33,149
Falsche Sektion, aber C&P bewährt sich nie.
KDeluxe is offline  
Old   #3
 
elite*gold: 0
Join Date: Apr 2008
Posts: 495
Received Thanks: 817
Quote:
Originally Posted by kptoo View Post
Heii ich hätte mal ne frage -> wer schreibt seine hacks alles mit C#?
Ich hab nen quellcode aber es gibt noch ein paar probleme die ich nicht selbst lösen kann da ich nicht weiß was falsch ist ...

Wer sich gut mit C# auskennt -> skype:matze_casjopeija

danke ( :
Dann schrieb doch einfach deinen Code hier auf.
Naja, ich habe hier mal ein Beispiel, wie man mithilfe von ReadProcessMemory einen Wert aus einem Pointer ausliest und diesen in einem Label speichert.
Have Fun.
PHP Code:
using System;
using System.Windows.Forms;
using System.Runtime.InteropServices;
using System.Diagnostics;

namespace 
GameHackingFinish
{
    public 
partial class Form1 : Form
    
{
        [
DllImport("kernel32.dll")]
        static 
extern bool ReadProcessMemory(IntPtr hProcess, IntPtr lpBaseAdress, byte[] lpBuffer, UIntPtr nSize, ref uint lpNumberOfWritten);
        [
DllImport("kernel32.dll")]
        static 
extern IntPtr OpenProcess(UInt32 dwDesireAcces, Boolean bIntheritHandle, UInt32 dwProcessId);
        [
DllImport("kernel32.dll")]
        static 
extern bool WriteProcessMemory(IntPtr hProcess, IntPtr lpBaseAdress, byte[] Buffer, UIntPtr nSize, ref uint lpNumberOfWritten);

        
Process[] Solitär_Process = Process.GetProcessesByName("Sol");
        
byte[] bytes = new byte[24];
        
uint size = sizeof(int);
        
uint rw = 0;
        
uint baseAdress = 0x01007170;
        
uint baseOffset = 0x30;

        public 
Form1()
        {
            
InitializeComponent();
        }

        private 
void Form1_Load(object sender, EventArgs e)
        {
            
timer1.Start();
        }

        private 
void timer1_Tick(object sender, EventArgs e)
        {
            
Process Solitär = Solitär_Process[0];
            
IntPtr readHandle = OpenProcess(0x10, false, (uint)Solitär.Id);
            if (
Solitär_Process.Length == 0)
            {
                
MessageBox.Show("Solitär konnte nicht gefunden werden", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
                
timer1.Stop();
                
Application.Exit();
            }

            
//Lesen der Adressen;
            
ReadProcessMemory(readHandle, (IntPtr)baseAdress, bytes, (UIntPtr)size, ref rw);
            
uint baseContent = BitConverter.ToUInt32(bytes, 0);
            
uint baseAdress_2 = baseContent + baseOffset;
            
ReadProcessMemory(readHandle, (IntPtr)baseAdress_2, bytes, (UIntPtr)size, ref rw);
            
int baseContent_2 = BitConverter.ToInt32(bytes, 0);
            
string baseTest = Convert.ToString(baseContent_2);
            
lblPunkte.Text = baseTest;
        }

    }
} 
schnewin is offline  
Reply


Similar Threads Similar Threads
*NEW CODING ART!!!..........:::::~WhiteLight D3D~:::::..........*NEW CODING ART!!!
09/21/2010 - WarRock Hacks, Bots, Cheats & Exploits - 25 Replies
http://250kb.de/u/100911/p/m4buevNCZhoQ.PNG Download: Multiupload.com - upload your files to multiple file hosting sites! VirusScan: VirusTotal - Free Online Virus, Malware and URL Scanner Funktionen: SuperJump Teleport NoSpread NoRecoil
Uce Coding+ winhex coding
03/05/2009 - Dekaron - 8 Replies
i was just wondering is it true if u do coding with winhex is it less dc?? tats all cuz uce coding dcs me alot



All times are GMT +2. The time now is 21:26.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.