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)
|
|