Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > General Coding > Coding Tutorials
You last visited: Today at 19:25

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

Advertisement



[Gamehacking] Gamehacking mit C++ für Anfänger.

Discussion on [Gamehacking] Gamehacking mit C++ für Anfänger. within the Coding Tutorials forum part of the General Coding category.

Reply
 
Old 10/19/2011, 21:12   #61
 
Tyrar's Avatar
 
elite*gold: 0
Join Date: Oct 2008
Posts: 1,637
Received Thanks: 1,119
von mir nochmal wie man die pointer liest:
mit ReadProcessMemory ein DWORD (4 byte lang) lesen, offset drauf rechnen, und an dem ergebnis auslesen... wenns ein multilevel pointer is an dem ergebnis das gleiche machen:
ReadProcessMemory an der ersten adresse (DWORD), offset drauf rechnen, DWORD an dem ergebnis lesen, offset davon drauf rechnen, und an diesem ergebnis dann den wert ändern/lesen...
Tyrar is offline  
Old 10/31/2011, 23:00   #62
 
Størm™'s Avatar
 
elite*gold: 0
Join Date: Oct 2011
Posts: 4
Received Thanks: 1
Richtig gutes Tutorial muss ich sagen!

Für Anfänger ist es ideal! ;D
Størm™ is offline  
Old 11/03/2011, 19:42   #63
 
elite*gold: 0
Join Date: Jul 2010
Posts: 40
Received Thanks: 1
noch ne frage:

Ich hab Visual c++ 2010 express und bekomme dauernd folgende fehlermeldung:

1>------ Erstellen gestartet: Projekt: Assassin's Creed Hack, Konfiguration: Debug x64 ------
1> stdafx.cpp
1> Assassin's Creed Hack.cpp
1> AssemblyInfo.cpp
1> Generating Code...
1>Assassin's Creed Hack.obj : error LNK2028: unresolved token (0A000017) "extern "C" int __cdecl WriteProcessMemory(void *,void *,void const *,unsigned __int64,unsigned __int64 *)" (?WriteProcessMemory@@$$J0YAHPEAX0PEBX_KPEA_K@Z) referenced in function "private: void __clrcall AssassinsCreedHack::Form1::timer1_Tick(class System::Object ^,class System::EventArgs ^)" (?timer1_Tick@Form1@AssassinsCreedHack@@$$FAE$AAMX PE$AAVObject@System@@PE$AAVEventArgs@4@@Z)
1>Assassin's Creed Hack.obj : error LNK2028: unresolved token (0A000018) "extern "C" int __cdecl ReadProcessMemory(void *,void const *,void *,unsigned __int64,unsigned __int64 *)" (?ReadProcessMemory@@$$J0YAHPEAXPEBX0_KPEA_K@Z) referenced in function "private: void __clrcall AssassinsCreedHack::Form1::timer1_Tick(class System::Object ^,class System::EventArgs ^)" (?timer1_Tick@Form1@AssassinsCreedHack@@$$FAE$AAMX PE$AAVObject@System@@PE$AAVEventArgs@4@@Z)
1>Assassin's Creed Hack.obj : error LNK2028: unresolved token (0A00001E) "extern "C" void * __cdecl OpenProcess(unsigned long,int,unsigned long)" (?OpenProcess@@$$J0YAPEAXKHK@Z) referenced in function "private: void __clrcall AssassinsCreedHack::Form1::Form1_Load(class System::Object ^,class System::EventArgs ^)" (?Form1_Load@Form1@AssassinsCreedHack@@$$FAE$AAMXP E$AAVObject@System@@PE$AAVEventArgs@4@@Z)
1>Assassin's Creed Hack.obj : error LNK2028: unresolved token (0A00001F) "extern "C" unsigned long __cdecl GetWindowThreadProcessId(struct HWND__ *,unsigned long *)" (?GetWindowThreadProcessId@@$$J0YAKPEAUHWND__@@PEA K@Z) referenced in function "private: void __clrcall AssassinsCreedHack::Form1::Form1_Load(class System::Object ^,class System::EventArgs ^)" (?Form1_Load@Form1@AssassinsCreedHack@@$$FAE$AAMXP E$AAVObject@System@@PE$AAVEventArgs@4@@Z)
1>Assassin's Creed Hack.obj : error LNK2028: unresolved token (0A000021) "extern "C" int __cdecl MessageBoxA(struct HWND__ *,char const *,char const *,unsigned int)" (?MessageBoxA@@$$J0YAHPEAUHWND__@@PEBD1I@Z) referenced in function "private: void __clrcall AssassinsCreedHack::Form1::Form1_Load(class System::Object ^,class System::EventArgs ^)" (?Form1_Load@Form1@AssassinsCreedHack@@$$FAE$AAMXP E$AAVObject@System@@PE$AAVEventArgs@4@@Z)
1>Assassin's Creed Hack.obj : error LNK2028: unresolved token (0A000022) "extern "C" struct HWND__ * __cdecl FindWindowW(wchar_t const *,wchar_t const *)" (?FindWindowW@@$$J0YAPEAUHWND__@@PEB_W0@Z) referenced in function "private: void __clrcall AssassinsCreedHack::Form1::Form1_Load(class System::Object ^,class System::EventArgs ^)" (?Form1_Load@Form1@AssassinsCreedHack@@$$FAE$AAMXP E$AAVObject@System@@PE$AAVEventArgs@4@@Z)
1>Assassin's Creed Hack.obj : error LNK2019: unresolved external symbol "extern "C" void * __cdecl OpenProcess(unsigned long,int,unsigned long)" (?OpenProcess@@$$J0YAPEAXKHK@Z) referenced in function "private: void __clrcall AssassinsCreedHack::Form1::Form1_Load(class System::Object ^,class System::EventArgs ^)" (?Form1_Load@Form1@AssassinsCreedHack@@$$FAE$AAMXP E$AAVObject@System@@PE$AAVEventArgs@4@@Z)
1>Assassin's Creed Hack.obj : error LNK2019: unresolved external symbol "extern "C" unsigned long __cdecl GetWindowThreadProcessId(struct HWND__ *,unsigned long *)" (?GetWindowThreadProcessId@@$$J0YAKPEAUHWND__@@PEA K@Z) referenced in function "private: void __clrcall AssassinsCreedHack::Form1::Form1_Load(class System::Object ^,class System::EventArgs ^)" (?Form1_Load@Form1@AssassinsCreedHack@@$$FAE$AAMXP E$AAVObject@System@@PE$AAVEventArgs@4@@Z)
1>Assassin's Creed Hack.obj : error LNK2019: unresolved external symbol "extern "C" int __cdecl MessageBoxA(struct HWND__ *,char const *,char const *,unsigned int)" (?MessageBoxA@@$$J0YAHPEAUHWND__@@PEBD1I@Z) referenced in function "private: void __clrcall AssassinsCreedHack::Form1::Form1_Load(class System::Object ^,class System::EventArgs ^)" (?Form1_Load@Form1@AssassinsCreedHack@@$$FAE$AAMXP E$AAVObject@System@@PE$AAVEventArgs@4@@Z)
1>Assassin's Creed Hack.obj : error LNK2019: unresolved external symbol "extern "C" struct HWND__ * __cdecl FindWindowW(wchar_t const *,wchar_t const *)" (?FindWindowW@@$$J0YAPEAUHWND__@@PEB_W0@Z) referenced in function "private: void __clrcall AssassinsCreedHack::Form1::Form1_Load(class System::Object ^,class System::EventArgs ^)" (?Form1_Load@Form1@AssassinsCreedHack@@$$FAE$AAMXP E$AAVObject@System@@PE$AAVEventArgs@4@@Z)
1>Assassin's Creed Hack.obj : error LNK2019: unresolved external symbol "extern "C" int __cdecl WriteProcessMemory(void *,void *,void const *,unsigned __int64,unsigned __int64 *)" (?WriteProcessMemory@@$$J0YAHPEAX0PEBX_KPEA_K@Z) referenced in function "private: void __clrcall AssassinsCreedHack::Form1::timer1_Tick(class System::Object ^,class System::EventArgs ^)" (?timer1_Tick@Form1@AssassinsCreedHack@@$$FAE$AAMX PE$AAVObject@System@@PE$AAVEventArgs@4@@Z)
1>Assassin's Creed Hack.obj : error LNK2019: unresolved external symbol "extern "C" int __cdecl ReadProcessMemory(void *,void const *,void *,unsigned __int64,unsigned __int64 *)" (?ReadProcessMemory@@$$J0YAHPEAXPEBX0_KPEA_K@Z) referenced in function "private: void __clrcall AssassinsCreedHack::Form1::timer1_Tick(class System::Object ^,class System::EventArgs ^)" (?timer1_Tick@Form1@AssassinsCreedHack@@$$FAE$AAMX PE$AAVObject@System@@PE$AAVEventArgs@4@@Z)
1>C:\Users\Cybran\Documents\Visual Studio 2010\Projects\Assassin's Creed Hack\x64\Debug\Assassin's Creed Hack.exe : fatal error LNK1120: 12 unresolved externals
========== Erstellen: 0 erfolgreich, Fehler bei 1, 0 aktuell, 0 übersprungen ==========

was mach ich falsch?

hier der code von der Form1.h datei:

