Thread: dami error

Results 1 to 7 of 7
  1. #1
    kportal's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    33
    Reputation
    10
    Thanks
    0

    dami error

    #include <windows.h>
    #include <stdio.h>

    #define ADR_Playerpointer 0x00AC0534
    #define ADR_Serverpointer 0x009BA3C8
    #define ADR_GlassWall 0x00947C84
    #define ADR_SNS 0x007E85D0
    #define OFS_NoRecoil1 0x00C444
    #define OFS_NoRecoil2 0x00C448
    #define OFS_NoRecoil3 0x00C44C
    #define ADR_NearFog 0x00947D50
    #define ADR_FarFog 0x00947D5

    DWORD *ingame= (DWORD*)ADR_PlayerPointer;
    DWORD *outgame= (DWORD*)ADR_ServerPointer;

    void PlayerHacks()
    {
    DWORD dwPlayerPtr = *(DWORD*)ADR_Playerpointer;
    if(dwPlayerPtr) = 0){

    void SuperNoSpread()
    {
    *(double*)ADR_SNS = 0;
    }

    void NoRecoil()
    {
    DWORD dwPlayerPtr = *(DWORD*)ADR_Playerpointer;
    if(dwPlayerPtr != 00AC0534)
    {
    *(float*)(dwPlayerPtr + OFS_NoRecoil1) = 0;
    *(float*)(dwPlayerPtr + OFS_NoRecoil2) = 0;
    *(float*)(dwPlayerPtr + OFS_NoRecoil3) = 0;
    }
    }

    void glasswall()
    {
    if(GetKeyState(VK_MBUTTON))
    *(int*)ADR_Glasswall = 1;

    else
    {
    *(int**)ADR_Glasswall = 0;
    }
    }

    void NoFog()
    {
    *(float*)ADR_FarFog = 00947D5;
    *(float*)ADR_NearFog = 0;
    }

    }}

    void ServerHacks()
    {
    DWORD dwSrvrPtr=*(DWORD*)ADR_Serverpointer;
    if(dwSrvrPtr=0){

    }
    }



    void Module_Thread()
    {
    for(;
    {
    if(*ingame)
    {
    PlayerHacks();
    glasswall();
    SuperNoSpread();
    NoRecoil();
    NoFog();
    }
    if(*outgame)
    {
    ServerHacks();
    }
    Sleep(200);
    }
    }

    BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpvReserved)
    {
    if(dwReason == DLL_PROCESS_ATTACH)
    {
    CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HackThread, 0, 0, 0);
    }
    return TRUE;
    }
    ---------------------------------------------------------------------------------------
    1>------ Rebuild All started: Project: rebuild, Configuration: Debug Win32 ------
    1>Deleting intermediate and output files for project 'rebuild', configuration 'Debug|Win32'
    1>Compiling...
    1>main.cpp
    1>d:\rebuild\rebuild\main.cpp(14) : error C2065: 'ADR_PlayerPointer' : undeclared identifier
    1>d:\rebuild\rebuild\main.cpp(15) : error C2065: 'ADR_ServerPointer' : undeclared identifier
    1>d:\rebuild\rebuild\main.cpp(20) : error C2143: syntax error : missing ';' before '='
    1>d:\rebuild\rebuild\main.cpp(20) : warning C4390: ';' : empty controlled statement found; is this the intent?
    1>d:\rebuild\rebuild\main.cpp(20) : error C2059: syntax error : ')'
    1>d:\rebuild\rebuild\main.cpp(20) : error C2143: syntax error : missing ';' before '{'
    1>d:\rebuild\rebuild\main.cpp(23) : error C2601: 'SuperNoSpread' : local function definitions are illegal
    1> d:\rebuild\rebuild\main.cpp(20): this line contains a '{' which has not yet been matched
    1>d:\rebuild\rebuild\main.cpp(28) : error C2601: 'NoRecoil' : local function definitions are illegal
    1> d:\rebuild\rebuild\main.cpp(20): this line contains a '{' which has not yet been matched
    1>d:\rebuild\rebuild\main.cpp(30) : error C2059: syntax error : 'bad suffix on number'
    1>d:\rebuild\rebuild\main.cpp(39) : error C2601: 'glasswall' : local function definitions are illegal
    1> d:\rebuild\rebuild\main.cpp(20): this line contains a '{' which has not yet been matched
    1>d:\rebuild\rebuild\main.cpp(50) : error C2601: 'NoFog' : local function definitions are illegal
    1> d:\rebuild\rebuild\main.cpp(20): this line contains a '{' which has not yet been matched
    1>d:\rebuild\rebuild\main.cpp(51) : error C2059: syntax error : 'bad suffix on number'
    1>d:\rebuild\rebuild\main.cpp(51) : error C2041: illegal digit '9' for base '8'
    1>d:\rebuild\rebuild\main.cpp(30) : error C2146: syntax error : missing ')' before identifier 'AC0534'
    1>d:\rebuild\rebuild\main.cpp(30) : error C2059: syntax error : ')'
    1>d:\rebuild\rebuild\main.cpp(31) : error C2065: 'AC0534' : undeclared identifier
    1>d:\rebuild\rebuild\main.cpp(31) : error C2143: syntax error : missing ';' before '{'
    1>d:\rebuild\rebuild\main.cpp(41) : error C2065: 'ADR_Glasswall' : undeclared identifier
    1>d:\rebuild\rebuild\main.cpp(45) : error C2065: 'ADR_Glasswall' : undeclared identifier
    1>d:\rebuild\rebuild\main.cpp(51) : error C2146: syntax error : missing ';' before identifier 'D5'
    1>d:\rebuild\rebuild\main.cpp(51) : error C2065: 'D5' : undeclared identifier
    1>d:\rebuild\rebuild\main.cpp(74) : error C3861: 'glasswall': identifier not found
    1>d:\rebuild\rebuild\main.cpp(75) : error C3861: 'SuperNoSpread': identifier not found
    1>d:\rebuild\rebuild\main.cpp(76) : error C3861: 'NoRecoil': identifier not found
    1>d:\rebuild\rebuild\main.cpp(77) : error C3861: 'NoFog': identifier not found
    1>d:\rebuild\rebuild\main.cpp(91) : error C2065: 'HackThread' : undeclared identifier
    1>Build log was saved at "file://d:\rebuild\rebuild\Debug\BuildLog.htm"
    1>rebuild - 25 error(s), 1 warning(s)
    ========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

    Respect haxcoder etc...
    Last edited by kportal; 01-24-2013 at 11:34 PM.

  2. #2
    FroZeNeYe's Avatar
    Join Date
    Oct 2012
    Gender
    male
    Posts
    518
    Reputation
    10
    Thanks
    74
    My Mood
    Sleepy
    understand the errors, it's so very easy men.....

  3. #3
    thugxcry01's Avatar
    Join Date
    Apr 2012
    Gender
    male
    Posts
    127
    Reputation
    10
    Thanks
    119
    My Mood
    Breezy
    your errors are so basics heheh.. i remember myself back in the days heheh.. here's what you need to remember codes are case sensitive .. thats the 1st basic thing you wanna know.. and if you have some time try to learn by yourself.. hehe.. here you go.. hope you #include <windows.h>
    #include <stdio.h>

    #define ADR_PlayerPointer 0x00AC0534
    #define ADR_ServerPointer 0x009BA3C8
    #define ADR_GlassWall 0x00947C84
    #define ADR_SNS 0x007E85D0
    #define OFS_NoRecoil1 0x00C444
    #define OFS_NoRecoil2 0x00C448
    #define OFS_NoRecoil3 0x00C44C
    #define ADR_NearFog 0x00947D50
    #define ADR_FarFog 0x00947D5

    DWORD *ingame= (DWORD*)ADR_PlayerPointer;
    DWORD *outgame= (DWORD*)ADR_ServerPointer;

    void Hacks()
    {
    if(GetKeyState(VK_MBUTTON))
    {
    *(int*)(ADR_GlassWall) = 1;
    }else{
    *(int*)(ADR_GlassWall) = 0;
    }
    }
    void SuperNoSpread()
    {
    *(double*)ADR_SNS = 0;
    }

    void NoRecoil()
    {
    DWORD dwPlayerPtr = *(DWORD*)ADR_PlayerPointer;
    if(dwPlayerPtr != 0)
    {
    *(float*)(dwPlayerPtr + OFS_NoRecoil1) = 0;
    *(float*)(dwPlayerPtr + OFS_NoRecoil2) = 0;
    *(float*)(dwPlayerPtr + OFS_NoRecoil3) = 0;
    }
    }

    void nofog ()
    {
    *(float*)ADR_NearFog = 0;
    *(float*)ADR_FarFog = 1166127104;
    }
    void ServerHacks()
    {
    DWORD dwSrvrPtr=*(DWORD*)ADR_ServerPointer;
    if(dwSrvrPtr=0){

    }
    }



    void Loop()
    {
    for(;; )
    {
    if(*ingame)
    {
    Hacks();
    SuperNoSpread();
    NoRecoil();
    nofog();
    }
    if(*outgame)
    {
    ServerHacks();
    }
    Sleep(200);
    }
    }

    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
    {
    DisableThreadLibraryCalls(hDll);
    if (dwReason==DLL_PROCESS_ATTACH)

    {

    CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Loop, NULL, NULL, NULL);
    }
    return TRUE;
    }

    now try to compare your codes for you to know whats wrong and what's what.. heheh.. goodluck bro

  4. #4
    emiedumalasa's Avatar
    Join Date
    May 2012
    Gender
    female
    Location
    Hackershero
    Posts
    683
    Reputation
    10
    Thanks
    794
    My Mood
    Angelic
    ayun oh C & P, ang bait talaga nitoh

  5. #5
    thugxcry01's Avatar
    Join Date
    Apr 2012
    Gender
    male
    Posts
    127
    Reputation
    10
    Thanks
    119
    My Mood
    Breezy
    Quote Originally Posted by emiedumalasa View Post
    ayun oh C & P, ang bait talaga nitoh
    sorry but what C & P stands for?? copy and paste? hehe.. tlaga naman po kinopya ko ang source nya then ako ang nag build and i fixed errors for him hihih

    wla man lang nga thank you ung author hahaha

  6. #6
    ``IM`NATSU's Avatar
    Join Date
    Jul 2012
    Gender
    male
    Location
    ‎#include <neptalimanaog™>
    Posts
    338
    Reputation
    10
    Thanks
    418
    My Mood
    Breezy
    TINGNAN MO KUNG ANUNG MALI TITIGAN MO LANG MGA CODE MO ? )

  7. #7
    kportal's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    33
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by thugxcry01 View Post
    sorry but what C & P stands for?? copy and paste? hehe.. tlaga naman po kinopya ko ang source nya then ako ang nag build and i fixed errors for him hihih

    wla man lang nga thank you ung author hahaha
    tnx a lot bro, you're very nice man....

    ---------- Post added at 07:42 AM ---------- Previous post was at 07:41 AM ----------

    Quote Originally Posted by emiedumalasa View Post
    ayun oh C & P, ang bait talaga nitoh
    hi ma'm! my i request for the updated addies?

    ---------- Post added at 07:46 AM ---------- Previous post was at 07:42 AM ----------

    Quote Originally Posted by emiedumalasa View Post
    ayun oh C & P, ang bait talaga nitoh
    and if you're not too busy c+p na rin?

    ---------- Post added at 08:08 AM ---------- Previous post was at 07:46 AM ----------

    Quote Originally Posted by ``IM`NATSU View Post
    TINGNAN MO KUNG ANUNG MALI TITIGAN MO LANG MGA CODE MO ? )
    naduleng na nga po ako sa katititig eh

    ---------- Post added at 08:09 AM ---------- Previous post was at 08:08 AM ----------

    Quote Originally Posted by ``IM`NATSU View Post
    TINGNAN MO KUNG ANUNG MALI TITIGAN MO LANG MGA CODE MO ? )
    naduleng na nga po ako sa katititig eh

Similar Threads

  1. Hellbreath Int Error?
    By RebornAce in forum General
    Replies: 10
    Last Post: 03-06-2009, 09:04 PM
  2. Gunz Error Message
    By A7X Oblivian in forum Gunz General
    Replies: 2
    Last Post: 02-08-2006, 02:00 PM
  3. Connection error
    By DrKaOs in forum WarRock - International Hacks
    Replies: 6
    Last Post: 02-05-2006, 08:37 PM
  4. K Warrock error :(
    By i eat trees in forum WarRock - International Hacks
    Replies: 2
    Last Post: 01-26-2006, 08:40 PM