Register for your free account! | Forgot your password?

Go Back   elitepvpers > Aion > Aion Main - Discussions / Questions
You last visited: Today at 17:51

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

 

How to find target info memory.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2013
Posts: 4
Received Thanks: 1
How to find target info memory.

Long time lurker, first time poster. Hello.

I am an experienced programmer, but a little new to the bot scene. I have developed one bot in the past and though I'd do a small project for Aion. So I am in the middle of my programming and I have not been able to get the memory offset for my target's hp (or any other target info).

I am not sure if these are already out there, but I'd prefer to know how to figure it out so that I can update without waiting for anyone to post offsets.

I use cheat engine and was able to get my health, mana, etc etc. However, I'm not sure how you would determine the target's hp. It seems a little tricky as aion seems to treat NPCs and PCs a little differently in that targeting myself isn't yielding a viable "target".

Any direction would be helpful.

Furthermore, I'm a little curious when some people post the offsets they find, they have several offsets. Are these due to memory pointers?



lostDev is offline  
Old   #2
 
elite*gold: 0
Join Date: Aug 2013
Posts: 4
Received Thanks: 1
I am able to find the target pointer's address. However, I am having trouble following the pointer and finding the next offset in order to get to the actual Health value. Any direction where to go once you find the target's pointer, would be helpful. Thanks.


lostDev is offline  
Old   #3
 
elite*gold: 0
Join Date: Aug 2013
Posts: 1
Received Thanks: 0
halo
ahmadhyajneh is offline  
Old   #4
 
elite*gold: 0
Join Date: Aug 2013
Posts: 4
Received Thanks: 1
Well I found a sure fire way of finding the offset values. Here is a C++ example. You must already have the target pointer, which really is not difficult to find. I used lucid's suggestion here:

Code:
static void getTargetMemoryOffsets(int baseAddr, int val, HANDLE iHandle, int &offset1, int &offset2)
{
	int base = getMemoryAddressValue(baseAddr, iHandle);
	// find the offsets.
	for(int i = 0;i < 0x1000;i++)
	{
		int offset_1 = getMemoryAddressValue(base + i, iHandle);
		if(offset_1)
		{
			for(int k = 0;k < 0x5000;k++)
			{
				int offset_2 = getMemoryAddressValue(offset_1 + k, iHandle);
				if(offset_2 && offset_2 == val)
				{
					printf("OFFSETS FOUND 0x%0X and 0x%0X\n", i, k);
					offset1 = i;
					offset2 = k;
					return;
				}
			}
		}
	}
};
lostDev is offline  
Reply



« Previous Thread | Next Thread »

Similar Threads
Cannot find target
Hello guys. After bot teleported to ht becuase he hasn't potions I stoped him. Then I put items to storage myself, bought drugs etc. Then I started...
2 Replies - SRO PServer Ask the Experts
[Help] Invalid Target/Cannot find Target(ZSZC)
Some write they have Problems with ZSZC SRO-DB, by mobs for example "Ishade/Penon/Ujigi(lvl50-56)", in the Textbox right side down a message:...
4 Replies - SRO PServer - Discussions / Questions
[Question Memory editing]Choose target
Hello, I have question. I have all offsets (player, target and so on). Can i choose target using memory write only? Or i need dll inject ? thx.
0 Replies - Aion Main - Discussions / Questions
Cannot find a target ??? WTF ??!!!
Hmm so my bot works corectly but i have 1 problem :P When my char is on a spot he wait about 5 sec for attack monster and 4 sec for take a drop ......
4 Replies - SRO Main - Discussions / Questions



All times are GMT +2. The time now is 17:51.


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.