Help im having problems creating my 1st nomenu hack.

Posts 1–10 of 10 · Page 1 of 1
Help im having problems creating my 1st nomenu hack.
Im Creating My first NoMenu hack then i encountered this problems i hope someone could tell me what the problem is..


I'm working My NoMenu Hack with xFlicker13, thanks to TheCamels8 for the addies..
Credits to :
xflick13
TheCamels8


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

// Pointers
#define Playerpointer 0xC06380
#define Serverpointer 0xB00CF0
#define Addr_NoSpread 0xA86E68
#define GlassWalls 0xA8CC5C
#define ExtraAmmo1 0xA86E4C
#define ExtraAmmo2 0xA86E4D
#define Speed 0x92C0CC
#define Scope 0x9A5560

// Offsets
#define OFS_NORECOIL1 0x1C
#define OFS_NORECOIL2 0x20
#define OFS_NORECOIL3 0x24


HANDLE Warrock;
DWORD *ingame= (DWORD*)Playerpointer;
DWORD *outgame= (DWORD*)Serverpointer;

// No Recoil
void NoRecoil()
{
DWORD dwPlayerPtr = *(DWORD*)Playerpointer;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+OFS_NORECOIL1) = 0;
*(float*)(dwPlayerPtr+OFS_NORECOIL2) = 0;
*(float*)(dwPlayerPtr+OFS_NORECOIL3) = 0;
}
}

void Spread() // No Spread
{
*(float*)Addr_NoSpread = 0;
}

void GlassWalls() //GlassWalls
{
if(GetAsyncKeyState(VK_NUMPAD7) &1)
{
*(int*)GLASSWALLS = 4;
}

void ExtraAmmo1 //Extra Ammo A
{*(int*)(Extra_Ammo_1) = 1;}

void ExtraAmmo2 //Extra Ammo S
{*(int*)(Extra_Ammo_2) = 1;}

void Speed //Speed Normal
{if(GetAsyncKeyState(VK_NUMPAD0) &1<< 0xF){
*(float*)(Speed) = 100.0f;}}

void Speed //Speed x2
{if(GetAsyncKeyState(VK_NUMPAD1) &1<< 0xF){
*(float*)(Speed) = 200.0f;}}

void Speed //Speed x3
{if(GetAsyncKeyState(VK_NUMPAD2) &1<< 0xF){
*(float*)(Speed) = 300.0f;}}

if (Scope)
{
if(GetAsyncKeyState(VK_RBUTTON)&1)
{
*(int*)0x9A5560 = 2, 4;
}
}



//Any other hacks you decide to add go above here
//Hack are put into the game here
void snip()
{
for(;; )
{
if(*ingame) // Player hacks go here.
{
NoRecoil();
Spread();
GlassWalls();
Speed();
Scope();
ExtraAmmo1();
ExtraAmmo1();
}
if(*outgame) // Server hacks all go in this section.
{

}
Sleep(200); // Prevent overload.
}
}
BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpReserved)
{
if(dwReason == DLL_PROCESS_ATTACH)
{
MessageBoxA(NULL, "DLL was injected successfully.", "SeptFicelle", MB_OK); // Success message.
MessageBoxA(NULL, "Made By Dark ", "SeptFicelle", MB_OK); // Thanks message.
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)snip, 0, 0, 0); // Initiate the hack thread.
}
return TRUE;
}
ERRORS
>------ Build started: Project: new2, Configuration: Debug Win32 ------
1>Compiling...
1>main.cpp
1>c:\users\hp\documents\visual studio 2008\projects\new2\new2\main.cpp(40) : warning C4091: '' : ignored on left of 'void' when no variable is declared
1>c:\users\hp\documents\visual studio 2008\projects\new2\new2\main.cpp(40) : error C2143: syntax error : missing ';' before 'constant'
1>c:\users\hp\documents\visual studio 2008\projects\new2\new2\main.cpp(40) : error C2059: syntax error : 'constant'
1>c:\users\hp\documents\visual studio 2008\projects\new2\new2\main.cpp(41) : error C2143: syntax error : missing ';' before '{'
1>c:\users\hp\documents\visual studio 2008\projects\new2\new2\main.cpp(41) : error C2447: '{' : missing function header (old-style formal list?)
1>c:\users\hp\documents\visual studio 2008\projects\new2\new2\main.cpp(97) : fatal error C1004: unexpected end-of-file found
1>Build log was saved at "file://c:\Users\hp\Documents\Visual Studio 2008\Projects\new2\new2\Debug\BuildLog.htm"
1>new2 - 5 error(s), 1 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

