Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Database/World Building

Archive::Database/World Building Archive area for General Discussion's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 04-13-2004, 06:15 PM
slambs
Fire Beetle
 
Join Date: Mar 2004
Posts: 18
Default In need of a mysql command for agro ranges

G'day guys,

been looking for a command so as we can set agro ranges on mobs across the board. If anyone could help out that would be fantastic.

I did see a similar command to drop loot coinage but cant seem to find it now.

thanks all

have fun
Reply With Quote
  #2  
Old 04-13-2004, 08:11 PM
sandy
Hill Giant
 
Join Date: Oct 2002
Posts: 212
Default

interesting =) post it in the request forum
yes it would be usefull =)
__________________
Sandy
Reply With Quote
  #3  
Old 04-13-2004, 11:28 PM
Monrezz's Avatar
Monrezz
Dragon
 
Join Date: Mar 2003
Location: #loc
Posts: 745
Default

UPDATE npc_types SET aggroradius=50 WHERE (level <= 50);
UPDATE npc_types SET aggroradius=55 WHERE level=51;
UPDATE npc_types SET aggroradius=55 WHERE level=52;
UPDATE npc_types SET aggroradius=55 WHERE level=53;
UPDATE npc_types SET aggroradius=55 WHERE level=54;
UPDATE npc_types SET aggroradius=65 WHERE level=55;
UPDATE npc_types SET aggroradius=65 WHERE level=56;
UPDATE npc_types SET aggroradius=65 WHERE level=57;
UPDATE npc_types SET aggroradius=65 WHERE level=58;
UPDATE npc_types SET aggroradius=65 WHERE level=59;
UPDATE npc_types SET aggroradius=70 WHERE level=60;
UPDATE npc_types SET aggroradius=75 WHERE level=61;
UPDATE npc_types SET aggroradius=80 WHERE level=62;
UPDATE npc_types SET aggroradius=85 WHERE level=63;
UPDATE npc_types SET aggroradius=90 WHERE level=64;
UPDATE npc_types SET aggroradius=100 WHERE level=65;


This is what I've come up with, not sure if this is what you meant though?
__________________

kRPG Profile
Reply With Quote
  #4  
Old 04-13-2004, 11:49 PM
slambs
Fire Beetle
 
Join Date: Mar 2004
Posts: 18
Default

exactly what I needed =)

thanks muchly Monrezz /salute
Reply With Quote
  #5  
Old 04-13-2004, 11:53 PM
Monrezz's Avatar
Monrezz
Dragon
 
Join Date: Mar 2003
Location: #loc
Posts: 745
Default

Not a problem
__________________

kRPG Profile
Reply With Quote
  #6  
Old 04-14-2004, 12:06 AM
sandy
Hill Giant
 
Join Date: Oct 2002
Posts: 212
Default

aggroradius is not proportional to the level
but is specific to each npc for gameplay purpose
__________________
Sandy
Reply With Quote
  #7  
Old 04-14-2004, 12:17 AM
Monrezz's Avatar
Monrezz
Dragon
 
Join Date: Mar 2003
Location: #loc
Posts: 745
Default

It is not meant to be accurate, it is a simply there to make it a little easier for newbies in low level zones, and make it harder for high levels with high level mobs.

I suppose aggro is based on level, class, race and location etc in live. But I wouldn't know where to start. The above works fine for me, though. Works well in befallen, works well in hate.

Anyway, the code's there just need to customize the numbers to however you like. Post it if you get something good
__________________

kRPG Profile
Reply With Quote
  #8  
Old 04-14-2004, 09:12 AM
samandhi's Avatar
samandhi
Demi-God
 
Join Date: Aug 2003
Posts: 1,056
Default

If you are wanting to set different aggro for differnent mobs even of the same level, (you can use MySQL statements for this but I use MySQLFront because it is a point and click thing) just find the ID of the mob in question and change the aggroradius of it. Or in MySQL statement something like this (assuming you want to change mobs with the ID of #1)
Code:
UPDATE npc_types SET aggroradius=65 WHERE id=1;

The solution Monrezz gave is a good one, but is a generic fix of aggro accross the board, meaning that ALL mobs lvl 65 will have a agroradius of 100.....And the way I am telling you, is VERY tedious, as you would have to change 71775 (and climbing) records....
__________________

Quote:
Analysis paralysis will keep you from failing, but it will also keep you from succeeding.
  • L.L. CoolJ
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 10:48 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3