Register for your free account! | Forgot your password?

Go Back   elitepvpers > Shooter > WarRock
You last visited: Today at 01:19

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

Advertisement



c++ Pros :S Need Help

Discussion on c++ Pros :S Need Help within the WarRock forum part of the Shooter category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2011
Posts: 352
Received Thanks: 140
c++ Pros :S Need Help

Profi Coder Bitte um Hilfe !

Code:
#include <Windows.h>
#include <stdio.h>

#define    ADR_PLAYERPOINTER    0xC7E840
#define    ADR_SERVERPOINTER    0x00B791B8
#define    OFS_Z            0x000102EC
#define    OFS_NFD        0x00102CC
#define    OFS_5SLOT        0x001021A4
#define    OFS_6SLOT        0x001021A5
#define    OFS_7SLOT        0x001021A6
#define    OFS_8SLOT        0x001021A7
#define ADR_SPEED 0x0099A65C
#define OFS_NORECOIL1 0x00C43C
#define OFS_NORECOIL2 0x00C440
#define OFS_NORECOIL3 0x00C444
#define ADR_NOSPREAD 0x0098CEE8
#define ADR_FASTAMMO 0x00B02F9C
#define ADR_GLASSWALLS 0x009897D0
#define ADR_BANDAGE				0x00AFFAD2
#define ADR_SNIPERAMMO				0x00AFFACE
#define ADR_EXTRAAMMO1				0x00AFFACC
#define ADR_EXTRAAMMO2				0x00AFFACD
#define OFS_X					0x00102E4
#define OFS_Y					0x00102F4
#define ADR_FASTHEALTH				0x00B02FA0
#define ADR_FASTREPAIR				0x00B02FA4
#define ADR_FASTFLAG				0x00B02FA8


float CoordX;
float CoordY;
float CoordZ;  


DWORD *ingame = (DWORD*)ADR_PLAYERPOINTER;
DWORD *outgame = (DWORD*)ADR_SERVERPOINTER;

void PlayerHacks()
{
    DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
    if(dwPlayerPtr != 0)
    {
        //Super Jump
        {
            if(GetAsyncKeyState(VK_CONTROL) &1)
            {
                *(float*)(dwPlayerPtr + OFS_Z) = 3000;
            }
        }

		//Teleport
        {
            if(GetAsyncKeyState(VK_F2)) 
            {
                CoordX = *(float*)(dwPlayerPtr+OFS_X);
                CoordY = *(float*)(dwPlayerPtr+OFS_Y);
                CoordZ = *(float*)(dwPlayerPtr+OFS_Z);
            }
            if (GetAsyncKeyState(VK_F3))
            {
                *(float*)(dwPlayerPtr + OFS_X) = CoordX;
                *(float*)(dwPlayerPtr + OFS_Y) = CoordY;
                *(float*)(dwPlayerPtr + OFS_Z) = CoordZ;
            }
        }
		 //No Fall Damage
        {
            *(float*)(dwPlayerPtr + OFS_NFD) = -30000;
        }

        //Speed Stuff

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

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

        //Speed x3
        {
            if(GetAsyncKeyState(VK_NUMPAD2) &1<< 0xF)
            {
                *(float*)ADR_SPEED = 200.0f;
            }
        }
        //Ultimate Power Level
        {
            if(GetAsyncKeyState(VK_NUMPAD3) &1<< 0xF)
            {
                *(float*)ADR_SPEED = 400.0f;
            }
        }

		//Recoil / Spread Stuff
        
        //Recoil
        {
            *(float*)(dwPlayerPtr + OFS_NORECOIL1) = 0;
            *(float*)(dwPlayerPtr + OFS_NORECOIL2) = 0;
            *(float*)(dwPlayerPtr + OFS_NORECOIL3) = 0;
        }

        //Spread
        {
            *(float*)ADR_NOSPREAD = 0;
        }
		//PX Stuff

		//Bandage
		{
			*(int*)(ADR_BANDAGE) = 1;
		}

		//SniperClip
		{
			*(int*)(ADR_SNIPERAMMO) = 1;
		}

		//Extra Ammo 1+2
		{
			*(int*)(ADR_EXTRAAMMO1) = 1;
			*(int*)(ADR_EXTRAAMMO2) = 1;
		}

		//Dig
		{
			if(GetAsyncKeyState(VK_MENU) &1)
			{
				*(float*)(dwPlayerPtr + OFS_Z) = -2000;
			}
		}
        //Glass Walls
        {
            if(GetAsyncKeyState(VK_NUMPAD8) &1)
            {
                *(int*)ADR_GLASSWALLS = 1;
            }
            if(GetAsyncKeyState(VK_NUMPAD9) &1)
            {
                *(int*)ADR_GLASSWALLS = 0;
            }
        }

        //Fast Ammo
        {
            *(float*)ADR_FASTREPAIR = 0.0f;
            *(float*)ADR_FASTHEALTH = 12.05f;
            *(float*)ADR_FASTFLAG = 0.0f;
            *(float*)ADR_FASTAMMO = 12.05f;
        }
    }
}
void ServerHacks()
{
    DWORD dwSrvrPtr = *(DWORD*)ADR_SERVERPOINTER;
    if(dwSrvrPtr != 0)
    {        
        //Slot Stuff

        //5 Slot
        {
            *(long*)(dwSrvrPtr + OFS_5SLOT) = 1;
        }

        //6 Slot
        {
            *(long*)(dwSrvrPtr + OFS_6SLOT) = 1;
        }
        //7 Slot
        {
            *(long*)(dwSrvrPtr + OFS_7SLOT) = 1;
        }

        //8 Slot
        {
            *(long*)(dwSrvrPtr + OFS_8SLOT) = 1;
        }
    }
}  
void HackThread()
{
    for(;; )
    {
        if(*ingame)
        {
            PlayerHacks();
        }
        if(*outgame)
        {
            ServerHacks();
        }
    }
    Sleep( 30 );
}
BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpvReserved)
{
    if(dwReason == DLL_PROCESS_ATTACH)
    {
		MessageBoxA(NULL, " Version 1.3", "Made by", MB_OK);
        CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HackThread, 0, 0, 0);
    }
    return TRUE;
}
Wo ist der Fehler , in C++ wird nichts angezeigt nur ingame , wenn ich meine Klasse ausgewählt habe wird die Map nur schwarz und ich ertrinke

