Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Kal Online
You last visited: Today at 16:26

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

Advertisement



[Request] recv curr hp and mp

Discussion on [Request] recv curr hp and mp within the Kal Online forum part of the MMORPGs category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2005
Posts: 112
Received Thanks: 23
[Request] recv curr hp and mp

hello guys , how can i get curr hp or mp when attacking , i've tried all buffer slots with no success .
nonosocr1986 is offline  
Old 09/13/2012, 05:58   #2
 
meak1's Avatar
 
elite*gold: 220
Join Date: Jun 2007
Posts: 3,768
Received Thanks: 1,126
PHP Code:
if (buf[2] == 0x45)
{
if (
buf[3] == 0x08)
{
mp=*(WORD*)&buf[4];
}
if (
buf[3] == 0x07)
{
hp=*(WORD*)&buf[4];

////////////////////////////////////////////////////////////////////////////////////////

if (buf[2] == 0x3E)
{
DWORD MobDMG;
DWORD Playerid,Mobid;
Playerid=*(DWORD*)&buf[7];
Mobid=*(DWORD*)&buf[3];
MobDMG=*(DWORD*)&buf[11];


if((
Playerid == Player[0].PID)&&(prevDMG != MobDMG))
{
prevDMG=MobDMG;
hp-=prevDMG;

meak1 is offline  
Thanks
2 Users
Old 09/13/2012, 12:30   #3
 
elite*gold: 0
Join Date: Oct 2010
Posts: 159
Received Thanks: 73
You can also use Pointer stuff

Code:
DWORD* Health = (DWORD*)0x006F3840;
		DWORD MyHp;
		Memory::MemcpyEx((DWORD)&MyHp,(((DWORD)*Health)+0x000046AC),4);
	    DWORD Mana = *(DWORD*)0x0070EB30;
               Kal::ChatBox("[Prince] ",1,"Your Health Points ->[%d] and Mana Points ->[%d].",MyHp,Mana);
mohm195 is offline  
Thanks
2 Users
Old 09/13/2012, 16:37   #4
 
meak1's Avatar
 
elite*gold: 220
Join Date: Jun 2007
Posts: 3,768
Received Thanks: 1,126
mem read sucks, cpu voltage D;
meak1 is offline  
Old 09/13/2012, 16:59   #5
 
elite*gold: 0
Join Date: Oct 2010
Posts: 159
Received Thanks: 73
Well, meak1 knows more than me! but it's just another way ^^
mohm195 is offline  
Old 09/13/2012, 19:41   #6
 
elite*gold: 0
Join Date: Oct 2005
Posts: 112
Received Thanks: 23
thank you both , thats really helpful
nonosocr1986 is offline  
Reply


Similar Threads Similar Threads
recv() function
09/02/2012 - C/C++ - 4 Replies
hi friends .. I receive a packet with the function recv (); I receive with: recvbuf char ; recv (Connect, recvbuf, 255.0); ok, no problem ..
[Recv] Send Self
10/31/2011 - Nostale - 4 Replies
Ich wollte fragen ob hier noch irgendwer erfahrungen in ASM hat. Suche nämlich die Sendself Funktion aber weiß ned wie ich weiter suchen soll habs schon rückwerts über die Sockte Funktionen versucht aber kein wirklicher Erfolg. Brauche die Send Self Funktion um nach Sendpackets zu suchen. Falls mir wer Helfen kann aber ned offen osten will geht auch per PN.
[help] recv
08/02/2009 - Kal Online - 3 Replies
Soo, man man behinderter tag. naja wayne. bin grad dabei mich etwas mehr mit den recv packets außeinander zu setzen. unter anderem mit den zahlen dahinter. Borsti sagte das ist die größe (size) naja also ich hab mir das mal als hex ausgeben lassen (das packet für empfangene nachrichten im chat ) ich hab mir das folgendermaßen "notiziert" 0c 00 3c //size 44 65 6e 4a 61 73//name
[Question] Hooking send() & recv() works, but recv hiding data for co???
05/06/2009 - CO2 Programming - 2 Replies
Hey guys, I've been making a DLL to allow another program to intercept the packets of conquer using windows pipes. (Then its the job of the main program to decrypt the packets, the DLL only gives a communication channel for the main program) (winsock functions btw) - hooking send() works fine for my internet browser - hooking recv() works fine for my internet browser - hooking send() works fine for conquer online



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


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