Jump to content
Phishing - Beware of identity theft... ×
  • 0

Game randomly closing connection with players.




Recently, my server is doing really strange things.

The main problem is that after several minutes players got randomly disconnected.

I mean, they are logged in the first channel, in the first map of empire and randomly they got disconnected.

I'm unable to debug game core (more than 1000 players).


My syslog showed only that:


I removed sequence checking:

                if (m_pPacketInfo->IsSequence(bHeader))
			BYTE bSeq = lpDesc->GetSequence();
			BYTE bSeqReceived = *(BYTE *) (c_pData + iPacketLen - sizeof(BYTE));

			if (bSeq != bSeqReceived)
                            LPCHARACTER	ch = lpDesc->GetCharacter();
                            if(!ch) {
                               return true;
			lpDesc->push_seq(bHeader, bSeq);

and i bump buffer size from 8192 to 9216.


I got really confused...

Kind regards,


Link to comment
Share on other sites

  • Answers 0
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.