compiling error

Posts 1–15 of 22 · Page 1 of 2
compiling error
When compiling error

What is my mistake?
You Realize That You Have To Show Us The Code And The Error, Right?
Wrong Section.
What is correct?
Quote Originally Posted by gagaka45 View Post
When compiling error

What is my mistake?
REMOVE "dll.h"
use only "dllmain.cpp"

and try the build again
removed DLL.h
All the same error
Quote Originally Posted by gagaka45 View Post
removed DLL.h
All the same error
I mean "DWORD" ... there should you change
Quote Originally Posted by gagaka45 View Post
removed DLL.h
All the same error
My guess you use @Qmo source code.
i mean this source..???
http://www.mpgh.net/forum/387-projec...1-qmoainx.html

and if your answer YES.

first time just remove this part...
why..???
because im sure you not use a HWID for your project.
Code:
int snHDD (void)
    {
    }
    UCHAR szFileSys[255],szVolNameBuff[255];
    DWORD dwMFL,dwSysFlags;
    DWORD dwSerial;
    LPCTSTR szHD = "C:\\"; // location HWID
and
Code:
// if the Hardware ID in the switch to remove the sign : /* behind GetVolume
          /*GetVolumeInformation(szHD,(LPTSTR)szVolNameBuff,255,&dwSerial, &dwMFL,&dwSysFlags,(LPTSTR)szFileSys,255);
            if (dwSerial== 1352882290){// Serial Number or your HWID
                MessageBox (0, "|============•••HWID SUKSES REGISTRASI•••============|","               Qmoainx HWID",MB_ICONINFORMATION) ;
			}else{ // when HWID accepted


ok, all code will be like this
Code:
/*
  Name: Qmoainx-Project™
  Copyright: Copyright © 2002-2011. MPGH/Qmoainx. All rights reserved
  Date: 12/08/2011
*/

#include <windows.h>
#include "stdio.h"
#include "stdlib.h"
//************************************************************************************************************************//
LPTSTR Brother = "PointBlank.i3exec"; // Target
DWORD dwBase, adrRESPAWN1, adrRESPAWN2, adrDEFUSE, adrSETUP, adrINVICIBLE1, adrINVICIBLE2, adrINVICIBLE3 , CheckProtection;
//************************************************************************************************************************//
    

//========================Offset=========================//
#define No_Respawn              0x3CFF74 // replace as new
#define No_Respawn_Map_4vs4     0x3CCE50 // replace as new
#define Defuse                  0x3C60A2 // replace as new
#define Pasang                  0x3CFF74 // replace as new
#define InvicibleTime           0x3C5CFC // replace as new
#define InvicibleTime_4vs4      0x3CCE60 // replace as new
#define InvicibleTime_4vs4b     0x3CCE70 // replace as new
//=======================================================//

//************************************************************************************************************************//
//Check Whether the address in the protected ?
void InProtectAndModify(DWORD Offset, DWORD Pointer, DWORD Length){
VirtualProtect((int*)Offset, Length, PAGE_EXECUTE_READWRITE, &CheckProtection); // check whether the address they will be locked / protected ? if so, do unprotect
RtlMoveMemory((int*)Offset, (const int*)Pointer, Length); // change the address they will be writeable, and do the patch with MEMpatch
VirtualProtect((int*)Offset, Length, CheckProtection, &CheckProtection); // TSB protect again address the security guard let me not taxable
}

// Apply the patch to the memory
int MEMhack( BYTE *Offset, BYTE *ByteArray, DWORD Length){
InProtectAndModify((DWORD)Offset , (DWORD)ByteArray , 1);
} 
//************************************************************************************************************************//
int Qmoainx (void *adr, void *ptr, int size)

{

unsigned long CheckProtection;

VirtualProtect((int*)adr,size,PAGE_READWRITE, &CheckProtection);

RtlMoveMemory((int*)adr,(const int*)ptr,size);

VirtualProtect((int*)adr,size,CheckProtection, 0);

}
//***************************************ByPass HS************************************************************************//
int __fastcall QmoainxProtection(void){
return 0; // unhook
}
//************************************************************************************************************************//

