Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server
You last visited: Today at 16:09

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

Advertisement



[ERROR]Calling SendAttackPacket()

Discussion on [ERROR]Calling SendAttackPacket() within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2016
Posts: 9
Received Thanks: 0
[ERROR]Calling SendAttackPacket()

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:

Send Battle :
Call Func :



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.

@
EliteHileKontrol is offline  
Old 01/30/2018, 09:17   #2
 
elite*gold: 0
Join Date: May 2016
Posts: 9
Received Thanks: 0
++++++
EliteHileKontrol is offline  
Old 01/30/2018, 20:30   #3
 
Lindeth's Avatar
 
elite*gold: 0
Join Date: Apr 2013
Posts: 82
Received Thanks: 44
Change 'mov ecx, [NetPointer]' to 'mov ecx, NetPointer' since you've already dereferenced the class pointer.
Lindeth is offline  
Old 02/01/2018, 21:24   #4
 
elite*gold: 0
Join Date: May 2016
Posts: 9
Received Thanks: 0
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 ?
EliteHileKontrol is offline  
Old 02/01/2018, 21:30   #5
 
Lindeth's Avatar
 
elite*gold: 0
Join Date: Apr 2013
Posts: 82
Received Thanks: 44
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
Lindeth is offline  
Old 02/01/2018, 21:31   #6
 
elite*gold: 0
Join Date: May 2016
Posts: 9
Received Thanks: 0
Quote:
Originally Posted by Lindeth View Post
Yeah it seems like you're calling the wrong function
which function is the strongest?
EliteHileKontrol is offline  
Reply


Similar Threads Similar Threads
[ERROR]Calling SendAttackPacket()
01/26/2018 - Metin2 - 16 Replies
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: void SendAttack(DWORD BinAddr) { DWORD *Target = (DWORD*)(BinAddr + 0x0019EC38); DWORD *TargetAdress = (DWORD*)(*Target + 0x73C); printf("TargetAdress: %d\n", *TargetAdress); DWORD FuncAddr = BinAddr + 0x1BF420; printf("FuncAddr: %d\n", FuncAddr); DWORD ClassPointer = BinAddr + 0x4846A4;
[Error]Error when using Zero's method/And another Error
09/16/2011 - Shaiya Private Server - 5 Replies
well here is a screeny of my problem. Any assistance is greatly appreciated. I haven't come across this error before nor seen any posts up here about it. Also this is me executing the NpcQuest_cvs.bat and yes i changed python to C:/Python27/Python.exe in the command line. http://img707.imageshack.us/img707/9997/errorgx.p ng Ok So my second error involves changing Stat points per lvl here is my screen shots http://img854.imageshack.us/img854/6412/nosave.pn g
[Error] Server Error [/Error]
03/30/2011 - Dekaron Private Server - 7 Replies
Okay so i just start the server as usual but then i got this error: http://i.min.us/ibDMH2.jpg
ERROR ERROR ERROR!
11/08/2008 - Dekaron - 5 Replies
Hello, everytime i launch 2moons and log in it freezes just as the map is finished loading and the DAMN CRASH REPORTER comes up and the game closes. Can anyone help me get around this? I tried deleting the bug reporter(LOL) but all that happened was that it crashed without it popping up. PS. I think i read somewhere that it was caused because i needed to update something or change files, but no one would reply to me :( I am using the crc bypass from the sticky Anticipating your...



All times are GMT +1. The time now is 16:10.


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