EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Server Code Submissions (https://www.eqemulator.org/forums/forumdisplay.php?f=669)
-   -   Aggro LOS fix (maybe..?) (https://www.eqemulator.org/forums/showthread.php?t=25445)

BWStripes 06-27-2008 08:57 AM

Quote:

Originally Posted by Derision (Post 150509)
In testing this I would concentrate in dungeons, if you haven't already done this, bearing in mind there is no pathing for aggroed mobs.

E.g. If I pull a mob and there is a mob around the corner that can't see me, but is within assist range of the mob I am pulling, with this change, the unseen mob will run straight at me through the walls.

Should this second mob itself yell for help while it is 'running through the walls', possibly through another room filled with mobs, there may be a chance of a chain-aggro event which pulls a load of mobs through the walls.

I have to say I love this change, brings back in some skill required to pull properly. At least enchanters will have something to do other than VQ/VoQ.

I will comment it does behave as Derision speculated, on TGC, particularly in a lot of new style zones (Luclin+). Some walls and doors are not treated as non-LoS. Vex Thal has a few nasty spots now. We've had 9 pull and 12 chains with what should have been straightforward pulls. Other zones like Griegs were nasty anyway, but this makes it almost unplayable in places.

Derision 06-27-2008 03:54 PM

Quote:

Originally Posted by BWStripes (Post 151571)
Some walls and doors are not treated as non-LoS.

Doors are not included in the .map files and hence not accounted for in LOS.

Including them in LOS calculations is doable. Either by taking them into account during .map generation by azone (and tagging the polygons with the door id), or by handling them separately in the zone process.

The former would require a new .map structure and regenerating all the maps. Either way, if the LOS code hit a door, a check would need to be made if the door was open or not, which is easy enough.

How easy this would be also depends on the accuracy of the information in the doors table, in particular the size and angle of the door.

I'll think about it :)

cavedude 06-27-2008 05:20 PM

Quote:

Originally Posted by Derision (Post 151612)
How easy this would be also depends on the accuracy of the information in the doors table, in particular the size and angle of the door.

Every door in the PEQ database was parsed from Live, so they are as accurate as we can get them. We never add doors manually for this very reason, though I doubt manually added doors could cause that big of an issue, except for maybe the stranger ones. If they sit in the door frame properly, then they can't be off by more than a couple of coords tops.

ChaosSlayer 06-27-2008 08:36 PM

speaking of doors - i was trying to add a basic door1 to a Guk ldon zone and it won't show up - i guess it don't have the graphics laoded for these zones.

is there ANY door or object graphic available for LDONS? (I know Tak had doors, but rest ldons did not) - I am trying to make ANYTHING what could
serve as clicky zone out object, and running out of idea (other than to add zonign npc which don't work very well in a dungeon)

btw - anyone working on doors for DoD zones?

trevius 06-28-2008 03:00 AM

As for finding available objects (including doors) that can be placed in a zone, I describe how to find them in this post:

http://www.eqemulator.net/forums/showthread.php?t=25420

As for working on doors in newer zones, I have added in doors manually to dreadspire, but that is all I have done so far. I never actually played in the zone on live, so my doors probably are not near 100% accurate, but good enough for what I am doing and I feel that they look correct.

It would be much better if someone could get packet collects from these newer zones to pull exact info for doors like CD did for PEQ database in the other zones. But, I don't know how possible that is now since the packet collector that was working then probably never caught the later zones and I don't think there is a current working one.

Adding them in manually is somewhat time consuming, but it isn't too bad once you get the hang of it. Mainly just going around the zone and getting a bunch of locs and then editing the DB over and over until they are just right. I think the hardest part for Dreadspire was getting the secret doors to be exact enough to not be noticeable right off the bat. Unfortunately, if you have advanced lighting on, they stand out horribly anyway even if they were perfectly aligned.

Sorry to get off-topic with this post. It would have been better if Chaos had started a new thread, or continued the one that I posted above.

As for this LoS fix, it seems great so far. You just have to edit agro ranges on some areas to keep huge trains from happening (Vexthal is really bad with the standard agro range).

To keep in line with this post, would it be possible to write a new section of source that evaluates doors separately so that they aren't seen through?

trevius 07-25-2008 06:07 PM

This fix is good and should go in the next release. Haven't seen any issues with it so far.


All times are GMT -4. The time now is 02:39 AM.

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