War Rock Cheat Programming Discussion

01/05/2015 15:22 Kazbah__#931
static positions on telekill?
01/05/2015 15:37 Waller66#932
its zombieopk wrong function title ur right my telekill is :

Code:
void TeleKillH()
{

for(int i = 0; i < 32; i++)
{
CPlayerInfo *pInfo = GetPlayerInfo(i);
CPlayer* pPlayer = g_pBase->player[i];
if(pInfo && pPlayer)
{
CPlayerInfo *pLocalInfo = GetPlayerInfo(g_pBase->local->index);
if( pInfo->team != pLocalInfo->team )
{
if( pInfo->health != 0 )
{
g_pBase->local->pos.x = pPlayer->pos.x;
g_pBase->local->pos.y = pPlayer->pos.y;
g_pBase->local->pos.z = pPlayer->pos.z;
}}}}}
But also not working ... :(
für __int32 health; in cplayer hab ich die addy verstehe aber nicht ganz wie ich den wert setze (ASM_ESPHEALTH) oder liest der das leben aus dem player/base/server - Pointer ?
01/05/2015 15:41 Kazbah__#933
mit structs
01/05/2015 16:46 Zn1337#934
Quote:
Originally Posted by Waller66 View Post
its zombieopk wrong function title ur right my telekill is :

Code:
void TeleKillH()
{

for(int i = 0; i < 32; i++)
{
CPlayerInfo *pInfo = GetPlayerInfo(i);
CPlayer* pPlayer = g_pBase->player[i];
if(pInfo && pPlayer)
{
CPlayerInfo *pLocalInfo = GetPlayerInfo(g_pBase->local->index);
if( pInfo->team != pLocalInfo->team )
{
if( pInfo->health != 0 )
{
g_pBase->local->pos.x = pPlayer->pos.x;
g_pBase->local->pos.y = pPlayer->pos.y;
g_pBase->local->pos.z = pPlayer->pos.z;
}}}}}
But also not working ... :(
für __int32 health; in cplayer hab ich die addy verstehe aber nicht ganz wie ich den wert setze (ASM_ESPHEALTH) oder liest der das leben aus dem player/base/server - Pointer ?
Does OPK work if you don call any extraś like health/team ?
If it does: Your Health/Team is wrong
If it doesnt: Your RemotePointer / XYZ could be wrong
01/05/2015 17:15 Waller66#935
it crash when first zombie spawn ^^
01/05/2015 17:27 r_a_z_0_r#936
Quote:
Originally Posted by Waller66 View Post
it crash when first zombie spawn ^^
Your CBase/CPlayerInfo seems to be wrong.

OPK in a thread
Code:
VOID OPKThread()
{
	do
	{
		DWORD dwPlayerPointer = *(DWORD*)ADR_PLAYERPOINTER;
		if(dwPlayerPointer != NULL && (CH_PlayerOPK || CH_ZombieOPK || CH_RemoveZombie)){
			if(!CH_NFD)
				CH_NFD = 1;
			for(unsigned int i = 0; i < 32; i++) {
				if(i != *(INT*)(*(DWORD*)(ADR_SERVERPOINTER) + OFS_LOCALSIZE))
				{
					if(CH_PlayerOPK) {
						g_pBase->pGlobal[i]->PosX = g_pBase->pLocal->PosX + 50;
						g_pBase->pGlobal[i]->PosY = g_pBase->pLocal->PosY;
						g_pBase->pGlobal[i]->PosZ = g_pBase->pLocal->PosZ;
					}
					else if(CH_ZombieOPK) {
						if(i > 3) {
							g_pBase->pGlobal[i]->PosX = g_pBase->pLocal->PosX + 50;
							g_pBase->pGlobal[i]->PosY = g_pBase->pLocal->PosY;
							g_pBase->pGlobal[i]->PosZ = g_pBase->pLocal->PosZ;
						}
					}
					else if(CH_RemoveZombie) {
						if(i > 3) {
							g_pBase->pGlobal[i]->PosX = 0;
							g_pBase->pGlobal[i]->PosY = 0;
							g_pBase->pGlobal[i]->PosZ = 13337;
						}
					}
				}
			}
		}
		Sleep(1);
	} while(TRUE);
}
01/05/2015 18:44 Waller66#937
is it right base ?
Code:
struct CBase
{
    CPlayer* local; //0x0000  
        char unknown4[8]; //0x0004
    CPlayer** player; //0x004C  
        char unknown80[48]; //0x0050
};//Size=0x0080(128)
01/05/2015 18:54 n4n033#938
Quote:
Originally Posted by Waller66 View Post
is it right base ?
Code:
struct CBase
{
    CPlayer* local; //0x0000  
        char unknown4[8]; //0x0004
    CPlayer** player; //0x004C  
        char unknown80[48]; //0x0050
};//Size=0x0080(128)
struct CBase
{
CPlayer* local;
char unknown0[RemotePointer - PlayerPointer - 0x4];
CPlayer** player;
};
01/05/2015 21:05 Waller66#939
can anyone post his function + all needed structs, i wanna check if its a addy or syntax problem ^^ game still crash at first zombie spawn .... and im searching a method to read out if player are in room,game or lobby (ingame with playerpointer!=0) but how lobby and room ?
01/06/2015 13:58 r_a_z_0_r#940
Quote:
Originally Posted by Waller66 View Post
can anyone post his function + all needed structs, i wanna check if its a addy or syntax problem ^^ game still crash at first zombie spawn .... and im searching a method to read out if player are in room,game or lobby (ingame with playerpointer!=0) but how lobby and room ?
Maybe you could do it like this ? :D

PHP Code:
DWORD dwClientFlag = -1;

#define _FLAG_CLIENT_UNKNOWN -1
#define _FLAG_CLIENT_NONE 0
#define _FLAG_CLIENT_LOBBY 1
#define _FLAG_CLIENT_ROOM 2
#define _FLAG_CLIENT_GAME 3

VOID UpdateGameFlag() {
   
DWORD dwPlayerPointer = *(DWORD*)(ADR_PLAYERPOINTER);
   
DWORD dwServerPointer = *(DWORD*)(ADR_SERVERPOINTER);
   
DWORD dwRoomPointer = *(DWORD*)(ADR_ROOMPOINTER);
   if(
dwServerPointer == NULL && dwPlayerPointer == NULL && dwRoomPointer == NULL)
     
dwClientFlag _FLAG_CLIENT_NONE;
   else if(
dwServerPointer != NULL && dwPlayerPointer == NULL && dwRoomPointer == NULL)
     
dwClientFlag _FLAG_CLIENT_LOBBY;
   else if(
dwServerPointer != NULL && dwPlayerPointer == NULL && dwRoomPointer != NULL)
     
dwClientFlag _FLAG_CLIENT_ROOM;
   else
     
dwClientFlag _FLAG_CLIENT_GAME;
}

DWORD WINAPI HackThread LPVOID lpReserved ) {
    do {
        
UpdateGameFlag();
        switch(
dwClientFlag) {
             case 
_FLAG_CLIENT_NONE: {
                  
HardReset();
                  break;
             }
             case 
_FLAG_CLIENT_LOBBY: {
                  
ServerCheats();
                  
BotCheats();
                  break;
             }
             case 
_FLAG_CLIENT_ROOM: {
                  
ServerCheats();
                  
BotCheats();
                  break;
             }
             case 
_FLAG_CLIENT_GAME: {
                  
PlayerCheats();
                  
ServerCheats();
                  
WeaponCheats();
                  
BotCheats();
                  break;
             }
        };
        
Sleep(5);
    } while ( 
TRUE );
    return 
0;

01/06/2015 14:16 AmazingTurtle#941
Quote:
Originally Posted by r_a_z_0_r View Post
...
Flags are binary constants to be used with the or and and operators, in order to stack flags / status values in a single variable. Meaning: a flag value can hold several flags. In your case, it should be named "status" or whatever, but not "flag"...
01/06/2015 15:29 +Yazzn#942
[Only registered and activated users can see links. Click Here To Register...]

wnb raz9r stfu pls thx bai
01/06/2015 17:51 Waller66#943
i will try, ty a lot r_a_z_0_r , i wanna code a zombiebot for vm
im still searching working structs + opk/telekill ? i just dont get it if its a addy or syntax problem
and asm bypass can i not code and for what i tried everything i could , but i also just have the addy anticrash but asm opk also crash at first zombie spawn ^^ - it sucks
01/06/2015 18:08 n4n033#944
Quote:
Originally Posted by Waller66 View Post
i will try, ty a lot r_a_z_0_r , i wanna code a zombiebot for vm
im still searching working structs + opk/telekill ? i just dont get it if its a addy or syntax problem
and asm bypass can i not code and for what i tried everything i could , but i also just have the addy anticrash but asm opk also crash at first zombie spawn ^^ - it sucks
maybe not related to this ? If it's crashing at zombie spawn with ASM OPK, I think there's something wrong that isn't OPK
01/07/2015 20:09 Waller66#945
guy i also cant code bypass that commend doesnt helped me at anyway ....