Was ist Falsch
xPlay4Funx is offline  
Old 06/14/2011, 19:11   #2

 
xxfabbelxx's Avatar
 
elite*gold: 900
Join Date: Apr 2009
Posts: 14,981
Received Thanks: 11,403
Extra Ammo, SniperAmmo und Bandage gehen nichtmehr auf diese Art.
xxfabbelxx is offline  
Old 06/14/2011, 19:13   #3
 
elite*gold: 0
Join Date: Jun 2011
Posts: 319
Received Thanks: 100
Frag das mal hier:



#clrq.
xh0m3r1ƞ0x is offline  
Old 06/14/2011, 19:14   #4
 
elite*gold: 0
Join Date: Feb 2011
Posts: 352
Received Thanks: 140
Wenn ichs rausmache ist immer noch so schwarz :S

Wo is der Fail

Quote:
Originally Posted by xh0m3r1n0x* View Post
Frag das mal hier:



#clrq.
Da habs ich schon gepostet da hilft nur keiner
xPlay4Funx is offline  
Old 06/14/2011, 19:16   #5
 
elite*gold: 0
Join Date: Oct 2009
Posts: 14,456
Received Thanks: 7,846
/closed
_Marcel_ is offline  
Closed Thread


Similar Threads Similar Threads
I Need Help by Pros =)
03/11/2011 - CO2 Private Server - 1 Replies
i was hoping to open a pserver which everyone would enjoy. i currently have no experience yet. anyone would want to work along with me to open a conquer pserver? add me on msn and we can chat [email protected]
help me for SQL pros
10/09/2010 - Dekaron Private Server - 7 Replies
hello , i want to start a new job on my pserver , here it goes , i have a remote reborn system , and u reborn ur char on my ( own website ) everything works good , but my last problem is that i want to give a skill book for a character who made 1st reborn , so the SQL code must be like that : ( i have reborn table on user_character )
Help mi pros!
06/27/2009 - Conquer Online 2 - 1 Replies
I need the hex id of some fire tao skills like FireOfHell and scent sword fast blade. Theres one format like Tornado=3EA, some thing like this. Wud be grateful if any one help me.
could the PROs help me with this!
03/02/2009 - Lineage 2 - 6 Replies
Am running OOGW version 10.9.3 this is what i put for my Set.ini: CountryList=L2blaze; DefaultCountry=0 DefaultServer=0 DefaultCharacter=0 DefaultAccount=ken DefaultPassWord=
pros in only
06/19/2008 - Silkroad Online - 9 Replies
lol cuz i m a noob to this game. yesterday i killed 2 botters and got some pk points and 3 pk lvls. then i realise its a big mistake. cuz i m a free to be killed to others and i lost exp.when i stayed in town my hp auto drop. so i decided to logoff. today when i login again i was happy no pk points for me but then i found out my pk lvl still 3 and red name. plz some1 help me how can i turn to white name and no pk lvls again? thanks, if i cant get white name back, i would just quit cuz i...



All times are GMT +1. The time now is 01:21.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.