It looks like there's a pretty good start on it. There's some debug code that needs to be removed, and what looks like a minor logic error on the qglobal count, but it might be close.
Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.