Hello all,
A long time ago when I participated in the OpenKore Project (Ragnarok bot developed in "Pearl" now known as "Perl"), we had this problem with a brother near the Xtrap the GameGuard. Developers who were part of the team that knew more about emulation server (Client ~ Server / Server ~ Client) with respect to packet switching, developed a client to send packets only when the GameGuard request (the client was called Poseidon).
The scheme was simple: we had to open an client "fake" that had the function to send packets only when the server asked the gameguard bypass to get to the client that was using the bot. "It worked like a charm".
I'm posting this only as a way to help anyone who is available to find a bypass, I'm not saying it's the right way but explaining that we had a way to solve the problems of disconnect.
Sry for sux Google translation!