Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

Reply
 
Thread Tools Display Modes
  #1  
Old 11-21-2009, 03:08 AM
Kayen
Developer
 
Join Date: Mar 2009
Location: -
Posts: 228
Default $npc->WipeHateList(); Issue

After banging my head again some weird new bug on our server for a month I finally figured out the problem.

So apparently $npc->WipeHateList(); is now only clearing clients from NPC hate lists but not clearing other NPC's.

For example. Via script MobA attacks MobB, thus MobB is on MoBA's hate list, you can check with #hatelist, then a client also attacks. In the past if you used WipeHateList both Clients and NPC's on MobA's hatelists would be cleared, now only the client is cleared. This has messed up at least a few scripts of mine to a large extent.

i'd be interested if anyone else can confirm this on their server as well.

Kayen
GM Stormhaven
Reply With Quote
  #2  
Old 11-21-2009, 10:49 PM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,490
Default

It clears npcs, but you might have to do it a couple times because by the time it wipes the list, the other npc is probably still hitting it. Check out the clockwork on PEQ. I have 3 bandits attacking the cargo clockwork, and the cargo will wipe the list successfully if you grab aggro from the bandits.
Reply With Quote
  #3  
Old 11-21-2009, 11:50 PM
Kayen
Developer
 
Join Date: Mar 2009
Location: -
Posts: 228
Default

Yeah I ran some more tests today I wasn't able to reproduce what I was seeing last night that concerned... Maybe this was a false alarm.
Reply With Quote
  #4  
Old 11-22-2009, 03:31 PM
Jeido
Fire Beetle
 
Join Date: Feb 2009
Location: MA
Posts: 21
Default

To expand on this, the same thing happens on eq live. Ever hear of players creating faction wars between NPC's? It seems as if it's the same thing here, where mob A is still hitting mob B so it re-aggro's and they fight. I think the charm exploit that would allow faction wars to work is also a part of this.
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 12:13 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3