Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > C/C++
You last visited: Today at 18:19

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

Advertisement



C++ und Dll

Discussion on C++ und Dll within the C/C++ forum part of the Coders Den category.

Reply
 
Old   #1
 
Fuyo's Avatar
 
elite*gold: 0
Join Date: Dec 2009
Posts: 335
Received Thanks: 1,849
C++ und Dll

Hi e*pvpers,
ich möchte von meinen Trainer von Autoit oder Vb.net auf die Dll injection umsteigen.
Ich wollte mich mal erkundigen und Fragen, ob jemand ein (am besten) Deutsches Tutorial kennt. Ich möchte nichts großartiges machen, sondern einfach nur einen Float Wert abändern bzw einen 4 Byte Wert.
Dies soll durch die .Dll passieren.
Danke schonmal im Vorraus
Fuyo is offline  
Old 07/13/2010, 23:39   #2
 
xWaffeleisen's Avatar
 
elite*gold: 320
Join Date: Oct 2009
Posts: 697
Received Thanks: 1,643
Solange du nur die Memory des Prozesses verändern willst brauchst du nicht zwingend eine dll injection. Da reicht auch Read/WriteProcessMemory und das kannste ja auch in C++ mit einer Externen Anwendung machen, so wie du es auch bisher machst.
xWaffeleisen is offline  
Old 07/14/2010, 11:18   #3
 
Fuyo's Avatar
 
elite*gold: 0
Join Date: Dec 2009
Posts: 335
Received Thanks: 1,849
Das ist der Haken, das Read/WriteProcessMemory (was ich mit Autoit mache) funktioniert nicht auf 32 Bit Systemen. Ich möchte durch eine DLL das Problem lösen.
Hab mal ein Tutorial versucht, aber wenn ich die DLL injecte Freezed das Game einfach nur
Code:
#include <windows.h>
#include <stdio.h>

#define SpAdresse 0x00C9408C
#define Rotze 0x00C9795C
void SP()
{
   *(float*)(SpAdresse) = 1;
}

void Ghost()
{
   *(float*)(Rotze) = 20;
}

void Hack()
{
for(;;)
{
	SP();
	Sleep(30);
}
}
BOOL WINAPI DllMain(HINSTANCE mod, DWORD DWORD_GRUND, LPVOID res)
{
switch(DWORD_GRUND)
{
case 1:
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)Hack , 0, 0, 0);
break;
case 2:
break;
}
return TRUE;
}
Dein tutorial bei Metin2 mit der DLL habe ich nicht verstanden
Fuyo is offline  
Old 07/16/2010, 00:54   #4


 
MrSm!th's Avatar
 
elite*gold: 7110
Join Date: Jun 2009
Posts: 28,902
Received Thanks: 25,407
Es gibt kein Tutorial für eine Dll; lern einfach die Sprache.
MrSm!th is offline  
Reply




All times are GMT +1. The time now is 18:19.


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.