Register for your free account! | Forgot your password?

You last visited: Today at 14:21

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

Advertisement



[Code]Hackshield for flyff

Discussion on [Code]Hackshield for flyff within the Flyff PServer Guides & Releases forum part of the Flyff Private Server category.

Reply
 
Old   #1
 
banktakung's Avatar
 
elite*gold: 0
Join Date: Dec 2008
Posts: 306
Received Thanks: 59
[Code]Hackshield for flyff

:: File need ::
Hackshield SDK



Hackshield Client Side




Guide

Neuz.cpp
PHP Code:
#ifdef __HACK_SHIELD
#include "../HackShield SDK/Include/HShield.h"
#include "../HackShield SDK/Include/HSUpChk.h"
#pragma comment(lib,"../HackShield SDK/Lib/Win/x86/Multithreaded/HShield/HShield.lib")
#pragma comment(lib,"../HackShield SDK/Lib/Win/x86/Multithreaded/Update/HSUpChk.lib")  
#endif 
PHP Code:

void SetMouseCursor
DWORD dwCursor )
{
    
g_Neuz.SetDeviceCursorg_Neuz.m_ahCursordwCursor ] );
}


#ifdef __HACK_SHIELD
/** HackShield Start - Glory to God to the Highest! SeiferXIII **/
int __stdcall AhnHS_Callback(long lCodelong lParamSizevoidpParam)
{
    
bool bAppExit(false);
    
LPCTSTR lpszMsg(NULL);
    switch (
lCode)
    {
        
//Engine Callback
    
case AHNHS_ENGINE_DETECT_GAME_HACK:
    {

        
TCHAR msg[128] = { };
        
_stprintf(msg_T("Game Hack foundn %s"), (char*)pParam);
        
MessageBox(g_Neuz.GetSafeHwnd(), msg"Hack Shield"MB_OK);
        
ExitProcess(-1);
        break;
    }
    case 
AHNHS_ENGINE_DETECT_WINDOWED_HACK:
    {
        
//ShowMsgAndExitWithTimer(_T("Windowed Hack found."));
        
break;
    }
    case 
AHNHS_ACTAPC_DETECT_SPEEDHACK:
    {

        
TCHAR msg[128] = { };
        
_stprintf(msg_T("Speed Hack found."));
        
MessageBox(g_Neuz.GetSafeHwnd(), msg"Hack Shield"MB_OK);
        
ExitProcess(-1);
        break;
    }
    case 
AHNHS_ACTAPC_DETECT_KDTRACE:
    case 
AHNHS_ACTAPC_DETECT_KDTRACE_CHANGED:
    {

        
TCHAR msg[128] = { };
        
_stprintf(msg_T("AHNHS_ACTAPC_DETECT_KDTRACE_CHANGED"), lCode);
        
MessageBox(g_Neuz.GetSafeHwnd(), msg"Hack Shield"MB_OK);
        
ExitProcess(-1);
        break;
    }

    case 
AHNHS_ACTAPC_DETECT_AUTOMACRO:
    {

        
TCHAR msg[128] = { };
        
_stprintf(msg_T("AHNHS_ACTAPC_DETECT_AUTOMACRO"), lCode);
        
MessageBox(g_Neuz.GetSafeHwnd(), msg"Hack Shield"MB_OK);
        
ExitProcess(-1);
        break;
    }
    case 
AHNHS_ACTAPC_DETECT_ABNORMAL_FUNCTION_CALL:
    {

        
TCHAR msg[128] = { };
        
_stprintf(msg_T("Detect Abnormal Memory Accessn%s"), (char*)pParam);
        
MessageBox(g_Neuz.GetSafeHwnd(), msg"Hack Shield"MB_OK);
        
ExitProcess(-1);
        break;
    }
    case 
AHNHS_ACTAPC_DETECT_ABNORMAL_MEMORY_ACCESS:
    {

        
TCHAR msg[128] = { };
        
_stprintf(msg_T("Detect Memory Accessn%s"), (char*)pParam);
        
MessageBox(g_Neuz.GetSafeHwnd(), msg"Hack Shield"MB_OK);
        
ExitProcess(-1);
        break;
    }
    case 
AHNHS_ACTAPC_DETECT_AUTOMOUSE:
    {

        
TCHAR msg[128] = { };
        
_stprintf(msg_T("HackShield DETECT_AUTOMOUSE."), lCode);
        
MessageBox(g_Neuz.GetSafeHwnd(), msg"Hack Shield"MB_OK);
        
ExitProcess(-1);
        break;
    }
    case 
AHNHS_ACTAPC_DETECT_DRIVERFAILED:
    {

        
TCHAR msg[128] = { };
        
_stprintf(msg_T("HackShield DETECT_DRIVERFAILED."), lCode);
        
MessageBox(g_Neuz.GetSafeHwnd(), msg"Hack Shield"MB_OK);
        
ExitProcess(-1);
        break;
    }
/*
     case AHNHS_ACTAPC_DETECT_HOOKFUNCTION:
     {

     TCHAR msg[128]={0};
     _stprintf(msg, _T("HackShield Detect D3D Hack. (%s)"), (char*)pParam);
     MessageBox(g_Neuz.GetSafeHwnd() , msg, "Hack Shield", MB_OK);
     break;
     }*/
    
case AHNHS_ACTAPC_DETECT_MESSAGEHOOK:
    {

        
TCHAR msg[128] = { };
        
_stprintf(msg_T("HackShield DETECT_MESSAGEHOOK."), lCode);
        
MessageBox(g_Neuz.GetSafeHwnd(), msg"Hack Shield"MB_OK);
        
ExitProcess(-1);
        break;
    }
    case 
AHNHS_ACTAPC_DETECT_MODULE_CHANGE:
    {

        
TCHAR msg[128] = { };
        
_stprintf(msg_T("HackShield DETECT_MODULE_CHANGE."), lCode);
        
MessageBox(g_Neuz.GetSafeHwnd(), msg"Hack Shield"MB_OK);
        
ExitProcess(-1);
        break;
    }
    case 
AHNHS_ACTAPC_DETECT_ENGINEFAILED:
    {

        
TCHAR msg[128] = { };
        
_stprintf(msg_T("HackShield DETECT_ENGINEFAILED."), lCode);
        
MessageBox(g_Neuz.GetSafeHwnd(), msg"Hack Shield"MB_OK);
        
ExitProcess(-1);
        break;
    }
    case 
HS_ERR_ALREADY_GAME_STARTED:
    {

        
TCHAR msg[128] = { };
        
_stprintf(msg_T("HackShield already started."), lCode);
        
MessageBox(g_Neuz.GetSafeHwnd(), msg"Hack Shield"MB_OK);
        
ExitProcess(-1);
    }
    break;
    case 
AHNHS_ACTAPC_DETECT_CODEMISMATCH:
    {

        
TCHAR msg[128] = { };
        
_stprintf(msg_T("HackShield CODEMISMATCH."), lCode);
        
MessageBox(g_Neuz.GetSafeHwnd(), msg"Hack Shield"MB_OK);
        
ExitProcess(-1);
        break;
    }
    case 
AHNHS_ACTAPC_DETECT_MEM_MODIFY_FROM_LMP:
    case 
AHNHS_ACTAPC_DETECT_LMP_FAILED:
    {

        
TCHAR msg[128] = { };
        
_stprintf(msg_T("HackShield Detect memory modify."), lCode);
        
MessageBox(g_Neuz.GetSafeHwnd(), msg"Hack Shield"MB_OK);
        
ExitProcess(-1);
        break;
    }
    case 
AHNHS_ACTAPC_DETECT_ABNORMAL_HACKSHIELD_STATUS:
    {

        
TCHAR msg[128] = { };
        
_stprintf(msg_T("HackShield Service Error"), lCode);
        
MessageBox(g_Neuz.GetSafeHwnd(), msg"Hack Shield"MB_OK);
        
ExitProcess(-1);
        break;
        
//}
    
}
    case 
AHNHS_ACTAPC_DETECT_PROTECTSCREENFAILED:
    {

        
TCHAR msg[128] = { };
        
_stprintf(msg_T("HackShield PROTECTSCREENFAILED."), lCode);
        
MessageBox(g_Neuz.GetSafeHwnd(), msg"Hack Shield"MB_OK);
        
ExitProcess(-1);
        break;
    }
    return 
FALSE;
    }return 
TRUE;
}
#endif