Code:
HWND window;
DWORD id;
HANDLE handle;
int Sync;
int MaxSync;
int MaxSyncEdit;
int Max = 2147483647;
short MaxMesser = 999;
DWORD Messer;
DWORD BaseSync = 0x199DA04;
DWORD OffSync[3] = {0x40,0x78,0x14};
DWORD BaseMaxSync = 0x199DA04;
DWORD OffMaxSync[3] = {0x40,0x78,0x18};
DWORD BaseMesser = 0x029C1554;
DWORD OffMesser[3] = {0x8C,0x58,0x158};
DWORD MesserFunc[6] = {0x00CCEC6B,0x00CCEC6C,0x00CCEC6D,0x00CCEC6E,0x00CCEC6F,0x00CCEC70};
DWORD LebenFunc[3] = {0x00D2560F,0x00D25610,0x00D25611};
DWORD NormalMax = 20;
BYTE nop = 0x90;
BYTE MesserOrg[6] = {0x89,0xAE,0x88,0x02,0x00,0x00};
BYTE LebenOrg[3] = {0x89,0x46,0x14};


#pragma once

namespace AssassinsCreedHack {

	using namespace System;
	using namespace System::ComponentModel;
	using namespace System::Collections;
	using namespace System::Windows::Forms;
	using namespace System::Data;
	using namespace System::Drawing;

