Page MenuHomeSchine - Phabricator

Starmade | Large changes to a sector a player has logged off in will cause them to timeout on attempting to log back in
Open, NormalPublic

Description

It seems that if a significant change to a sector a player has logged off at that has occured while the player is logged off will cause them to timeout when attempting to reconnect to the server.

It might have something to do with the way StarMade is handling the download of data when the player is trying to load it, I am not sure how your connection handler is working but it looks like when a player is reconnecting to a server and it has had a significant change, the player will attempt to download that data when they load the sector but it seems that this download is either too slow, or is hanging completely, eventually causing the connection to timeout.

Details

Task Type
Bug
Testing Results
Affected Gamemode(s)
none/unspecified
Reproducible
Yes
Last tested (version)
0.199.535
Category
Engine
First occurrence (version)
0.199.472
Hardware/Software/System
OS-Specific
No
Hardware-Specific
No
Video Card Vendor
uncertain
Steps to reproduce
  1. Log off in an empty sector.
  2. Another player should populate the sector, large ships, stations and AI/NPC faction fleets seem to have the most noticable effect.
  3. The logged off player should then attempt to log back on.
  4. Observe the connection being timed out when they attempt to load the sector.

I have tested this method and it seems to work 8/10 times, sometimes the sector will load fine (with some FPS drops)

Serverconfig (server.cfg)
 <replace this block with the file content, 
but do not remove the first and last line. 
Before using the paste function, mark the area from the 
opening angle bracket to the closing angle bracket>
Clientconfig (settings.cfg)
 <replace this block with the file content, 
but do not remove the first and last line. 
Before using the paste function, mark the area from the 
opening angle bracket to the closing angle bracket>

Event Timeline

Unknown Object (User) created this task.Apr 4 2017, 2:30 PM
lancake added a subscriber: lancake.
lancake claimed this task.

-feedback-

Unfortunately I can't reproduce. I have tried it out with a quite large sector (10 mil blocks total), even making sure the spawn location would be occupied by chunks, loads in just fine and time to load/spawn is pretty much the same as usual.

Do you manage to get past the loading screen and you just end up unable to spawn after clicking the spawn button, or do you timeout during the loading screen? Could you upload your log file too for the client that is timing out? Logs are located in the Starmade/logs folder, logstarmade.0.log is the most recent one. Upload that file here by drag and dropping it in phabricator's message box.

lancake shifted this object from the S1 Public space to the S3 Starmade space.Jun 7 2017, 8:44 AM
lancake changed the visibility from "Custom Policy" to "Public (No Login Required)".
lancake changed the edit policy from "Task Author" to "Starmade (Project)".
lancake changed Last tested (version) from Lastest version at time of posting to 0.199.535.
lancake changed Category from none/unspecified to Engine.
lancake set First occurrence (version) to 0.199.472.
lancake changed the task status from Open to Feedback.
Restricted Application added a project: Waiting on Author. · View Herald TranscriptJun 7 2017, 8:44 AM
Unknown Object (User) added a comment.Jun 7 2017, 1:20 PM

-feedback-
Unfortunately I can't reproduce. I have tried it out with a quite large sector (10 mil blocks total), even making sure the spawn location would be occupied by chunks, loads in just fine and time to load/spawn is pretty much the same as usual.
Do you manage to get past the loading screen and you just end up unable to spawn after clicking the spawn button, or do you timeout during the loading screen? Could you upload your log file too for the client that is timing out? Logs are located in the Starmade/logs folder, logstarmade.0.log is the most recent one. Upload that file here by drag and dropping it in phabricator's message box.

Sometimes I would timeout in the loading screen, sometimes I would be able to press spawn but I would be stuck "loading chunks for sector [blahblahblah]" and sometimes I would load in fine with some FPS drops.

I was able to reproduce this on my factions buildserver where one player would log off in an empty sector while another player would, while said player is logged off, populate the sector with several large entities.

I also noted attempting to reproduce this on my own computer myself using two running clients with different usernames failed to reproduce this.

I wish poke the server owner for the server logs and send them to you when I get them.

Restricted Application edited projects, added Customer responded; removed Waiting on Author. · View Herald TranscriptJun 7 2017, 1:20 PM
Restricted Application changed the task status from Feedback to Open. · View Herald Transcript