DWORD __stdcall ThreadStarter(LPCVOID MCR)

    {

    while (1) {
          QmoainxProtection();
          QmoainxProtection();
          QmoainxProtection();
          QmoainxProtection();
          QmoainxProtection();
          QmoainxProtection();
          QmoainxProtection();
          QmoainxProtection();
          QmoainxProtection();
          QmoainxProtection();
            

//============================================NO RES,Invisible KILL,No Defuse,No Pasang============================================//
            if (GetAsyncKeyState(VK_HOME)&1) 
				{
                                              MessageBeep(MB_ICONINFORMATION);// time at the push sound Trining
			    DWORD HAMIMGANTENG =(DWORD)GetModuleHandleA("PointBlank.i3exec");             				
adrRESPAWN1 = QMOGANTENG + (DWORD)No_Respawn;
Qmoainx((void *)(adrRESPAWN1),(void*)(PBYTE)"\x00\x00\x00\x00", 4);
adrRESPAWN2 = QMOGANTENG + (DWORD)No_Respawn_Map_4vs4;
Qmoainx™((void *)(adrRESPAWN2),(void*)(PBYTE)"\x00\x00\x00\x00", 4);
adrDEFUSE = QMOGANTENG + (DWORD)Defuse;
Qmoainx™((void *)(adrDEFUSE),(void*)(PBYTE)"\x00\x00\x00\x00", 4);
adrSETUP = QMOGANTENG + (DWORD)Pasang;
Qmoainx™((void *)(adrSETUP),(void*)(PBYTE)"\x00\x00\x00\x00", 4);
adrINVICIBLE1 = QMOGANTENG + (DWORD)InvicibleTime;
Qmoainx™((void *)(adrINVICIBLE1),(void*)(PBYTE)"\x00\x00\x00\x00", 4);
adrINVICIBLE2 = QMOGANTENG + (DWORD)InvicibleTime_4vs4;
Qmoainx™((void *)(adrINVICIBLE2),(void*)(PBYTE)"\x00\x00\x00\x00", 4);
adrINVICIBLE3 = QMOGANTENG + (DWORD)InvicibleTime_4vs4b;
Qmoainx™((void *)(adrINVICIBLE3),(void*)(PBYTE)"\x00\x00\x00\x00", 4);
				


				}



			Sleep(15);
    
 
            
           
            




    
        }
          return (0);

}

BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
    switch(dwReason)
        {
             case DLL_PROCESS_ATTACH:
          DisableThreadLibraryCalls(hDll);
          
                MessageBox (0, "|============•••Qmoainx™•••============|","[C]2011  | Qmoainx™ | Qmoainx™ |",MB_ICONWARNING);          
				ExitProcess(0);// if HWID not accepted
               }//*
                MessageBox (0,"        Special For MPGH","MPGH/Qmoainx™", MB_OK);
				CreateThread(0, 0, (LPTHREAD_START_ROUTINE)ThreadStarter, 0, 0, 0);
MessageBox (0,"HAVING FUN","MPGH/Qmoainx™", MB_OK); 
				CreateThread(0, 0, (LPTHREAD_START_ROUTINE)ThreadStarter, 0, 0, 0);
    break;
        }
            char strDLLName [_MAX_PATH];
GetModuleFileName(hDll, strDLLName , _MAX_PATH);
if (strstr(strDLLName, "ScarLetZer.dll") <= 0) {
// Notice Kalau DLL Sudah di Rename
MessageBox(0, "way you rename", "MPGH/Qmoainx™", MB_OK + MB_ICONSTOP );
MessageBox(0, "dont rename ,f#ck you leecher", "MPGH/Qmoainx™", MB_OK + MB_ICONSTOP );
ExitProcess(0);//PB g jalan
}
you see the red part ???
chage with your PointBlank or PBlackout value
it's unique for every PB region

and the red one :
ScarLetZer.dll
it's will be name of your dll of course you can change that name.

