Originally Posted by thifi
Issue: Whenever you pay a bounty or get killed by a guard and you have stolen items in your inventory, then the client triggers an EVENT_INVENTORY_FULL_UPDATE followed by an EVENT_INVENTORY_SINGLE_SLOT_UPDATE for all items in your inventory. This cause several addons to start extremely intensive processing which may lead to a client lockup for 5-30 seconds, on several occasions a complete client crash.
|
Originally Posted by circonian
I did experience the horse swapping problem months back & it was a lock-up. I'm betting this is the same problem...
|
We’ve identified the issue that’s causing the UI to get spammed with a bunch of single-slot updates whenever the server wants to give you single full-inventory update. We’re testing a fix that will cause full-inventory updates (for example, the one that happens when items are confiscated by a guard) to only trigger one EVENT_INVENTORY_FULL_UPDATE, instead of spamming you with single-slot updates.
Originally Posted by thifi
Currently when the guard approaches you GetInteractionType returns 14 instead of 30 so we cannot tell whether it's a normal NPC conversation or a pay bounty dialog.
|
The easiest way to do this is to use the IsUnderArrest() function, which will return true while the player is in the arrest conversation itself, and while stunned as the guard runs up to you.