EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::Development (https://www.eqemulator.org/forums/forumdisplay.php?f=621)
-   -   FIX (kinda): Aggro changes (https://www.eqemulator.org/forums/showthread.php?t=3902)

neotokyo 11-16-2002 11:06 PM

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

Trumpcard 11-17-2002 04:04 AM

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

tamarae 11-17-2002 04:23 AM

Druids are good for more than ports?

TAXI PLEASE!

*ducks and runs*:D

Trumpcard 11-17-2002 04:28 AM

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

DeletedUser 11-17-2002 04:37 AM

Neo, when you do this, please post the changes (in source, not new files).

Trumpcard 11-17-2002 05:22 AM

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)

neotokyo 11-17-2002 06:06 AM

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 ;-)))

DeletedUser 11-17-2002 06:09 AM

The diffs are near impossible considering ive changed half of those files :P

quester 11-17-2002 06:34 AM

I can incorporate the aggro range settings int he the npc profile stuff i'm doing.

Lurker_005 11-17-2002 07:28 AM

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.

quester 11-17-2002 07:49 AM

I've been using CSDiff on windows, and plain ole diff on linux.

neotokyo 11-17-2002 07:57 AM

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...


All times are GMT -4. The time now is 04:47 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.