additional info
i know you use russian engine


im sorry if there is something wrong...
Quote Originally Posted by Qmo View Post
hahaha ... xpadahal saya sengaja membuat'nyaxx biar pusinxx , corLy pake xx biax ngax bisax di terjemahkanxx
Indonesian.
kekeke sorry bro ane jelasin dikit sama dia (TS) dari pada btar PM pada muncrat menuhin inbok gw dari dia dan teman2 nya wakekekekekke melihat dari kasus2 sebelum nya.
terjemahan ke bahasa linggis yang bawah.

English
Thanks qmoainx for your share in here lol.

@MINION please move this thread to : Project Blackout Hack Coding/Source Code
Quote Originally Posted by goblox View Post
Indonesian.
kekeke sorry bro ane jelasin dikit sama dia (TS) dari pada btar PM pada muncrat menuhin inbok gw dari dia dan teman2 nya wakekekekekke melihat dari kasus2 sebelum nya.
terjemahan ke bahasa linggis yang bawah.

English
Thanks qmoainx for your share in here lol.

@MINION please move this thread to : Project Blackout Hack Coding/Source Code
English language : Nice job and thanks!!!
INDO language : huuh benar, BTW thank y bro_ Buleo emang pada beggoNICE CROT kk ...
I deleted Dll.h
And paste the source into "Dllmain.c" but exact same error
And if you delete Dllmain.c
And inserted into the source Dll.h mistakes there.
But then it does not work
with your russian tools :
1. make a new c project
2. removed DLL.h
3. put this code to dllmain.cpp
4. rebuild all
5. go to your save location and rename your dll


Code:
/*
  Name: Qmoainx-Project™
  Copyright: Copyright © 2002-2011. MPGH/Qmoainx. All rights reserved
  Date: 12/08/2011
*/

#include <windows.h>
#include "stdio.h"
#include "stdlib.h"
//************************************************************************************************************************//
LPTSTR Brother = "PointBlank.i3exec"; // Target
DWORD dwBase, adrRESPAWN1, adrRESPAWN2, adrDEFUSE, adrSETUP, adrINVICIBLE1, adrINVICIBLE2, adrINVICIBLE3 , CheckProtection;
//************************************************************************************************************************//
    

//========================Offset=========================//
#define No_Respawn              0x3CFF74 // replace as new
#define No_Respawn_Map_4vs4     0x3CCE50 // replace as new
#define Defuse                  0x3C60A2 // replace as new
#define Pasang                  0x3CFF74 // replace as new
#define InvicibleTime           0x3C5CFC // replace as new
#define InvicibleTime_4vs4      0x3CCE60 // replace as new
#define InvicibleTime_4vs4b     0x3CCE70 // replace as new
//=======================================================//

//************************************************************************************************************************//
//Check Whether the address in the protected ?
void InProtectAndModify(DWORD Offset, DWORD Pointer, DWORD Length){
VirtualProtect((int*)Offset, Length, PAGE_EXECUTE_READWRITE, &CheckProtection); // check whether the address they will be locked / protected ? if so, do unprotect
RtlMoveMemory((int*)Offset, (const int*)Pointer, Length); // change the address they will be writeable, and do the patch with MEMpatch
VirtualProtect((int*)Offset, Length, CheckProtection, &CheckProtection); // TSB protect again address the security guard let me not taxable
}

// Apply the patch to the memory
int MEMhack( BYTE *Offset, BYTE *ByteArray, DWORD Length){
InProtectAndModify((DWORD)Offset , (DWORD)ByteArray , 1);
} 
//************************************************************************************************************************//
int Qmoainx (void *adr, void *ptr, int size)

{

unsigned long CheckProtection;

VirtualProtect((int*)adr,size,PAGE_READWRITE, &CheckProtection);

RtlMoveMemory((int*)adr,(const int*)ptr,size);

VirtualProtect((int*)adr,size,CheckProtection, 0);

}
//***************************************ByPass HS************************************************************************//
int __fastcall QmoainxProtection(void){
return 0; // unhook
}
//************************************************************************************************************************//

