Clientless DC after 60 seconds

03/27/2018 23:23 ReviveSRO#1
I'm working on a clientless tool.
I could connect to the server, enter user and password, solve captcha, load characters and select one then log to the game.
But then in 60 seconds exactly. I am disconnected.

the dc I get is the "Disconnected!_2" one.

Code:
       if(success != SocketError.Success) {
                    if(success != SocketError.WouldBlock) {
                        Log("Disconnected!_1");
                        changeMainTitle(Globals.CharName + " [Disconnected]");
                        return;
                    }
                } else if(cl_recv_buffer.Size > 0) {
                    cl_security.Recv(cl_recv_buffer);
                } else {
                    Log("Disconnected!_2");
                    changeMainTitle(Globals.CharName + " [Disconnected]");
                    return;
                }
03/28/2018 05:32 DaxterSoul#2
You receive 0 bytes because you've been kicked.

Here are some common causes:
- Not sending 0x2002 (ping) every 5 seconds after the last packet.
- Not sending 0x3012 (ready) to signal the server that you completed loading.
- Not replying to XTrap (make sure it's disabled on server side because probably can't emulate it)
03/28/2018 16:32 ReviveSRO#3
Quote:
- Not sending 0x2002 (ping) every 5 seconds after the last packet.
That was the reason and solved. Thanks a lot