| View previous topic :: View next topic |
| Author |
Message |
ZenX Grandmaster Cheater Supreme
Reputation: 1
Joined: 26 May 2007 Posts: 1021 Location: ">>Pointer<<" : Address 00400560 Offset :1FE
|
|
| Back to top |
|
 |
DeletedUser14087 I post too much
Reputation: 2
Joined: 21 Jun 2006 Posts: 3069
|
Posted: Mon Nov 19, 2007 8:07 pm Post subject: |
|
|
Just a question, what happend you moved from Delphi to C# ? i know you used to love Delphi so much ;s
Renko moved to C and you moved to C#, damnet who's left on Delphi except me ?!
guess i'll have to move on to C++ =/
|
|
| Back to top |
|
 |
ZenX Grandmaster Cheater Supreme
Reputation: 1
Joined: 26 May 2007 Posts: 1021 Location: ">>Pointer<<" : Address 00400560 Offset :1FE
|
Posted: Mon Nov 19, 2007 8:35 pm Post subject: |
|
|
Delphi is horrible now!
Not many people use it(That i know of).
_________________
CEF Moderator since 2007 ^_^
ZenX-Engine |
|
| Back to top |
|
 |
samuri25404 Grandmaster Cheater
Reputation: 7
Joined: 04 May 2007 Posts: 955 Location: Why do you care?
|
Posted: Mon Nov 19, 2007 9:13 pm Post subject: |
|
|
Weren't we supposed to make a game ourselves? ;)
Anyways, I'd be interested in this. Lemme know if you'd be interested in letting me partner up with you again. ;)
|
|
| Back to top |
|
 |
ZenX Grandmaster Cheater Supreme
Reputation: 1
Joined: 26 May 2007 Posts: 1021 Location: ">>Pointer<<" : Address 00400560 Offset :1FE
|
|
| Back to top |
|
 |
samuri25404 Grandmaster Cheater
Reputation: 7
Joined: 04 May 2007 Posts: 955 Location: Why do you care?
|
Posted: Mon Nov 19, 2007 9:19 pm Post subject: |
|
|
Sounds good.
You wanna rar up the source and PM it to me?
~~
I'm going to take a wild guess that you are director/lead developer, and obviously I am to take a position. What is in need of doing?
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
|
| Back to top |
|
 |
ZenX Grandmaster Cheater Supreme
Reputation: 1
Joined: 26 May 2007 Posts: 1021 Location: ">>Pointer<<" : Address 00400560 Offset :1FE
|
Posted: Mon Nov 19, 2007 9:28 pm Post subject: |
|
|
| samuri25404 wrote: | Sounds good.
You wanna rar up the source and PM it to me?
~~
I'm going to take a wild guess that you are director/lead developer, and obviously I am to take a position. What is in need of doing? |
Yeah, The source is about 400mb, so ill pm you the link tommorow(Going to take a hella long time).
Anywho, What im currently going to be adding is
*Missions
*New Options
==Boost
==Other Cool Accessories
_________________
CEF Moderator since 2007 ^_^
ZenX-Engine |
|
| Back to top |
|
 |