#ifdef __HACK_SHIELD
TCHAR    g_szHShieldPath[MAX_PATH] = { 0, };
TCHAR    g_szIniPath[MAX_PATH] = { 0, };
#endif 
PHP Code:
#ifdef __GAME_GRADE_SYSTEM
#ifdef __CLIENT
    
m_dwTimeGameGradeMarkRendering 0xffffffff;
    
m_bGameGradeMarkRenderingSwitch FALSE;
    
m_nGameGradeMarkAlpha GAME_GRADE_MARK_MINIMUM_ALPHA;
    
m_eGameGradeMarkState FADE_IN;
    
m_dwTimeOld g_tmCurrent;
    
m_dwTimeGameGradeMarkShowing 0xffffffff;
#endif // __CLIENT
#endif // __GAME_GRADE_SYSTEM

#ifdef __HACK_SHIELD
    //CallDLL();
    /** HackShield Start - Glory to God to the Highest! SeiferXIII **/
    
int antihackNotFound 0;
    
TCHAR    *pEnd NULL;
    
TCHAR    szFullFileName[MAX_PATH] = { 0, };
    
TCHAR    szMsg[255];
    
int        nRet;
    
GetModuleFileName(NULLszFullFileNameMAX_PATH);
    
pEnd _tcsrchr(szFullFileName_T('\\')) + 1;
    if (!
pEnd)
    {
        return;
    }
    *
