Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Coding Corner
You last visited: Today at 04:56

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Clientless DC after 60 seconds

Discussion on Clientless DC after 60 seconds within the SRO Coding Corner forum part of the Silkroad Online category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2013
Posts: 23
Received Thanks: 2
Post Clientless DC after 60 seconds

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;
                }
ReviveSRO is offline  
Old 03/28/2018, 05:32   #2
 
elite*gold: 0
Join Date: Jan 2009
Posts: 314
Received Thanks: 686
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)
DaxterSoul is offline  
Thanks
1 User
Old 03/28/2018, 16:32   #3
 
elite*gold: 0
Join Date: Aug 2013
Posts: 23
Received Thanks: 2
Quote:
- Not sending 0x2002 (ping) every 5 seconds after the last packet.
That was the reason and solved. Thanks a lot
ReviveSRO is offline  
Closed Thread


Similar Threads Similar Threads
Client Crash after 5 seconds
12/14/2009 - Dekaron - 5 Replies
I downloaded the new rexination , got new offsets when i entered my char the game still crash please someone had this problem and repair it , i really need some support. regards , ser
[Help] Knight AOE skill damage after 10-15 seconds
06/28/2009 - Flyff Private Server - 4 Replies
In my server, Knights can't aoe well. They damage only after 10-15 seconds after they do the skill.. What's the problem and how i can fix that? Thanks everybody :)



All times are GMT +1. The time now is 04:56.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.