Results 1 to 7 of 7
  1. #1
    QQiswhyihack's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    If i told you, i'd have to kill you :)
    Posts
    134
    Reputation
    10
    Thanks
    61
    My Mood
    Asleep

    [Help]Can't Release :(

    Hey MPGH.. i know your proberly going to flame me, call me a noob and all..
    But i want to release my menu-Hack, from whit's base..
    I've looked around this forum.. tried a couple of the PTC Methods..
    And like, the compile wont work.. there is always some error..
    I got this atm:
    [PHP] void __cdecl cBase::PushToConsole(const char* szCommand )
    {
    DWORD dwCShell = (DWORD)GetModuleHandleA("CShell.dll");
    if( dwCShell != NULL )
    {
    DWORD *LTClient = ( DWORD* )( 0x377ED910 );
    void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
    __asm
    {
    push szCommand;
    call CONoff;
    add esp, 4;
    }
    }
    }
    [/PHP]
    And i tried this one recently
    [PHP]void RunConsoleCommand(const char* szCommand )
    {
    DWORD ltClient = 0x377ED910;
    __asm
    {
    mov eax, [ltClient]; //interface dereference
    mov esi, [eax + 0x208]; //vtable dereference //we could push and call ESI now
    mov edx, [esi + 0x01]; //jump operand dereference. EDX holds the EIP displacement
    add edx, 5; //displacement ad
    [/PHP]
    And this error come up:
    [PHP]1>------ Build started: Project: CaBase, Configuration: Release Win32 ------
    1> Base.cpp
    1>Base.cpp(309): error C2601: 'cBase::RenderFrame' : local function definitions are illegal
    1> Base.cpp(298): this line contains a '{' which has not yet been matched
    1>Base.cpp(324): error C2601: 'cBase::GetPointer' : local function definitions are illegal
    1> Base.cpp(298): this line contains a '{' which has not yet been matched
    1>Base.cpp(334): error C2601: 'cBase::IsGameReadyForHook' : local function definitions are illegal
    1> Base.cpp(298): this line contains a '{' which has not yet been matched
    1>Base.cpp(344): error C2601: 'dwMainThread' : local function definitions are illegal
    1> Base.cpp(298): this line contains a '{' which has not yet been matched
    1>Base.cpp(354): error C2601: 'dwHackThread' : local function definitions are illegal
    1> Base.cpp(298): this line contains a '{' which has not yet been matched
    1>Base.cpp(364): error C2601: 'DllMain' : local function definitions are illegal
    1> Base.cpp(298): this line contains a '{' which has not yet been matched
    1>Base.cpp(374): fatal error C1075: end of file found before the left brace '{' at 'Base.cpp(298)' was matched
    1> DirectX.cpp
    1> Menu.cpp
    1> Misc.cpp
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
    [/PHP]
    It's weird.. just can't figure it out -.-
    Please help me, be appreciated.
    RespectsList
    MrSkaFighter
    Spook
    CoderNever

    Thank You for This sig, Peter/Vengeance.

    Uploaded with ImageShack.us
    Respect Aint Easy to earn, helpful people are always loyal.
    Goals
    Get 50 post []
    get 100 post []
    get 150 post []
    get 200 post []
    Make a Auto-On Hack []
    Release My first hack []
    Make a hotKey hack []
    Make a menu-hack []
    Hack, not get called a hacker []
    Hack, get QQed at and lol []
    Be known on MPGH [] -Unknown.
    Yes i have a long goal list, but a long goal list is someone who wants to accomplish alot of things..

  2. #2
    Timboy67678's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    87
    Reputation
    25
    Thanks
    80
    My Mood
    Aggressive
    [php]void RunConsoleCommand(const char* szCommand )
    {
    DWORD ltClient = 0x377ED910;
    __asm
    {
    mov eax, [ltClient]; //interface dereference
    mov esi, [eax + 0x208]; //vtable dereference //we could push and call ESI now
    mov edx, [esi + 0x01]; //jump operand dereference. EDX holds the EIP displacement
    add edx, 5; //displacement ad [/php]

    should be

    [php]void RunConsoleCommand(const char* szCommand )
    {
    DWORD ltClient = 0x377ED910;
    __asm
    {
    mov eax, [ltClient]; //interface dereference
    mov esi, [eax + 0x208];
    mov edx, [esi + 0x01];
    add edx, 5;
    mov eax, esi;
    add eax, edx;
    push szCommand;
    call eax;
    add esp, 4;
    }
    } [/php]

    since your using HL-SDK PTC method
    Last edited by Timboy67678; 10-14-2010 at 07:40 AM.

  3. #3
    QQiswhyihack's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    If i told you, i'd have to kill you :)
    Posts
    134
    Reputation
    10
    Thanks
    61
    My Mood
    Asleep
    Quote Originally Posted by Timboy67678 View Post
    [php]void RunConsoleCommand(const char* szCommand )
    {
    DWORD ltClient = 0x377ED910;
    __asm
    {
    mov eax, [ltClient]; //interface dereference
    mov esi, [eax + 0x208]; //vtable dereference //we could push and call ESI now
    mov edx, [esi + 0x01]; //jump operand dereference. EDX holds the EIP displacement
    add edx, 5; //displacement ad [/php]

    should be

    [php]void RunConsoleCommand(const char* szCommand )
    {
    DWORD ltClient = 0x377ED910;
    __asm
    {
    mov eax, [ltClient]; //interface dereference
    mov esi, [eax + 0x208];
    mov edx, [esi + 0x01];
    add edx, 5;
    mov eax, esi;
    add eax, edx;
    push szCommand;
    call eax;
    add esp, 4;
    }
    } [/php]

    since your using HL-SDK PTC method
    hmm, have you got msn info?
    if so, PM me it so i can add you, easier to talk over there.
    Thanks,
    RespectsList
    MrSkaFighter
    Spook
    CoderNever

    Thank You for This sig, Peter/Vengeance.

    Uploaded with ImageShack.us
    Respect Aint Easy to earn, helpful people are always loyal.
    Goals
    Get 50 post []
    get 100 post []
    get 150 post []
    get 200 post []
    Make a Auto-On Hack []
    Release My first hack []
    Make a hotKey hack []
    Make a menu-hack []
    Hack, not get called a hacker []
    Hack, get QQed at and lol []
    Be known on MPGH [] -Unknown.
    Yes i have a long goal list, but a long goal list is someone who wants to accomplish alot of things..

  4. #4
    Disturbed's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Posts
    10,472
    Reputation
    1267
    Thanks
    2,587
    Wrong section.

    /Moved.


  5. The Following 2 Users Say Thank You to Disturbed For This Useful Post:

    Timboy67678 (10-14-2010),wassup40 (10-14-2010)

  6. #5
    doofbla's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    Biel*****/Germany
    Posts
    369
    Reputation
    10
    Thanks
    179
    My Mood
    Psychedelic
    please read your errors before you post:
    Ok but now to your problems:
    1.[php]Base.cpp(298): this line contains a '{' which has not yet been matched[/php]
    All those are probably mistakes where you forgot a } or so... so check all your brakets & correct it!

    2.
    [php]Base.cpp(309): error C2601: 'cBase::RenderFrame' : local function definitions are illegal [/php]
    All those are saying oh what a wonder that you defined a function LOCAL but in C++ you're only allowed to define functions on toplevel

    you made smth. like this:
    Code:
    int func1()
    {
          int func2()
          {
                 return 0;
          }
          return func2();
    }
    THIS IS NOT ALLOWED


    This would be right:
    Code:
    int func1();
    int func2();
    
    int func1()
    {
          return func2();
    }
    
    int func2()
    {
          return 0;
    }
    Hope i helped you
    Last edited by doofbla; 10-14-2010 at 08:03 AM.
    _____________________________________________

    READING TUTORIAL:

    1. READ MY POST
    2. THINK ABOUT MY POST
    3. PRESS THANKS
    4. MAYBE CORRECT MY POSTS :P




    Dijkstra:
    "Computer Science is no more about computers than astronomy is about
    telescopes."


    THANKS BUTTON RIGHT DOWN --->

  7. #6
    swatfx's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Posts
    659
    Reputation
    20
    Thanks
    108
    My Mood
    Mellow
    why do u even want to make a hack? Your hack is going to be exactly like everyone elses except for the menu colours and interface which should be the least important part of a hack.

    and i just want to know why you are trying to make a hack when u obviously don't know any C++. Even if u would get a working menu it would be 100% other peoples code.

  8. The Following User Says Thank You to swatfx For This Useful Post:

    Timboy67678 (10-14-2010)

  9. #7
    CodeDemon's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    vagina
    Posts
    1,070
    Reputation
    50
    Thanks
    940
    My Mood
    Fine
    You are missing a bracket. Is it really that hard to read the error and figure it our? /

Similar Threads

  1. [Help Request] Can i release?
    By dragonattak in forum CrossFire Help
    Replies: 10
    Last Post: 08-02-2011, 11:39 AM
  2. HELP Can't Login to NExon Plug
    By yogilek in forum WarRock Korea Hacks
    Replies: 8
    Last Post: 01-08-2009, 06:35 AM
  3. Can we Release private hacks?!(dont ban jst asking)
    By supsupsup in forum WarRock - International Hacks
    Replies: 6
    Last Post: 11-10-2007, 08:52 PM
  4. [help] can somewan help me with bypass?
    By mheeniac in forum WarRock - International Hacks
    Replies: 7
    Last Post: 05-14-2007, 08:57 AM
  5. Help----can Any1 Do Me Signature Pliz?!?!?
    By lordlux91 in forum Help & Requests
    Replies: 4
    Last Post: 01-19-2006, 04:04 PM