Register for your free account! | Forgot your password?

You last visited: Today at 10:30

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


C++ Code

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2015
Posts: 36
Received Thanks: 7
Unhappy C++ Code

Help me I'm wrong.? C++ Console Application

PHP Code:
#include <iostream>
#include <Windows.h>
#include <string>
#include "Function.h"

using std::cout ;
using std::end ;

using namespace std;

std::string GameName "cabalmain" ;
LPCSTR LGameWindow "cabalmain" ;
std::string GameStatus;

#define ADDR_BASE  0x00AC532C
#define NATION_OFFSET 0x3b8
#define NSD_PTR1 0x4b68
#define CBO_MAIN1 0x4c41
#define NCT_OFFSET 0xd9d
#define ZOOM 0x004E60A3
        
        
void Start();
            
BOOL APIENTRY DllMain(HMODULE hModuleDWORD ulReasonLPVOID lpReserved)
        {
            if (
ulReason == DLL_PROCESS_ATTACH)
    {
            
CreateThread(00, (LPTHREAD_START_ROUTINE)Start000);
    }
            return 
TRUE;
    }
int main ()
{
            
system("cls");
            
SetConsoleTitle(TEXT("Black-Cabal"));
        
std::cout << "Version 1.0" << std::endl;
        
std::cout << "==============================" << std::endl;
        
std::cout << "         BLACK_CABAL" << std::endl; ;
        
std::cout << "==============================" << std::endl << std::endl;
        
std::cout << "******** GACME STATUS ******** " << std::endl;
        
std::cout << "" << std::endl;
        
std::cout << "[Alt + F5]   No Skilldelay " << std::endl;
        
std::cout << "" << std::endl;
        
std::cout << "[Alt + F6]   Combo Hack " << std::endl;
        
std::cout << "" << std::endl;
        
std::cout << "[Alt + F7]   NaTion Hack " << std::endl;
        
std::cout << "" << std::endl;
        
std::cout << "[Alt + F8]   Wall Hack" << std::endl;
        
std::cout << "" << std::endl;
        
std::cout << "[Alt + F9]   ZOOM Hack" << std::endl;
        
std::cout << "" << std::endl;
        
std::cout << "[Alt + F10]  No Casting Time" << std::endl;
        
std::cout << "" << std::endl;
        
std::cout << "OFF Function Ctrl + F5 - F10" << std::endl;
        
std::cout << "" << std::endl;
        
std::cout << "" << std::endl;
        
std::cout << "" << std::endl;
        
std::cout << "" << std::endl;
        
std::cout << "" << std::endl;
        
std::cout << "" << std::endl;
        
std::cout << "" << std::endl;
        
std::cout << "" << std::endl;
        
std::cout << "" << std::endl;
        
std::cout << "" << std::endl;
        
std::cout << "" << std::endl;
        
std::cout << "" << std::endl;
        
std::cout << "" << std::endl;
        
std::cout << "" << std::endl;
        
std::cout << "" << std::endl;
        
std::cout << "" << std::endl;
        
std::cout << "" << std::endl;
        
std::cout << "" << std::endl;
        
std::cout << "" << std::endl;
        
std::cout << "" << std::endl;
        
std::cout << "" << std::endl;
        
std::cout << "" << std::endl;
        
std::cout << "" << std::endl;
        
std::cout << "" << std::endl;
        
std::cout << "" << std::endl;
        
std::cout << "" << std::endl;
        
std::cout << "" << std::endl;
        
std::cout << "" << std::endl;
        
std::cout << "" << std::endl;
        
std::cout << "" << std::endl;
        
std::cout << "" << std::endl;
        
std::cout << "" << std::endl;
        
std::cout << "" << std::endl;
        
std::cout << "" << std::endl;
        
std::cout << "" << std::endl;
        
scanf(" ");

    
void Start();
        {
    while (
0)
    {
        
//====================No Skilldelay==========================
        
if (GetKeyState(VK_MENU) < 0// Turn On
        
{
            if (
GetKeyState(VK_F5) < 0)
          {
            *(
DWORD*)(*(DWORD*)ADDR_BASE NSD_PTR1) = 1;
            *(
DWORD*)(*(DWORD*)ADDR_BASE NCT_OFFSET) = 1;
          }
        }
        if (
GetKeyState(VK_CONTROL) < 0)
        {
            if(
GetKeyState(VK_F5) < 0)
            {
            *(
DWORD*)(*(DWORD*)ADDR_BASE NSD_PTR1) = 0x0;
            *(
DWORD*)(*(DWORD*)ADDR_BASE NCT_OFFSET) = 0x0;
           }
         }
//===================== Combo =========================
        
if (GetKeyState(VK_MENU) < 0// Turn On
        
{
            if (
GetKeyState(VK_F6) < 0)
          {
            *(
DWORD*)(*(DWORD*)ADDR_BASE CBO_MAIN1) = 1;
          }
        }
        if (
GetKeyState(VK_CONTROL) < 0)
        {
            if(
GetKeyState(VK_F5) < 0)
            {
            *(
DWORD*)(*(DWORD*)ADDR_BASE CBO_MAIN1) = 0x0;
            
           }
         }
//==================== GM =================================
    
if (GetKeyState(VK_MENU) < 0// Turn On
        
{
            if (
GetKeyState(VK_F7) < 0)
          {
            *(
DWORD*)(*(DWORD*)ADDR_BASE NATION_OFFSET) = 3;
          }
        }
        if (
GetKeyState(VK_CONTROL) < 0)
        {
            if(
GetKeyState(VK_F7) < 0)
            {
            *(
DWORD*)(*(DWORD*)ADDR_BASE NATION_OFFSET) = 0x0;
            
           }
         }
//=================== Zoom ==============================
    
if (GetKeyState(VK_MENU) < 0// Turn On
        
{
            if (
GetKeyState(VK_F9) < 0)
          {
            *(
DWORD*)(*(DWORD*)ZOOM) = 74909090;
          }
        }
        if (
GetKeyState(VK_CONTROL) < 0)
        {
            if(
GetKeyState(VK_F9) < 0)
            {
            *(
DWORD*)(*(DWORD*)ZOOM) = 0x0;
            
           }
         }
//=================Ni Casting Time =============================
        
if (GetKeyState(VK_MENU) < 0// Turn On
        
{
            if (
GetKeyState(VK_F10) < 0)
          {
            *(
DWORD*)(*(DWORD*)ADDR_BASE NCT_OFFSET) = 1;
          }
        }
        if (
GetKeyState(VK_CONTROL) < 0
        {
            if(
GetKeyState(VK_F10) < 0)
            {
            *(
DWORD*)(*(DWORD*)ADDR_BASE NCT_OFFSET) = 0x0;
            
           }
         }
      }
    }
        

Error 3 error LNK2019: unresolved external symbol "void __cdecl Start(void)" ([email protected]@YAXXZ) referenced in function [email protected] c:\Users\blackpalm\documents\visual studio 2010\Projects\Black-Cabal-Test\Black-Cabal-Test\MyCheat.obj Black-Cabal-Test

Error 4 error LNK1120: 1 unresolved externals c:\users\blackpalm\documents\visual studio 2010\Projects\Black-Cabal-Test\Debug\Black-Cabal-Test.exe Line 1 Column 1 Black-Cabal-Test



blackmayfay is offline  
Old 11/11/2015, 14:29   #2
 
elite*gold: 0
Join Date: Aug 2011
Posts: 545
Received Thanks: 379
I am not sure but maybe this will do it...

Code:
void Start() {
        BOOL APIENTRY DllMain(HMODULE hModule, DWORD ulReason, LPVOID pReserved)
        if (ulReason == DLL_PROCESS_ATTACH)
        {
            CreateThread(0, 0, (LPTHREAD_START_ROUTINE)Start, 0, 0, 0);
        }
        return TRUE;
}


- Avrex - is offline  
Old 11/11/2015, 18:55   #3
 
elite*gold: 0
Join Date: Sep 2015
Posts: 36
Received Thanks: 7
Thank you I would like to test

Error C2143 syntax error: missing ';' before 'if' // Line 24
Error C2065 'ulReason': undeclared identifier // Line 24
Error expected a ';' // Line 24
Error C2562 'Start': 'void' function returning a value // Line 28


Quote:
#include <iostream>
#include <Windows.h>
#include <string>
#include "Function.h"

using std::cout ;
using std::end ;

using namespace std;

std::string GameName = "cabalmain" ;
LPCSTR LGameWindow = "cabalmain" ;
std::string GameStatus;

#define ADDR_BASE 0x00AC532C
#define NATION_OFFSET 0x3b8
#define NSD_PTR1 0x4b68
#define CBO_MAIN1 0x4c41
#define NCT_OFFSET 0xd9d
#define ZOOM 0x004E60A3

void Start() {
BOOL APIENTRY DllMain(HMODULE hModule, DWORD ulReason, LPVOID pReserved)
if (ulReason == DLL_PROCESS_ATTACH) //// Line 24
{
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)Start, 0, 0, 0);
}
return TRUE; // Line 28
}
int main ()
{
system("cls");
SetConsoleTitle(TEXT("Black-Cabal"));
std::cout << "Version 1.0" << std::endl;
std::cout << "==============================" << std::endl;
std::cout << " BLACK_CABAL" << std::endl; ;
std::cout << "==============================" << std::endl << std::endl;
std::cout << "******** GACME STATUS ******** " << std::endl;
std::cout << "" << std::endl;
std::cout << "[Alt + F5] No Skilldelay " << std::endl;
std::cout << "" << std::endl;
std::cout << "[Alt + F6] Combo Hack " << std::endl;
std::cout << "" << std::endl;
std::cout << "[Alt + F7] NaTion Hack " << std::endl;
std::cout << "" << std::endl;
std::cout << "[Alt + F8] Wall Hack" << std::endl;
std::cout << "" << std::endl;
std::cout << "[Alt + F9] ZOOM Hack" << std::endl;
std::cout << "" << std::endl;
std::cout << "[Alt + F10] No Casting Time" << std::endl;
std::cout << "" << std::endl;
std::cout << "OFF Function Ctrl + F5 - F10" << std::endl;
std::cout << "" << std::endl;
std::cout << "" << std::endl;
std::cout << "" << std::endl;
std::cout << "" << std::endl;
std::cout << "" << std::endl;
std::cout << "" << std::endl;
std::cout << "" << std::endl;
std::cout << "" << std::endl;
std::cout << "" << std::endl;
std::cout << "" << std::endl;
std::cout << "" << std::endl;
std::cout << "" << std::endl;
std::cout << "" << std::endl;
std::cout << "" << std::endl;
std::cout << "" << std::endl;
std::cout << "" << std::endl;
std::cout << "" << std::endl;
std::cout << "" << std::endl;
std::cout << "" << std::endl;
std::cout << "" << std::endl;
std::cout << "" << std::endl;
std::cout << "" << std::endl;
std::cout << "" << std::endl;
std::cout << "" << std::endl;
std::cout << "" << std::endl;
std::cout << "" << std::endl;
std::cout << "" << std::endl;
std::cout << "" << std::endl;
std::cout << "" << std::endl;
std::cout << "" << std::endl;
std::cout << "" << std::endl;
std::cout << "" << std::endl;
std::cout << "" << std::endl;
std::cout << "" << std::endl;
std::cout << "" << std::endl;
scanf(" ");

void Start();
{
while (0)
{
//====================No Skilldelay==========================
if (GetKeyState(VK_MENU) < 0) // Turn On
{
if (GetKeyState(VK_F5) < 0)
{
*(DWORD*)(*(DWORD*)ADDR_BASE + NSD_PTR1) = 1;
*(DWORD*)(*(DWORD*)ADDR_BASE + NSD_PTR1) = 1;
}
}
if (GetKeyState(VK_CONTROL) < 0)
{
if(GetKeyState(VK_F5) < 0)
{
*(DWORD*)(*(DWORD*)ADDR_BASE + NSD_PTR1) = 0x0;
*(DWORD*)(*(DWORD*)ADDR_BASE + NSD_PTR1) = 0x0;
}
}
//===================== Combo =========================
if (GetKeyState(VK_MENU) < 0) // Turn On
{
if (GetKeyState(VK_F6) < 0)
{
*(DWORD*)(*(DWORD*)ADDR_BASE + CBO_MAIN1) = 1;
}
}
if (GetKeyState(VK_CONTROL) < 0)
{
if(GetKeyState(VK_F5) < 0)
{
*(DWORD*)(*(DWORD*)ADDR_BASE + CBO_MAIN1) = 0x0;

}
}
//==================== GM =================================
if (GetKeyState(VK_MENU) < 0) // Turn On
{
if (GetKeyState(VK_F7) < 0)
{
*(DWORD*)(*(DWORD*)ADDR_BASE + NATION_OFFSET) = 3;
}
}
if (GetKeyState(VK_CONTROL) < 0)
{
if(GetKeyState(VK_F7) < 0)
{
*(DWORD*)(*(DWORD*)ADDR_BASE + NATION_OFFSET) = 0x0;

}
}
//=================== Zoom ==============================
if (GetKeyState(VK_MENU) < 0) // Turn On
{
if (GetKeyState(VK_F9) < 0)
{
*(DWORD*)(*(DWORD*)ZOOM) = 74909090;
}
}
if (GetKeyState(VK_CONTROL) < 0)
{
if(GetKeyState(VK_F9) < 0)
{
*(DWORD*)(*(DWORD*)ZOOM) = 0x0;

}
}
//=================No Casting Time =============================
if (GetKeyState(VK_MENU) < 0) // Turn On
{
if (GetKeyState(VK_F10) < 0)
{
*(DWORD*)(*(DWORD*)ADDR_BASE + NCT_OFFSET) = 1;
}
}
if (GetKeyState(VK_CONTROL) < 0)
{
if(GetKeyState(VK_F10) < 0)
{
*(DWORD*)(*(DWORD*)ADDR_BASE + NCT_OFFSET) = 0x0;

}
}
}
}

}
blackmayfay is offline  
Old 11/13/2015, 12:11   #4
 
elite*gold: 0
Join Date: Aug 2011
Posts: 545
Received Thanks: 379
sorry. This will fix it. Replace this in your code.

Don´t know if your code will work but you won´t get an error



- Avrex - is offline  
Old 11/13/2015, 16:01   #5
 
elite*gold: 0
Join Date: Sep 2015
Posts: 36
Received Thanks: 7
OMG Thank I would like to test


blackmayfay is offline  
Reply



« Help Me | Attack normal animation »

Similar Threads
[GAMESCOM-SHOP] Vindictus Code, FireFall BETA Code, McGame.com Code, Victory Ukash
10/18/2012 - elite*gold Trading - 8 Replies
Hallo Leute hab ein paar Sachen auf der Gamescom gesammelt und übrig, diese möchte ich hier verkaufen. Ich akzeptiere nur Paypal, E*gold und Paysafecards! Hier ist eine Liste mit Bildern (natürlich sind die Codes zensiert :D): 1. Firefall...
used king Rammus code OR katarina kitty cat code (KR) → used PAX sivir code (NA / EU)
08/23/2012 - League of Legends Trading - 2 Replies
Hello Korea is my server users. I NA / EU servers have already been used in the "Pax Sivir Code" wants As a reward, "king Rammus code OR Katarina kitty cat code" I will send you to gift. Have already used the code, Feel free to do the exchange!...
used king Rammus code OR katarina kitty cat code (KR) → used PAX sivir code (NA / EU)
08/20/2012 - League of Legends Trading - 0 Replies
Hello Korea is my server users. I NA / EU servers have already been used in the "Pax Sivir Code" wants As a reward, "king Rammus code OR Katarina kitty cat code" I will send you to gift. Have already used the code, Feel free to do the exchange!...



All times are GMT +2. The time now is 10:30.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.