Unhappy[PH] Help Making Warrock DLL

Posts 1–12 of 12 · Page 1 of 1
[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 >.<!!!
What is the Right Section?
I'm so Confused Please Open my Attachements


Core.cpp.bmpattachment deleted · 11 downloads before removal
Addresses.h.bmpattachment deleted · 5 downloads before removal
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).
Here's The Pictures
Roger I'm Uploading it Now

Here


Try renaming your core.cpp to main.cpp
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;}
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
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
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!
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?
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
Posts 1–12 of 12 · Page 1 of 1
This thread is closed for replies.

Tags for this Thread

None

Talk with us