View Single Post
07-30-11, 10:22 PM   #5
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,335
What's happening is your code is going in its loop through 18k entries. This doesn't happen instantly, it takes a lot of processing. While the loop is running, Wow can't do anything, even communicate with the server. What many scanners do is hook their processing code with the OnUpdate handler of a frame and scan through a limited number of entries per frame, then let WoW do what it needs to do before continuing.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
  Reply With Quote