[ERROR]Calling SendAttackPacket()

01/26/2018 21:47 EliteHileKontrol#1
Hi, i'm building a small hack but now, i'm having some problems on calling the SendAttackPacket() function.
This is my code for now:

This is the error that is being showed: [Only registered and activated users can see links. Click Here To Register...]

Send Battle : [Only registered and activated users can see links. Click Here To Register...]
Call Func : [Only registered and activated users can see links. Click Here To Register...]



This'is My Code but Not Work
Code:
bool SendBattleAttack(int vId)
{
	DWORD NetPointer = *(DWORD*)0x1268868;
	DWORD BattleCall = 0x055A4D0;
	__asm {
		mov ecx, [NetPointer]
		push vId
		push 0
		call BattleCall
	}
	return 0;

}

DWORD WINAPI MainFunction(LPVOID lpParam) {
	MessageBoxA(NULL, "TarGetDamage", "Info", MB_ICONINFORMATION);
	while (true)
	{
		DWORD GetTargetVID = (*(DWORD*)(*(DWORD*)0x1268868 + 0x0134DC));

		if (GetTargetVID>0)
		{

		SendBattleAttack(GetTargetVID);

		}
		Sleep(1000);
	}

}
Hope somone can help.

@[Only registered and activated users can see links. Click Here To Register...]
01/30/2018 09:17 EliteHileKontrol#2
++++++
01/30/2018 20:30 Lindeth#3
Change 'mov ecx, [NetPointer]' to 'mov ecx, NetPointer' since you've already dereferenced the class pointer.
02/01/2018 21:24 EliteHileKontrol#4
Quote:
Originally Posted by Lindeth View Post
Change 'mov ecx, [NetPointer]' to 'mov ecx, NetPointer' since you've already dereferenced the class pointer.
Ekran resimlerini kontrol ettinmi değerler doğru gözüküyormu ?
02/01/2018 21:30 Lindeth#5
Quote:
Originally Posted by EliteHileKontrol View Post
Ekran resimlerini kontrol ettinmi değerler doğru gözüküyormu ?
Yeah it seems like you're calling the wrong function :confused:
02/01/2018 21:31 EliteHileKontrol#6
Quote:
Originally Posted by Lindeth View Post
Yeah it seems like you're calling the wrong function :confused:
which function is the strongest?