	/// <summary>
	/// Zusammenfassung für Form1
	/// </summary>
	public ref class Form1 : public System::Windows::Forms::Form
	{
	public:
		Form1(void)
		{
			InitializeComponent();
			//
			//TODO: Konstruktorcode hier hinzufügen.
			//
		}

	protected:
		/// <summary>
		/// Verwendete Ressourcen bereinigen.
		/// </summary>
		~Form1()
		{
			if (components)
			{
				delete components;
			}
		}
	private: System::Windows::Forms::Button^  button1;
	protected: 
	private: System::Windows::Forms::Label^  label1;
	private: System::Windows::Forms::Label^  label2;
	private: System::Windows::Forms::Button^  button2;
	private: System::Windows::Forms::GroupBox^  groupBox1;
	private: System::Windows::Forms::CheckBox^  checkBox1;
	private: System::Windows::Forms::TextBox^  textBox1;
	private: System::Windows::Forms::Label^  label3;
	private: System::Windows::Forms::Button^  button3;
	private: System::Windows::Forms::Timer^  timer1;
	private: System::Windows::Forms::Timer^  timer2;
	private: System::Windows::Forms::Timer^  timer3;
	private: System::Windows::Forms::Timer^  timer4;
	private: System::Windows::Forms::GroupBox^  groupBox2;
	private: System::Windows::Forms::Button^  button4;
	private: System::Windows::Forms::Button^  button5;
	private: System::Windows::Forms::Label^  label5;
	private: System::Windows::Forms::Label^  label4;
	private: System::Windows::Forms::Button^  button6;
	private: System::ComponentModel::IContainer^  components;

	private:
		/// <summary>
		/// Erforderliche Designervariable.
		/// </summary>


#pragma region Windows Form Designer generated code
		/// <summary>
		/// Erforderliche Methode für die Designerunterstützung.
		/// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
		/// </summary>
		void InitializeComponent(void)
		{
			this->components = (gcnew System::ComponentModel::Container());
			System::ComponentModel::ComponentResourceManager^  resources = (gcnew System::ComponentModel::ComponentResourceManager(Form1::typeid));
			this->button1 = (gcnew System::Windows::Forms::Button());
			this->label1 = (gcnew System::Windows::Forms::Label());
			this->label2 = (gcnew System::Windows::Forms::Label());
			this->button2 = (gcnew System::Windows::Forms::Button());
			this->groupBox1 = (gcnew System::Windows::Forms::GroupBox());
			this->checkBox1 = (gcnew System::Windows::Forms::CheckBox());
			this->textBox1 = (gcnew System::Windows::Forms::TextBox());
			this->label3 = (gcnew System::Windows::Forms::Label());
			this->button3 = (gcnew System::Windows::Forms::Button());
			this->timer1 = (gcnew System::Windows::Forms::Timer(this->components));
			this->timer2 = (gcnew System::Windows::Forms::Timer(this->components));
			this->timer3 = (gcnew System::Windows::Forms::Timer(this->components));
			this->timer4 = (gcnew System::Windows::Forms::Timer(this->components));
			this->groupBox2 = (gcnew System::Windows::Forms::GroupBox());
			this->label5 = (gcnew System::Windows::Forms::Label());
			this->label4 = (gcnew System::Windows::Forms::Label());
			this->button5 = (gcnew System::Windows::Forms::Button());
			this->button4 = (gcnew System::Windows::Forms::Button());
			this->button6 = (gcnew System::Windows::Forms::Button());
			this->groupBox1->SuspendLayout();
			this->groupBox2->SuspendLayout();
			this->SuspendLayout();
			// 
			// button1
			// 
			this->button1->Location = System::Drawing::Point(12, 12);
			this->button1->Name = L"button1";
			this->button1->Size = System::Drawing::Size(103, 23);
			this->button1->TabIndex = 0;
			this->button1->Text = L"Unendlich Leben";
			this->button1->UseVisualStyleBackColor = true;
			this->button1->Click += gcnew System::EventHandler(this, &Form1::button1_Click);
			// 
			// label1
			// 
			this->label1->AutoSize = true;
			this->label1->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->label1->ForeColor = System::Drawing::Color::Red;
			this->label1->Location = System::Drawing::Point(121, 17);
			this->label1->Name = L"label1";
			this->label1->Size = System::Drawing::Size(30, 13);
			this->label1->TabIndex = 1;
			this->label1->Text = L"OFF";
			// 
			// label2
			// 
			this->label2->AutoSize = true;
			this->label2->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->label2->ForeColor = System::Drawing::Color::Red;
			this->label2->Location = System::Drawing::Point(121, 46);
			this->label2->Name = L"label2";
			this->label2->Size = System::Drawing::Size(30, 13);
			this->label2->TabIndex = 3;
			this->label2->Text = L"OFF";
			// 
			// button2
			// 
			this->button2->Location = System::Drawing::Point(12, 41);
			this->button2->Name = L"button2";
			this->button2->Size = System::Drawing::Size(103, 23);
			this->button2->TabIndex = 2;
			this->button2->Text = L"Unendlich Messer";
			this->button2->UseVisualStyleBackColor = true;
			this->button2->Click += gcnew System::EventHandler(this, &Form1::button2_Click);
			// 
			// groupBox1
			// 
			this->groupBox1->Controls->Add(this->checkBox1);
			this->groupBox1->Controls->Add(this->textBox1);
			this->groupBox1->Controls->Add(this->label3);
			this->groupBox1->Controls->Add(this->button3);
			this->groupBox1->Location = System::Drawing::Point(12, 82);
			this->groupBox1->Name = L"groupBox1";
			this->groupBox1->Size = System::Drawing::Size(160, 100);
			this->groupBox1->TabIndex = 4;
			this->groupBox1->TabStop = false;
			this->groupBox1->Text = L"Maximales Leben";
			// 
			// checkBox1
			// 
			this->checkBox1->AutoSize = true;
			this->checkBox1->Location = System::Drawing::Point(10, 74);
			this->checkBox1->Name = L"checkBox1";
			this->checkBox1->Size = System::Drawing::Size(58, 17);
			this->checkBox1->TabIndex = 8;
			this->checkBox1->Text = L"Freeze";
			this->checkBox1->UseVisualStyleBackColor = true;
			// 
			// textBox1
			// 
			this->textBox1->Location = System::Drawing::Point(10, 48);
			this->textBox1->Name = L"textBox1";
			this->textBox1->Size = System::Drawing::Size(100, 20);
			this->textBox1->TabIndex = 7;
			this->textBox1->Text = L"2147483647";
			// 
			// label3
			// 
			this->label3->AutoSize = true;
			this->label3->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->label3->ForeColor = System::Drawing::Color::Red;
			this->label3->Location = System::Drawing::Point(119, 24);
			this->label3->Name = L"label3";
			this->label3->Size = System::Drawing::Size(30, 13);
			this->label3->TabIndex = 6;
			this->label3->Text = L"OFF";
			// 
			// button3
			// 
			this->button3->Location = System::Drawing::Point(10, 19);
			this->button3->Name = L"button3";
			this->button3->Size = System::Drawing::Size(103, 23);
			this->button3->TabIndex = 5;
			this->button3->Text = L"MaxLeben";
			this->button3->UseVisualStyleBackColor = true;
			this->button3->Click += gcnew System::EventHandler(this, &Form1::button3_Click);
			// 
			// timer1
			// 
			this->timer1->Tick += gcnew System::EventHandler(this, &Form1::timer1_Tick);
			// 
			// timer2
			// 
			this->timer2->Tick += gcnew System::EventHandler(this, &Form1::timer2_Tick);
			// 
			// timer3
			// 
			this->timer3->Tick += gcnew System::EventHandler(this, &Form1::timer3_Tick);
			// 
			// timer4
			// 
			this->timer4->Tick += gcnew System::EventHandler(this, &Form1::timer4_Tick);
			// 
			// groupBox2
			// 
			this->groupBox2->Controls->Add(this->button6);
			this->groupBox2->Controls->Add(this->label5);
			this->groupBox2->Controls->Add(this->label4);
			this->groupBox2->Controls->Add(this->button5);
			this->groupBox2->Controls->Add(this->button4);
			this->groupBox2->Location = System::Drawing::Point(184, 7);
			this->groupBox2->Name = L"groupBox2";
			this->groupBox2->Size = System::Drawing::Size(125, 174);
			this->groupBox2->TabIndex = 5;
			this->groupBox2->TabStop = false;
			this->groupBox2->Text = L"Beta-Hacks";
			// 
			// label5
			// 
			this->label5->AutoSize = true;
			this->label5->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->label5->ForeColor = System::Drawing::Color::Red;
			this->label5->Location = System::Drawing::Point(50, 123);
			this->label5->Name = L"label5";
			this->label5->Size = System::Drawing::Size(30, 13);
			this->label5->TabIndex = 3;
			this->label5->Text = L"OFF";
			// 
			// label4
			// 
			this->label4->AutoSize = true;
			this->label4->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->label4->ForeColor = System::Drawing::Color::Red;
			this->label4->Location = System::Drawing::Point(50, 44);
			this->label4->Name = L"label4";
			this->label4->Size = System::Drawing::Size(30, 13);
			this->label4->TabIndex = 2;
			this->label4->Text = L"OFF";
			// 
			// button5
			// 
			this->button5->Location = System::Drawing::Point(6, 145);
			this->button5->Name = L"button5";
			this->button5->Size = System::Drawing::Size(113, 23);
			this->button5->TabIndex = 1;
			this->button5->Text = L"Leben zu nop";
			this->button5->UseVisualStyleBackColor = true;
			this->button5->Click += gcnew System::EventHandler(this, &Form1::button5_Click);
			// 
			// button4
			// 
			this->button4->Location = System::Drawing::Point(6, 19);
			this->button4->Name = L"button4";
			this->button4->Size = System::Drawing::Size(113, 23);
			this->button4->TabIndex = 0;
			this->button4->Text = L"Messer zu nop";
			this->button4->UseVisualStyleBackColor = true;
			this->button4->Click += gcnew System::EventHandler(this, &Form1::button4_Click);
			// 
			// button6
			// 
			this->button6->Location = System::Drawing::Point(22, 74);
			this->button6->Name = L"button6";
			this->button6->Size = System::Drawing::Size(75, 23);
			this->button6->TabIndex = 4;
			this->button6->Text = L"Info...";
			this->button6->UseVisualStyleBackColor = true;
			this->button6->Click += gcnew System::EventHandler(this, &Form1::button6_Click);
			// 
			// Form1
			// 
			this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
			this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
			this->ClientSize = System::Drawing::Size(341, 191);
			this->Controls->Add(this->groupBox2);
			this->Controls->Add(this->groupBox1);
			this->Controls->Add(this->label2);
			this->Controls->Add(this->button2);
			this->Controls->Add(this->label1);
			this->Controls->Add(this->button1);
			this->FormBorderStyle = System::Windows::Forms::FormBorderStyle::FixedDialog;
			this->Icon = (cli::safe_cast<System::Drawing::Icon^  >(resources->GetObject(L"$this.Icon")));
			this->MaximizeBox = false;
			this->MinimizeBox = false;
			this->Name = L"Form1";
			this->StartPosition = System::Windows::Forms::FormStartPosition::CenterScreen;
			this->Text = L"Assassin\'s Creed Hack";
			this->Load += gcnew System::EventHandler(this, &Form1::Form1_Load);
			this->groupBox1->ResumeLayout(false);
			this->groupBox1->PerformLayout();
			this->groupBox2->ResumeLayout(false);
			this->groupBox2->PerformLayout();
			this->ResumeLayout(false);
			this->PerformLayout();

		}
#pragma endregion



	private: System::Void Form1_Load(System::Object^  sender, System::EventArgs^  e) {

				 window = FindWindow (0,L"Assassin's Creed");

				 if (!window)
				 {

					 MessageBoxA (0, "Zuerst Assassin's Creed starten!","Fehler",16);
					 exit(false);
				 }
				 else
				 {
					 GetWindowThreadProcessId (window,&id);
					 handle = OpenProcess (PROCESS_ALL_ACCESS, false, id);
					 timer4->Enabled = true;
				 }
			 }

	private: System::Void button1_Click(System::Object^  sender, System::EventArgs^  e) {

				 if (label1->Text == "OFF")
				 {
					 timer1->Enabled=true;
					 label1->ForeColor=System::Drawing::Color::Green;
					 label1->Text="ON";
				 }
				 else
				 {
					 timer1->Enabled=false;
					 label1->ForeColor=System::Drawing::Color::Red;
					 label1->Text="OFF";
				 }
			 }
	private: System::Void timer4_Tick(System::Object^  sender, System::EventArgs^  e) {

				 window = FindWindow (0, L"Assassin's Creed");

				 if (!window)
				 {
					 timer1->Enabled=false;
					 timer2->Enabled=false;
					 timer3->Enabled=false;
					 timer4->Enabled=false;
					 Enabled=false;
					 MessageBoxA (0, "Assassin's Creed wurde geschlossen!","Fehler",16);
					 exit(false);
				 }
			 }
	private: System::Void button2_Click(System::Object^  sender, System::EventArgs^  e) {

				 if (label2->Text == "OFF")
				 {
					 timer2->Enabled=true;
					 label2->ForeColor=System::Drawing::Color::Green;
					 label2->Text="ON";
				 }
				 else
				 {
					 timer2->Enabled=false;
					 label2->ForeColor=System::Drawing::Color::Red;
					 label2->Text="OFF";
				 }
			 }
	private: System::Void timer1_Tick(System::Object^  sender, System::EventArgs^  e) {

				 ReadProcessMemory(handle,(LPVOID)BaseSync,&Sync,sizeof(int),NULL);
				 Sync += OffSync[0];
				 ReadProcessMemory(handle,(LPVOID)Sync,&Sync,sizeof(int),NULL);
				 Sync += OffSync[1];
				 ReadProcessMemory(handle,(LPVOID)Sync,&Sync,sizeof(int),NULL);
				 Sync += OffSync[2];
				 WriteProcessMemory(handle,(LPVOID)Sync,&Max,sizeof(int),NULL);
			 }
	private: System::Void timer2_Tick(System::Object^  sender, System::EventArgs^  e) {

				 ReadProcessMemory(handle,(LPVOID)BaseMesser,&Messer,sizeof(int),NULL);
				 ReadProcessMemory(handle,(LPVOID)Messer,&Messer,sizeof(int),NULL);
				 Messer += OffMesser[0];
				 ReadProcessMemory(handle,(LPVOID)Messer,&Messer,sizeof(int),NULL);
				 Messer += OffMesser[1];
				 ReadProcessMemory(handle,(LPVOID)Messer,&Messer,sizeof(int),NULL);
				 Messer += OffMesser[2];
				 WriteProcessMemory(handle,(LPVOID)Messer,&MaxMesser,sizeof(int),NULL);

			 }
	private: System::Void button3_Click(System::Object^  sender, System::EventArgs^  e) {

				 try
				 {
					 MaxSyncEdit = System::Convert::ToInt32(textBox1->Text);

				 }
				 catch(...)
				 {
					 timer3->Enabled = false;
					 label3->ForeColor=System::Drawing::Color::Red;
					 label3->Text="OFF";
					 Enabled = false;
					 MessageBoxA (0, "Diese Zahl wird nicht akzeptiert.", "Fehler", 16);
					 Enabled = true;
				 }

				 ReadProcessMemory(handle,(LPVOID)BaseMaxSync,&MaxSync,sizeof(int),NULL);
				 MaxSync += OffMaxSync[0];
				 ReadProcessMemory(handle,(LPVOID)MaxSync,&MaxSync,sizeof(int),NULL);
				 MaxSync += OffMaxSync[1];
				 ReadProcessMemory(handle,(LPVOID)MaxSync,&MaxSync,sizeof(int),NULL);
				 MaxSync += OffMaxSync[2];
				 WriteProcessMemory(handle,(LPVOID)MaxSync,&MaxSyncEdit,sizeof(int),NULL);
				 if (checkBox1->Checked==true)
				 {
					 if (label3->Text == "OFF")
					 {
						 timer3->Enabled = true;
						 label3->Text ="ON";
						 label3->ForeColor=System::Drawing::Color::Green;
					 }
					 else
					 {
						 timer3->Enabled = false;
						 label3->Text ="OFF";
						 label3->ForeColor=System::Drawing::Color::Red;
					 }

				 }

			 }
	private: System::Void timer3_Tick(System::Object^  sender, System::EventArgs^  e) {

				 try
				 {
					 MaxSyncEdit = System::Convert::ToInt32(textBox1->Text);

				 }
				 catch(...)
				 {
					 timer3->Enabled = false;
					 label3->ForeColor=System::Drawing::Color::Red;
					 label3->Text="OFF";
					 Enabled = false;
					 MessageBoxA (0, "Diese Zahl wird nicht akzeptiert.", "Fehler", 16);
					 Enabled = true;
				 }

				 ReadProcessMemory(handle,(LPVOID)BaseMaxSync,&MaxSync,sizeof(int),NULL);
				 MaxSync += OffMaxSync[0];
				 ReadProcessMemory(handle,(LPVOID)MaxSync,&MaxSync,sizeof(int),NULL);
				 MaxSync += OffMaxSync[1];
				 ReadProcessMemory(handle,(LPVOID)MaxSync,&MaxSync,sizeof(int),NULL);
				 MaxSync += OffMaxSync[2];
				 WriteProcessMemory(handle,(LPVOID)MaxSync,&MaxSyncEdit,sizeof(int),NULL);

			 }
	private: System::Void button4_Click(System::Object^  sender, System::EventArgs^  e) {

				 if (label4->Text == "OFF")

				 {
					 WriteProcessMemory(handle,(LPVOID)MesserFunc[0],&nop,sizeof(BYTE),NULL);
					 WriteProcessMemory(handle,(LPVOID)MesserFunc[1],&nop,sizeof(BYTE),NULL);
					 WriteProcessMemory(handle,(LPVOID)MesserFunc[2],&nop,sizeof(BYTE),NULL);
					 WriteProcessMemory(handle,(LPVOID)MesserFunc[3],&nop,sizeof(BYTE),NULL);
					 WriteProcessMemory(handle,(LPVOID)MesserFunc[4],&nop,sizeof(BYTE),NULL);
					 WriteProcessMemory(handle,(LPVOID)MesserFunc[5],&nop,sizeof(BYTE),NULL);

					 ReadProcessMemory(handle,(LPVOID)BaseMesser,&Messer,sizeof(int),NULL);
					 ReadProcessMemory(handle,(LPVOID)Messer,&Messer,sizeof(int),NULL);
					 Messer += OffMesser[0];
					 ReadProcessMemory(handle,(LPVOID)Messer,&Messer,sizeof(int),NULL);
					 Messer += OffMesser[1];
					 ReadProcessMemory(handle,(LPVOID)Messer,&Messer,sizeof(int),NULL);
					 Messer += OffMesser[2];
					 WriteProcessMemory(handle,(LPVOID)Messer,&MaxMesser,sizeof(int),NULL);

					 label4->ForeColor=System::Drawing::Color::Green;
					 label4->Text="ON";
				 }

				 else
				 {
					 WriteProcessMemory(handle,(LPVOID)MesserFunc[0],&MesserOrg[0],sizeof(BYTE),NULL);
					 WriteProcessMemory(handle,(LPVOID)MesserFunc[1],&MesserOrg[1],sizeof(BYTE),NULL);
					 WriteProcessMemory(handle,(LPVOID)MesserFunc[2],&MesserOrg[2],sizeof(BYTE),NULL);
					 WriteProcessMemory(handle,(LPVOID)MesserFunc[3],&MesserOrg[3],sizeof(BYTE),NULL);
					 WriteProcessMemory(handle,(LPVOID)MesserFunc[4],&MesserOrg[4],sizeof(BYTE),NULL);
					 WriteProcessMemory(handle,(LPVOID)MesserFunc[5],&MesserOrg[5],sizeof(BYTE),NULL);

					 label4->ForeColor=System::Drawing::Color::Red;
					 label4->Text="OFF";
				 }

			 }
	private: System::Void button5_Click(System::Object^  sender, System::EventArgs^  e) {


				 if (label5->Text == "OFF")
				 {
					 WriteProcessMemory(handle,(LPVOID)LebenFunc[0],&nop,sizeof(BYTE),NULL);
					 WriteProcessMemory(handle,(LPVOID)LebenFunc[1],&nop,sizeof(BYTE),NULL);
					 WriteProcessMemory(handle,(LPVOID)LebenFunc[2],&nop,sizeof(BYTE),NULL);

					 ReadProcessMemory(handle,(LPVOID)BaseSync,&Sync,sizeof(int),NULL);
					 Sync += OffSync[0];
					 ReadProcessMemory(handle,(LPVOID)Sync,&Sync,sizeof(int),NULL);
					 Sync += OffSync[1];
					 ReadProcessMemory(handle,(LPVOID)Sync,&Sync,sizeof(int),NULL);
					 Sync += OffSync[2];
					 WriteProcessMemory(handle,(LPVOID)Sync,&Max,sizeof(int),NULL);

					 ReadProcessMemory(handle,(LPVOID)BaseMaxSync,&MaxSync,sizeof(int),NULL);
					 MaxSync += OffMaxSync[0];
					 ReadProcessMemory(handle,(LPVOID)MaxSync,&MaxSync,sizeof(int),NULL);
					 MaxSync += OffMaxSync[1];
					 ReadProcessMemory(handle,(LPVOID)MaxSync,&MaxSync,sizeof(int),NULL);
					 MaxSync += OffMaxSync[2];
					 WriteProcessMemory(handle,(LPVOID)MaxSync,&Max,sizeof(int),NULL);

					 label5->ForeColor=System::Drawing::Color::Green;
					 label5->Text="ON";
				 }
				 else
				 {
					 WriteProcessMemory(handle,(LPVOID)LebenFunc[0],&LebenOrg[0],sizeof(BYTE),NULL);
					 WriteProcessMemory(handle,(LPVOID)LebenFunc[1],&LebenOrg[1],sizeof(BYTE),NULL);
					 WriteProcessMemory(handle,(LPVOID)LebenFunc[2],&LebenOrg[2],sizeof(BYTE),NULL);

					 ReadProcessMemory(handle,(LPVOID)BaseSync,&Sync,sizeof(int),NULL);
					 Sync += OffSync[0];
					 ReadProcessMemory(handle,(LPVOID)Sync,&Sync,sizeof(int),NULL);
					 Sync += OffSync[1];
					 ReadProcessMemory(handle,(LPVOID)Sync,&Sync,sizeof(int),NULL);
					 Sync += OffSync[2];
					 WriteProcessMemory(handle,(LPVOID)Sync,&NormalMax,sizeof(int),NULL);

					 ReadProcessMemory(handle,(LPVOID)BaseMaxSync,&MaxSync,sizeof(int),NULL);
					 MaxSync += OffMaxSync[0];
					 ReadProcessMemory(handle,(LPVOID)MaxSync,&MaxSync,sizeof(int),NULL);
					 MaxSync += OffMaxSync[1];
					 ReadProcessMemory(handle,(LPVOID)MaxSync,&MaxSync,sizeof(int),NULL);
					 MaxSync += OffMaxSync[2];
					 WriteProcessMemory(handle,(LPVOID)MaxSync,&NormalMax,sizeof(int),NULL);

					 label5->ForeColor=System::Drawing::Color::Red;
					 label5->Text="OFF";
				 }

			 }
	private: System::Void button6_Click(System::Object^  sender, System::EventArgs^  e) {
				 MessageBoxA (0, "Die BETA Hacks verändern Funktionen im RAM, sie sind mit Vorsicht zu genießen! Allerdings stoppen sie jegliche Änderung der Variable, was es möglich macht aus beliebig großer Höhe zu fallen ohne Schaden zu nehmen! \nHack by Simon!","Info...",64);
			 }
	};
};
und hier von der .cpp:
Code:
// Assassin's Creed Hack.cpp: Hauptprojektdatei.


