Setting up my nospread hack

Posts 1–15 of 21 · Page 1 of 2
Setting up my nospread hack
Ok so lets start off with my code
Code:
#define ADR_Spread 0xB0EBC8

void Spread()
{
*(float*) ADR_Spread = 0;
}

if(*ingame)
{

Jump();
NFD();
Stamina();
Fastall();
speed();
speedoff();
scope();
Spread();
nowait();

}
if(*outgame)
{


premium();
Spread();
nowait();
}
Ok so thats my code well while im ingame i see that my crosshair is still big...
But when i move the crosshair gets smaller is this because its trying to edit the value when it changes....i know without hacks when you move your crosshair gets bigger but with my hack it gets smaller...
Think anyone could help me trouble shoot?
This will not work. There is not a main method. You need a main method as an entry point into any program. You also will need the address to ingame and outgame. If you plan to make this work. I would ask for those in the Warrock section.

Also I'm guessing you never compiled it. Because you can not compile a program without a main method. All you copy&pasters need to at least know how to compile a program. C++ codes are not like DOS commands.
Hey fool!! i dont think you read my last post my c++ for dummies just arrived in the mail....and i have compiled 2 programs already.....but im not looking to wait 2 weeks till i can successfully complete the book i just want to make hacks to suit me till then....
And just so you know i have compiled it and its not a program its a dll that injects into a already compiled program. witch then sets values to my expectations. since you cant help me just please dont spam my thread.

Now is there anyone else who thinks they can help me make my nospread work..
here is my full code so you dont think im too nooby
i was trying to prevent leechers
Code:
/*
Project : Cnttuchmes V.I.P hack

Author : Cnttuchme
*/
#include <stdio.h>
#include <windows.h>

//Addies
#define Playerpointer 0xCCFCC0 //these are current
#define Serverpointer 0xBD9188 // as of 8-11-09
#define OFS_X 0x244 // on Warrock int
#define OFS_Y 0x23C // change them when needed
#define OFS_Z 0x240
#define ADR_FAST_HEALTH 0xB0EB70
#define ADR_FAST_AMMO 0xB0EB6C
#define ADR_FAST_FLAG 0xB0EB78
#define ADR_FAST_REPAIR 0x00B04278
#define ADR_SPEED 0x9B0E5C
#define ADR_SPAWN_1 0xB2D150
#define ADR_SPAWN_2 0xB8E35C
#define ADR_BOUNDS_1 0xB3FB50
#define ADR_BOUNDS_2 0xB358B8
#define ADR_SCOPE 0xB0EB68
#define ADR_Spread 0xB0EBC8
#define OFS_PREMIUM 0x374
#define OFS_STAMINA 0x10
#define OFF_NFD 0x308
#define Crosshair 0x00B0EB93

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

//code below here
//Fast All
void Fastall()
{
*(float*) ADR_FAST_HEALTH = 500;
*(float*) ADR_FAST_AMMO = 500;
*(float*) ADR_FAST_FLAG = 500;
*(float*) ADR_FAST_REPAIR = 500;
}

