View Single Post
  #2  
Old 11-17-2002, 04:04 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

Here are the changes..

We tested them out this morning on my server, and it's working great. talking about making some changes though, putting a new field in npc_types for agrorange that provides a base agro range for each type, then you could tweak it in the database easily, and agro range could vary from mob type to mob type.

The other option is to leave it the way it is, hardcoded..

Had to make one small change from neo's original code to compile properly on linux, change a strnicmp to strncmp, strnicmp apparently isnt ANSI complient.

It was fun to actually be able to use a druid for what they are good for, to harmony in groups of mobs!

source files
__________________
Quitters never win, and winners never quit, but those who never win and never quit are idiots.
Reply With Quote