#include "stdafx.h"
#include "Form1.h"


using namespace AssassinsCreedHack;


[STAThreadAttribute]
int main(array<System::String ^> ^args)
{
	// Aktivieren visueller Effekte von Windows XP, bevor Steuerelemente erstellt werden
	Application::EnableVisualStyles();
	Application::SetCompatibleTextRenderingDefault(false); 

	// Hauptfenster erstellen und ausführen
	Application::Run(gcnew Form1());
	return 0;
}
kleinernascher4 is offline  
Old 11/12/2011, 12:47   #64
 
Tyrar's Avatar
 
elite*gold: 0
Join Date: Oct 2008
Posts: 1,637
Received Thanks: 1,119
Quote:
Originally Posted by kleinernascher4 View Post
noch ne frage:

Ich hab Visual c++ 2010 express und bekomme dauernd folgende fehlermeldung:

1>------ Erstellen gestartet: Projekt: Assassin's Creed Hack, Konfiguration: Debug x64 ------
1> stdafx.cpp
1> Assassin's Creed Hack.cpp
1> AssemblyInfo.cpp
1> Generating Code...
1>Assassin's Creed Hack.obj : error LNK2028: unresolved token (0A000017) "extern "C" int __cdecl WriteProcessMemory(void *,void *,void const *,unsigned __int64,unsigned __int64 *)" (?WriteProcessMemory@@$$J0YAHPEAX0PEBX_KPEA_K@Z) referenced in function "private: void __clrcall AssassinsCreedHack::Form1::timer1_Tick(class System::Object ^,class System::EventArgs ^)" (?timer1_Tick@Form1@AssassinsCreedHack@@$$FAE$AAMX PE$AAVObject@System@@PE$AAVEventArgs@4@@Z)
1>Assassin's Creed Hack.obj : error LNK2028: unresolved token (0A000018) "extern "C" int __cdecl ReadProcessMemory(void *,void const *,void *,unsigned __int64,unsigned __int64 *)" (?ReadProcessMemory@@$$J0YAHPEAXPEBX0_KPEA_K@Z) referenced in function "private: void __clrcall AssassinsCreedHack::Form1::timer1_Tick(class System::Object ^,class System::EventArgs ^)" (?timer1_Tick@Form1@AssassinsCreedHack@@$$FAE$AAMX PE$AAVObject@System@@PE$AAVEventArgs@4@@Z)
1>Assassin's Creed Hack.obj : error LNK2028: unresolved token (0A00001E) "extern "C" void * __cdecl OpenProcess(unsigned long,int,unsigned long)" (?OpenProcess@@$$J0YAPEAXKHK@Z) referenced in function "private: void __clrcall AssassinsCreedHack::Form1::Form1_Load(class System::Object ^,class System::EventArgs ^)" (?Form1_Load@Form1@AssassinsCreedHack@@$$FAE$AAMXP E$AAVObject@System@@PE$AAVEventArgs@4@@Z)
1>Assassin's Creed Hack.obj : error LNK2028: unresolved token (0A00001F) "extern "C" unsigned long __cdecl GetWindowThreadProcessId(struct HWND__ *,unsigned long *)" (?GetWindowThreadProcessId@@$$J0YAKPEAUHWND__@@PEA K@Z) referenced in function "private: void __clrcall AssassinsCreedHack::Form1::Form1_Load(class System::Object ^,class System::EventArgs ^)" (?Form1_Load@Form1@AssassinsCreedHack@@$$FAE$AAMXP E$AAVObject@System@@PE$AAVEventArgs@4@@Z)
1>Assassin's Creed Hack.obj : error LNK2028: unresolved token (0A000021) "extern "C" int __cdecl MessageBoxA(struct HWND__ *,char const *,char const *,unsigned int)" (?MessageBoxA@@$$J0YAHPEAUHWND__@@PEBD1I@Z) referenced in function "private: void __clrcall AssassinsCreedHack::Form1::Form1_Load(class System::Object ^,class System::EventArgs ^)" (?Form1_Load@Form1@AssassinsCreedHack@@$$FAE$AAMXP E$AAVObject@System@@PE$AAVEventArgs@4@@Z)
1>Assassin's Creed Hack.obj : error LNK2028: unresolved token (0A000022) "extern "C" struct HWND__ * __cdecl FindWindowW(wchar_t const *,wchar_t const *)" (?FindWindowW@@$$J0YAPEAUHWND__@@PEB_W0@Z) referenced in function "private: void __clrcall AssassinsCreedHack::Form1::Form1_Load(class System::Object ^,class System::EventArgs ^)" (?Form1_Load@Form1@AssassinsCreedHack@@$$FAE$AAMXP E$AAVObject@System@@PE$AAVEventArgs@4@@Z)
1>Assassin's Creed Hack.obj : error LNK2019: unresolved external symbol "extern "C" void * __cdecl OpenProcess(unsigned long,int,unsigned long)" (?OpenProcess@@$$J0YAPEAXKHK@Z) referenced in function "private: void __clrcall AssassinsCreedHack::Form1::Form1_Load(class System::Object ^,class System::EventArgs ^)" (?Form1_Load@Form1@AssassinsCreedHack@@$$FAE$AAMXP E$AAVObject@System@@PE$AAVEventArgs@4@@Z)
1>Assassin's Creed Hack.obj : error LNK2019: unresolved external symbol "extern "C" unsigned long __cdecl GetWindowThreadProcessId(struct HWND__ *,unsigned long *)" (?GetWindowThreadProcessId@@$$J0YAKPEAUHWND__@@PEA K@Z) referenced in function "private: void __clrcall AssassinsCreedHack::Form1::Form1_Load(class System::Object ^,class System::EventArgs ^)" (?Form1_Load@Form1@AssassinsCreedHack@@$$FAE$AAMXP E$AAVObject@System@@PE$AAVEventArgs@4@@Z)
1>Assassin's Creed Hack.obj : error LNK2019: unresolved external symbol "extern "C" int __cdecl MessageBoxA(struct HWND__ *,char const *,char const *,unsigned int)" (?MessageBoxA@@$$J0YAHPEAUHWND__@@PEBD1I@Z) referenced in function "private: void __clrcall AssassinsCreedHack::Form1::Form1_Load(class System::Object ^,class System::EventArgs ^)" (?Form1_Load@Form1@AssassinsCreedHack@@$$FAE$AAMXP E$AAVObject@System@@PE$AAVEventArgs@4@@Z)
1>Assassin's Creed Hack.obj : error LNK2019: unresolved external symbol "extern "C" struct HWND__ * __cdecl FindWindowW(wchar_t const *,wchar_t const *)" (?FindWindowW@@$$J0YAPEAUHWND__@@PEB_W0@Z) referenced in function "private: void __clrcall AssassinsCreedHack::Form1::Form1_Load(class System::Object ^,class System::EventArgs ^)" (?Form1_Load@Form1@AssassinsCreedHack@@$$FAE$AAMXP E$AAVObject@System@@PE$AAVEventArgs@4@@Z)
1>Assassin's Creed Hack.obj : error LNK2019: unresolved external symbol "extern "C" int __cdecl WriteProcessMemory(void *,void *,void const *,unsigned __int64,unsigned __int64 *)" (?WriteProcessMemory@@$$J0YAHPEAX0PEBX_KPEA_K@Z) referenced in function "private: void __clrcall AssassinsCreedHack::Form1::timer1_Tick(class System::Object ^,class System::EventArgs ^)" (?timer1_Tick@Form1@AssassinsCreedHack@@$$FAE$AAMX PE$AAVObject@System@@PE$AAVEventArgs@4@@Z)
1>Assassin's Creed Hack.obj : error LNK2019: unresolved external symbol "extern "C" int __cdecl ReadProcessMemory(void *,void const *,void *,unsigned __int64,unsigned __int64 *)" (?ReadProcessMemory@@$$J0YAHPEAXPEBX0_KPEA_K@Z) referenced in function "private: void __clrcall AssassinsCreedHack::Form1::timer1_Tick(class System::Object ^,class System::EventArgs ^)" (?timer1_Tick@Form1@AssassinsCreedHack@@$$FAE$AAMX PE$AAVObject@System@@PE$AAVEventArgs@4@@Z)
1>C:\Users\Cybran\Documents\Visual Studio 2010\Projects\Assassin's Creed Hack\x64\Debug\Assassin's Creed Hack.exe : fatal error LNK1120: 12 unresolved externals
========== Erstellen: 0 erfolgreich, Fehler bei 1, 0 aktuell, 0 übersprungen ==========

