[0.14.14][Twinsen] max_upload_in_kilobytes_per_second
Posted: Sun Oct 23, 2016 8:28 pm
HI,
Setting max_upload_in_kilobytes_per_second to a non-zero value appears to prevent players who connect from downloading the map. I've only tested the values "0", where the map downloads fine, and "64", where the map sits forever at 0% transferred. This is a new server, the map is 700kb and should have transferred in 12 seconds or so with this limit. Here's the server logs for one connect attempt:
FWIW the server is on my local LAN, running in a docker container. I tested with both Arumba's "bobs + angels" MP modpack and a small assortment of mods we used for a previous map in 0.13.x:
Cheers,
--fluffle
Setting max_upload_in_kilobytes_per_second to a non-zero value appears to prevent players who connect from downloading the map. I've only tested the values "0", where the map downloads fine, and "64", where the map sits forever at 0% transferred. This is a new server, the map is 700kb and should have transferred in 12 seconds or so with this limit. Here's the server logs for one connect attempt:
Code: Select all
2506.263 Info ServerMultiplayerManager.cpp:652: mapTick(19) changing state from(InGame) to(InGameSavingMap)
2506.280 Info ServerMultiplayerManager.cpp:736: mapTick(19) received stateChanged peerID(1) oldState(Ready) newState(ConnectedWaitingForMap)
2506.434 Info ServerMultiplayerManager.cpp:773: MapTick(19) Serving map(/srv/factorio/temp/mp-save-0.zip) for peer(1) size(771664) crc(3992105767)
2506.434 Info ServerMultiplayerManager.cpp:652: mapTick(19) changing state from(InGameSavingMap) to(InGame)
2506.495 Info ServerMultiplayerManager.cpp:736: mapTick(22) received stateChanged peerID(1) oldState(ConnectedWaitingForMap) newState(ConnectedDownloadingMap)
2744.542 Info ServerMultiplayerManager.cpp:816: Disconnect notification for peer (1)
2744.542 Info ServerMultiplayerManager.cpp:736: mapTick(14304) received stateChanged peerID(1) oldState(ConnectedDownloadingMap) newState(DisconnectScheduled)
2744.560 Info ServerSynchronizer.cpp:539: nextHeartbeatSequenceNumber(81147) removing peer(1).
- AutoTrash_1.0.1.zip
- RailTanker_1.4.0.zip
- YARM_0.7.107.zip
- long-reach_0.0.6.zip
- upgrade-planner_1.2.13.zip
Cheers,
--fluffle