Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2
You last visited: Today at 05:20

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

Advertisement



problem mit dem injection hack

Discussion on problem mit dem injection hack within the Metin2 forum part of the Popular Games category.

Reply
 
Old   #1
 
Tyrar's Avatar
 
elite*gold: 0
Join Date: Oct 2008
Posts: 1,637
Received Thanks: 1,119
problem mit dem injection hack

hey, habe grad ein kleines problem im code!
Code:
#include "dll.h"
#include "windows.h"
#ifdef _MANAGED
#pragma managed(push, off)
#endif
HMODULE lib = 0;
BOOL APIENTRY DllMain( HMODULE hModule,
                       DWORD  ul_reason_for_call,
                       LPVOID lpReserved
                       )
{ 
   switch ( ul_reason_for_call ) {
    case DLL_PROCESS_ATTACH:
      lib = LoadLibraryA("python22_original.dll");
      break;
    case DLL_PROCESS_DETACH:
      FreeLibrary(lib);
      break;
  }
  return TRUE;
}
char const * __stdcall __declspec (dllexport) Py_SetProgramName(struct _EXCEPTION_POINTERS * pointers)
{
    static FARPROC Py_SetProgramNameOrig = 0;
    char* r;
    if (Py_SetProgramNameOrig == 0) 
    {
        Py_SetProgramNameOrig = GetProcAddress(lib, "Py_SetProgramName");
    }
    [COLOR="Red"]r = Py_SetProgramNameOrig(pointers);[/COLOR]
    return r;
}
#ifdef _MANAGED
#pragma managed(pop)
#endif
in der rot gefärbten zeile bekomme ich immer eine fehlermeldung "too many arguments to function" kann mir das jemand erklären? oO

und dazu
"invalid conversion from int to char"...
ok änder ich es in int!
aber dann "invalid conversion from int to int"...
Tyrar is offline  
Reply


Similar Threads Similar Threads
Win7 Injection Problem
03/24/2010 - GW Bots - 10 Replies
Hi Im running Win7 32-bit and im having no problems what so ever with bots that auto-inject - but when i have to inject manually nothing kinda happends :/ I've even tried to run both gw the injector and the bot as admin, but still nothing works. I can see that the bots start but my char just dont move or do anything. Im using the Inizio injection - but also tried other injectors, without luck.
[ Wolfteam ] Injection via Import Table [ Problem ]
04/06/2009 - General Coding - 0 Replies
Hi, im currently trying to inject smth into Wolfteam, since it detects normal methods like a wrapper, rewriting the name in the hex file to a slightly different one or other ones i tried to use the import table of an loaded DLL, but whenever i edit it with LORD PE and add just once entry to it it will result in a programm crash. Now why i ask is because i know this method can work ( wolf lite uses it ). Some advices for me? ( The way i do it, 1. open dll with pe builder of Lord Pe 2. G to...
Injection problem.
02/27/2009 - Kal Online - 2 Replies
Always when i try to inject .dll file in Chilla kal or Kalvision private server, i got message that there is problem with anti-hacking. I using OMFGZ injector. Should I try with other injector or is problem anywhere else?
Code Injection Problem
01/03/2009 - General Coding - 4 Replies
Der Original Code im Assembler ist "mov esi, "(read) und müsste auf die Adresse der Aktuell aktivierten Waffe zeigen. Der Wert esi hat für jede Waffe einen festgelegten Wert während ecx eine Adresse(verändert sich bei waffenwechsel nicht) beinhaltet. Mir geht es darum den Wert während die Schleife durchläuft wieder um 1 zu erhöhen wobei ich ein kleines Problem mit dem Syntax habe. Wie ändere ich den Code so um das er den Wert an der Adresse (esi, ) um 1(oder mehr) erhöht? Der Interpreter in...
Problem mit dll injection
11/10/2008 - General Coding - 3 Replies
Hallo ich versuche n programm zu schreiben, dass beliebige dlls in beliebige prozesse injected. Die theorie ist mir klar und so weiter aber beim injecten der dll stürzt der betreffenden Prozess ab. Ich weiß auch an welcher Stelle das passiert, habe das im quellcode mal markiert. Die dll enthält nichts besonderes, lediglich eine message box. Quellcode: #include <windows.h> #include <cstdio> #include <tlhelp32.h> #include <iostream> using namespace std;



All times are GMT +1. The time now is 05:20.


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