was mach ich falsch?

hier der code von der Form1.h datei:

Code:
HWND window;
DWORD id;
HANDLE handle;
int Sync;
int MaxSync;
int MaxSyncEdit;
int Max = 2147483647;
short MaxMesser = 999;
DWORD Messer;
DWORD BaseSync = 0x199DA04;
DWORD OffSync[3] = {0x40,0x78,0x14};
DWORD BaseMaxSync = 0x199DA04;
DWORD OffMaxSync[3] = {0x40,0x78,0x18};
DWORD BaseMesser = 0x029C1554;
DWORD OffMesser[3] = {0x8C,0x58,0x158};
DWORD MesserFunc[6] = {0x00CCEC6B,0x00CCEC6C,0x00CCEC6D,0x00CCEC6E,0x00CCEC6F,0x00CCEC70};
DWORD LebenFunc[3] = {0x00D2560F,0x00D25610,0x00D25611};
DWORD NormalMax = 20;
BYTE nop = 0x90;
BYTE MesserOrg[6] = {0x89,0xAE,0x88,0x02,0x00,0x00};
BYTE LebenOrg[3] = {0x89,0x46,0x14};


#pragma once

namespace AssassinsCreedHack {

	using namespace System;
	using namespace System::ComponentModel;
	using namespace System::Collections;
	using namespace System::Windows::Forms;
	using namespace System::Data;
	using namespace System::Drawing;

