Register for your free account! | Forgot your password?

Go Back   elitepvpers > Shooter > WarRock
You last visited: Today at 09:55

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



!!!Help!!!

Discussion on !!!Help!!! within the WarRock forum part of the Shooter category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2011
Posts: 285
Received Thanks: 117
!!!Help!!!

Code:
#include <stdio.h>
#include <windows.h>
//Pointer
#define ADR_PLAYERPTR 0x00ABD750
#define ADR_SERVERPOINTER 0x00B791B8
//Weapon
#define OFS_NORECOIL1 0x00C43C
#define OFS_NORECOIL2 0x00C440
#define OFS_NORECOIL3 0x00C444
#define ADR_NOSPREAD 0x009B0008
#define ADR_SCOPE 0x00A23140
//Player
#define OFS_NFD 0x00102CC
#define OFS_X 0x00102EC
#define OFS_Y 0x00102DC
#define OFS_Z 0x00102E8
DWORD *ingame= (DWORD*)ADR_PLAYERPTR ;
DWORD *megame= (DWORD*)ADR_SERVERPOINTER ;



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

void NoSpread ()//Weapon
{
*(int*)ADR_NOSPREAD = 0;
}


void Scope ()//Weapon
{
if(GetAsyncKeyState(VK_RBUTTON))
{
*(int*)(ADR_SCOPE) = (int)1;
}
else
{
*(int*)(ADR_SCOPE) = (int)5;
}
}


void NFD ()
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPTR;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+OFS_NFD) = -20000; //fall height
}
}



void SuperJump ()
{
if(GetAsyncKeyState(VK_RCONTROL)&1)//VK_RCONTROL button to activate =)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPTR;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+OFS_Z) = 1500; //jump height
}
}
}

und F7 Gedrückt Dann Kommt

Code:
>------ Erstellen gestartet: Projekt: Hacken, Konfiguration: Debug Win32 ------
1>Kompilieren...
1>Main.cpp
1>c:\dokumente und einstellungen\ich\eigene dateien\visual studio 2008\projects\hacken\hacken\main.cpp(82) : error C2143: Syntaxfehler: Es fehlt ')' vor '{'
1>c:\dokumente und einstellungen\ich\eigene dateien\visual studio 2008\projects\hacken\hacken\main.cpp(82) : error C2143: Syntaxfehler: Es fehlt ';' vor ')'
1>c:\dokumente und einstellungen\ich\eigene dateien\visual studio 2008\projects\hacken\hacken\main.cpp(105) : error C2065: 'SW_MI': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\ich\eigene dateien\visual studio 2008\projects\hacken\hacken\main.cpp(105) : error C2146: Syntaxfehler: Fehlendes ')' vor Bezeichner 'NIMIZE'
1>c:\dokumente und einstellungen\ich\eigene dateien\visual studio 2008\projects\hacken\hacken\main.cpp(105) : error C2059: Syntaxfehler: ')'
1>Das Buildprotokoll wurde unter "file://c:\Dokumente und Einstellungen\ich\Eigene Dateien\Visual Studio 2008\Projects\Hacken\Hacken\Debug\BuildLog.htm" gespeichert.
1>Hacken - 5 Fehler, 0 Warnung(en)
========== Erstellen: 0 erfolgreich, Fehler bei 1, 0 aktuell, 0 übersprungen ==========
Was Mache Ich Falsch ?!?!?!
AzzLacK68 is offline  
Old 07/30/2011, 21:53   #2
 
elite*gold: 0
Join Date: Jun 2011
Posts: 319
Received Thanks: 100
Gehört in den Sticky ô__O Da war es doch auch richtig? Naja,

#clrq.
xh0m3r1ƞ0x is offline  
Old 07/30/2011, 21:53   #3
 
xC0LDB4SHx's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 579
Received Thanks: 264
Was soll das jetz sein fürn Code o.o
xC0LDB4SHx is offline  
Old 07/30/2011, 21:55   #4
 
elite*gold: 0
Join Date: Jul 2011
Posts: 285
Received Thanks: 117
Des Habe Ich Bei C++ Gemacht da kommt immer fehler brauche hilfe
AzzLacK68 is offline  
Old 07/30/2011, 22:28   #5
 
elite*gold: 0
Join Date: Jul 2011
Posts: 14
Received Thanks: 5
Sticky nutzen pls
Sκϒ✔™ is offline  
Reply




All times are GMT +2. The time now is 09:55.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.