Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Perfect World > PW Hacks, Bots, Cheats, Exploits
You last visited: Today at 12:49

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

Advertisement



How to search offset npc base with CE??

Discussion on How to search offset npc base with CE?? within the PW Hacks, Bots, Cheats, Exploits forum part of the Perfect World category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2011
Posts: 33
Received Thanks: 16
How to search offset npc base with CE??

I saw on some forums and I found a way to get
NPC list. But i confused with code its.

Code:
Func GetNpcList()
	Local $array[1][8], $pointer, $npc_base, $counter
	$pointer = memread(memread(memread(memread(memread($base) + 0x1C) + 0x8) + 0x24) + 0x18)
	For $x=0 To 768
		$npc_base = memread(memread($pointer + $x*0x4) + 0x4)
		If $npc_base<>0 Then
			ReDim $array[$counter+1][8]
			$array[$counter][0] = memread($npc_base, 'byte') ;NPC Type (NPC/MOB/PET)
			$array[$counter][1] = memread($npc_base + 0x11C) ;NPC ID
			$array[$counter][2] = memread(memread($npc_base + 0x254), 'wchar[30]') ;NPC Name
			$array[$counter][3] = memread($npc_base + 0x124) ;NPC Level
			$array[$counter][4] = memread($npc_base + 0x248) ;Special Info
			$array[$counter][5] = (memread($npc_base + 0x3C, 'float')+4000)/10 ;NPC x-position
			$array[$counter][6] = (memread($npc_base + 0x44, 'float')+5500)/10 ;NPC y-position
			$array[$counter][7] = memread($npc_base + 0x40, 'float')/10 ;NPC z-position
			$counter += 1
		EndIf
	Next
	Return $array
EndFunc
how to search this offset?
Code:
0x1C , 0x8 , 0x24, 0x18
Aduhn32 is offline  
Old 06/24/2011, 09:40   #2
 
elite*gold: 0
Join Date: Nov 2009
Posts: 52
Received Thanks: 2
can you give me GM Seller 9 cord...???
momomyst is offline  
Old 06/24/2011, 11:59   #3
 
elite*gold: 0
Join Date: Mar 2011
Posts: 33
Received Thanks: 16
Quote:
Originally Posted by momomyst View Post
can you give me GM Seller 9 cord...???
what you mean
Aduhn32 is offline  
Old 06/24/2011, 12:11   #4
 
Interest07's Avatar
 
elite*gold: 0
Join Date: Mar 2010
Posts: 862
Received Thanks: 576
Quote:
Originally Posted by Aduhn32 View Post
I saw on some forums and I found a way to get
NPC list. But i confused with code its.

Code:
Func GetNpcList()
	Local $array[1][8], $pointer, $npc_base, $counter
	$pointer = memread(memread(memread(memread(memread($base) + 0x1C) + 0x8) + 0x24) + 0x18)
	For $x=0 To 768
		$npc_base = memread(memread($pointer + $x*0x4) + 0x4)
		If $npc_base<>0 Then
			ReDim $array[$counter+1][8]
			$array[$counter][0] = memread($npc_base, 'byte') ;NPC Type (NPC/MOB/PET)
			$array[$counter][1] = memread($npc_base + 0x11C) ;NPC ID
			$array[$counter][2] = memread(memread($npc_base + 0x254), 'wchar[30]') ;NPC Name
			$array[$counter][3] = memread($npc_base + 0x124) ;NPC Level
			$array[$counter][4] = memread($npc_base + 0x248) ;Special Info
			$array[$counter][5] = (memread($npc_base + 0x3C, 'float')+4000)/10 ;NPC x-position
			$array[$counter][6] = (memread($npc_base + 0x44, 'float')+5500)/10 ;NPC y-position
			$array[$counter][7] = memread($npc_base + 0x40, 'float')/10 ;NPC z-position
			$counter += 1
		EndIf
	Next
	Return $array
EndFunc
how to search this offset?
Code:
0x1C , 0x8 , 0x24, 0x18