	/// <summary>
	/// Zusammenfassung für Form1
	/// </summary>
	public ref class Form1 : public System::Windows::Forms::Form
	{
	public:
		Form1(void)
		{
			InitializeComponent();
			//
			//TODO: Konstruktorcode hier hinzufügen.
			//
		}

	protected:
		/// <summary>
		/// Verwendete Ressourcen bereinigen.
		/// </summary>
		~Form1()
		{
			if (components)
			{
				delete components;
			}
		}
	private: System::Windows::Forms::Button^  button1;
	protected: 
	private: System::Windows::Forms::Label^  label1;
	private: System::Windows::Forms::Label^  label2;
	private: System::Windows::Forms::Button^  button2;
	private: System::Windows::Forms::GroupBox^  groupBox1;
	private: System::Windows::Forms::CheckBox^  checkBox1;
	private: System::Windows::Forms::TextBox^  textBox1;
	private: System::Windows::Forms::Label^  label3;
	private: System::Windows::Forms::Button^  button3;
	private: System::Windows::Forms::Timer^  timer1;
	private: System::Windows::Forms::Timer^  timer2;
	private: System::Windows::Forms::Timer^  timer3;
	private: System::Windows::Forms::Timer^  timer4;
	private: System::Windows::Forms::GroupBox^  groupBox2;
	private: System::Windows::Forms::Button^  button4;
	private: System::Windows::Forms::Button^  button5;
	private: System::Windows::Forms::Label^  label5;
	private: System::Windows::Forms::Label^  label4;
	private: System::Windows::Forms::Button^  button6;
	private: System::ComponentModel::IContainer^  components;

	private:
		/// <summary>
		/// Erforderliche Designervariable.
		/// </summary>


#pragma region Windows Form Designer generated code
		/// <summary>
		/// Erforderliche Methode für die Designerunterstützung.
		/// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
		/// </summary>
		void InitializeComponent(void)
		{
			this->components = (gcnew System::ComponentModel::Container());
			System::ComponentModel::ComponentResourceManager^  resources = (gcnew System::ComponentModel::ComponentResourceManager(Form1::typeid));
			this->button1 = (gcnew System::Windows::Forms::Button());
			this->label1 = (gcnew System::Windows::Forms::Label());
			this->label2 = (gcnew System::Windows::Forms::Label());
			this->button2 = (gcnew System::Windows::Forms::Button());
			this->groupBox1 = (gcnew System::Windows::Forms::GroupBox());
			this->checkBox1 = (gcnew System::Windows::Forms::CheckBox());
			this->textBox1 = (gcnew System::Windows::Forms::TextBox());
			this->label3 = (gcnew System::Windows::Forms::Label());
			this->button3 = (gcnew System::Windows::Forms::Button());
			this->timer1 = (gcnew System::Windows::Forms::Timer(this->components));
			this->timer2 = (gcnew System::Windows::Forms::Timer(this->components));
			this->timer3 = (gcnew System::Windows::Forms::Timer(this->components));
			this->timer4 = (gcnew System::Windows::Forms::Timer(this->components));
			this->groupBox2 = (gcnew System::Windows::Forms::GroupBox());
			this->label5 = (gcnew System::Windows::Forms::Label());
			this->label4 = (gcnew System::Windows::Forms::Label());
			this->button5 = (gcnew System::Windows::Forms::Button());
			this->button4 = (gcnew System::Windows::Forms::Button());
			this->button6 = (gcnew System::Windows::Forms::Button());
			this->groupBox1->SuspendLayout();
			this->groupBox2->SuspendLayout();
			this->SuspendLayout();
			// 
			// button1
			// 
			this->button1->Location = System::Drawing::Point(12, 12);
			this->button1->Name = L"button1";
			this->button1->Size = System::Drawing::Size(103, 23);
			this->button1->TabIndex = 0;
			this->button1->Text = L"Unendlich Leben";
			this->button1->UseVisualStyleBackColor = true;
			this->button1->Click += gcnew System::EventHandler(this, &Form1::button1_Click);
			// 
			// label1
			// 
			this->label1->AutoSize = true;
			this->label1->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->label1->ForeColor = System::Drawing::Color::Red;
			this->label1->Location = System::Drawing::Point(121, 17);
			this->label1->Name = L"label1";
			this->label1->Size = System::Drawing::Size(30, 13);
			this->label1->TabIndex = 1;
			this->label1->Text = L"OFF";
			// 
			// label2
			// 
			this->label2->AutoSize = true;
			this->label2->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->label2->ForeColor = System::Drawing::Color::Red;
			this->label2->Location = System::Drawing::Point(121, 46);
			this->label2->Name = L"label2";
			this->label2->Size = System::Drawing::Size(30, 13);
			this->label2->TabIndex = 3;
			this->label2->Text = L"OFF";
			// 
			// button2
			// 
			this->button2->Location = System::Drawing::Point(12, 41);
			this->button2->Name = L"button2";
			this->button2->Size = System::Drawing::Size(103, 23);
			this->button2->TabIndex = 2;
			this->button2->Text = L"Unendlich Messer";
			this->button2->UseVisualStyleBackColor = true;
			this->button2->Click += gcnew System::EventHandler(this, &Form1::button2_Click);
			// 
			// groupBox1
			// 
			this->groupBox1->Controls->Add(this->checkBox1);
			this->groupBox1->Controls->Add(this->textBox1);
			this->groupBox1->Controls->Add(this->label3);
			this->groupBox1->Controls->Add(this->button3);
			this->groupBox1->Location = System::Drawing::Point(12, 82);
			this->groupBox1->Name = L"groupBox1";
			this->groupBox1->Size = System::Drawing::Size(160, 100);
			this->groupBox1->TabIndex = 4;
			this->groupBox1->TabStop = false;
			this->groupBox1->Text = L"Maximales Leben";
			// 
			// checkBox1
			// 
			this->checkBox1->AutoSize = true;
			this->checkBox1->Location = System::Drawing::Point(10, 74);
			this->checkBox1->Name = L"checkBox1";
			this->checkBox1->Size = System::Drawing::Size(58, 17);
			this->checkBox1->TabIndex = 8;
			this->checkBox1->Text = L"Freeze";
			this->checkBox1->UseVisualStyleBackColor = true;
			// 
			// textBox1
			// 
			this->textBox1->Location = System::Drawing::Point(10, 48);
			this->textBox1->Name = L"textBox1";
			this->textBox1->Size = System::Drawing::Size(100, 20);
			this->textBox1->TabIndex = 7;
			this->textBox1->Text = L"2147483647";
			// 
			// label3
			// 
			this->label3->AutoSize = true;
			this->label3->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->label3->ForeColor = System::Drawing::Color::Red;
			this->label3->Location = System::Drawing::Point(119, 24);
			this->label3->Name = L"label3";
			this->label3->Size = System::Drawing::Size(30, 13);
			this->label3->TabIndex = 6;
			this->label3->Text = L"OFF";
			// 
			// button3
			// 
			this->button3->Location = System::Drawing::Point(10, 19);
			this->button3->Name = L"button3";
			this->button3->Size = System::Drawing::Size(103, 23);
			this->button3->TabIndex = 5;
			this->button3->Text = L"MaxLeben";
			this->button3->UseVisualStyleBackColor = true;
			this->button3->Click += gcnew System::EventHandler(this, &Form1::button3_Click);
			// 
			// timer1
			// 
			this->timer1->Tick += gcnew System::EventHandler(this, &Form1::timer1_Tick);
			// 
			// timer2
			// 
			this->timer2->Tick += gcnew System::EventHandler(this, &Form1::timer2_Tick);
			// 
			// timer3
			// 
			this->timer3->Tick += gcnew System::EventHandler(this, &Form1::timer3_Tick);
			// 
			// timer4
			// 
			this->timer4->Tick += gcnew System::EventHandler(this, &Form1::timer4_Tick);
			// 
			// groupBox2
			// 
			this->groupBox2->Controls->Add(this->button6);
			this->groupBox2->Controls->Add(this->label5);
			this->groupBox2->Controls->Add(this->label4);
			this->groupBox2->Controls->Add(this->button5);
			this->groupBox2->Controls->Add(this->button4);
			this->groupBox2->Location = System::Drawing::Point(184, 7);
			this->groupBox2->Name = L"groupBox2";
			this->groupBox2->Size = System::Drawing::Size(125, 174);
			this->groupBox2->TabIndex = 5;
			this->groupBox2->TabStop = false;
			this->groupBox2->Text = L"Beta-Hacks";
			// 
			// label5
			// 
			this->label5->AutoSize = true;
			this->label5->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->label5->ForeColor = System::Drawing::Color::Red;
			this->label5->Location = System::Drawing::Point(50, 123);
			this->label5->Name = L"label5";
			this->label5->Size = System::Drawing::Size(30, 13);
			this->label5->TabIndex = 3;
			this->label5->Text = L"OFF";
			// 
			// label4
			// 
			this->label4->AutoSize = true;
			this->label4->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->label4->ForeColor = System::Drawing::Color::Red;
			this->label4->Location = System::Drawing::Point(50, 44);
			this->label4->Name = L"label4";
			this->label4->Size = System::Drawing::Size(30, 13);
			this->label4->TabIndex = 2;
			this->label4->Text = L"OFF";
			// 
			// button5
			// 
			this->button5->Location = System::Drawing::Point(6, 145);
			this->button5->Name = L"button5";
			this->button5->Size = System::Drawing::Size(113, 23);
			this->button5->TabIndex = 1;
			this->button5->Text = L"Leben zu nop";
			this->button5->UseVisualStyleBackColor = true;
			this->button5->Click += gcnew System::EventHandler(this, &Form1::button5_Click);
			// 
			// button4
			// 
			this->button4->Location = System::Drawing::Point(6, 19);
			this->button4->Name = L"button4";
			this->button4->Size = System::Drawing::Size(113, 23);
			this->button4->TabIndex = 0;
			this->button4->Text = L"Messer zu nop";
			this->button4->UseVisualStyleBackColor = true;
			this->button4->Click += gcnew System::EventHandler(this, &Form1::button4_Click);
			// 
			// button6
			// 
			this->button6->Location = System::Drawing::Point(22, 74);
			this->button6->Name = L"button6";
			this->button6->Size = System::Drawing::Size(75, 23);
			this->button6->TabIndex = 4;
			this->button6->Text = L"Info...";
			this->button6->UseVisualStyleBackColor = true;
			this->button6->Click += gcnew System::EventHandler(this, &Form1::button6_Click);
			// 
			// Form1
			// 
			this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
			this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
			this->ClientSize = System::Drawing::Size(341, 191);
			this->Controls->Add(this->groupBox2);
			this->Controls->Add(this->groupBox1);
			this->Controls->Add(this->label2);
			this->Controls->Add(this->button2);
			this->Controls->Add(this->label1);
			this->Controls->Add(this->button1);
			this->FormBorderStyle = System::Windows::Forms::FormBorderStyle::FixedDialog;
			this->Icon = (cli::safe_cast<System::Drawing::Icon^  >(resources->GetObject(L"$this.Icon")));
			this->MaximizeBox = false;
			this->MinimizeBox = false;
			this->Name = L"Form1";
			this->StartPosition = System::Windows::Forms::FormStartPosition::CenterScreen;
			this->Text = L"Assassin\'s Creed Hack";
			this->Load += gcnew System::EventHandler(this, &Form1::Form1_Load);
			this->groupBox1->ResumeLayout(false);
			this->groupBox1->PerformLayout();
			this->groupBox2->ResumeLayout(false);
			this->groupBox2->PerformLayout();
			this->ResumeLayout(false);
			this->PerformLayout();

		}
#pragma endregion



	private: System::Void Form1_Load(System::Object^  sender, System::EventArgs^  e) {

				 window = FindWindow (0,L"Assassin's Creed");

				 if (!window)
				 {

					 MessageBoxA (0, "Zuerst Assassin's Creed starten!","Fehler",16);
					 exit(false);
				 }
				 else
				 {
					 GetWindowThreadProcessId (window,&id);
					 handle = OpenProcess (PROCESS_ALL_ACCESS, false, id);
					 timer4->Enabled = true;
				 }
			 }

	private: System::Void button1_Click(System::Object^  sender, System::EventArgs^  e) {

				 if (label1->Text == "OFF")
				 {
					 timer1->Enabled=true;
					 label1->ForeColor=System::Drawing::Color::Green;
					 label1->Text="ON";
				 }
				 else
				 {
					 timer1->Enabled=false;
					 label1->ForeColor=System::Drawing::Color::Red;
					 label1->Text="OFF";
				 }
			 }
	private: System::Void timer4_Tick(System::Object^  sender, System::EventArgs^  e) {

				 window = FindWindow (0, L"Assassin's Creed");

				 if (!window)
				 {
					 timer1->Enabled=false;
					 timer2->Enabled=false;
					 timer3->Enabled=false;
					 timer4->Enabled=false;
					 Enabled=false;
					 MessageBoxA (0, "Assassin's Creed wurde geschlossen!","Fehler",16);
					 exit(false);
				 }
			 }
	private: System::Void button2_Click(System::Object^  sender, System::EventArgs^  e) {

				 if (label2->Text == "OFF")
				 {
					 timer2->Enabled=true;
					 label2->ForeColor=System::Drawing::Color::Green;
					 label2->Text="ON";
				 }
				 else
				 {
					 timer2->Enabled=false;
					 label2->ForeColor=System::Drawing::Color::Red;
					 label2->Text="OFF";
				 }
			 }
	private: System::Void timer1_Tick(System::Object^  sender, System::EventArgs^  e) {

				 ReadProcessMemory(handle,(LPVOID)BaseSync,&Sync,sizeof(int),NULL);
				 Sync += OffSync[0];
				 ReadProcessMemory(handle,(LPVOID)Sync,&Sync,sizeof(int),NULL);
				 Sync += OffSync[1];
				 ReadProcessMemory(handle,(LPVOID)Sync,&Sync,sizeof(int),NULL);
				 Sync += OffSync[2];
				 WriteProcessMemory(handle,(LPVOID)Sync,&Max,sizeof(int),NULL);
			 }
	private: System::Void timer2_Tick(System::Object^  sender, System::EventArgs^  e) {

				 ReadProcessMemory(handle,(LPVOID)BaseMesser,&Messer,sizeof(int),NULL);
				 ReadProcessMemory(handle,(LPVOID)Messer,&Messer,sizeof(int),NULL);
				 Messer += OffMesser[0];
				 ReadProcessMemory(handle,(LPVOID)Messer,&Messer,sizeof(int),NULL);
				 Messer += OffMesser[1];
				 ReadProcessMemory(handle,(LPVOID)Messer,&Messer,sizeof(int),NULL);
				 Messer += OffMesser[2];
				 WriteProcessMemory(handle,(LPVOID)Messer,&MaxMesser,sizeof(int),NULL);

			 }
	private: System::Void button3_Click(System::Object^  sender, System::EventArgs^  e) {

				 try
				 {
					 MaxSyncEdit = System::Convert::ToInt32(textBox1->Text);

				 }
				 catch(...)
				 {
					 timer3->Enabled = false;
					 label3->ForeColor=System::Drawing::Color::Red;
					 label3->Text="OFF";
					 Enabled = false;
					 MessageBoxA (0, "Diese Zahl wird nicht akzeptiert.", "Fehler", 16);
					 Enabled = true;
				 }

				 ReadProcessMemory(handle,(LPVOID)BaseMaxSync,&MaxSync,sizeof(int),NULL);
				 MaxSync += OffMaxSync[0];
				 ReadProcessMemory(handle,(LPVOID)MaxSync,&MaxSync,sizeof(int),NULL);
				 MaxSync += OffMaxSync[1];
				 ReadProcessMemory(handle,(LPVOID)MaxSync,&MaxSync,sizeof(int),NULL);
				 MaxSync += OffMaxSync[2];
				 WriteProcessMemory(handle,(LPVOID)MaxSync,&MaxSyncEdit,sizeof(int),NULL);
				 if (checkBox1->Checked==true)
				 {
					 if (label3->Text == "OFF")
					 {
						 timer3->Enabled = true;
						 label3->Text ="ON";
						 label3->ForeColor=System::Drawing::Color::Green;
					 }
					 else
					 {
						 timer3->Enabled = false;
						 label3->Text ="OFF";
						 label3->ForeColor=System::Drawing::Color::Red;
					 }

				 }

			 }
	private: System::Void timer3_Tick(System::Object^  sender, System::EventArgs^  e) {

				 try
				 {
					 MaxSyncEdit = System::Convert::ToInt32(textBox1->Text);

				 }
				 catch(...)
				 {
					 timer3->Enabled = false;
					 label3->ForeColor=System::Drawing::Color::Red;
					 label3->Text="OFF";
					 Enabled = false;
					 MessageBoxA (0, "Diese Zahl wird nicht akzeptiert.", "Fehler", 16);
					 Enabled = true;
				 }

				 ReadProcessMemory(handle,(LPVOID)BaseMaxSync,&MaxSync,sizeof(int),NULL);
				 MaxSync += OffMaxSync[0];
				 ReadProcessMemory(handle,(LPVOID)MaxSync,&MaxSync,sizeof(int),NULL);
				 MaxSync += OffMaxSync[1];
				 ReadProcessMemory(handle,(LPVOID)MaxSync,&MaxSync,sizeof(int),NULL);
				 MaxSync += OffMaxSync[2];
				 WriteProcessMemory(handle,(LPVOID)MaxSync,&MaxSyncEdit,sizeof(int),NULL);

			 }
	private: System::Void button4_Click(System::Object^  sender, System::EventArgs^  e) {

				 if (label4->Text == "OFF")

				 {
					 WriteProcessMemory(handle,(LPVOID)MesserFunc[0],&nop,sizeof(BYTE),NULL);
					 WriteProcessMemory(handle,(LPVOID)MesserFunc[1],&nop,sizeof(BYTE),NULL);
					 WriteProcessMemory(handle,(LPVOID)MesserFunc[2],&nop,sizeof(BYTE),NULL);
					 WriteProcessMemory(handle,(LPVOID)MesserFunc[3],&nop,sizeof(BYTE),NULL);
					 WriteProcessMemory(handle,(LPVOID)MesserFunc[4],&nop,sizeof(BYTE),NULL);
					 WriteProcessMemory(handle,(LPVOID)MesserFunc[5],&nop,sizeof(BYTE),NULL);

					 ReadProcessMemory(handle,(LPVOID)BaseMesser,&Messer,sizeof(int),NULL);
					 ReadProcessMemory(handle,(LPVOID)Messer,&Messer,sizeof(int),NULL);
					 Messer += OffMesser[0];
					 ReadProcessMemory(handle,(LPVOID)Messer,&Messer,sizeof(int),NULL);
					 Messer += OffMesser[1];
					 ReadProcessMemory(handle,(LPVOID)Messer,&Messer,sizeof(int),NULL);
					 Messer += OffMesser[2];
					 WriteProcessMemory(handle,(LPVOID)Messer,&MaxMesser,sizeof(int),NULL);

					 label4->ForeColor=System::Drawing::Color::Green;
					 label4->Text="ON";
				 }

				 else
				 {
					 WriteProcessMemory(handle,(LPVOID)MesserFunc[0],&MesserOrg[0],sizeof(BYTE),NULL);
					 WriteProcessMemory(handle,(LPVOID)MesserFunc[1],&MesserOrg[1],sizeof(BYTE),NULL);
					 WriteProcessMemory(handle,(LPVOID)MesserFunc[2],&MesserOrg[2],sizeof(BYTE),NULL);
					 WriteProcessMemory(handle,(LPVOID)MesserFunc[3],&MesserOrg[3],sizeof(BYTE),NULL);
					 WriteProcessMemory(handle,(LPVOID)MesserFunc[4],&MesserOrg[4],sizeof(BYTE),NULL);
					 WriteProcessMemory(handle,(LPVOID)MesserFunc[5],&MesserOrg[5],sizeof(BYTE),NULL);

					 label4->ForeColor=System::Drawing::Color::Red;
					 label4->Text="OFF";
				 }

			 }
	private: System::Void button5_Click(System::Object^  sender, System::EventArgs^  e) {


				 if (label5->Text == "OFF")
				 {
					 WriteProcessMemory(handle,(LPVOID)LebenFunc[0],&nop,sizeof(BYTE),NULL);
					 WriteProcessMemory(handle,(LPVOID)LebenFunc[1],&nop,sizeof(BYTE),NULL);
					 WriteProcessMemory(handle,(LPVOID)LebenFunc[2],&nop,sizeof(BYTE),NULL);

					 ReadProcessMemory(handle,(LPVOID)BaseSync,&Sync,sizeof(int),NULL);
					 Sync += OffSync[0];
					 ReadProcessMemory(handle,(LPVOID)Sync,&Sync,sizeof(int),NULL);
					 Sync += OffSync[1];
					 ReadProcessMemory(handle,(LPVOID)Sync,&Sync,sizeof(int),NULL);
					 Sync += OffSync[2];
					 WriteProcessMemory(handle,(LPVOID)Sync,&Max,sizeof(int),NULL);

					 ReadProcessMemory(handle,(LPVOID)BaseMaxSync,&MaxSync,sizeof(int),NULL);
					 MaxSync += OffMaxSync[0];
					 ReadProcessMemory(handle,(LPVOID)MaxSync,&MaxSync,sizeof(int),NULL);
					 MaxSync += OffMaxSync[1];
					 ReadProcessMemory(handle,(LPVOID)MaxSync,&MaxSync,sizeof(int),NULL);
					 MaxSync += OffMaxSync[2];
					 WriteProcessMemory(handle,(LPVOID)MaxSync,&Max,sizeof(int),NULL);

					 label5->ForeColor=System::Drawing::Color::Green;
					 label5->Text="ON";
				 }
				 else
				 {
					 WriteProcessMemory(handle,(LPVOID)LebenFunc[0],&LebenOrg[0],sizeof(BYTE),NULL);
					 WriteProcessMemory(handle,(LPVOID)LebenFunc[1],&LebenOrg[1],sizeof(BYTE),NULL);
					 WriteProcessMemory(handle,(LPVOID)LebenFunc[2],&LebenOrg[2],sizeof(BYTE),NULL);

					 ReadProcessMemory(handle,(LPVOID)BaseSync,&Sync,sizeof(int),NULL);
					 Sync += OffSync[0];
					 ReadProcessMemory(handle,(LPVOID)Sync,&Sync,sizeof(int),NULL);
					 Sync += OffSync[1];
					 ReadProcessMemory(handle,(LPVOID)Sync,&Sync,sizeof(int),NULL);
					 Sync += OffSync[2];
					 WriteProcessMemory(handle,(LPVOID)Sync,&NormalMax,sizeof(int),NULL);

					 ReadProcessMemory(handle,(LPVOID)BaseMaxSync,&MaxSync,sizeof(int),NULL);
					 MaxSync += OffMaxSync[0];
					 ReadProcessMemory(handle,(LPVOID)MaxSync,&MaxSync,sizeof(int),NULL);
					 MaxSync += OffMaxSync[1];
					 ReadProcessMemory(handle,(LPVOID)MaxSync,&MaxSync,sizeof(int),NULL);
					 MaxSync += OffMaxSync[2];
					 WriteProcessMemory(handle,(LPVOID)MaxSync,&NormalMax,sizeof(int),NULL);

					 label5->ForeColor=System::Drawing::Color::Red;
					 label5->Text="OFF";
				 }

			 }
	private: System::Void button6_Click(System::Object^  sender, System::EventArgs^  e) {
				 MessageBoxA (0, "Die BETA Hacks verändern Funktionen im RAM, sie sind mit Vorsicht zu genießen! Allerdings stoppen sie jegliche Änderung der Variable, was es möglich macht aus beliebig großer Höhe zu fallen ohne Schaden zu nehmen! \nHack by Simon!","Info...",64);
			 }
	};
};
und hier von der .cpp:
Code:
// Assassin's Creed Hack.cpp: Hauptprojektdatei.


