网易我的世界论坛
标题:
关于多人联机开发的问题
[打印本页]
作者:
黑曜石网络
时间:
2019-8-9 14:48
标题:
关于多人联机开发的问题
我们在尝试着制作多人联机玩法的时候发现如下问题,希望能够得到相关支持
1、目前无法在手机测试端直接测试多人联机,会显示服务器维护中。
这个问题直接造成了组件做完后无法测试,造成组件得多次审核才能修复bug。
例如pc mod端测试的时候,主机断开连接后,其他玩家也会掉线。但在手机版中,房主退出游戏,其他玩家还会卡在游戏中。
2、多人联机人数的限制
上传时设置的人数,只做到了提示,不能直接限制人数。
我们在server.properties输入了max-players=6之后。上传平台,无法通过审核,审核显示只能有一个一级目录。打包格式如下
[attach]867288[/attach]
3、多人联机权限的设置
由于是地图+玩法,房主是拥有管理员权限的,那作为多人联机玩法,是否有提供地图权限这方面的api呢,比如能在server.properties直接设置地图的一些权限内容
4、如何设置游戏开始后,玩家无法加入房间,有相关api吗
我们目前做的是多人竞技类玩法,玩家开始游戏后理论上来说是不能继续加入新玩家的,有这方面的api吗?
5、server.properties的设置内容和国际版是否相同呢,以下内容都能设置吗
server-name=Dedicated Server
# Used as the server name
# Allowed values: Any string
gamemode=survival
# Sets the game mode for new players.
# Allowed values: "survival", "creative", or "adventure"
difficulty=hard
# Sets the difficulty of the world.
# Allowed values: "peaceful", "easy", "normal", or "hard"
allow-cheats=false
# If true then cheats like commands can be used.
# Allowed values: "true" or "false"
max-players=10
# The maximum number of players that can play on the server.
# Allowed values: Any positive integer
online-mode=true
# If true then all connected players must be authenticated to Xbox Live.
# Clients connecting to remote (non-LAN) servers will always require Xbox Live authentication regardless of this setting.
# If the server accepts connections from the Internet, then it's highly recommended to enable online-mode.
# Allowed values: "true" or "false"
white-list=false
# If true then all connected players must be listed in the separate whitelist.json file.
# Allowed values: "true" or "false"
server-port=19132
# Which IPv4 port the server should listen to.
# Allowed values: Integers in the range [1, 65535]
server-portv6=19133
# Which IPv6 port the server should listen to.
# Allowed values: Integers in the range [1, 65535]
view-distance=32
# The maximum allowed view distance in number of chunks.
# Allowed values: Any positive integer.
tick-distance=4
# The world will be ticked this many chunks away from any player.
# Allowed values: Integers in the range [4, 12]
player-idle-timeout=30
# After a player has idled for this many minutes they will be kicked. If set to 0 then players can idle indefinitely.
# Allowed values: Any non-negative integer.
max-threads=8
# Maximum number of threads the server will try to use. If set to 0 or removed then it will use as many as possible.
# Allowed values: Any positive integer.
level-name=Bedrock level
# Allowed values: Any string
level-seed=
# Use to randomize the world
# Allowed values: Any string
default-player-permission-level=member
# Permission level for new players joining for the first time.
# Allowed values: "visitor", "member", "operator"
texturepack-required=false
# Force clients to use texture packs in the current world
# Allowed values: "true" or "false"
content-log-file-enabled=false
# Enables logging content errors to a file
# Allowed values: "true" or "false"
复制代码
作者:
Minehero-境界
时间:
2019-8-11 16:41
一般克服这种问题就是在代码设计中 让中途进来的玩家在游戏场景的另一头 不让他们直接参与游戏
作者:
雾都漫游者
时间:
2019-8-12 18:11
1.现在可通过手机测试端的本地联机来测试,其他测试方式我们也正在开发;
2.在server.properties里面设置的max-players是不生效的,上传时设置的人数为建议人数;
3.具体希望怎样的权限设置呢,希望提供一个比较具体的描述;
4.即将上线的竞技模式支持你说的这种情况,如果是普通模式,那么需要自己处理游戏过程中加入的玩家;
5.除了level-name、port、online-mode、max-player、whitelist外,其他都可以。
欢迎光临 网易我的世界论坛 (http://mc.netease.com/)
Powered by Discuz! X3.3