just start off with nx chams boxes and no spread without hotkeys...
I just got NX Chams in my hotkey hack. The NX Chams work completely. So i tried adding more hacks but they don't work whenever I turn them on. I can't figure out why. I know the ptc commands that I am using work because they worked on a different hack. Also there are no errors when building it.
Here is the code for it. Thanks to msflames3 for giving me the hotkey source.
Code:void main() { { bool nxchams = false; while(true) if(GetAsyncKeyState(VK_NUMPAD1)<0){ if(nxchams){ PushToConsole("SkelModelStencil 0"); nxchams = false; } else { PushToConsole("SkelModelStencil 1"); nxchams = true; } Sleep(200); //to make sure } bool boxes = false; while(true) if(GetAsyncKeyState(VK_NUMPAD2)<0){ if(boxes){ PushToConsole("ModelDebug_DrawBoxes 0"); boxes = false; } else { PushToConsole("ModelDebug_DrawBoxes 1"); boxes = true; } Sleep(200); //to make sure } bool nospread = false; while(true) if(GetAsyncKeyState(VK_NUMPAD3)<0){ if(nospread){ PushToConsole("PerturbRecoil 9.000000"); PushToConsole("PerturbRotationEffect 3.000000"); PushToConsole("PerturbIncreaseSpeed 3.000000"); PushToConsole("PerturbWalkPercent 9.000000"); PushToConsole("PerturbFiringIncreaseSpeed 0.500000"); PushToConsole("FireMovePerturb 9.000000"); PushToConsole("ZoomedFireMoveDuckPerturb 9.000000"); PushToConsole("ZoomedFireMovePerturb 9.00000"); PushToConsole("ZoomedFireDuckPerturb 9.000000"); nospread = false; } else { PushToConsole("PerturbRecoil 0.000000"); PushToConsole("PerturbRotationEffect 0.000000"); PushToConsole("FireMovePerturb 0.000000"); PushToConsole("PerturbWalkPercent 0"); PushToConsole("PerturbDecreaseSpeed 0"); PushToConsole("PerturbIncreaseSpeed 0"); PushToConsole("PerturbFiringIncreaseSpeed 0.000000"); PushToConsole("ZoomedFireMoveDuckPerturb 0.000000"); PushToConsole("ZoomedFireMovePerturb 0.000000 "); PushToConsole("ZoomedFireDuckPerturb 0.000000"); nospread = true; } Sleep(200); } } }
Last edited by cookie hack; 07-15-2010 at 03:04 AM.
[IMG]https://i251.photobucke*****m/albums/gg291/h0tpinkninJa/NeilPeart.jpg[/IMG]
just start off with nx chams boxes and no spread without hotkeys...
I have the no spread, boxes, pickup, removals, show fps, and no fog on it right now.
[IMG]https://i251.photobucke*****m/albums/gg291/h0tpinkninJa/NeilPeart.jpg[/IMG]
is it working i think u might need new ltc if u using his base..
Everything is working that i know of. Some of the removals may be junk but everything else is tested and working.
[IMG]https://i251.photobucke*****m/albums/gg291/h0tpinkninJa/NeilPeart.jpg[/IMG]
basically, under voided main, you want to bool nxchams false.. so its not on when u start.
[php]bool nxchams = false;[/php]
then under while(true), you want to state your code.. what to have it do if the hotkey isnt pressed.
[php]if(GetAsyncKeyState(VK_NUMPAD0)<0){
if(nxchams){
PushToConsole("SkelModelStencil 0");
nxchams = false;
}
}[/php]
so we stated what false is. now to put what true is (after hotkey is pressed). after nxchams = false, put
[php] } else {
PushToConsole("SkelModelStencil 1");
nxchams = true;
[/php]
so now we have
[php]
// ** ** //
//CREDITS TO MSFLAMES3//
// ** ** //
void(FlamesBase){
bool nxchams = false;
while(true){
if(GetAsyncKeyState(VK_NUMPAD0)<0){
if(nxchams){
PushToConsole("SkelModelStencil 0");
nxchams = false;
} else {
PushToConsole("SkelModelStencil 1");
nxchams = true;
}
}
Sleep(200) //to make sure
}
}[/php]
be sure to give me credits.
cookie hack (07-14-2010),Stelthkid (07-14-2010),UnOwN CoD3R (07-14-2010)
Cool it worked but it won't turn off my hack if i press "numberpad 0" again. I could just add another hotkey to turn it off but you just helped me alot. Thanks.
[IMG]https://i251.photobucke*****m/albums/gg291/h0tpinkninJa/NeilPeart.jpg[/IMG]
Yay i just forgot a little bit of code and now it works.
[IMG]https://i251.photobucke*****m/albums/gg291/h0tpinkninJa/NeilPeart.jpg[/IMG]
coding is NOT that hard people
Need Help With Coding or Something??? MSN me
zmansquared@hotmail.com
I am the one and only Microsoft Fag!!!
Quote:
Originally Posted by Arhk
All games should be hacked, if we don't do it someone else will. Hackers force the progress, of better programming methods.
~
Take this Pic everyone!
next-
it was working then this happened after i added ur code
nvm i figured out what it was
the sleep was fkking it up now idk where to stick sleep
fixed
while(true)
{
if(GetAsyncKeyState(VK_NUMPAD0)<0){
if(nxchams){
PushToConsole("SkelModelStencil 0");
nxchams = false;
} else {
PushToConsole("SkelModelStencil 1");
nxchams = true;
}
Sleep(200); //to make sure
}
works perfectly now to make it not lagg
Last edited by Stelthkid; 07-14-2010 at 05:59 PM.
Help me raise my Habamon!
Kills.....43781
Deaths.....2124
KDR.....20.61
Streak.....113
HS.....18391
HS%.....40%
GP.....93284
Thank Me If I Helped.
cookie hack (07-15-2010)
Thanks stealth.
[IMG]https://i251.photobucke*****m/albums/gg291/h0tpinkninJa/NeilPeart.jpg[/IMG]