pEnd _T('\0');
    
_stprintf(g_szIniPath_T("%s"), szFullFileName);
    
_stprintf(g_szHShieldPath_T("%s\\HackShield"), szFullFileName);
    
_tcscat(szFullFileName_T("HackShield\\EhSvc.dll"));
    
_tcscat(g_szIniPath_T("MiniAEnv.INI"));
    
nRet _AhnHS_Initialize(szFullFileNameAhnHS_Callback,
        
1000"B228F2916A48AC24"AHNHS_CHKOPT_ALL AHNHS_SELFDESTRUCTION_RATIO_FAST |
        
AHNHS_DISPLAY_HACKSHIELD_TRAYICON AHNHS_DISPLAY_HACKSHIELD_LOGO |
        
AHNHS_CHKOPT_LOADLIBRARY AHNHS_CHKOPT_LOCAL_MEMORY_PROTECTION,
        
AHNHS_SPEEDHACK_SENSING_RATIO_GAME);
    if (
nRet != HS_ERR_OK)
    {
        
_stprintf(szMsg_T("HackShield Initialize Error. (Error Code = %x)."), nRet);
        
MessageBox(g_Neuz.GetSafeHwnd(), szMsg"Flyff"MB_OK);
        
ExitProcess(-1);
        return;
    }
    
nRet _AhnHS_StartService();
    
assert(nRet != HS_ERR_NOT_INITIALIZED);
    
assert(nRet != HS_ERR_ALREADY_SERVICE_RUNNING);
    if (
nRet != HS_ERR_OK)
    {
        
_stprintf(szMsg_T("HackShield Start Error. (Error Code = %x)."), nRet);
        
MessageBox(g_Neuz.GetSafeHwnd(), szMsg"Flyff"MB_OK);
        
ExitProcess(-1);
        return;
    }
#endif
//    g_DPlay.CheckHackShield(nRet);

    
pOldModalWindow NULL;
}

BOOL CNeuzApp::LoadOption()
{
    
g_Option.Load"neuz.ini" );
    
#ifdef _DEBUG
    
g_Option.LoadToolTip"ToolTip.ini" );
#endif // _DEBUG

    // ศญธ้ ป็ภฬม๎ ผผฦร 
    
FULLSCREEN_WIDTH    g_Option.m_nResWidth;
    
FULLSCREEN_HEIGHT    g_Option.m_nResHeight;

    
SetLODDetailg_Option.m_nViewArea );
    
    
m_dwCreationWidth  FULLSCREEN_WIDTH;
    
m_dwCreationHeight FULLSCREEN_HEIGHT GetSystemMetricsSM_CYMENU );

    return 
TRUE;

banktakung is offline  
Thanks
1 User
Old 08/04/2019, 11:18   #2
 
