25-03-2008, 01:05 AM
I can make a blank project and connect, and it freezes.
It's not lagging, It literally freezes the EXE or IDE, as in if I click on VB6, or compiled, on the server, I get a "Program is not responding"
EDIT:
I toggled breaks on every line in the "login" packet.
It never reaches the first line of code until after the EXE unfreezes.
After the EXE responds again, it THEN hits
But not before.
So I'm setting a break on the call to handledata.
And.. nothing, handledata isn't called till after the freeze.
Next break is on the call for Incoming Data, in the Sub..
Socket_DataArrival
Yeah...
Private Sub Socket_DataArrival(Index As Integer, ByVal bytesTotal As Long)
Isn't called till after the freeze.
Then everything runs just fine.
I don't know where to look next, there's nothing higher than that is there?
EDIT2:
In fact, neither..
Socket_ConnectionRequest
Or
Socket_Accept
Are called till after the Server.exe unfreezes.
I really don't know what to do..
>.
It's not lagging, It literally freezes the EXE or IDE, as in if I click on VB6, or compiled, on the server, I get a "Program is not responding"
EDIT:
I toggled breaks on every line in the "login" packet.
It never reaches the first line of code until after the EXE unfreezes.
After the EXE responds again, it THEN hits
Code:
If Not IsPlaying(Index) And Not IsLoggedIn(Index) Then
But not before.
So I'm setting a break on the call to handledata.
And.. nothing, handledata isn't called till after the freeze.
Next break is on the call for Incoming Data, in the Sub..
Socket_DataArrival
Yeah...
Private Sub Socket_DataArrival(Index As Integer, ByVal bytesTotal As Long)
Isn't called till after the freeze.
Then everything runs just fine.
I don't know where to look next, there's nothing higher than that is there?
EDIT2:
In fact, neither..
Socket_ConnectionRequest
Or
Socket_Accept
Are called till after the Server.exe unfreezes.
I really don't know what to do..
>.