samuri25404 Grandmaster Cheater
Reputation: 7
Joined: 04 May 2007 Posts: 955 Location: Why do you care?
|
Posted: Mon Nov 19, 2007 9:50 pm Post subject: |
|
|
Jesus--400 mb?
Wtf?
Edit:
I just noticed the testing thing; here's a sample of my work (and here I mean mine, by myself, though I do have the resource of my dad available if need be).
| Code: |
using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
namespace System.Hax
{
public static class MemoryEditing
{
private static class API
{
// constants information can be found in <winnt.h>
[Flags]
public enum ProcessAccessType
{
PROCESS_TERMINATE = (0x0001),
PROCESS_CREATE_THREAD = (0x0002),
PROCESS_SET_SESSIONID = (0x0004),
PROCESS_VM_OPERATION = (0x0008),
PROCESS_VM_READ = (0x0010),
PROCESS_VM_WRITE = (0x0020),
PROCESS_DUP_HANDLE = (0x0040),
PROCESS_CREATE_PROCESS = (0x0080),
PROCESS_SET_QUOTA = (0x0100),
PROCESS_SET_INFORMATION = (0x0200),
PROCESS_QUERY_INFORMATION = (0x0400)
}
[DllImport("kernel32.dll")]
public static extern IntPtr OpenProcess(UInt32 dwDesiredAccess, Int32 bInheritHandle, UInt32 dwProcessId);
[DllImport("kernel32.dll")]
public static extern Int32 CloseHandle(IntPtr hObject);
[DllImport("kernel32.dll")]
public static extern Int32 ReadProcessMemory(IntPtr hProcess, IntPtr lpBaseAddress, [In, Out] byte[] buffer, UInt32 size, out IntPtr lpNumberOfBytesRead);
[DllImport("kernel32.dll")]
public static extern Int32 WriteProcessMemory(IntPtr hProcess, IntPtr lpBaseAddress, [In, Out] byte[] buffer, UInt32 size, out IntPtr lpNumberOfBytesWritten);
}
public static class Memory
{
public static byte[] ReadProcessMemory(IntPtr MemoryAddress, uint SizeInBytes, out int bytesRead)
{
byte[] buffer = new byte[SizeInBytes];
IntPtr ptrBytesRead;
API.ReadProcessMemory(m_hProcess, MemoryAddress, buffer, SizeInBytes, out ptrBytesRead);
bytesRead = ptrBytesRead.ToInt32();
return buffer;
}
public static void WriteProcessMemory(IntPtr Address, byte[] BytesToWrite)
{
IntPtr ptrBytesWritten;
API.WriteProcessMemory(m_hProcess, Address, BytesToWrite, (uint)BytesToWrite.Length, out ptrBytesWritten);
}
}
public static class Opcode
{
public static Byte[] GetByOpcode(string Opcode)
{
System.Windows.Forms.MessageBox.Show("This feature is not supported in this version, \r\n" +
"Please wait for future versions (this crap is freaking hard if you've ever popped open \r\n" +
"assemblerunit.pas for CE--and I'm not even really a Delphi guy! D= \r\n" +
"Anyays, if anyone would be kind enough to help me with this, I would be very greatAfull.");
return null;
}
public static void SetOpcode(IntPtr Address, byte[] AOB)
{
IntPtr ptrBytesWritten;
API.WriteProcessMemory(m_hProcess, Address, AOB, (uint)BytesToWrite.Length, out ptrBytesWritten);
}
}
public static class Registers
{
//Not yet! =)
}
public static Process ReadProcess
{
get
{
return m_ReadProcess;
}
set
{
m_ReadProcess = value;
}
}
private static Process m_ReadProcess = null;
private static IntPtr m_hProcess = IntPtr.Zero;
public static bool Attatch(string ProcessName)
{
try
{
Process[] p = Process.GetProcessesByName(ProcessName);
ReadProcess = p[0];
OpenProcess();
}
catch (Exception e)
{
System.Windows.Forms.MessageBox.Show("Error in attatching : " + e.ToString()); //It's nasty, but it works
return false;
}
return true; //Everything went ok
}
public static IntPtr GetProcessID(string WindowName)
{
Process[] Procs = Process.GetProcessesByName(WindowName);
Process p = Procs[0]; //First instance
return (IntPtr)p.Id;
}
public static void OpenProcess()
{
API.ProcessAccessType access;
access = API.ProcessAccessType.PROCESS_VM_READ
| API.ProcessAccessType.PROCESS_VM_WRITE
| API.ProcessAccessType.PROCESS_VM_OPERATION;
m_hProcess = API.OpenProcess((uint)access, 1, (uint)m_ReadProcess.Id);
}
public static void CloseHandle()
{
int iRetValue;
iRetValue = API.CloseHandle(m_hProcess);
if (iRetValue == 0)
throw new Exception("CloseHandle failed");
}
}
}
|
This is part of a framework that I'm making, for creating hacks.
I'm getting close to being done (right now I'm talking to DB about his debugreg algorithm, so I can implement that in C#.
Edit again:
A lot of work can be done with just the binary.
You should compress the files included with the project (if you really want to include them). Btw, I get an error when it loads up--turns out you need the XLM (or whatever) framework to run this. Oh joy.
|
|
| Back to top |
|
 |
ZenX Grandmaster Cheater Supreme
Reputation: 1
Joined: 26 May 2007 Posts: 1021 Location: ">>Pointer<<" : Address 00400560 Offset :1FE
|
|
| Back to top |
|
 |
samuri25404 Grandmaster Cheater
Reputation: 7
Joined: 04 May 2007 Posts: 955 Location: Why do you care?
|
Posted: Tue Nov 20, 2007 10:37 am Post subject: |
|
|
| ZenX wrote: | XNA Framework is required to Play it :P.
Any6who, Nice job, that code looks very complex, and looks as if you have a great knowledge of C#. |
As if? Are you trying to say something here?
|
|
| Back to top |
|
 |
HomerSexual Grandmaster Cheater Supreme
Reputation: 5
Joined: 03 Feb 2007 Posts: 1657
|
Posted: Tue Nov 20, 2007 11:03 am Post subject: |
|
|
It was a complement
_________________
|
|
| Back to top |
|
 |
samuri25404 Grandmaster Cheater
Reputation: 7
Joined: 04 May 2007 Posts: 955 Location: Why do you care?
|
Posted: Tue Nov 20, 2007 12:01 pm Post subject: |
|
|
Ok--"as if" seems like it LOOKS like I'm a good C# developer, but really am not.
=P
|
|
| Back to top |
|
 |
HomerSexual Grandmaster Cheater Supreme
Reputation: 5
Joined: 03 Feb 2007 Posts: 1657
|
Posted: Tue Nov 20, 2007 12:40 pm Post subject: |
|
|
as if means that with that little snippet of code, that you are a c# programmer. You can't tell by one snippet of code >.>
Also, work on programming style for the project. this is for zenx and anyone working with him. When you work on a team you have to develop near same style to work well. Also, comment every 10 lines of code or so.
_________________
|
|
| Back to top |
|
 |
samuri25404 Grandmaster Cheater
Reputation: 7
Joined: 04 May 2007 Posts: 955 Location: Why do you care?
|
Posted: Tue Nov 20, 2007 1:04 pm Post subject: |
|
|
Well to a good C# developer (for whom the source is for), it would be easily understood.
Have you opened any of DB's *.pas files?
|
|
| Back to top |
|
 |
|