cookie69's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 627
Received Thanks: 688
Quote:
if (nRet != HS_ERR_OK)
{
_stprintf(szMsg, _T("HackShield Initialize Error. (Error Code = %x)."), nRet);
MessageBox(g_Neuz.GetSafeHwnd(), szMsg, "Flyff", MB_OK);
ExitProcess(-1);
return;
}
nRet = _AhnHS_StartService();
assert(nRet != HS_ERR_NOT_INITIALIZED);
assert(nRet != HS_ERR_ALREADY_SERVICE_RUNNING);
if (nRet != HS_ERR_OK)
{
_stprintf(szMsg, _T("HackShield Start Error. (Error Code = %x)."), nRet);
MessageBox(g_Neuz.GetSafeHwnd(), szMsg, "Flyff", MB_OK);
ExitProcess(-1);
return;
}
really?? this can be just JUMPed... useless anticheat or bad integration.
And where is the server side code for HS?
cookie69 is offline  
Thanks
5 Users
Old 08/04/2019, 13:33   #3



 
- DK's Avatar
 
elite*gold: 7
Join Date: Sep 2012
Posts: 4,466
Received Thanks: 3,218
If u create a Clientside Antihack, everyone can disable it. Everyone there will include this "Antihack" lost some usefull lines of code.
- DK is offline  
Thanks
1 User
Old 08/04/2019, 15:03   #4

 
elite*gold: 353
Join Date: Jan 2013
Posts: 924
Received Thanks: 617
Quote:
Originally Posted by - DK ACE View Post
If u create a Clientside Antihack, everyone can disable it. Everyone there will include this "Antihack" lost some usefull lines of code.
Sag mir mal, wie du etwas im Server von Client checkst ohne etwas vom Client an den Server zu senden / es im Client zu checken und dann zu bearbeiten.
Kann sein das ich mich Irre, aber ich meine du musst immer etwas im Client machen, da FlyFF nicht komplett Serverseitig programmiert ist, siehe die GetSpeed Funktion, schmeiß die mal raus und guck was passiert. Wenn du sie entfernen lässt, hast du einen Speedhack fix, kannst aber auch nicht mehr laufen. Kann natürlich auch sein das ich mich Irre und ich einfach keine andere Lösung als das sehe ka.
Kiseku is offline  
Old 08/04/2019, 16:56   #5
 
banktakung's Avatar
 
elite*gold: 0
Join Date: Dec 2008
Posts: 306
Received Thanks: 59
ps. from snip code from ran online forum
banktakung is offline  
Old 08/04/2019, 17:10   #6
 
elite*gold: 0
Join Date: Jan 2015
Posts: 183
Received Thanks: 702
Quote:
Originally Posted by Kiseku View Post
Sag mir mal, wie du etwas im Server von Client checkst ohne etwas vom Client an den Server zu senden / es im Client zu checken und dann zu bearbeiten.
Kann sein das ich mich Irre, aber ich meine du musst immer etwas im Client machen, da FlyFF nicht komplett Serverseitig programmiert ist, siehe die GetSpeed Funktion, schmeiß die mal raus und guck was passiert. Wenn du sie entfernen lässt, hast du einen Speedhack fix, kannst aber auch nicht mehr laufen. Kann natürlich auch sein das ich mich Irre und ich einfach keine andere Lösung als das sehe ka.
Ich glaube ihr seid beide sehr verwirrt.
Blouflash is offline  
Thanks
4 Users
Old 08/04/2019, 20:07   #7



 
- DK's Avatar
 
elite*gold: 7
Join Date: Sep 2012
Posts: 4,466
Received Thanks: 3,218
Quote:
Originally Posted by Kiseku View Post
Sag mir mal, wie du etwas im Server von Client checkst ohne etwas vom Client an den Server zu senden / es im Client zu checken und dann zu bearbeiten.
Kann sein das ich mich Irre, aber ich meine du musst immer etwas im Client machen, da FlyFF nicht komplett Serverseitig programmiert ist, siehe die GetSpeed Funktion, schmeiß die mal raus und guck was passiert. Wenn du sie entfernen lässt, hast du einen Speedhack fix, kannst aber auch nicht mehr laufen. Kann natürlich auch sein das ich mich Irre und ich einfach keine andere Lösung als das sehe ka.
Quote:
Originally Posted by Blouflash View Post
Ich glaube ihr seid beide sehr verwirrt.
***, er hat mich missverstanden. Ich meinte eigentlich nur das ein reiner Clientside Antihack bzw allgemeine Fixes einfach nicht sinnig sind. Daher sollte man etwas auch an den Server schicken, zur Prüfung.

