help with NPC opk/telekill

Posts 115 of 17 · Page 1 of 2
help with NPC opk/telekill
i have a working source...here it is (don't worry i removed thiings so its not completely useable unless you know how to fix it)

anyway, i have the pointers and such for NPC's (cuz i don't want a pub telekill out lol) but i cant get the opk to work

if the opk/tele are in the void like below, it doesn't turn on at all in game, nor does it teleport anything in anyway

Code:
#define charposoffset ClientFx.fxd + 0x66F34 //player pointer
#define otherplyrptr //enemy pointer
#define posyoffset 
#define yoffset 
DWORD posptr;
DWORD posy;
DWORD playertarget;


void OPK(void) {
 
        while(1){
 
                posptr=NULL;
                posptr = (DWORD)GetModuleHandleA("ClientFX.fxd");
                posptr += charposoffset;
 
                memcpy(&posy,(void *)(posptr),4);
                posy += posyoffset;
 
                memcpy(&playertarget,(void *)(otherplyrptr),4);
                playertarget += yoffset;
 
 
 
 
                ;if(GetAsyncKeyState(VK_F10)&1)
                {
                        if(posy > posyoffset && playertarget > yoffset)
                        {
                                *(float*)playertarget = *(float*)posy;
                                *(float*)(playertarget+0x4) = *(float*)(posy+0x4);
                                *(float*)(playertarget-0x4) = *(float*)(posy-0x4);
                        }
                }
 
                ;if(GetAsyncKeyState(VK_F11)&1)
                {
                        if(posy > posyoffset && playertarget > yoffset)
                        {
                                *(float*)posy = *(float*)playertarget;
                                *(float*)(posy+0x9) = *(float*)(playertarget+0x9);
                                *(float*)(posy-0x9) = *(float*)(playertarget-0x9);
                        }
                }
 
        }
}

DWORD WINAPI OPKSTARTUP(LPVOID)
{
        while( !IsGameReadyForHook() )
        Sleep(800);
OPK();
        return 0;
}
note, i changed a lot so its gonna be hard for sum1 to c+p.

anyway, it doesn't start to opk or tele when i hit the hot key whetehr i have it on or off in the menu

i tried putting it with my nametags and ptc's to get it to tele/opk with it on/off on menu with hotkeys and it didn't work because i had to // the dword winapi section to even get it to compile

help? (if you want the source updated i have it, i'll only give it to good coders though)
Detected source is detected
Quote Originally Posted by flameswor10 View Post
Detected source is detected
1. source not detected
2. with random player pointer no NPC-OPK available
Quote Originally Posted by kotentopf View Post
1. source not detected
2. with random player pointer no NPC-OPK available
2 is wrong. You can use classes to get to NPC with random player pointer although it will hit friendly players too.
Quote Originally Posted by kotentopf View Post
1. source not detected
2. with random player pointer no NPC-OPK available
I actually have npc pointer...I may post it
Oh the whole source is bad? Oops lol
You forgot to create a thread.
Best code

[highlight=c++]
if(telekill) {
SetLocalPlayerPosition(pPlayer->obj->origin);
}
[/highlight]

No Troll just try it

-Nubz
[FONT="Lucida Sans Unicode"][COLOR="DimGray"][SIZE="3"]
wrote dis late at nightz0rs

**edited cuz i dun want dis vip source everywhere
OMG NOOB
IT WORKS PERFECTLY!!1
edit deleted telekill source code
Im at work I couldn't get it lol
Quote Originally Posted by supercarz1991 View Post
Im at work I couldn't get it lol
Did you create a thread yet? That could be one of the problems.
can someone just tell me where the dam fucking telekill code gose plz thank you
Quote Originally Posted by yoyoman4567 View Post
can someone just tell me where the dam fucking telekill code gose plz thank you
What telekill code. We dont know what code it is. PM me if you need help
Posts 115 of 17 · Page 1 of 2

Post a Reply

Tags for this Thread

None

Need help?