#include "stdafx.h"
#include "Form1.h"


using namespace AssassinsCreedHack;


[STAThreadAttribute]
int main(array<System::String ^> ^args)
{
	// Aktivieren visueller Effekte von Windows XP, bevor Steuerelemente erstellt werden
	Application::EnableVisualStyles();
	Application::SetCompatibleTextRenderingDefault(false); 

	// Hauptfenster erstellen und ausführen
	Application::Run(gcnew Form1());
	return 0;
}
das is ganz einfach kein 'echtes' c++
Tyrar is offline  
Thanks
1 User
Old 11/12/2011, 13:38   #65
 
~.ScoiL's Avatar
 
elite*gold: 70
Join Date: Jul 2011
Posts: 496
Received Thanks: 194
Quote:
Originally Posted by HeavyHacker View Post
das is ganz einfach kein 'echtes' c++
Was ist es dann, gefälschtes C++? Er hat sich nur an eine GUI gewagt.
~.ScoiL is offline  
Old 11/12/2011, 15:48   #66
 
Tyrar's Avatar
 
elite*gold: 0
Join Date: Oct 2008
Posts: 1,637
Received Thanks: 1,119
Quote:
Originally Posted by v0lle. View Post
Was ist es dann, gefälschtes C++? Er hat sich nur an eine GUI gewagt.
mit 'echtem' c++ meinte ich win32, und das ist kein win32 (ich glaub das heisst CLI? Common-Language-Interface?)
Tyrar is offline  
Old 11/15/2011, 16:32   #67
 
