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 09-14-2005, 01:53 PM
jillmatik
Sarnak
 
Join Date: Sep 2005
Posts: 51
Default Question on Guards

I've seen lots of threads about making guards attack mobs using faction modifications and such, but they don't relate to my problem.

If I run an orc to a guard in Greater Faydark, the guard will definitely chase the mob but I never see combat animation and the guard never does damage to the mob. If I attack the guard, the guard does do damage as set in the mindmg maxdmg fields. They just aren't doing damage when they are aggro'd from a mob nearby.

Anyone know how to fix this?

Thx,
J
Reply With Quote
  #2  
Old 09-15-2005, 10:02 AM
jillmatik
Sarnak
 
Join Date: Sep 2005
Posts: 51
Default

No clues on this?
Reply With Quote
  #3  
Old 09-15-2005, 12:07 PM
Dr Zauis's Avatar
Dr Zauis
I know how to fix that!
 
Join Date: May 2005
Posts: 447
Default

I first tried to change the race. No go! Then I changed a guard to same faction as Lashun Novashine. He attacked and killed Fippy but would not attack other mobs. Then I noticed that if a guard was trying to attack a mob
in the area that my Lashun faction guard was then he would assist the attacking guard. So its not right but with a little experimentation its possible to fake it. After a while I had modified and "normal" guards set up at the gates that would kill any mob around.
So if I maybe make new faction entries for guards I might have something.
But remember this would all be "fake". Its supposed to work as is.
__________________
Server_Op: ForbiddenZone
Reply With Quote
  #4  
Old 09-15-2005, 03:31 PM
jillmatik
Sarnak
 
Join Date: Sep 2005
Posts: 51
Default

I would think factions would be ok, since the guards are actually chasing the mobs.. they're just not doing any damage.
Reply With Quote
  #5  
Old 09-15-2005, 04:28 PM
Dr Zauis's Avatar
Dr Zauis
I know how to fix that!
 
Join Date: May 2005
Posts: 447
Default

Quote:
Originally Posted by jillmatik
I would think factions would be ok, since the guards are actually chasing the mobs.. they're just not doing any damage.
Me too! Thats why I tried to change the race first. But didnt help. So I changed faction and by golly they worked! Man I hope I can get my server to work public..I can set this up and you can log in and see!
__________________
Server_Op: ForbiddenZone
Reply With Quote
  #6  
Old 09-15-2005, 06:12 PM
vRandom
Sarnak
 
Join Date: Jun 2005
Posts: 91
Default

Factions might be the problem, i killed a orc in greater faydark and i took a faction hit to them alien looking dudes on the moon, haven't had a chance to look in to it though...

My guards just follow things around.... maybe they are trying to intimidate the mobs to death.

vRandom
Reply With Quote
  #7  
Old 09-15-2005, 06:48 PM
killhand
Fire Beetle
 
Join Date: Apr 2005
Posts: 25
Default

Hello, i cant test this in 6.2 because i dont have inet at home and couldn
Reply With Quote
  #8  
Old 09-15-2005, 09:04 PM
jillmatik
Sarnak
 
Join Date: Sep 2005
Posts: 51
Default

Quote:
Originally Posted by vRandom
maybe they are trying to intimidate the mobs to death.
vRandom
LMAO... glad my monk isn't the only one....

I will tinker around with the factions then. I appreciate all the feedback. I didn't realize guards would chase something, without the intention of causing damage.
Reply With Quote
  #9  
Old 09-15-2005, 11:23 PM
jillmatik
Sarnak
 
Join Date: Sep 2005
Posts: 51
Default

Ok so I was messing around with the two guards at the West Freeport Gates.

I noticed that they too were just chasing mobs around, not doing any damage. So I ran this bat into town and started this huge guard train behind me and the bat... when all of a sudden, bat dead. Who killed him? Brother Jentry.

So I used the Jentry as a point of comparison and the only difference I could find really was that Jentry had an NPC_Faction_id of 1403 while the guards had 18884. So I changed the two front guards to npc_faction_id of 1403 and drug a bat in.. nothin.

Turns out that now they only attack a mob if another guard of npc_faction_id of 18884 is also chasing the mob. But these guys on 1403 actually damage the mob and kill it where the others don't.

I don't really know how all the tables link together npc_types npc_faction and npc_faction_entries to make this happen. But maybe someone with a little more understanding on these tables can take my observations and make some sense out of it. I do know that npc_faction_id of 1403 will attack and kill a mob if one of his buddies is also pissed at this mob.
Reply With Quote
  #10  
Old 09-16-2005, 10:14 AM
Carnage_ou812
Fire Beetle
 
Join Date: Jul 2005
Posts: 12
Default

Wouldn't a blanket way to fake it be to add a new player faction and then have the guards assist the player faction like the other NPCs do the guards?

I realize that race would never be an issue then and that DE guards would help even halflings. Not perfect but possible?
Reply With Quote
  #11  
Old 09-16-2005, 10:27 AM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

The problem is with npc_aggro. If it is set to 1, the mob will aggro but won't do any damage. If it is 0, the mob will assist only but deal damage when it does. The solution I came up was to set all guards to npc_aggro 0. Then, duplicate every guard with an invisible un-named mob on the same faction and npc_aggro set to 1. That way, the invis mob will attack the mob and deal no damage. Then, the guard will assist and kill the mob. Since the dup is invis and unnamed, the player doesn't even know it is there. It also does slow the server down a bit.
Reply With Quote
  #12  
Old 09-16-2005, 10:57 AM
jillmatik
Sarnak
 
Join Date: Sep 2005
Posts: 51
Default

Alright thanks again for the suggestions. Sounds like this is what Killhand was talking about before. I'll throw up some invis mobs near the guard locations and see what happens.

Thanks
J
Reply With Quote
  #13  
Old 09-16-2005, 11:05 AM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

Well the real trick is npc_aggro. Having the invis mob is just so it looks nice in-game.
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:51 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3