Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 01-12-2012, 09:58 PM
Kikinaak
Sarnak
 
Join Date: Apr 2005
Posts: 29
Question Mobs of mobs through walls?

Crushbone, you clear the orcs at the bridge, ready yourself to enter the citadel, and open the door cautiously.... and the entire throne room walks through the wall to say hi. Including fabled crush
Loading, please wait.

Thurgadin, all I wanted was some velium temper, I set foot in the room with the merchant and a train of 7 mobs from below the city jump through the wall and eat my face
Loading, please wait.

I'm seeing 2 problems here. These mobs should not even be able to see me to aggro (I certainly cant see them!) and even if aggro, they should not be able to walk through the walls. I dont see a whole lot of people complaining about this so I'm assuming its something I missed somewhere when setting up my server. Can anyone point me towards what I overlooked?
Reply With Quote
  #2  
Old 01-13-2012, 03:23 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

If mobs are aggroing through walls, it could be a couple of issues. Most likely the issue is that you forgot to setup your /server/maps/ folder and add all of the .map folders from the repository. If you do that, there will be nothing on the server to block LoS. You can test this from a GM account by targetting an NPC and using the #los command. If they have LoS to you even when they definitely should not be able to see you, it is most likely due to missing map files.

Another thing it could be is a poorly made map file. Not all map files include all of the structures on that map such as houses/huts/trees/etc. and that means mobs can see through them. As long as there is a working map file, they still shouldn't be able to see through landscape such as hills though. If you need a better map file that includes more than just the basic stuff, you can create them using Azone2. It isn't very hard to create them once you know how, but I am not going to write a step-by-step process in this response.

The last possibility is that mobs are chain aggroing. Even if you can't see a mob, you can still aggro them in certain cases by chain/shared aggro. An example is if you pull a single mob that you can see, but that mob is also near another mob that it can see (but you can't), so it shares aggro with it. Then, that other mob may have LoS (line of sight) to yet another mob and so on. As long as they are within the range to share aggro, chain aggroing can get quite a bit more mobs than you would expect and they can definitely appear to be aggroing through walls.

The final issue you mentioned is NPCs actually running through walls to get to you. This isn't an issue with aggro, it is an issue with pathing. Creating pathing that prevents NPCs from running through walls isn't something that can be easily automated unfortunately. You do have an option, however, to create .path files that NPCs will use to make their pathing look much more live-like. There are not .path files for every zone in the repository, as it requires manual work for each zone to have a .path file created for the zone. You can find some examples in the repository such as PoKnowledge's .path file. A cool test for it is to zone to poknowledge and use #aggrozone (probably want to use #invul first). Then, watch as every NPC paths nicely without warping through walls. You can also use #hide on after to clear your aggro and watch them all walk back to their spawn point using the correct pathing to get there.

If you want to create .path files, I believe there is a post on how to do so in our development section from when that functionality was added.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #3  
Old 01-13-2012, 03:26 AM
jimbop
Fire Beetle
 
Join Date: Dec 2011
Posts: 17
Default

Quote:
Originally Posted by Kikinaak View Post
Crushbone, you clear the orcs at the bridge, ready yourself to enter the citadel, and open the door cautiously.... and the entire throne room walks through the wall to say hi. Including fabled crush
Loading, please wait.

Thurgadin, all I wanted was some velium temper, I set foot in the room with the merchant and a train of 7 mobs from below the city jump through the wall and eat my face
Loading, please wait.

I'm seeing 2 problems here. These mobs should not even be able to see me to aggro (I certainly cant see them!) and even if aggro, they should not be able to walk through the walls. I dont see a whole lot of people complaining about this so I'm assuming its something I missed somewhere when setting up my server. Can anyone point me towards what I overlooked?
This isn't something missed in the compile or server setup. This is the way many of the old EverQuest zones functioned. I remember back in 2000 when I first started on the live servers, I was fighting in the Minotaur caves with my gnome magician in Steamfont. I also remember clearly what happened when I ran too far in close to Meldrath's area of the cave. This is just part of the drawback of the mob aggro code of these old zones since it didn't factor in line-of-sight and only factored in the radius around the mob. Others may know how to change this better in the code to correct these line-of-sight issues since I am only still learning myself how to modify the database, but I already know you will find you would have to change a lot of code to fix all the mobs that use this primitive aggro style.
Reply With Quote
  #4  
Old 01-13-2012, 03:30 AM
jimbop
Fire Beetle
 
Join Date: Dec 2011
Posts: 17
Default

Well guess I was a little too late to post a reply since Trevius posted how to fix the line-of-sight with the better map file. lol.
Reply With Quote
  #5  
Old 01-14-2012, 10:56 AM
Kikinaak
Sarnak
 
Join Date: Apr 2005
Posts: 29
Default

Thanks Trevius! The maps were indeed in the wrong place, they were under server/maps/eqemu-maps. Moving the whole pile up one level solved things nicely.
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 04:01 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