Register for your free account! | Forgot your password?

You last visited: Today at 18:09

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

 

HP checker

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2005
Posts: 49
Received Thanks: 0
Hey, first post here.. welcome to me xD
Anyhow, I've been looking for a program to check my current hp and verifies if I've been hit or not..
I couldn't find one, so I made my own using Windows.h library and going inside the process memory area.
I've managed to find the address of the current hp, somehow it's always the same..
That would be wonderful, BUT.. if I close CO with TerminateProcess(); and run again, that address will always return 0 to me. Even if I look on TSearch again for the current hp, it just won't show, I've tried many times.
So.. do anyone have any idea on how to get my current hp?
The whole idea of this thing is to get rid of mine pkers (who dont 1-hit kill)
I'll post my sourcecode, it does work for me (but you have to add the memory address of your current HP manualy)
Plus, it's not very self-explanatory for those who don't know C and it runs only on console window.
I know, it's not very friendly, the point of the whole thing is make it WORK, then I could think on the design.
Actually it does work, once.. then I have to reboot xD Not very useful.
And also you have to tell it the Process ID of the Conquer you want to monitor.
Yes, I'll try and make it seek the name of the char of each CO and then you only choose by name.. I know how to find the name and show it, but I don't know how to find CO's PIDs.. well, not yet.
If anyone wanna help me out or know if there's a tool like that around, let me know please. Any contribution is appreciated. Thanks in advance.

Code:
#include <Windows.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

int main(void)
{
 int *pta,pid,hp,hpt;
 HANDLE hnd_co;
 DWORD id_proc;
 printf("PID: "); scanf("%i",&pid);
 id_proc = pid; // pid
 pta = (void*)0xCF0560; // hp
 hnd_co = OpenProcess(PROCESS_ALL_ACCESS, TRUE, id_proc);
 ReadProcessMemory(hnd_co,pta, &hp, 4, NULL);
 ReadProcessMemory(hnd_co,pta, &hpt, 4, NULL);
 printf("HP: %i\n",hp);
 while(hp == hpt) {
    hnd_co = OpenProcess(PROCESS_ALL_ACCESS, TRUE, id_proc);
    ReadProcessMemory(hnd_co,pta, &hpt, 4, NULL);
    Sleep(1000);
 }
 TerminateProcess(hnd_co,0);
 return 0;
}



bonesaw is offline  
Old   #2
 
elite*gold: 20
Join Date: Mar 2005
Posts: 1,247
Received Thanks: 2,252
eh ? Im confused, and lazy to read soo much, and installing co2 on a P1 200mhz comp, with 80 ram. newayz hope someone can figure out the value for the hp. I think one of the bots in important section might have a hp checker, or something similar.


XtremeX-CO is offline  
Old   #3
 
elite*gold: 0
Join Date: Mar 2005
Posts: 1,272
Received Thanks: 1,308
my advice is use code injection to defeat dma
Ultimation is offline  
Old   #4
 
elite*gold: 0
Join Date: Jun 2005
Posts: 166
Received Thanks: 4
thanks

btw. how is it bugged? edit: besided if u start it up if HP not full?

edit2: use CloseHandle to prevent mem leaks if u dont want the program to close co - but to act accordingly


S.O is offline  
Old   #5
 
elite*gold: 0
Join Date: May 2005
Posts: 49
Received Thanks: 0
@XtremeX-CO
They probably do, but I as ultimatehaker said, they probably use injection to bypass DMA.. I don't know much about that, not yet, mine is directly into the memory area of CO.. dunno how I'll do it yet to make it auto, but I noticed the HP address is always the same.. still studying it :P

@ultimatehaker
I would, but that's above my hacking skills.. I gotta study some DMA before I can do that.. I do it all on my own, it's very hard to learn.. :P

@****** /> Yeah I know about that, I gotta change the == to <=, but that would make your actual hp be the point to begin checking.. or I could make it ask for the chickening hp.. fixing other bugs now, will take a look at that later on :P
oh, I didnt knew about CloseHandle.. it actually closes the process correctly? nice to know, thanks for the info ^^
bonesaw is offline  
Old   #6
 
elite*gold: 0
Join Date: Mar 2005
Posts: 1,272
Received Thanks: 1,308
Check Out Here For Your DMA Solution



Ultimation is offline  
Reply



« Previous Thread | Next Thread »

Similar Threads
classic pickit,shopbot,nip checker und char script für shop und nip checker bot
hi leutz ich selber spiele zwar sogut wie kein diablo mehr, aber ich habe mich nochmal ran gesetzt und eine neuere version von meinem pickit erstellt...
0 Replies - Diablo 2
warden-checker
hey, ich habe mal gehört, dass es ein Programm gibt , dass automatisch das game verlässt ,wenn die Warden sich einklincken... wo gibts die...
2 Replies - Diablo 2
[Help]Status Checker!
Hey Guys, I have a problem with the status of my server, i execute CoMy.exe when the window finish loading says : Server Running on Ip: and my ip ...
0 Replies - CO2 PServer - Discussions / Questions
WoW Acc checker
Hallo Ich bin auf der suche nach einem Porgramm was so ähnlich ist wie dieses www.**********/showthread.php?t=310953 dies Prorgramm soll nur...
2 Replies - WoW Ask the Experts



All times are GMT +2. The time now is 18:09.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy
Copyright ©2017 elitepvpers All Rights Reserved.