DWORD __stdcall ThreadStarter(LPCVOID MCR)

    {

    while (1) {
          QmoainxProtection();
          QmoainxProtection();
          QmoainxProtection();
          QmoainxProtection();
          QmoainxProtection();
          QmoainxProtection();
          QmoainxProtection();
          QmoainxProtection();
          QmoainxProtection();
          QmoainxProtection();
            

//============================================NO RES,Invisible KILL,No Defuse,No Pasang============================================//
            if (GetAsyncKeyState(VK_HOME)&1) 
				{
                                              MessageBeep(MB_ICONINFORMATION);// time at the push sound Trining
			    DWORD HAMIMGANTENG =(DWORD)GetModuleHandleA("PointBlank.i3exec");             				
adrRESPAWN1 = QMOGANTENG + (DWORD)No_Respawn;
Qmoainx((void *)(adrRESPAWN1),(void*)(PBYTE)"\x00\x00\x00\x00", 4);
adrRESPAWN2 = QMOGANTENG + (DWORD)No_Respawn_Map_4vs4;
Qmoainx™((void *)(adrRESPAWN2),(void*)(PBYTE)"\x00\x00\x00\x00", 4);
adrDEFUSE = QMOGANTENG + (DWORD)Defuse;
Qmoainx™((void *)(adrDEFUSE),(void*)(PBYTE)"\x00\x00\x00\x00", 4);
adrSETUP = QMOGANTENG + (DWORD)Pasang;
Qmoainx™((void *)(adrSETUP),(void*)(PBYTE)"\x00\x00\x00\x00", 4);
adrINVICIBLE1 = QMOGANTENG + (DWORD)InvicibleTime;
Qmoainx™((void *)(adrINVICIBLE1),(void*)(PBYTE)"\x00\x00\x00\x00", 4);
adrINVICIBLE2 = QMOGANTENG + (DWORD)InvicibleTime_4vs4;
Qmoainx™((void *)(adrINVICIBLE2),(void*)(PBYTE)"\x00\x00\x00\x00", 4);
adrINVICIBLE3 = QMOGANTENG + (DWORD)InvicibleTime_4vs4b;
Qmoainx™((void *)(adrINVICIBLE3),(void*)(PBYTE)"\x00\x00\x00\x00", 4);
				


				}



			Sleep(15);
    
 
            
           
            




    
        }
          return (0);

}

BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
    switch(dwReason)
        {
             case DLL_PROCESS_ATTACH:
          DisableThreadLibraryCalls(hDll);
          
                MessageBox (0, "|============•••Qmoainx™•••============|","[C]2011  | Qmoainx™ | Qmoainx™ |",MB_ICONWARNING);          
				ExitProcess(0);// if HWID not accepted
               }//*
                MessageBox (0,"        Special For MPGH","MPGH/Qmoainx™", MB_OK);
				CreateThread(0, 0, (LPTHREAD_START_ROUTINE)ThreadStarter, 0, 0, 0);
MessageBox (0,"HAVING FUN","MPGH/Qmoainx™", MB_OK); 
				CreateThread(0, 0, (LPTHREAD_START_ROUTINE)ThreadStarter, 0, 0, 0);
    break;
        }
            char strDLLName [_MAX_PATH];
GetModuleFileName(hDll, strDLLName , _MAX_PATH);
if (strstr(strDLLName, "ScarLetZer.dll") <= 0) {
// Notice Kalau DLL Sudah di Rename
MessageBox(0, "way you rename", "MPGH/Qmoainx™", MB_OK + MB_ICONSTOP );
MessageBox(0, "dont rename ,f#ck you leecher", "MPGH/Qmoainx™", MB_OK + MB_ICONSTOP );
ExitProcess(0);//PB g jalan
}

if you still get an error put your screen shot here.
Here is a screen error
@gagaka45
did you see this image...?


ok tomorrow i will send you a example project
just be patient .
Posts 1–15 of 22 · Page 1 of 2
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?