Lol, voll an einander vorbei :P
- DK is offline  
Thanks
1 User
Old 08/05/2019, 01:04   #8



 
Sedrika's Avatar
 
elite*gold: 18
The Black Market: 103/0/0
Join Date: Sep 2009
Posts: 20,174
Received Thanks: 14,475
Hat sich einer mal die Dokumentation angeschaut die bei liegt? Habe zwar nur kurz reingeschaut aber da ist auch eine Anleitung wie man das ganze Server seitig prüft usw. ¯\_(ツ)_/¯
Sedrika is offline  
Thanks
2 Users
Old 08/18/2019, 17:05   #9
 
elite*gold: 0
Join Date: Apr 2013
Posts: 511
Received Thanks: 431
Gott das tut weh. Ernsthaft, dieser Schmerz in meinen Augen wenn ich diesen mist sehe.

Also... Wir Platzieren einen Hook für ExitProcess (Wer braucht schon Jmp?) und Provozieren einfach mit Hilfe von Löschen der DLL das diese nicht geladen werden kann. Da wir ExitProcess unter Kontrolle haben Blocken wir einfach die Weitergabe. Feierabend, da zuckt nichts mehr.

(ExitProcess einfachste Hook, braucht ihr keine Addressen/Pointer für Jmp)

Dann zum Server, nun, was denkt ihr eigentlich wie man überhaupt ein AntiCheat bypasst? Man checkt erstmal was der zum Server sendet. Können ja schließlich fast nur Constante sein. Denke auf die Restliche Antwort kommt jeder selbst.
Wanetrain is offline  
Thanks
2 Users
Old 08/21/2019, 04:19   #10
 
yazuka21's Avatar
 
elite*gold: 0
Join Date: Mar 2014
Posts: 305
Received Thanks: 19
It's better if Ahnlab HS placed to NeuzMsgProc.cpp.
yazuka21 is offline  
Old 05/06/2021, 20:10   #11
 
elite*gold: 0
Join Date: May 2021
Posts: 6
Received Thanks: 1
hi guys i got some error when i add the Hackshield source code from banktakung and try to run my patcher but i got an error
Quote:
HackShield Start Error. (Error Code = 204)
. Any idea how to fix this error?
arjow143 is offline  
Reply


Similar Threads Similar Threads
[Selling] [CODE][/CODE][BATTLEBYE]-✅ESP,GLOW,NO-RECOIL,FLY,TP,AIM.✅[CODE][/CODE]
07/19/2019 - Rainbow Six Siege Trading - 0 Replies
I'm passing here to tell you that the cheat -BattleByeR6- is the better cheat, 100% reliable. In this cheat -BatlleByeR6- there is no risk of getting banned, it will be added several other options in our cheat -BattleByeR6- ● Interested in adding contact at discord : BattleBye #9647 Or enter into our discord BattleBye : https://discord.gg/dbHUSmu
[HOW TO?] Guten Hackshield ohne HackShield Patcher
12/19/2014 - Metin2 Private Server - 2 Replies
Hallo Community, auf dem Server Astora2 gibt es ein HackShield den man nicht umgehen kann und im Ordner-Client steht auch nichts von "HackShield" oder sontiges. Das finde ich gut und möchte sowas auch in meinem Client. Aber wie? Ich möchte keinen HackShield wo er sich noch am anfang öffnet u. Patcht vor dem Start des Clienten sondern wie bei dem Server Astora2 möchte ich den wenn man z.B versuchen würde zu hacken, botten oder ect. das dann diese Fragezeichen kommt und sich das Metin2...
Removing hackshield from Any hackshield protected game client (Video Tutorial)
04/18/2011 - Tutorials - 2 Replies
This is my first contribution, believe it will be useful for everyone. If you need the tools. Tuts 4 You Removing Hackshield by fungos.swf Removing Hackshield by fungos.swf
[Hackshield]Bypass the new protection hackshield
01/25/2010 - Silkroad Online - 2 Replies
Today i was so mad from agbot so i found the loader lite 3... so i tried to connect with him to ibot (port : 16000) and failed cuz of the hackshield .... so i tried to rename the "hackshield" file dictory and it was full of success ... but i dont know .. should i get banned for it? (i bought silks) if no ill post here the download and guide... Thank's alot : Kobbi :)



All times are GMT +1. The time now is 14:22.


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.