Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 21:37

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

Advertisement



bool CNeuzApp::isRunning(char* name) error part

Discussion on bool CNeuzApp::isRunning(char* name) error part within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
Ecrypter's Avatar
 
elite*gold: 0
Join Date: Aug 2014
Posts: 653
Received Thanks: 217
bool CNeuzApp::isRunning(char* name) error part

Hi Epvpers im asking about the secury of Roika flyff i try to leech the all feature of security and this part i got an error
PHP Code:
bool CNeuzApp::isRunning(charname)
{
    
DWORD process_id_array[1024];
    
DWORD bytes_returned;
    
int num_processes;
    
HANDLE hProcess;
    
char image_name[256];
    
int i;
    
EnumProcesses(process_id_array256*sizeof(DWORD), &bytes_returned);
    
num_processes = (bytes_returned/sizeof(DWORD));
    for (
0num_processesi++) {
        
hProcess=OpenProcess(PROCESS_ALL_ACCESS,TRUE,process_id_array[i]);
        if(
GetModuleBaseName(hProcess,0,image_name,256)){
            if(!
stricmp(image_name,name)){
                
CloseHandle(hProcess);
                return 
TRUE;
            }
        }
        
CloseHandle(hProcess);
    }
    return 
FALSE;

PHP Code:
#ifdef __CHEAT_ENGINE_BLOCK 
    
CWinThread*                m_threadSecurity
    static    
UINT            _SecurityThreadFuncLPVOID param ); 
    
bool                       isRunning(charname); 
    
CWinThread*                m_threadSecurity2
    static    
UINT            _SecurityThread2FuncLPVOID param ); 
    
void                    StartSecurityThread(); 
#endif 
nogameguard and Debug Neuz error
PHP Code:
Neuz.obj error LNK2019unresolved external symbol _GetModuleBaseNameA@16 referenced in function "public: bool __thiscall CNeuzApp::isRunning(char *)" (?isRunning@CNeuzApp@@QAE_NPAD@Z)
Neuz.obj error LNK2019unresolved external symbol _EnumProcesses@12 referenced in function "public: bool __thiscall CNeuzApp::isRunning(char *)" (?isRunning@CNeuzApp@@QAE_NPAD@Z)
.\..\..\
Output\Neuz\Debug/Neuz.exe fatal error LNK11202 unresolved externals 
thanks and advance can answer my question

The error is only when i debug the neuz
Ecrypter is offline  
Old 06/13/2018, 19:08   #2
 
elite*gold: 0
Join Date: Mar 2018
Posts: 155
Received Thanks: 54
You need to include the psapi.lib mr. rene

also you need to add this on neuz.cpp

#include <psapi.h>
Tweeney is offline  
Old 06/13/2018, 19:10   #3
 
elite*gold: 0
Join Date: Mar 2008
Posts: 665
Received Thanks: 230
Add Psapi.lib to the linker part. Linker > Input > Additional dependencies.
alfredico is offline  
Reply


Similar Threads Similar Threads
[Mini-Release] Perc_Chance-Funktion (bool return)
05/05/2015 - Metin2 PServer Guides & Strategies - 7 Replies
Muss man wohl nicht viel zu sagen. Ist einfach dazu da, um bei Chancen unter 1% nicht mit number(1, 1000) usw. rechnen zu müssen. function math.chance(i) return math.random() <= (i/100) end So benutzbar: if math.chance(0.0001) then trifft zu, wenn die Chance von 0.0001 zutrifft.
bool || void
06/03/2014 - C/C++ - 26 Replies
Sollte ich hierfür bool oder void benutzen 1. class Kap { public: short zahl; bool setZahl(short zahl){ this->zahl = zahl;
[C#] delegate bool functions
12/29/2012 - .NET Languages - 3 Replies
Moin moin, Nach langer zeit melde ich mich dann mal von den toten zurück :) Ich habe ein kleines Problem, und zwar möchte ich eine bestimmte Funktion die Bsp. Einen zauber startet überladen. Public static void Cast(string spellname) { Casting(spellname) }
Eigenes Fenster außerhalb von BOOL InitInstance()
04/21/2012 - C/C++ - 4 Replies
Mein Problem liegt darin, dass ich 2 Fenster haben möchte, das eine sich jedoch nur öffnen soll wenn ich beispielsweise einen Button gedrückt habe. Also habe ich eine zweite Klasse gemacht etc. So, wenn ich nun das Fenster erstellen lasse, wo das erste auch erstellt wird( in BOOL InitInstance() ), funktioniert alles wunderbar d.h. sie öffnen sich beide gleichzeitig, aber das möchte ich ja nicht. Trage ich dann die Funktion CreateWindow() dahinein (außerhalb von BOOL InitInstance() ), dass...



All times are GMT +1. The time now is 21:39.


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.