Results 1 to 12 of 12
  1. #1
    chesterayala's Avatar
    Join Date
    May 2011
    Gender
    male
    Location
    Dark Place
    Posts
    10
    Reputation
    10
    Thanks
    1
    My Mood
    Relaxed

    [PH] Help Making Warrock DLL

    Help!!!
    I Have this Error
    Build started: Project: MyNoMenu2, Configuration: Debug Win32
    LINK : fatal error LNK1561: entry point must be defined
    While Building my 2nd Private MyNoMenu

    Core.cpp


    #include <windows.h>
    #include "Addresses.h"


    DWORD Player = *(DWORD*)ADR_Playerpointer;
    DWORD Server = *(DWORD*)ADR_Serverpointer;
    DWORD Base = *(DWORD*)ADR_BasePointer;
    DWORD Weapon = *(DWORD*)ADR_WeaponPointer;
    DWORD Device = *(DWORD*)ADR_DevicePointer;
    DWORD User = *(DWORD*)ADR_UserPointer;


    void Hack_Thread()
    {
    if (Player != NULL)
    {

    *(float*) (Player + OFS_Premium) = 0.0f;
    *(int*) (Player + ADR_NoSpread) = 1;
    *(float*) (Player + ADR_FastMedic) = 0.0f;
    *(float*) (Player + ADR_FastRepair) = 0.0f;
    *(float*) (Player + ADR_FastFlag) = 0.0f;
    *(float*) (Player + ADR_NoBounds1) = 0.0f;
    *(float*) (Player + ADR_NoBounds2) = 0.0f;
    *(float*) (Player + ADR_NoBounds3) = 0.0f;
    }

    if (Server != NULL)
    {

    }
    Sleep(100);
    }

    BOOL WINAPI DllMain(HINSTANCE hMODULE,DWORD Basic_Base,LPVOID lpvReserved)
    {
    if(Basic_Base == DLL_PROCESS_ATTACH)
    {
    CreateThread(0,0,(LPTHREAD_START_ROUTINE)Hack_Thre ad,0,0,0);
    }
    return TRUE;
    }



    Addresses.h Here

    #define ADR_Serverpointer 0x00C0F14C
    #define ADR_Playerpointer 0x00D86788
    #define ADR_BasePointer 0x0010BD3C
    #define ADR_WeaponPointer 0x00B26204
    #define ADR_DevicePointer 0x00C0845C
    #define ADR_UserPointer 0x00D86788

    #define OFS_Premium 0x0000063C

    #define ADR_NoSpread 0x00C09348
    #define ADR_QuickPlant 0x0058D734
    #define ADR_FastMedic 0x00C827B0
    #define ADR_FastRepair 0x00C827B4
    #define ADR_FastFlag 0x00C827B8
    #define ADR_NoBounds1 0x00B25EA8
    #define ADR_NoBounds2 0x00B25EAC
    #define ADR_NoBounds3 0x00B25EB0
    #define ADR_Scope 0x00B25FA8

    -.-? I'm Still a Newbie Coder

    I Don't Care even my addies are Patched just wanted to know >.<!!!
    Last edited by chesterayala; 05-04-2011 at 04:05 AM.

  2. The Following User Says Thank You to chesterayala For This Useful Post:

    maiyaguza02 (01-04-2017)

  3. #2
    Alen's Avatar
    Join Date
    Oct 2007
    Gender
    male
    Location
    Liquid Generator
    Posts
    27,920
    Reputation
    2548
    Thanks
    4,224
    My Mood
    Fine
    Moved to the right section @chesterayala

  4. The Following User Says Thank You to Alen For This Useful Post:

    chesterayala (05-04-2011)

  5. #3
    chesterayala's Avatar
    Join Date
    May 2011
    Gender
    male
    Location
    Dark Place
    Posts
    10
    Reputation
    10
    Thanks
    1
    My Mood
    Relaxed

    Unhappy What is the Right Section?

    I'm so Confused Please Open my Attachements



  6. #4
    Alen's Avatar
    Join Date
    Oct 2007
    Gender
    male
    Location
    Liquid Generator
    Posts
    27,920
    Reputation
    2548
    Thanks
    4,224
    My Mood
    Fine
    Attachments need to be approved my minions / mods / admins, so if you want to share images just use an image sharing site (I recommend imgur.com).

  7. The Following User Says Thank You to Alen For This Useful Post:

    chesterayala (05-04-2011)

  8. #5
    chesterayala's Avatar
    Join Date
    May 2011
    Gender
    male
    Location
    Dark Place
    Posts
    10
    Reputation
    10
    Thanks
    1
    My Mood
    Relaxed

    Unhappy Here's The Pictures

    Roger I'm Uploading it Now

    Here


    Last edited by chesterayala; 05-04-2011 at 05:01 AM. Reason: Wrong Post of Images

  9. #6
    Exquizyth's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    134
    Reputation
    10
    Thanks
    65
    My Mood
    Angelic
    Try renaming your core.cpp to main.cpp

    -Busted-

  10. #7
    2Leet's Avatar
    Join Date
    May 2011
    Gender
    male
    Posts
    3
    Reputation
    10
    Thanks
    1
    My Mood
    Cool

    Try This

    Try This
    Code:
    #include <windows.h>
    #include "Addresses.h"
    
    void Hack_Thread(){
    DWORD Player = *(DWORD*)ADR_Playerpointer;
    DWORD Server = *(DWORD*)ADR_Serverpointer;
    DWORD Base = *(DWORD*)ADR_BasePointer;
    DWORD Weapon = *(DWORD*)ADR_WeaponPointer;
    DWORD Device = *(DWORD*)ADR_DevicePointer;
    DWORD User = *(DWORD*)ADR_UserPointer;
    
    
    if (Player != NULL){
    
    *(float*) (Player + OFS_Premium) = 0.0f;
    *(int*) (Player + ADR_NoSpread) = 1;
    *(float*) (Player + ADR_FastMedic) = 0.0f;
    *(float*) (Player + ADR_FastRepair) = 0.0f;
    *(float*) (Player + ADR_FastFlag) = 0.0f;
    *(float*) (Player + ADR_NoBounds1) = 0.0f;
    *(float*) (Player + ADR_NoBounds2) = 0.0f;
    *(float*) (Player + ADR_NoBounds3) = 0.0f;}
    
    if(Server != NULL){
    
    }}
    
    void HackThread(){
    for(;; ){
    Hack_Thread();}
    Sleep(25);}
    
    BOOL WINAPI DllMain(HINSTANCE hMODULE,DWORD Basic_Base,LPVOID lpvReserved){ 
    if(Basic_Base == DLL_PROCESS_ATTACH) { 
    CreateThread(0,0,(LPTHREAD_START_ROUTINE)HackThread,0,0,0);}
    return TRUE;}
    Last edited by 2Leet; 05-04-2011 at 07:34 AM.

  11. The Following User Says Thank You to 2Leet For This Useful Post:

    chesterayala (05-04-2011)

  12. #8
    chesterayala's Avatar
    Join Date
    May 2011
    Gender
    male
    Location
    Dark Place
    Posts
    10
    Reputation
    10
    Thanks
    1
    My Mood
    Relaxed
    Thanks because i watched the tutorial on Youtube -.-Thanks anyway Very Appreciated

    Thank you Thank you Very much. now I'm going learn how to find Addies.


    Thanks anyway but it still has the error LINK : fatal error LNK1561: entry point must be defined
    Last edited by chesterayala; 05-04-2011 at 07:28 PM.

  13. #9
    deimos109's Avatar
    Join Date
    Dec 2010
    Gender
    male
    Location
    Italy
    Posts
    55
    Reputation
    10
    Thanks
    126
    My Mood
    Bored
    Try this , i fixed something on your base

    Core.cpp

    Code:
    #include <windows.h>
    #include <stdio.h>
    #include "Addresses.h"
    
    void Hack_Thread()
    {
    
    DWORD Player = *(DWORD*)ADR_Playerpointer;
    if (Player != NULL)
    {
    *(int*) (ADR_NoSpread) = 1;
    *(floar*)(Player + ADR_FastAmmo) = 20.0f;
    *(float*) (Player + ADR_FastMedic) = 20.0f;
    *(float*) (Player + ADR_FastRepair) = 20.0f;
    *(float*) (Player + ADR_FastFlag) = 20.0f;
    *(float*) (Player + ADR_NoBounds1) = 0.0f;
    *(float*) (Player + ADR_NoBounds2) = 0.0f;
    *(float*) (Player + ADR_NoBounds3) = 0.0f;
    }
    
    DWORD Server = *(DWORD*)ADR_Serverpointer;
    if(Server != NULL)
    {
    *(int*)(Server +OFS_Premium1) = 3;*(float*)(Server +OFS_Premium2) = 3;//1 = bronze , 2 = silver , 3 = gold , 4 = platin
    }
    }
    
    void HackThread()
    {
    for(;;)
    {
    Hack_Thread();
    }
    Sleep(200);
    }
    
    BOOL WINAPI DllMain(HINSTANCE hMODULE,DWORD Basic_Base,LPVOID lpvReserved){ 
    if(Basic_Base == DLL_PROCESS_ATTACH) 
    { 
    CreateThread(0,0,(LPTHREAD_START_ROUTINE)HackThread,0,0,0);
    }
    return TRUE;
    }
    All the address are detected , try with this

    Addresses.h

    Code:
    //in nomenu you don't really need basepointer,waeponpointer,userpointer ecc.. the most important are playerpointer and serverpointer
    #define ADR_Serverpointer 0x00B7C198
    #define ADR_Playerpointer 0x00C81820
    #define OFS_Premium1          0x0057C
    #define OFS_Premium2          0x00580
    //for quickplant you must code it with asm , you must know asm language
    #define ADR_NoSpread 0x00B06000
    #define ADR_FastMedic 0x00B05F80
    #define ADR_FastRepair 0x00B05F84
    #define ADR_FastFlag 0x00B05F88
    #define ADR_FastAmmo 0x00B05F7C
    #define ADR_NoBounds1 0x00B2D340
    #define ADR_NoBounds2 0x00B2D344
    #define ADR_NoBounds3 0x00B2D348

  14. #10
    zerohead's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Location
    Holland
    Posts
    451
    Reputation
    59
    Thanks
    204
    My Mood
    Relaxed
    your functions suck, ADR_'s can only be used standalone like this:

    *(int*)ADR_NOBOUNDS1 =0;

    OFS_'s need to be added to a pointer like this:
    *(float*)(Player+OFS_NFD) = -20000;

    hope thishelps

    succes!

  15. #11
    woepieg01's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    27
    Reputation
    10
    Thanks
    1
    all the scripts FAIL for me ):


    1>.\Main.cpp(15) : fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source?
    1>Build log was saved at "file://c:\Users\Robbert\Documents\Visual Studio 2008\Projects\Hack\Hack\Debug\BuildLog.htm"
    1>Hack - 1 error(s), 0 warning(s)
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

    help?

  16. #12
    deimos109's Avatar
    Join Date
    Dec 2010
    Gender
    male
    Location
    Italy
    Posts
    55
    Reputation
    10
    Thanks
    126
    My Mood
    Bored
    Quote Originally Posted by woepieg01 View Post
    all the scripts FAIL for me ):


    1>.\Main.cpp(15) : fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source?
    1>Build log was saved at "file://c:\Users\Robbert\Documents\Visual Studio 2008\Projects\Hack\Hack\Debug\BuildLog.htm"
    1>Hack - 1 error(s), 0 warning(s)
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

    help?
    Create a new project , dll , empty project.

    You don't need the file precompilated stdafx.h