Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > General Coding
You last visited: Today at 17:49

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

Advertisement



TlsSetValue Hook crasht

Discussion on TlsSetValue Hook crasht within the General Coding forum part of the Coders Den category.

Reply
 
Old   #1





 
Omdi's Avatar
 
elite*gold: 1371
Join Date: Apr 2010
Posts: 13,810
Received Thanks: 15,064
TlsSetValue Hook crasht

Hey,

Ich habe im Spiel S4 League TlsSetVale gehookt.
Nur leider crasht das Spiel die ganze Zeit. Ich weiß nicht warum, die Calling Convention ist richtig, die Parameter und der Rückgabetyp.

PHP Code:
#include <Windows.h>
#include "detours.h"

#pragma comment(lib,"detours.lib")

typedef BOOL (WINAPITlsSetValue_t)(DWORD,LPVOID);
TlsSetValue_t TlsSetValue_orig 0;
BOOL WINAPI hkTlsSetValue(DWORD dwTlsIndex,LPVOID lpTlsValue);

DWORD WINAPI Init(LPVOID);

BOOL WINAPI DllMain(HINSTANCE hinstDLL,DWORD fdwReason,LPVOID lpvReserved)
{
    
    switch(
fdwReason)
    {
    case 
DLL_PROCESS_ATTACH:
       
CreateThread(0,0,Init,0,0,0);
        break;
    }

    return 
TRUE;
}

DWORD WINAPI Init(LPVOID)
{
    
TlsSetValue_orig = (TlsSetValue_t)DetourFunction((PBYTE)TlsSetValue,(PBYTE)hkTlsSetValue);
    return 
TRUE;
}

BOOL WINAPI hkTlsSetValue(DWORD dwTlsIndex,LPVOID lpTlsValue)
{
        return 
TlsSetValue_orig(dwTlsIndex,lpTlsValue);

Omdi is offline  
Old 03/08/2012, 18:26   #2
 
elite*gold: 0
Join Date: Jul 2010
Posts: 388
Received Thanks: 196
BP auf LoadLibrary, .dll injecten, bis zum Crash durchsteppen, dich selbst erleuchten.
SmackJew is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
WarLord Public Hook (Client Hook) 01.03 Rleased Official Epvp Release by pastalov.
03/03/2012 - WarRock Hacks, Bots, Cheats & Exploits - 4 Replies
hi. Endlich hat WarLord seinen Public Hack mal geupdated :handsdown: Hier habt ihr Ihn: http://img715.imageshack.us/img715/7504/frecky.pn g Der Download befindet sich im anhang! Virus Check: https://www.virustotal.com/file/3792beba0863829ec 3e2b53f3b0c17d20bfc09c7d76f5f24967a79f1a82a4ddb/an alysis/1330708386/
<26.06.11> Chico™ Public Hook, //Invisible//Chams /Stamina/Mini Hook/NO CRASH VERSION
07/08/2011 - WarRock Hacks, Bots, Cheats & Exploits - 46 Replies
26.06.11 Hack Released 26.06.11 SuperNoSpread Problem Fixxen Status= Not in Hack Hej Com, leider hab ich eine schlechte nachricht xP^^ aus egendeinen Grund verursacht bei mir SuperNoSpread einen Direkten Crash sobald man in game ist, deshalb habe ich es entfernt O,o der Hack ist tortzdem nett und wird euch gefallen, sobald ich mehr addys habe kommen mehrere funktionen noch dazu ;) http://img4.fotos-hochladen.net/uploads/public24e lfvtrw1u.png STOP! VOR DEM DOWNLOAD! Mit Dem...



All times are GMT +2. The time now is 17:49.


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.