Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Development

Archive::Development Archive area for Development's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 11-16-2002, 11:06 PM
neotokyo
Hill Giant
 
Join Date: Oct 2002
Posts: 118
Default FIX (kinda): Aggro changes

hi all,

i took the liberty of adding a new feature into eqemu --- AggroRange ---

so i recoded the whole NPCAI thing from scratch and added support for Harmony/Lull spells.

i tested it quite a bit, and i think it works fine. there are still some features to be implemented, but at this time i dont know how.
so i hope some of you might take a look at the source and tell me what you think of it.
(the whole thing is based on 3.12 with the trumpcard source changes all implemented -> see his thread for more details)

until i get some webspace i host it via ftp on my own pc. if the download doesnt work it could mean i configured the ftp client wrong, or i am not at home and the pc isnt running.

get the files here:
Sources
Reply With Quote
  #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
  #3  
Old 11-17-2002, 04:23 AM
tamarae
Hill Giant
 
Join Date: Oct 2002
Posts: 179
Default

Druids are good for more than ports?

TAXI PLEASE!

*ducks and runs*
__________________
--Tamarae Dastile
The Dominare Server
Reply With Quote
  #4  
Old 11-17-2002, 04:28 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

Mobs of different factions wont gangbang you together now either...

I had a 55th level druid.. I was a cleric when there wasnt one available, a necro when there wasnt a dotter around, a wizard when there wasnt a nuker around, and a tank when my groups didnt friggin know how protect me...

LOL

Druids are truly the swiss army knives of everquest
__________________
Quitters never win, and winners never quit, but those who never win and never quit are idiots.
Reply With Quote
  #5  
Old 11-17-2002, 04:37 AM
DeletedUser
Fire Beetle
 
Join Date: Sep 2002
Posts: 0
Default

Neo, when you do this, please post the changes (in source, not new files).
Reply With Quote
  #6  
Old 11-17-2002, 05:22 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

Heres the compiled binaries for windows users to play with..

Replace your zone.exe with the zonent.exe from the zip (rename it to zone.exe unless you want to change a bat file)
__________________
Quitters never win, and winners never quit, but those who never win and never quit are idiots.
Reply With Quote
  #7  
Old 11-17-2002, 06:06 AM
neotokyo
Hill Giant
 
Join Date: Oct 2002
Posts: 118
Default

1.) actually the field is already in the db npc_types->aggroradius ... its just that its 0 all the time. so either update that value to like 50 or 75 or leave it and let the server set the defaultvalue to 90 (90 is hardcoded)

2.) this update touched about 12 files in more places than i can count. i rather leave the diff's to you image ))
Reply With Quote
  #8  
Old 11-17-2002, 06:09 AM
DeletedUser
Fire Beetle
 
Join Date: Sep 2002
Posts: 0
Default

The diffs are near impossible considering ive changed half of those files :P
Reply With Quote
  #9  
Old 11-17-2002, 06:34 AM
quester
Hill Giant
 
Join Date: Oct 2002
Posts: 108
Default

I can incorporate the aggro range settings int he the npc profile stuff i'm doing.
Reply With Quote
  #10  
Old 11-17-2002, 07:28 AM
Lurker_005
Demi-God
 
Join Date: Jan 2002
Location: Tourist town USA
Posts: 1,671
Default

image what are you using for your diffs? I have yet to find anything I liked better than examdiff pro http://www.prestosoft.com/examdiff/examdiffpro.htm

ok the interface isn't std windows fare, but it work quite well.
__________________
Please read the forum rules and look at reacent messages before posting.
Reply With Quote
  #11  
Old 11-17-2002, 07:49 AM
quester
Hill Giant
 
Join Date: Oct 2002
Posts: 108
Default

I've been using CSDiff on windows, and plain ole diff on linux.
Reply With Quote
  #12  
Old 11-17-2002, 07:57 AM
neotokyo
Hill Giant
 
Join Date: Oct 2002
Posts: 118
Default

Diff files

here you find the diffs from my version to 3.12

tell me what you think about it. are the diffs useable? i find them rather nifty...
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 11:16 AM.


 

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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3