The easiest way to find them is by using cheatengine and searching for the number of npcs/mobs/pets around you, then working your way back. This will be at offset 0x14, where the list is at 0x18.

Another way would be to go for a mob, search his HP, then hit him once, search for new HP value, etcetera until you found a single value. Then trace back from there. (This works exactly the same as when you search for the offsets that lead to your HP for example.)

A different approach would be to simply try out different values for 0x8 and 0x24, in multiples of 0x4. I'd start by changing 0x8 and adding 0x4 until you've found it. This only works if you know the structure to be correct but outdated.
Interest07 is offline  
Thanks
2 Users
Old 06/25/2011, 05:30   #5
 
elite*gold: 0
Join Date: Mar 2011
Posts: 33
Received Thanks: 16
Quote:
Originally Posted by Interest07 View Post
The easiest way to find them is by using cheatengine and searching for the number of npcs/mobs/pets around you, then working your way back. This will be at offset 0x14, where the list is at 0x18.

Another way would be to go for a mob, search his HP, then hit him once, search for new HP value, etcetera until you found a single value. Then trace back from there. (This works exactly the same as when you search for the offsets that lead to your HP for example.)

A different approach would be to simply try out different values for 0x8 and 0x24, in multiples of 0x4. I'd start by changing 0x8 and adding 0x4 until you've found it. This only works if you know the structure to be correct but outdated.
I have a problem when searching for offsets using your trick
this my screenshot

1.The first step, I search the offset Mob HP. I get the address that contains the Mob HP

then I select "Find out what writes to this address" and get one choice.

2.I got offset (12c) and mobbase(21B12178) ($npc_base)

3.I scan "21B12178" then I select "Find out what accessess this address"


I am confused on this step
eax is $pointer?
ebx is $x?

please explain in detail
Aduhn32 is offline  
Old 06/25/2011, 08:31   #6
 
Interest07's Avatar
 
elite*gold: 0
Join Date: Mar 2010
Posts: 862
Received Thanks: 576
Well, there are several npcs in the list. In this case EBX is the index of the mob, so you are looking at the 1Eth mob. In this case EAX would be the pointer to the npcList. The next offset you're looking for will be 0x50
Interest07 is offline  
Thanks
1 User
Old 06/25/2011, 10:00   #7
 
elite*gold: 0
Join Date: Mar 2011
Posts: 33
Received Thanks: 16
Quote:
Originally Posted by Interest07 View Post
Well, there are several npcs in the list. In this case EBX is the index of the mob, so you are looking at the 1Eth mob. In this case EAX would be the pointer to the npcList. The next offset you're looking for will be 0x50
Please explain step by step, I've tried but failed.
thanks for the tutorial on 'Sending Packets' was very helpful.
Aduhn32 is offline  
Reply


Similar Threads Similar Threads
Base Address + Offset understanding.
04/06/2011 - PW Hacks, Bots, Cheats, Exploits - 8 Replies
Okay, Here goes a noob question but for the life of me I have to figure this out. So the base address is 0xA5BFCC for PWI.. and HP offset 0x474 when i try to read baseaddress + HPoffset, I dont get the correct HP value.. what am I doing wrong??
PWID Base Add + Offset
12/07/2010 - Perfect World - 2 Replies
Anyone can help me with the latest base address + offset after the latest Nirvana Patch? PWID user Thank you all :mofo::mofo:
Offset und Base für tybot und Tytrainer
01/18/2010 - Last Chaos - 2 Replies
kann mir jemand pls die aktuellen offsets und points rein kopieren .. stand vom 15.01.10 .. ich danke euch schon mal im vorraus ;)
PW PH BASE ADDRESS / OFFSET v109
12/20/2009 - Perfect World - 18 Replies
hi...can anyone post the new BASE ADDRESS and offset settings for PW PH v109...im noob so i dont how to get it :( :handsdown:
I need some offset of 0x00903804 PW base address
12/29/2008 - Perfect World - 1 Replies
PLease help , I need fly and jumb offset of 0x00903804 client



All times are GMT +1. The time now is 12:56.


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.