EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Quests::Q&A (https://www.eqemulator.org/forums/forumdisplay.php?f=599)
-   -   $npc->WipeHateList(); Issue (https://www.eqemulator.org/forums/showthread.php?t=30011)

Kayen 11-21-2009 03:08 AM

$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

joligario 11-21-2009 10:49 PM

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.

Kayen 11-21-2009 11:50 PM

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.

Jeido 11-22-2009 03:31 PM

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.


All times are GMT -4. The time now is 09:14 PM.

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