//Speed
void speed() // insert = speed on
{
if(GetAsyncKeyState(VK_INSERT) &1)
{
*(float*) ADR_SPEED = 500;
}

}
void speedoff() // delete = speed normal
{
if(GetAsyncKeyState(VK_DELETE) &1)
{
*(float*) ADR_SPEED = 100;
}
}
//No Spawn Wait
void nowait()
{
*(float*) ADR_SPAWN_1 = 0;
*(float*) ADR_SPAWN_2 = 0;
}
//No Boundries
void nobound()
{
//if (nobound)
{
long t=0;
unsigned long Protection;
VirtualProtect((void*)ADR_BOUNDS_1, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)ADR_BOUNDS_1, &t , sizeof(t));
VirtualProtect((void*)ADR_BOUNDS_1, sizeof(t), Protection, 0);
VirtualProtect((void*)ADR_BOUNDS_2, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)ADR_BOUNDS_2, &t , sizeof(t));
VirtualProtect((void*)ADR_BOUNDS_2, sizeof(t), Protection, 0);
}
}
//Scope
void scope()
{
if(GetAsyncKeyState(VK_RBUTTON))
{
int t=1;
unsigned long Protection;
VirtualProtect((void*)ADR_SCOPE, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)ADR_SCOPE, &t , sizeof(t));
VirtualProtect((void*)ADR_SCOPE, sizeof(t), Protection, 0);
}
else
{
int t=0;
unsigned long Protection;
VirtualProtect((void*)ADR_SCOPE, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)ADR_SCOPE, &t , sizeof(t));
VirtualProtect((void*)ADR_SCOPE, sizeof(t), Protection, 0);
}
}
//crosshair
void Cross()
{
	*(float*) Crosshair = 1;
}
//No Spread
void Spread()
{
*(float*) ADR_Spread = 0;
}
//PREMIUM
void premium() //Gold Premium
{
DWORD dwPlayerPtr = *(DWORD*)Serverpointer;
if(dwPlayerPtr != 0)
{
*(long*)(dwPlayerPtr+OFS_PREMIUM) = 3, 10; // 1 = bronze  2 = silver 3 = gold
}
}
//STAMINA
void Stamina()
{
    DWORD dwPlayerPtr = *(DWORD*)Playerpointer;
    if(dwPlayerPtr != 0)
	{
   *(float*)(dwPlayerPtr+OFS_STAMINA) = 100;
}
}
//nfd
void NFD()
{
    DWORD dwPlayerPtr = *(DWORD*)Playerpointer;
    if(dwPlayerPtr != 0)
{
    *(float*)(dwPlayerPtr+OFF_NFD) = -20000;
}
}

//superjump
void Jump()
{
if(GetAsyncKeyState(VK_CONTROL) &1)
{
    DWORD dwPlayerPtr = *(DWORD*)Playerpointer;
    if(dwPlayerPtr != 0)

   *(float*)(dwPlayerPtr+OFS_Z) = 2500;
}
}






//ingame hacks
void snip()
{
for(;; )
{
if(*ingame)
{
Cross();
Jump();
NFD();
Stamina();
Fastall();
speed();
speedoff();
scope();
Spread();
nowait();

}
if(*outgame)//out game hacks here
{


premium();
Spread();
nowait();
}
Sleep(200);
}
}
BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpReserved)
{
if(dwReason == DLL_PROCESS_ATTACH)
{
MessageBoxA(NULL, "Cnttuchme", "Credits", MB_OK);
MessageBoxA(NULL, "Nightsnipers.********.net", "Credits", MB_OK);
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)snip, 0, 0, 0);
}
return TRUE;
}
Quote Originally Posted by cnttuchme View Post
Hey fool!! i dont think you read my last post my c++ for dummies just arrived in the mail....and i have compiled 2 programs already.....but im not looking to wait 2 weeks till i can successfully complete the book i just want to make hacks to suit me till then....
And just so you know i have compiled it and its not a program its a dll that injects into a already compiled program. witch then sets values to my expectations. since you cant help me just please dont spam my thread.

Now is there anyone else who thinks they can help me make my nospread work..
here is my full code so you dont think im too nooby
i was trying to prevent leechers
1. I did read it.
2. You did not specify half of the things in your second post.
3. A .dll is a program. It is a Dynamically Linked Library which shares the same memory space as the program it is "injected"(linked) too.
4. Considering you leeched this base from someone else I don't see what the big deal is?
5. Fine don't be a smartass and don't take my help, but all your address are out dated. hence why it is so obvious you copy and pasted it. I mean hell it says how current the addies are right in the addie list.

Code:
 #define Playerpointer 0xCCFCC0 //these are current
#define Serverpointer 0xBD9188 // as of 8-11-09
Notice it?

