How to multiplayer from China?

General feedback and discussion of the game.

Moderator: Forum Moderators

Post Reply
kaer
Posts: 1
Joined: May 2nd, 2022, 7:43 pm

How to multiplayer from China?

Post by kaer »

In China, multiplayer games are lagging. So I put wesnoth behind Clash, the redirect proxy agent. However, in game, like turn 10s or 20s, wesnoth will be disconnected with the error "stream truncated".
User avatar
octalot
General Code Maintainer
Posts: 777
Joined: July 17th, 2010, 7:40 pm
Location: Austria

Re: How to multiplayer from China?

Post by octalot »

Could this lag be the support for the undo buffer? It's explained in-game, but only in the help page on shroud and fog:
Normally you can undo a unit’s movement, as long as an event with a randomized result has not occurred, such as combat or recruitment (as most units receive random traits when recruited). Exploring hidden terrain by clearing shroud or fog will also prevent undos to a previous state. You may wish to activate Delay Shroud Updates in the actions menu. This will prevent units from clearing shroud or fog until the next randomized event or a manual update via Update Shroud Now (or the end of your turn) and thereby preserve your ability to undo movement.

通常你可以撤销单位的移动,只要没有发生会产生随机结果的事件即可,比如战斗和征募(大多数单位被征募时都会获得随机的特质)。为了探索被隐藏的地形而清除黑幕或迷雾的行动,也将阻止你撤销回之前的状态。你也许会希望激活行动菜单中的暂缓刷新黑幕功能,该功能将阻止单位清除黑幕或者迷雾,直到下一个随机事件发生,或者使用立即刷新黑幕进行手动刷新,或者你的回合结束为止。如此一来,你就可以保留撤销移动的能力了。

In multiplayer games, moves that have been sent to the network can’t be undone; the game delays sending data to try to preserve your undo ability. When discussing with teammates, remember that the other players are usually looking at a snapshot from the time of the last combat or fog-revealing move. Chat messages and map labels are sent immediately, however they don’t cause the undoable moves to be sent.

在多人游戏中,已经发送至网络的棋步是不能撤销的。游戏会延迟发送数据,试图保留你的撤销能力。当与队友讨论时,请记住,其他玩家通常看到的是最后一次战斗或揭开迷雾时的场景快照。聊天信息和地图标签会被立即发送,然而它们并不会导致可撤销的动作被发送。
Post Reply