How to find a list of mobs in memory

10/14/2008 07:17 Cooleko#1
I have been attempting to locate a list in memory that would hold the mobs that are currently loaded into memory. my methodology has been:

1) Finding all of the mobs that i could target and making a range of their IDs
EX, (8010C340,8010C342,8010C343 ...)

2) Search for Mob ID's to find all the addresses that contained monster ID's
EX, using CE, Scan Type: Range
Value: between 8010c340 and 8010c345

3) Manually looked at each address in memory and looked at the memory surrounding them to find more mob id's
EX, I used artmoney because i can edit the block size of memory to see 4 bytes together (aka mob addresses take up one cell/block) and i looked at the 40 or so blocks of memory above and bellow the current address.

Result) I have found a few places that had other mob IDs nearby, but nothing that had what i am looking for (all of the mobs that are on screen)

Request) anyone know how to do it?
12/14/2008 02:20 Cooleko#2
I was never able to figure this out, my way around it for my bot was to simulate targeting every address and if a mob was targeted it 'existed' and if not i didnt look again. kinda inefficient but worked great with finding the closest mob and attacking it. took about 52 seconds to complete a scan of the full zone though (one time scan and then used what it found from their on out).
12/15/2008 19:21 Smurfin#3
hey, I've been wondering how people managed to do that too. Like in Vietnamese bot named pw-tool.exe/w2itool.exe a.k.a TGHM-Autohit, it can scan nearby mobs, list their names and can detect their levels too if I remember it correctly.

Bcoz since the new patch've been applied to PW Indo and maybe also other regions, this bot is next to useless coz noone makes modified version of it to avoid ban, it has no custom settings to adapt to newer patch, and looks like it has been discontinued.
12/15/2008 19:49 plixbugmenot#4
you would have been better of by searching for example the hp of the mobs you see, so go in low level mob area and do them some low dmg and scan for monster hp addres, from there you can find the base address :)
01/07/2009 10:12 keile#5
Hm.. anyone able to figure this out yet?

Just a monster id is needed to obtain their levels which is found in element.data.

I'm also still searching for screen mob list and their monster id's in memory but still no luck.
01/07/2009 10:56 GodErlang#6
for pw Int US :
mob_adr = BASE + 8 + 24 + 18 + (i * 4) + 4
u have to loop i from 0 to 768

HP : mobadr + 12c
MHP : mobadr + 15c
id : mobadr + 11c
lvl : mobadr + 124
mob name : mobadr + 23c + 0 (wchar)
(u can find out many more, I wont list all of them here)

HP and MHP only avaiable when u has full target (means u have actually see the HP bar and do normal attack)
01/07/2009 21:57 Smurfin#7
how about finding a list of nearby mats in an area ? anyone has the offsets ?
01/08/2009 05:32 keile#8
Quote:
Originally Posted by GodErlang View Post
for pw Int US :
mob_adr = BASE + 8 + 24 + 18 + (i * 4) + 4
u have to loop i from 0 to 768

HP : mobadr + 12c
MHP : mobadr + 15c
id : mobadr + 11c
lvl : mobadr + 124
mob name : mobadr + 23c + 0 (wchar)
(u can find out many more, I wont list all of them here)

HP and MHP only avaiable when u has full target (means u have actually see the HP bar and do normal attack)
OMG! this is what I'm looking for! Thanks! :handsdown:
01/13/2009 15:13 BuBucekTop#9
How about list of surrounding resources ?
01/14/2009 11:08 BuBucekTop#10
Quote:
Originally Posted by GodErlang View Post
for pw Int US :
mob_adr = BASE + 8 + 24 + 18 + (i * 4) + 4
u have to loop i from 0 to 768
that was awesome, but can you explain how do you managed to find this structure ?
02/10/2009 03:49 lnquang#11
Quote:
Originally Posted by GodErlang View Post
for pw Int US :
mob_adr = BASE + 8 + 24 + 18 + (i * 4) + 4
u have to loop i from 0 to 768

HP : mobadr + 12c
MHP : mobadr + 15c
id : mobadr + 11c
lvl : mobadr + 124
mob name : mobadr + 23c + 0 (wchar)
(u can find out many more, I wont list all of them here)

HP and MHP only avaiable when u has full target (means u have actually see the HP bar and do normal attack)
Cool, btw do you know how to get players nearby list? Thanks
03/26/2009 05:31 Laser-in-your-ear#12
Quote:
Originally Posted by lnquang View Post
Cool, btw do you know how to get players nearby list? Thanks
Yeah, that would be helpful
10/07/2012 22:38 sanopjuntak#13
Can you teach me about scan item value on inventory?
10/08/2012 07:55 martmor#14
you took already a look here?

[Only registered and activated users can see links. Click Here To Register...]

Scan Inventory for Items (Thanks to Interest07 & Merkada)