i dunno how to fix this please help!
Code:
ERRORS
>------ Build started: Project: new2, Configuration: Debug Win32 ------
1>Compiling...
1>main.cpp
1>c:\users\hp\documents\visual studio 2008\projects\new2\new2\main.cpp(40) : warning C4091: '' : ignored on left of 'void' when no variable is declared
1>c:\users\hp\documents\visual studio 2008\projects\new2\new2\main.cpp(40) : error C2143: syntax error : missing ';' before 'constant'
1>c:\users\hp\documents\visual studio 2008\projects\new2\new2\main.cpp(40) : error C2059: syntax error : 'constant'
1>c:\users\hp\documents\visual studio 2008\projects\new2\new2\main.cpp(41) : error C2143: syntax error : missing ';' before '{'
1>c:\users\hp\documents\visual studio 2008\projects\new2\new2\main.cpp(41) : error C2447: '{' : missing function header (old-style formal list?)
1>c:\users\hp\documents\visual studio 2008\projects\new2\new2\main.cpp(97) : fatal error C1004: unexpected end-of-file found
1>Build log was saved at "file://c:\Users\hp\Documents\Visual Studio 2008\Projects\new2\new2\Debug\BuildLog.htm"
1>new2 - 5 error(s), 1 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
I think the errors are listed there... Check your syntax
wew it explains the things you have wrong here
Code:
1>c:\users\hp\documents\visual studio 2008\projects\new2\new2\main.cpp(40) : warning C4091: '' : ignored on left of 'void' when no variable is declared
1>c:\users\hp\documents\visual studio 2008\projects\new2\new2\main.cpp(40) : error C2143: syntax error : missing ';' before 'constant'
1>c:\users\hp\documents\visual studio 2008\projects\new2\new2\main.cpp(40) : error C2059: syntax error : 'constant'
1>c:\users\hp\documents\visual studio 2008\projects\new2\new2\main.cpp(41) : error C2143: syntax error : missing ';' before '{'
1>c:\users\hp\documents\visual studio 2008\projects\new2\new2\main.cpp(41) : error C2447: '{' : missing function header (old-style formal list?)
1>c:\users\hp\documents\visual studio 2008\projects\new2\new2\main.cpp(97) : fatal error C1004: unexpected end-of-file found
1>Build log was saved at "file://c:\Users\hp\Documents\Visual Studio 2008\Projects\new2\new2\Debug\BuildLog.htm"
did you code it all by yourself?
Quote Originally Posted by Alen View Post
Code:
ERRORS
>------ Build started: Project: new2, Configuration: Debug Win32 ------
1>Compiling...
1>main.cpp
1>c:\users\hp\documents\visual studio 2008\projects\new2\new2\main.cpp(40) : warning C4091: '' : ignored on left of 'void' when no variable is declared
1>c:\users\hp\documents\visual studio 2008\projects\new2\new2\main.cpp(40) : error C2143: syntax error : missing ';' before 'constant'
1>c:\users\hp\documents\visual studio 2008\projects\new2\new2\main.cpp(40) : error C2059: syntax error : 'constant'
1>c:\users\hp\documents\visual studio 2008\projects\new2\new2\main.cpp(41) : error C2143: syntax error : missing ';' before '{'
1>c:\users\hp\documents\visual studio 2008\projects\new2\new2\main.cpp(41) : error C2447: '{' : missing function header (old-style formal list?)
1>c:\users\hp\documents\visual studio 2008\projects\new2\new2\main.cpp(97) : fatal error C1004: unexpected end-of-file found
1>Build log was saved at "file://c:\Users\hp\Documents\Visual Studio 2008\Projects\new2\new2\Debug\BuildLog.htm"
1>new2 - 5 error(s), 1 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
I think the errors are listed there... Check your syntax
thanks sir!

Quote Originally Posted by lolbie View Post
wew it explains the things you have wrong here
Code:
1>c:\users\hp\documents\visual studio 2008\projects\new2\new2\main.cpp(40) : warning C4091: '' : ignored on left of 'void' when no variable is declared
1>c:\users\hp\documents\visual studio 2008\projects\new2\new2\main.cpp(40) : error C2143: syntax error : missing ';' before 'constant'
1>c:\users\hp\documents\visual studio 2008\projects\new2\new2\main.cpp(40) : error C2059: syntax error : 'constant'
1>c:\users\hp\documents\visual studio 2008\projects\new2\new2\main.cpp(41) : error C2143: syntax error : missing ';' before '{'
1>c:\users\hp\documents\visual studio 2008\projects\new2\new2\main.cpp(41) : error C2447: '{' : missing function header (old-style formal list?)
1>c:\users\hp\documents\visual studio 2008\projects\new2\new2\main.cpp(97) : fatal error C1004: unexpected end-of-file found
1>Build log was saved at "file://c:\Users\hp\Documents\Visual Studio 2008\Projects\new2\new2\Debug\BuildLog.htm"
did you code it all by yourself?
yes, ahm xflicker13 help me with some codes and function ..
btw thanks sir for replying
you fixed it?
Quote Originally Posted by lolbie View Post
you fixed it?
i can't fix it .. ( can u help me with this?? hehe
Code:
void Scope()
{
if(GetAsyncKeyState(VK_RBUTTON)&1)
{
*(int*)0x9A5560 = 2, 4;
}
}

Here's your problem.. and i fix it.
Quote Originally Posted by FG Tim View Post
Code:
void Scope()
{
if(GetAsyncKeyState(VK_RBUTTON)&1)
{
*(int*)0x9A5560 = 2, 4;
}
}

Here's your problem.. and i fix it.
wow!! thANKS A LOT SIR TIM
*Request Close this thread , it's fix
how about the teleport function in no menu ?
Posts 1–10 of 10 · Page 1 of 1
This thread is closed for replies.

Tags for this Thread

None

Talk with us