NUKER_PUMA's Avatar
 
elite*gold: 3
Join Date: Nov 2009
Posts: 825
Received Thanks: 329
Sehr hilfreich danke
NUKER_PUMA is offline  
Old 11/15/2011, 20:34   #68
 
XxharCs's Avatar
 
elite*gold: 34
Join Date: Apr 2011
Posts: 1,475
Received Thanks: 1,227
Quote:
Originally Posted by HeavyHacker View Post
mit 'echtem' c++ meinte ich win32, und das ist kein win32 (ich glaub das heisst CLI? Common-Language-Interface?)
das sieht nach C-Sharp(C#) aus. denk ich mal
XxharCs is offline  
Old 11/16/2011, 12:13   #69
 
Tyrar's Avatar
 
elite*gold: 0
Join Date: Oct 2008
Posts: 1,637
Received Thanks: 1,119
Quote:
Originally Posted by XxharCs View Post
das sieht nach C-Sharp(C#) aus. denk ich mal
evtl. auch ne mischung aus c# und c++? is auch egal, so is das jedenfalls komplett falsch!
Tyrar is offline  
Old 11/18/2011, 16:26   #70
 
elite*gold: 0
Join Date: Oct 2011
Posts: 33
Received Thanks: 3
Kann mir jmd sagn wie ich den Pointer ins programm schreibe ... bei sowas hier ... ?!


und kann mir jmd noch den befehl gebn .. das der nicht das fenster xyz mit genau dem text der angegeben ist sucht sondern das fenster sucht wo "P-online" drinne steht (also das fenster heißt z.B P-Online Client 8923497u129830192) und die Zahlen verändern sich... sagen wirs jetzt mal so ... deswegn soll der nach nem fenster suchn wo p-online client vorkommt....



fail wenn ich das spiel neustarte bringts der pointer nichtmehr -.- da der die adresse neu vergebn hat
D3giX is offline  
Old 10/26/2012, 16:39   #71
 
marykillsjane's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 1,909
Received Thanks: 522
Ich weiß der Thread ist älter aber ich muss mich einfach nochmal bei dir bedanken.
Habe nirgends ein vergleichbar gutes Tutorial für C++ zum Thema Gamehacking gefunden hat super geklappt und du hast alles gro´ßartig erklärt falls du das list Vieeeeelen Dank ^^.
marykillsjane is offline  
Old 01/04/2013, 16:23   #72
 
xINKtn's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 4
Received Thanks: 1
Hallo,

Ich grabe dieses Tutorial mal wieder aus.
Ist sehr verständlich geschrieben, Dankeschön.

Habe aber in mein Code folgendes Problem (W7, 64BIT):

Ich kann den Wert mit C++ nicht verändern, obwohl ich mit der CheatEngine6.2 die Adresse gesucht habe. (Alles während eines laufenden Spiels, ohne Neustart des Programms.) Mit der CheatEngine kann ich den Punktestand ohne Weiteres bearbeiten.

Nach einem Neustart von Solitär habe ich bemerkt, dass die Adresse sich ändert. Also habe ich nach einem Pointer gesucht. Diesen habe ich gefunden, doch leider ändert sich dieser auch immer. Also habe ich nach einem Basepointer gesucht und diesen dann auch gefunden.
Die Offsets sind immer die gleichen, nur ändert sich leider auch der Basepointer.

Daher meine Fragen:
1. Wie gehe ich im C++ Programm mit einem Pointer um, der auch noch einen Offset hat?
2. Wie kann ich den Basepointer immer finden, ohne CheatEngine benutzen zu müssen?
3. Müsste es eigentlich nicht ausreichen, wenn ich bei meinem aktuellen Solitär Prozess die Adresse kenne und auf diese mit dem C++ Programm zugreife, um zumindest in dieser Session die Punktzahl zu ändern? Weil selbst das funktioniert bei mir nicht.

Besten Dank,
Regards xINK
xINKtn is offline  
Old 05/01/2014, 11:59   #73
 
elite*gold: 0
Join Date: Nov 2012
Posts: 7
Received Thanks: 2
Hab versucht nen AssaultCube Hack zu machen Sind aber immer fehler bitte hilft mir -.-

#include <windows.h> // Hier sind die Funktionen die wir später noch brauchen
#include <iostream> // Sollte klar sein

using namespace std; // Sollte auch klar sein ...

int main() // Unsere Main Funktion...
{
HWND hwnd; // Unsere Variable die das Fensterhandle speichert.
hwnd = FindWindow(0,"AssaultCube");
DWORD Id; // Die ID wird in einer Variable des Typ's DWORD gespeichert.
HANDLE ProcessHandle;
int value; // Der Wert den wir schreiben wollen.
unsigned adress = 0xA0A474; // Unsere Adresse

// Der Fenstertitel vom Solitärfenster ist "Solitär". Das erste Parameter ist der "ClassName" den wir aber getrost ignorieren können. Das zweite Parameter ist unser Fenstername. Das "L" steht für eine Typkonvertierung..

if(!hwnd) // Also das Fenster nicht vorhanden ist...
{
cout << "AssaultCube nicht gefunden!" << endl; // Gebe das aus
}
else // ansonsten...
{
cout << "AssaultCube gefunden!" << endl; // gebe das aus
cout << "Fensterhandle: " << hwnd << endl; // Wir können uns das Handle auch nochmal angucken ...

GetWindowThreadProcessId(hwnd,&Id); // Mit GetWindowThreadProcessId kann man die ID herausfinden. Das erste Parameter ist unser Fensterhandle. Das zweite gibt an, wo die ID gespeichert werden soll.

cout << Id << endl;
ProcessHandle = OpenProcess(PROCESS_VM_WRITE |PROCESS_VM_OPERATION ,false,Id);

cout << "ProcessHandle: " << ProcessHandle << endl;

cout << "Wie viel Munition Möchtest du haben? "; // Wieviel Punkte sollen geschrieben werden ???
cin >> value; // Den Wer übernehmen
fflush(stdin);



WriteProcessMemory(ProcessHandle,(LPVOID)adress,&v alue,sizeof(int),NULL); // Den Wert schreiben !
cout << "Munition Added" << endl;
cin.get();// Damit sich unser Programm nicht sofort schließt...
}
xDmertDx is offline  
Old 05/01/2014, 17:15   #74
 
LcPlayer1's Avatar
 
elite*gold: 1765
Join Date: Aug 2011
Posts: 2,538
Received Thanks: 400
1. wäre es übersichtlicher, wenn du das Ganze als Code posten würdest.
2. wäre die Fehlermeldung hilfreich.
LcPlayer1 is offline  
Old 08/09/2014, 20:40   #75
 
elite*gold: 0
Join Date: Aug 2014
Posts: 20
Received Thanks: 5
Old But Gold
Unpalis is offline  
Reply


Similar Threads Similar Threads
[How To]Gamehacking für anfänger(AutoIT)
08/22/2010 - Coding Tutorials - 4 Replies
Hi, Ich dacht mir ich stelle mal ein kleinen Tutorial hier rein für anfänger die einen Hack erstellen wollen. Was braucht man: -AutoIT -die Normad Memory -Cheat Engine 5.6 -Ein zu hackendes Spiel (in diesem fall Solitaire)



All times are GMT +2. The time now is 19:25.


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