Jump to content

Game randomly closing connection with players.


Recommended Posts

Hello.

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:

http://pastebin.com/Sj3ekt7w

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) {
                                lpDesc->SetPhase(PHASE_CLOSE);
                               return true;
                           }
                        }          
				
			lpDesc->push_seq(bHeader, bSeq);
			lpDesc->SetNextSequence();
		}

and i bump buffer size from 8192 to 9216.

 

I got really confused...

Kind regards,

Evor.

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



  • Similar Content

  • Activity

    1. 60

      Inbuild GR2 Animation

    2. 2

      wait() function bug

    3. 0

      Remove Party Role Bonuses

    4. 1

      Fix CBar3D

    5. 2

      set_quest_state not working

    6. 1

      Fix CBar3D

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • 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.