Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Perfect World
You last visited: Today at 09:37

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

Advertisement



Aggro, ranged mobs.

Discussion on Aggro, ranged mobs. within the Perfect World forum part of the MMORPGs category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2009
Posts: 23
Received Thanks: 3
Aggro, ranged mobs.

Hi all!

I'm trying to learn about this game and to make a program to automate my playing, mostly for the fun of the programming. All things I can't figure out on my own and if I discover something new I will share that.

I wonder if there is information in the game about if a mob is aggressive. The list of mobs that can be found at baseaddress -> 1c -> 1c -> 24 -> 50 (sorted, pwi) each mob struct contains information about the mob like health, coordinates etc. but is there anything here that indicates if it is of aggressive kind, and also if it's ranged?

If not, maybe there is some data-file that contains that information? If not that either, then I guess my only way to get that information is to collect it myself. I could collect the data from pwdatabase, manually or automatically by letting a program scan if a mob has targeted me without that I have caused any dmg to it or any mobs near it and store this in a file or database.

I would like to take into account if the mob is aggresive, ranged, if it's tends to try to keep distance, if it tries to run on low hp. This to make avoidance from aggro/social mobs or to use a ranged skill to pull.

/Sturolv
Sturolv is offline  
Old 04/16/2012, 14:26   #2
 
elite*gold: 10
Join Date: Sep 2010
Posts: 400
Received Thanks: 234
Mobs have an aggro flag and two separate fields showing an ID of a target they are targeting physical and magic attacks at.
Here's an excerpt from Interest07's post on page 2 of the old Genesis offsets thread. They're out of date now, but you should be able to find those values near those offsets. Just increase them a bit or take a look at the memory around them and fiddle around a bit.

Quote:
Originally Posted by Interest07 View Post
npcStruct
Code:
            public int uk0x2D8; 
            public int physicalTargetId;
            public int magicTargetId;
            public byte aggressiveFlag;//0=no, 1=yes
dumbfck is offline  
Thanks
1 User
Old 04/16/2012, 14:45   #3
 
Sᴡoosh's Avatar
 
elite*gold: 20
Join Date: May 2009
Posts: 1,290
Received Thanks: 326
Code:
              
ReadProcessMemory(Self.Handle, ptr(Base + $2F0), @MobMagTarget, 4, written);
ReadProcessMemory(Self.Handle, ptr(Base + $2F4), @MobAttacking, 1, written); 
ReadProcessMemory(Self.Handle, ptr(Base + $2EC), @MobPhyTarget, 4, written);
Current PWI offsets
Sᴡoosh is offline  
Thanks
1 User
Old 04/16/2012, 15:21   #4
 
elite*gold: 0
Join Date: Jan 2009
Posts: 23
Received Thanks: 3
Awesome, thanks! Now if I feel I must store some data about mobs, it would be for if the mob is ranged, and if it tries to keep distance, run away on low hp, if it belongs to a social group and help those.

Hmm, I thought that aggressive flag was telling if the mob is of a aggro kind. The information at $2f4 seems to vary in a way I can't figure out.
Sturolv is offline  
Reply


Similar Threads Similar Threads
Some Mobs have no aggro???
07/22/2011 - Shaiya - 0 Replies
Hey all, I edited the skill, DayFly in DB so that it would only work for 20 secs, but, it had errors, so far Sera and CTI do not aggro once I attack them, anyone know how to fix this ?:handsdown:
[Release] VAC/Non-Aggro for Ranged/Magic Mobs [Tutorial]
04/06/2009 - Dekaron Exploits, Hacks, Bots, Tools & Macros - 133 Replies
This is for 2moons Expedition ! This tutorial is outdated and i have no intentions to update this. Look at the Crespo A,B,C VAC tutorial, it works for any mob and is up to date but the offsets might have changed. .: LOOK HERE :. Edit: The new information added makes this working for ALL mobs. I'm making this tutorial because there isn't any tutorial posted how to VAC Ranged/Magic mobs or mobs with different AI Key than 1.
60 dng Ranged mobs attack me
11/28/2008 - Dekaron - 2 Replies
Hi, in 60 dng Ranged mobs attack me,why? I test AIKey 3,6,4,5 and the cell_Range is 0 But on 3,6 they attack me with 4,5 the ignore me:confused::confused: What i forgot to change? MfG EmEx
Need Help Ranged Mobs
10/25/2008 - Dekaron - 13 Replies
I need help with ranged mobs for example one i've been working on 1502,Penril Hunter,0,27,31,4994,0,154,221,15,70,1,6,0,0,0,0,0, 0,14,40,0,0,0,1.8,3.2,1,1,fenrilhunter,ÀÛ¼ºÁß,0,0, 0 ,366,64,101,35000,7,1,2,104,70,50,50,2,18,0,0,0,0, 0,0,0,0,0,0,0,0,0,0 ,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 ,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,205,2 94,13,31,0,3900,3000001, All my mob does is stand still does not follow if i attack it , it will not attack me. Help please! I'll give...



All times are GMT +1. The time now is 09:39.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.