pvpgn::packet_get_size (connection interrupted) #491
Labels
No labels
bug
duplicate
enhancement
help wanted
in progress...
information
invalid
not enough info
priority high
priority low
priority normal
question
request
research
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Techwizz/pvpgn-server#491
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Greetings,
I was wondering if there was any way to discern what could cause "Connection has been interrupted" randomly in-game (but VERY frequently. Always within 10 minutes of the game start, usually within 5).
This is version 1.13c (client and server).
I have gotten it in several areas, across several characters, and it "seems" to be random. I don't seem to be doing anything specific when it happens.
That is, is this a very tricky one to solve or is there some log file that would contain more specific information? I have looked at my D2GS logs (although I am not sure if this is a PVPGN problem or D2GS problem).
In D2GS.log you can see I enter a game, play for a while, then it closes the game:
The only "error" I can see is:
D2GSSendNetData: send failed, code: 10054 (twice)
All the services are running on the same machine. I am connecting to the realm locally as well, at the moment.
The only mod I have is BaseMod which is loaded from a custom MPQ (a large portion of the features are disabled) and I also modified the Patch_D2.mpq bin files to adjust some drop rates.
I found this in d2dbs.log under PVPGN:
May 01 11:11:21 [error] pvpgn::packet_get_size: packet has bad size 3136
May 01 11:11:21 [error] pvpgn::packet_get_size: packet has bad size 3136
The above seems to be the cause. Is there any fix. I compiled this about a week ago using the develop branch at the time.
I don't know if you resolved your issue, this fix worked for me:
You need to update the following file
src/common/field_sizes.h
and change the line 21 (variable MAX_PACKET_SIZE) to a greater value.Here is a patch for it
With this change, my server is running smoothly since the last two weeks.