Can you help me with opk function ?

Posts 1–13 of 13 · Page 1 of 1
Can you help me with opk function ?
When i active it, i receive damage from falling down but i'm not folling down...





Code:
struct CPlayer
{
	WORD weapon;  //0x101D8  
		char unknown0[50320]; //0x0000
	BYTE index; //0xC490  
		char unknown50321[27]; //0xC491
	//CVehicle* pVehicle; //0xC4AC  
		char unknown50352[15588]; //0xC4B0
	float pitch; //0x10194   
	float yaw; //0x10198     
		char unknown65948[156]; //0x1019C
	BYTE state; //0x10238  
		char unknown66105[19]; //0x10239
	float posx; //0x1024C  
	float posy; //0x10250  
	float posz; //0x10254  
		char unknown66136[136]; //0x10258
	float pos1; //0x102E0  
		char unknown66276[4]; //0x102E4
	float pos2; //0x102E8  
		char unknown66284[4]; //0x102EC
	float pos3; //0x102F0  
		char unknown66292[16716]; //0x102F4
		float nfd; //0x102C8  
};//Size=0x17C40(97344)


Code:
struct CBase
{
	 CPlayer* local;         //0x000000
	 char unknown0[1169872];  //0x000004
	 CPlayer** player;      //0x11D9B4
};

Code:
struct CPlayerInfo
{	
		char unknown1[8];		//0x0
	 __int32 premium;       //0x8
	char unknown2[1712];	//0xC
	 __int32 ping;			//0x6BC
	char unknown3[20];		//0x6C0
	 char ip[16];			//0x6D4  
	char unknown4[140];		//0x6E4
	 DWORD exp;	            //0x770
	char unknown5[12];		//0x774
	 __int32 dinar;			//0x780
	char unknown6[4];       //0x784
	 __int32 totalkills;    //0x788
	 __int32 totaldeaths;   //0x78C
	char unknown7[564];		//0x790
	 char name[20];			//0x9C4
	char unknown8[4500];	//0x9D8
	 __int32 points;		//0x1B6C
	char unknown9[24];		//0x1B70
	 __int32 kills;			//0x1B88
	 __int32 deaths;		//0x1B8C
	 __int32 flags;			//0x1B90
	 
	  CHAR unknown7048[12]; //0x1B88

	 __int32 health;		//0x1B94 
	 __int32 maxhealth;		//0x1B98
	char unknown10[4];		//0x1B9C
	 __int32 branch;		//0x1BA0
	char unknown11[132];	//0x1BA4
	 BYTE ready;	        //0x1C28
	char unknown12[171];	//0x1C29
	char unknown7068[320]; //0x1B9C
	BYTE team; //0x1CDC
try to use no fall damage?
I've tried it but i still die
Post opk source :S , Btw post NFD addie and Source too ..
CPLAYER


float nfd; //0x102C8




if(mi.CH_ZOPK)
{
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->pos1 = 0;
g_pBase->local->pos2 = 0;
g_pBase->local->pos3 = 0;
pPlayer->pos1 = 0;
pPlayer->pos2 = 0;
pPlayer->pos3 = 0;

g_pBase->local->pos1 = pPlayer->pos1;
}
}
}
}
}
}
Code:
	for(int i = 0; i < 32; i++)
	{
	CPlayer* pPlayer = g_pBase->player[i];
	g_pBase->local->pos1 = 0;
	g_pBase->local->pos2 = 0;
	g_pBase->local->pos3 = 0;
	pPlayer->pos1 = 0;
	pPlayer->pos2 = 0;
	pPlayer->pos3 = 0;
	}
Thats all you need :S and for nfd post ur source :S ur addie is correct
REMOVED THIS SUBJECT..
R3d_Line right, also if i had OPK i would make it so: It turns on Nobounds & Nfd & OPK!

Btw here NFD & addie:

Code:
#define Nfd 0x102C8 //should work
Source:

Menu:
Code:
int Nfd = 0;

if(Nfd == 1)
{
*(float*)(dwPlayerPtr+Nfd) = -20000;
}
NoMenu (No Hotkey):
Code:
{
*(float*)(dwPlayerPtr+Nfd) = -20000;
}
NoMenu (Hotkey):
Code:
if(GetAsyncKeyState(VK_"Your HotKey") &1)
{
*(float*)(dwPlayerPtr+Nfd) = -20000;
}
Also, qwick remove your Structs!! Before someone leeches.! because this is solved now

Look mine & R3d_Line post

qwick remove the structs!, and your Opk source, (Ps. Use R3d_Line's)
Else i think the postions on structs maybe wrong , Btw Add player ptr check at first
#define ADR_PLAYERPOINTER 0x009E57D4


Can ı give your msn or skype adress R3dLine
Ok i readed little about Opk shit on Ida so what they are doing is like this :

Start P -> Check Player Postion -> Warning Player Postion 0.0.0 -> Check Nfd ( Still not sure what they do with nfd but they turn it off ) -> Change Postion On Air -> You die
Thanks a lot..
This is solved, and vkt78, Removed the source so noone can steal at the last minute
Posts 1–13 of 13 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us