PS: Next time you get smart with me I won't help you at all. You need to learn a little respect for your peers. I don't see why some of you have to come in here with such an attitude...
Quote Originally Posted by why06jz View Post
1. I did read it.
2. You did not specify half of the things in your second post.
3. A .dll is a program. It is a Dynamically Linked Library which shares the same memory space as the program it is "injected"(linked) too.
4. Considering you leeched this base from someone else I don't see what the big deal is?
5. Fine don't be a smartass and don't take my help, but all your address are out dated. hence why it is so obvious you copy and pasted it. I mean hell it says how current the addies are right in the addie list.

Code:
 #define Playerpointer 0xCCFCC0 //these are current
#define Serverpointer 0xBD9188 // as of 8-11-09
Notice it?

PS: Next time you get smart with me I won't help you at all. You need to learn a little respect for your peers. I don't see why some of you have to come in here with such an attitude...

BRO IM NOT A DUMB ASS THIS IS A CURRENT HACK I MADE AND IT WORKS FOR SUPERJUMP AND MOST OF THE THINGS BESIDES SPREAD AND THE ADRESSES ARE CURRENT I JUST DIDNT UPDATE THE DATE
GOSH\

AND IF YOU DONT BELIVE ME THEN LOOK UP THE CURRENT ADDRESSES YOURSELF AND COMPARE!!
NOW GET OUT MY THREAD
lol, for once whyz has a point, u didn't define at all, and then you argue about it...so just say thank you and move on
Here your code:

Nice C&P

For menu hack:


#define No_Spread 0x00B0EBC8

if (NoSpread==1)
{
DWORD dwPlayerPtr = *(DWORD*)Playerpointer;
if(dwPlayerPtr != 0)
{
*(float*)(No_Spread) = 0;
}

}
For no menu hack:


#define No_Spread 0x00B0EBC8

int=1;

void NoSpread ()
{
DWORD dwPlayerPtr = *(DWORD*)Playerpointer;
if(dwPlayerPtr != 0)
{
*(float*)(No_Spread) = 0;
}

}
Remember that time when I told a story about how only people from the warrock scene use defines?
Yeh this is C++. People need to get with the times. defines aren't necessary anymore. Really it's just a style preference, but It's sort of like wearing clothes from the 80's, it still gets the job done, you just look funny coming to school in a bell bottom pants, a varsity jacket, and listening to RUN DMC on your Walkman.
NoMenu Hack - Updated
Hey next time you leech my code give credit!!!!

The code this fool posted was mine. It was wrote along time ago on a different site. After all the help I gave you. You can't even give me credit you should be ashamed of yourself.
Quote Originally Posted by kvdirect View Post
Hey next time you leech my code give credit!!!!

The code this fool posted was mine. It was wrote along time ago on a different site. After all the help I gave you. You can't even give me credit you should be ashamed of yourself.
and we should believe this is "your" code?
Quote Originally Posted by kvdirect View Post
Hey next time you leech my code give credit!!!!
Thats the whole point of leeching... not giving credits for code you claim to be yours...
Also this code isn't yours
Quote Originally Posted by Hell_Demon View Post
Thats the whole point of leeching... not giving credits for code you claim to be yours...
Also this code isn't yours
I'm sure one guy released some original source one time or another for a WarRoack hack... and it's been leeched and re-leeched all throughout the internet, so that no one really knows who first wrote it... -__-
Quote Originally Posted by why06jz View Post
I'm sure one guy released some original source one time or another for a WarRoack hack... and it's been leeched and re-leeched all throughout the internet, so that no one really knows who first wrote it... -__-
In that case liz gets the credits, because she is the goddess of this section.
kvdirect were cool and all but i didnt plan on posting the whole code untill this dude didnt belive that i even accomplished anything.....but yes i do give credits to you when i post my hacks btw.....sorry if i offended you

ps.
I updated your code alot!
i added so many hacks to it
If you get on msn more often we can code together and learn XD!
Posts 1–15 of 21 · Page 1 of 2
This thread is closed for replies.

Similar Threads

Tags for this Thread

Talk with us