View Single Post
11-30-19, 01:08 AM   #2
Kanegasi
A Molten Giant
 
Kanegasi's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2007
Posts: 666
It's not the data you're sending, it's how often you're sending it. Because each message triggers a quick response, several messages at once cause the disconnect. You need to throttle successive messages, either by using ChatThrottleLib or a flat delay between each message. If you're going with a flat delay without the lib, you need to make sure all of your addon's communication is delayed, as in one output function and not delayed by type. If I recall correctly from testing I've done long ago, 0.05 seconds is the lowest you can safely delay (about 3 frames @ 60 fps). I would use a 0.1 second delay just in case, maybe even 1 second.

Last edited by Kanegasi : 11-30-19 at 01:13 AM.
  Reply With Quote