Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Programming
You last visited: Today at 01:49

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

Advertisement



[QUESTION] HP Memory Address

Discussion on [QUESTION] HP Memory Address within the CO2 Programming forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2007
Posts: 108
Received Thanks: 42
[QUESTION] HP Memory Address

Is it possible to get the memory address of HP? I read around and saw that it is DMA but more reading around the AutoIt forums said there's a way around that by getting the memory address of the pointer to HP. I tried cheatengine but not really sure what to look for. I'm now starting to get the hang of programming in general so maybe my terms aren't correct.

Anyone understand what I'm looking for?

P.S. I'm trying to find out to make a memory-based auto-potter.
Belth is offline  
Old 04/25/2009, 23:33   #2
 
elite*gold: 0
Join Date: Jun 2006
Posts: 965
Received Thanks: 576
high6 is offline  
Old 04/26/2009, 03:59   #3
 
clintonselke's Avatar
 
elite*gold: 0
Join Date: Feb 2007
Posts: 348
Received Thanks: 2,175
Quote:
Originally Posted by high6 View Post
Its not encrypted, its just miss-a-lined (i can't spell for **** xD). And its also dynamically allocated so it will keep changing each time. (U may need an input box for the address).

How to find it??... Answer: binary search in CheatEngine (remember to use the pause game when search checkbox, bcuz ur HP will slowly rise and effect ur results).

After you have found it, then you will have an address and an offset... Looks like this:

[23423ABD]^4 (example only)

something like that will mean its located at 23423ABD and ignore the lowests 4 bits

Example of using example in AutoIt:

$HP = BitShift(_ReadMemory(0x23423ABD, $MemId), 4)

The fact that u have to search it each time u run conquer is a bit of a pain. But i think someone else in elitepvpers knows how to fix the address (make it static), something to do with searching for a pointer to some memory which when u move down a bit will give u another pointer to the HP, but i don't know how to get CheatEngine to search for that. (for getting it to find the address of the pointer that holds the dynamically allocated memory which with a certain offset contains the players current HP)
clintonselke is offline  
Thanks
1 User
Old 04/26/2009, 06:13   #4
 
elite*gold: 0
Join Date: Jun 2006
Posts: 965
Received Thanks: 576
I believe it is a little more than "mis-aligned".



Unless they changed it since then.
high6 is offline  
Thanks
1 User
Old 04/26/2009, 06:56   #5
 
clintonselke's Avatar
 
elite*gold: 0
Join Date: Feb 2007
Posts: 348
Received Thanks: 2,175
Quote:
Originally Posted by high6 View Post
I believe it is a little more than "mis-aligned".



Unless they changed it since then.
wow, i had no idea. But it works for me, i wrote a bot for my ninja and it had autopot function using memory read.
Do ya think TQ have a second variable also holding the HP-value and they forgot to cover it up?? (possibly the spot in memory their client stores it when it decrypts)
Because the simple search no encryption is working for me.
clintonselke is offline  
Old 04/26/2009, 06:59   #6
 
elite*gold: 0
Join Date: Jun 2006
Posts: 965
Received Thanks: 576
I believe that, that address will stop working eventually.
high6 is offline  
Old 04/26/2009, 11:01   #7
 
InfamousNoone's Avatar
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,012
Received Thanks: 2,885
I object to that being the only way to obtain hp, without codecaves, well I can think of a few, but keeping it in line of simple, I'd say encrypting HP with the method(s) you've shown (well obviously we're decrypting it, but whatever) it seems too overly complicated and unnecessary, even for TQ.
InfamousNoone is offline  
Old 04/26/2009, 19:23   #8
 
elite*gold: 0
Join Date: Jun 2006
Posts: 965
Received Thanks: 576
Quote:
Originally Posted by InfamousNoone View Post
I object to that being the only way to obtain hp, without codecaves, well I can think of a few, but keeping it in line of simple, I'd say encrypting HP with the method(s) you've shown (well obviously we're decrypting it, but whatever) it seems too overly complicated and unnecessary, even for TQ.
It is what they use everywhere to get the health.

0x004DA518; GetCurrentHealth()
0x004C81F9; GetMaxHealth()

It does look like they have changed a bit since I last ripped them.
high6 is offline  
Thanks
1 User
Old 04/27/2009, 07:52   #9
 
elite*gold: 0
Join Date: Dec 2007
Posts: 108
Received Thanks: 42
Well ****. I've accepted that I won't find a static address for HP (either not possible or too many pointers to pointers I can't figure out) so I would just have to input the HP address every time... not too much of a problem.

But now, I try to find the address for the number of vanillas I have and seem to be running into the same problem. Is this address as hard to pinpoint? Or am I searching for pointers wrong?

Using cheatengine btw.
Belth is offline  
Old 04/27/2009, 08:58   #10
 
elite*gold: 0
Join Date: Jun 2006
Posts: 965
Received Thanks: 576
The client doesn't store how many of an item you have.

You will have to locate the inventory and manually count each vanilla in each slot.
high6 is offline  
Old 04/27/2009, 15:14   #11
 
elite*gold: 0
Join Date: Dec 2007
Posts: 108
Received Thanks: 42
My bad, I explained incorrectly. I was actually trying to find the number of a particular item on a particular F-Key (e.g. How many pots are left on F8). Everything else I asked applies.
Belth is offline  
Old 05/07/2009, 10:30   #12
 
elite*gold: 0
Join Date: Oct 2008
Posts: 47
Received Thanks: 3
ohh i forgot,, if u get hit by a monster if u sit or just stand, after some seconds your hp will regenerate a lil bit xD
rceclmn is offline  
Old 05/07/2009, 17:50   #13
 
elite*gold: 0
Join Date: Jun 2006
Posts: 965
Received Thanks: 576
Quote:
Originally Posted by Belth View Post
My bad, I explained incorrectly. I was actually trying to find the number of a particular item on a particular F-Key (e.g. How many pots are left on F8). Everything else I asked applies.
That is just a simple search and then finding the static referencer.


Anyways it seems they changed the CurrentHealth to an FDword.

Code:
class CCharacterInfo //0x005DABB8
{
    CFDword * CurrentHealth; //0xCD0
};
So just a simple, CharacterInfo->CurrentHealth->GetValue(1);

Btw is FDword's source, may convert it later... But meh...
high6 is offline  
Old 05/07/2009, 19:36   #14
 
swords's Avatar
 
elite*gold: 20
Join Date: Dec 2005
Posts: 811
Received Thanks: 352
You can find the HP pot amount from your F keys... Each F key has it's own address... I have some of the addresses, but they are at my home computer, and atm I'm at school :P.
swords is offline  
Old 05/12/2009, 17:20   #15
 
elite*gold: 0
Join Date: Apr 2006
Posts: 19
Received Thanks: 6
Quote:
Originally Posted by Belth View Post
But now, I try to find the address for the number of vanillas I have and seem to be running into the same problem. Is this address as hard to pinpoint? Or am I searching for pointers wrong?

Using cheatengine btw.
Get vanillas and get some other pot. Use 2 different number of pots. EG 2 vanillas and 12 genseng. Put one of F1 and the other on a different F key. Search for the total on F1, then switch them, search again. Keep this process up until the numbers wont go any lower. then use a pot. and repeat. eventuall you will find it.
lazlo is offline  
Reply


Similar Threads Similar Threads
about memory address
09/13/2010 - CO2 Programming - 4 Replies
hello peeps i am trying to make a program that shows how much gold i have in my inventory without having to open it up all the time i have been searching on how to do this in vb6 and vb.net but i cant find anything that is what i am looking for so i came here to see if there was anyone that could point me in the right way on how to do this
[VB]Memory Address
06/30/2009 - .NET Languages - 5 Replies
Weiß jemande wie ich eine Memory Addresse in Visual Basic einbauen kann ? :) Ahja habe VB08 :) Liebe Grüße, AngelAndi
[Question] Memory address of VP?
06/06/2008 - Conquer Online 2 - 24 Replies
Anyone know the memory address for Virtue Points? Or is this stored on the server? How is it that people get it on their tools...
MP address in memory
05/06/2007 - Lineage 2 - 0 Replies
I want to make bot, I found HP address in memory, its 09DDD190 but I still can't find MP address ? Can anybody help me ? And srry because of my english, it is bad :rolleyes:



All times are GMT +1. The time now is 01:49.


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.