Risk of rain 2 Linux 服务器搭建


首先非常感谢 GaibRua提供的CentOS环境下的服务器搭建教学。本文是对它的部分补充。
Linux环境下Risk of rain 2(雨中冒险2)服务器搭建

搭建环境

腾讯轻量应用服务器云2核4G 6M带宽
Ubuntu 20.04.4 LTS x86_64

搭建步骤

1.安装Wine-7.0

由于ror2没有linux版服务器程序,必须使用wine才能成功运行。
在ubuntu环境下,官方自带的wine版本为5.0,直接安装使用会存在IO 错误,而在wine7.0下能正常使用。

sudo dpkg --add-architecture i386

打开32位架构

wget -O - https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add -
sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'
sudo apt update

安装并更新winehq官方源

sudo apt install --install-recommends winehq-stable

安装wine稳定版,现在是wine7.0
中间可能会有依赖问题,安装就好了

2.安装、启动ror2服务器

请参考Linux环境下Risk of rain 2(雨中冒险2)服务器搭建
ubuntu下安装xvfb直接这样就好了

sudo apt install xvfb

当然,别忘了给防火墙开UDP端口

3.(重要)补全steam依赖

这样直接启动在多人游戏里是搜索不到你的服务器的,服务器在运行初始化时会提示server init failed
解决办法还是在steam创意工坊下面看评论找到的
需要收到把几个steam的dll拖到ror2 server的根目录下:
steamclient.dll
tier0_s.dll
vstdlib_s.dll
和它们对应的有64后缀的dll
这样启动就应该能在多人游戏界面刷到了

4.日志展示

这个服务器在启动时会报非常多的错,我一开始一直以为启动失败,没想到竟然是正常报错
发一下正常启动的日志,可以验证一下

Mono path[0] = 'Z:/home/ubuntu/Steam/steamapps/common/Risk of Rain 2 Dedicated Server/Risk of Rain 2_Data/Managed'
Mono config path = 'Z:/home/ubuntu/Steam/steamapps/common/Risk of Rain 2 Dedicated Server/MonoBleedingEdge/etc'
0104:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
Initialize engine version: 2019.4.26f1 (e0392c6b2363)
[Subsystems] Discovering subsystems at path Z:/home/ubuntu/Steam/steamapps/common/Risk of Rain 2 Dedicated Server/Risk of Rain 2_Data/UnitySubsystems
Forcing GfxDevice: Null
GfxDevice: creating device client; threaded=0
NullGfxDevice:
    Version:  NULL 1.0 [1.0]
    Renderer: Null Device
    Vendor:   Unity Technologies
Begin MonoManager ReloadAssembly
- Completed reload, in  0.370 seconds
Microsoft Media Foundation video decoding to texture disabled: graphics device is Null, only Direct3D 11 and Direct3D 12 (only on desktop) are supported.
UnloadTime: 0.724200 ms
Network message MsgType.Highest + 22 is unregistered. 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

buildId = 1.2.4.1 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Active scene changed from  to loadingbasic 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Loaded scene loadingbasic loadSceneMode=2 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Couldn't create a Convex Mesh from source mesh "rock2ModularMesh" within the maximum polygons limit (256). The partial hull will be used. Consider simplifying your mesh. 
(Filename:  Line: 91)

application data path isZ:/home/ubuntu/Steam/steamapps/common/Risk of Rain 2 Dedicated Server/Risk of Rain 2_Data 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

0104:fixme:wbemprox:client_security_SetBlanket 00000000574E2DA0, 000000004C1DF830, 10, 0, (null), 3, 3, 0000000000000000, 0x00000000
0104:fixme:wbemprox:client_security_Release 00000000574E2DA0
0104:fixme:wbemprox:wbem_services_CreateInstanceEnum unsupported flags 0x00000030
0104:fixme:wbemprox:wbem_services_CreateInstanceEnum unsupported flags 0x00000030
0104:fixme:service:I_ScRegisterDeviceNotification Notification filters are not yet implemented.
0104:fixme:bthpropscpl:BluetoothFindFirstDevice (000000000010D070 000000004B16F070): stub!
0104:fixme:setupapi:CM_Get_Parent 000000000010CEA0 0x00000000 0x00000000 stub
0104:fixme:setupapi:CM_Get_Parent 000000000010CEA0 0x00000001 0x00000000 stub
017c:fixme:service:I_ScRegisterDeviceNotification Notification filters are not yet implemented.
PlatformSystems:InitNetworkManagerSystem 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Launch Parameters: 
  arg[0]="Z:\home\ubuntu\Steam\steamapps\common\Risk of Rain 2 Dedicated Server\Risk of Rain 2.exe"
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

"volume_master" = ""
The master volume of the game audio, from 0 to 100. 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

"volume_sfx" = ""
The volume of sound effects, from 0 to 100. 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

"volume_music" = ""
The music volume, from 0 to 100. 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

"user_profile_main" = ""
The current user profile. 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

"usesocialiconflag" is not a recognized ConCommand or ConVar. 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Loaded archived convars. 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Could not load config /Config/autoexec.cfg: Could not find file "Z:\home\ubuntu\Steam\steamapps\common\Risk of Rain 2 Dedicated Server\Risk of Rain 2_Data\Config\autoexec.cfg" 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Cannot call LocalUserManager.SetLocalUsers at this time, user login changes are not safe at this time. 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Loading custom server configuration... 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Could not load config /Config/server.cfg: Could not find file "Z:\home\ubuntu\Steam\steamapps\common\Risk of Rain 2 Dedicated Server\Risk of Rain 2_Data\Config\server.cfg" 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Hosting server... 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

NetworkManagerSystem.desiredHost={ hostType=Self listen=True maxPlayers=4 } 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

LoadContentPacks() start 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

0188:fixme:setupapi:CM_Get_Parent 0000000057FEF080 0x00000000 0x00000000 stub
0188:fixme:setupapi:CM_Get_Parent 0000000057FEF080 0x00000001 0x00000000 stub
0188:fixme:bthpropscpl:BluetoothFindFirstDevice (0000000057FEF080 000000004B16F070): stub!
0188:fixme:setupapi:CM_Get_Parent 0000000057FEEEB0 0x00000000 0x00000000 stub
0188:fixme:setupapi:CM_Get_Parent 0000000057FEEEB0 0x00000001 0x00000000 stub
Couldn't create a Convex Mesh from source mesh "mdlRailGunnerBasicMine" within the maximum polygons limit (256). The partial hull will be used. Consider simplifying your mesh. 
(Filename:  Line: 91)

Couldn't create a Convex Mesh from source mesh "VoidRaidCrabCollision_head" within the maximum polygons limit (256). The partial hull will be used. Consider simplifying your mesh. 
(Filename:  Line: 91)

Couldn't create a Convex Mesh from source mesh "BBBoulderMediumRound1" within the maximum polygons limit (256). The partial hull will be used. Consider simplifying your mesh. 
(Filename:  Line: 91)

Couldn't create a Convex Mesh from source mesh "meshSulfurPodTop" within the maximum polygons limit (256). The partial hull will be used. Consider simplifying your mesh. 
(Filename:  Line: 91)

Couldn't create a Convex Mesh from source mesh "GPRuinRing1" within the maximum polygons limit (256). The partial hull will be used. Consider simplifying your mesh. 
(Filename:  Line: 91)

Couldn't create a Convex Mesh from source mesh "DCHeatvent1" within the maximum polygons limit (256). The partial hull will be used. Consider simplifying your mesh. 
(Filename:  Line: 91)

Couldn't create a Convex Mesh from source mesh "GPGiantRockSlab1Collision" within the maximum polygons limit (256). The partial hull will be used. Consider simplifying your mesh. 
(Filename:  Line: 91)

Couldn't create a Convex Mesh from source mesh "ArenaCrabFoam1Mesh" within the maximum polygons limit (256). The partial hull will be used. Consider simplifying your mesh. 
(Filename:  Line: 91)

Couldn't create a Convex Mesh from source mesh "WPPlatform1FullRing" within the maximum polygons limit (256). The partial hull will be used. Consider simplifying your mesh. 
(Filename:  Line: 91)

Couldn't create a Convex Mesh from source mesh "mdlIcoRockL" within the maximum polygons limit (256). The partial hull will be used. Consider simplifying your mesh. 
(Filename:  Line: 91)

Couldn't create a Convex Mesh from source mesh "NewtStatueMesh" within the maximum polygons limit (256). The partial hull will be used. Consider simplifying your mesh. 
(Filename:  Line: 91)

Couldn't create a Convex Mesh from source mesh "ShrineCleanseMesh" within the maximum polygons limit (256). The partial hull will be used. Consider simplifying your mesh. 
(Filename:  Line: 91)

Shader 'CalmWater/Calm Water [DX11] [Double Sided]': fallback shader 'Legacy/Diffuse' not found
Failed to assign Buffs.Deafened: Asset "bdDeafened" not found. 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Failed to assign Items.SummonedEcho: Asset "SummonedEcho" not found. 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Failed to assign Equipment.AffixEcho: Asset "EliteEchoEquipment" not found. 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Failed to assign Buffs.AffixEcho: Asset "bdEliteEcho" not found. 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Failed to assign Elites.Echo: Asset "edEcho" not found. 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

LoadContentPacks() end 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Could not find scene with name "loadingbasic". 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Could not find scene with name "title". 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Command "set_scene" failed: "title" is not a valid scene. 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Game content load completed in 34550ms. 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Setting current language to "en" 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

[RoR2.Audio.NetworkSoundEventCatalog] Error during network sound registration: Wwise event "Play_acid_larva_attack1_explo" does not exist. 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

[RoR2.Audio.NetworkSoundEventCatalog] Error during network sound registration: Wwise event "Play_acrid_m2_bite_hit" does not exist. 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

[RoR2.Audio.NetworkSoundEventCatalog] Error during network sound registration: Wwise event "Play_acrid_m1_hit" does not exist. 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

[RoR2.Audio.NetworkSoundEventCatalog] Error during network sound registration: Wwise event "Play_acrid_shift_land" does not exist. 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

[RoR2.Audio.NetworkSoundEventCatalog] Error during network sound registration: Wwise event "Play_item_proc_repulsionArmor" does not exist. 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

[RoR2.Audio.NetworkSoundEventCatalog] Error during network sound registration: Wwise event "Play_bandit2_m2_impact" does not exist. 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

[RoR2.Audio.NetworkSoundEventCatalog] Error during network sound registration: Wwise event "Play_captain_utility_variant_preImpact" does not exist. 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

[RoR2.Audio.NetworkSoundEventCatalog] Error during network sound registration: Wwise event "Play_commando_M2_grenade_bounce" does not exist. 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

[RoR2.Audio.NetworkSoundEventCatalog] Error during network sound registration: Wwise event "Play_env_hiddenLab_laptop_sequence_fail" does not exist. 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

[RoR2.Audio.NetworkSoundEventCatalog] Error during network sound registration: Wwise event "Play_env_hiddenLab_laptop_sequence_success" does not exist. 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

[RoR2.Audio.NetworkSoundEventCatalog] Error during network sound registration: Wwise event "Play_loader_m2_impact" does not exist. 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

[RoR2.Audio.NetworkSoundEventCatalog] Error during network sound registration: Wwise event "Play_loader_m2_impact" does not exist. 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

[RoR2.Audio.NetworkSoundEventCatalog] Error during network sound registration: Wwise event "Play_item_lunar_secondaryReplace_impact" does not exist. 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

[RoR2.Audio.NetworkSoundEventCatalog] Error during network sound registration: Wwise event "Play_mage_shift_wall_pre_explode_rumble" does not exist. 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

[RoR2.Audio.NetworkSoundEventCatalog] Error during network sound registration: Wwise event "Play_merc_shift_slice" does not exist. 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

[RoR2.Audio.NetworkSoundEventCatalog] Error during network sound registration: Wwise event "Play_merc_sword_impact" does not exist. 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

[RoR2.Audio.NetworkSoundEventCatalog] Error during network sound registration: Wwise event "Play_nullifier_attack1_root" does not exist. 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

[RoR2.Audio.NetworkSoundEventCatalog] Error during network sound registration: Wwise event "Play_nullifier_attack1_explode" does not exist. 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

[RoR2.Audio.NetworkSoundEventCatalog] Error during network sound registration: Wwise event "Play_UI_item_land_command" does not exist. 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

[RoR2.Audio.NetworkSoundEventCatalog] Error during network sound registration: Wwise event "play_item_proc_crit_heal" does not exist. 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

[RoR2.Audio.NetworkSoundEventCatalog] Error during network sound registration: Wwise event "Play_item_proc_crit_attack_speed1" does not exist. 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

[RoR2.Audio.NetworkSoundEventCatalog] Error during network sound registration: Wwise event "Play_item_proc_crit_attack_speed2" does not exist. 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

[RoR2.Audio.NetworkSoundEventCatalog] Error during network sound registration: Wwise event "Play_item_proc_crit_attack_speed3" does not exist. 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

[RoR2.Audio.NetworkSoundEventCatalog] Error during network sound registration: Wwise event "Play_item_proc_regenOnKill" does not exist. 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

[RoR2.Audio.NetworkSoundEventCatalog] Error during network sound registration: Wwise event "Play_item_proc_armorReduction_hit" does not exist. 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

[RoR2.Audio.NetworkSoundEventCatalog] Error during network sound registration: Wwise event "Play_item_proc_regenScrap_consume" does not exist. 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

[RoR2.Audio.NetworkSoundEventCatalog] Error during network sound registration: Wwise event "Play_item_proc_regenScrap_regen" does not exist. 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

[RoR2.Audio.NetworkSoundEventCatalog] Error during network sound registration: Wwise event "Play_treeBot_R_variant_seed_land" does not exist. 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

[RoR2.Audio.NetworkSoundEventCatalog] Error during network sound registration: Wwise event "Play_UI_item_land_command" does not exist. 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

[RoR2.Stats.StatSheet] init stat sheet 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Unloading 4 Unused Serialized files (Serialized files now loaded: 965)
Unloaded scene loadingbasic 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

UnloadTime: 10.668100 ms
Active scene changed from  to splash 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Loaded scene splash loadSceneMode=Single 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Setting offline scene to title 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)


Unloading 69728 unused Assets to reduce memory usage. Loaded Objects now: 150628.
Total: 264.185700 ms (FindLiveObjects: 16.215900 ms CreateObjectMapping: 15.992400 ms MarkObjects: 171.988300 ms  DeleteObjects: 59.988100 ms)

Unloading 1 Unused Serialized files (Serialized files now loaded: 968)
Unloaded scene splash 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

UnloadTime: 12.169300 ms

Unloading 182 unused Assets to reduce memory usage. Loaded Objects now: 169048.
Total: 204.307500 ms (FindLiveObjects: 8.681500 ms CreateObjectMapping: 10.482300 ms MarkObjects: 184.287800 ms  DeleteObjects: 0.854700 ms)

Active scene changed from  to title 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Loaded scene title loadSceneMode=Single 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

BaseMainMenuScreen: OnEnter() 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

0104:err:winediag:ntlm_check_version ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
0104:err:ntlm:ntlm_LsaApInitializePackage no NTLM support, expect problems
0058:fixme:nsi:ipv6_forward_enumerate_all not implemented
0058:fixme:nsi:ipv6_forward_enumerate_all not implemented
0058:fixme:nsi:ipv6_forward_enumerate_all not implemented
0058:fixme:nsi:ipv6_forward_enumerate_all not implemented
0198:fixme:iphlpapi:NotifyAddrChange (Handle 00000000595F0418, overlapped 00000000595F0420): stub
01b4:fixme:wbemprox:wbem_locator_ConnectServer unsupported flags
01b4:fixme:wbemprox:client_security_SetBlanket 00000000574E2DA0, 000000004CF9DBE0, 10, 0, (null), 3, 3, 0000000000000000, 0x00000000
01b4:fixme:wbemprox:client_security_Release 00000000574E2DA0
0058:fixme:mountmgr:harddisk_ioctl The DISK_PARTITION_INFO and DISK_DETECTION_INFO structures will not be filled
wine: Read access denied for device L"\\??\\Z:\\", FS volume label and serial are not available.
01b4:fixme:wbemprox:enum_class_object_Next timeout not supported
0058:fixme:mountmgr:query_property Faking StorageDeviceProperty data
0058:fixme:mountmgr:harddisk_ioctl The DISK_PARTITION_INFO and DISK_DETECTION_INFO structures will not be filled
steamworksServer.IsValid=True 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

steamworksServer.LoggedOn=False 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

0104:fixme:winsock:WSAIoctl SIO_UDP_CONNRESET stub
BaseMainMenuScreen: OnEnter() 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Unloading 1 Unused Serialized files (Serialized files now loaded: 967)
Unloaded scene title 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

UnloadTime: 36.001700 ms
Active scene changed from  to lobby 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Loaded scene lobby loadSceneMode=Single 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)


Unloading 302 unused Assets to reduce memory usage. Loaded Objects now: 160503.
Total: 246.738500 ms (FindLiveObjects: 9.208800 ms CreateObjectMapping: 9.799900 ms MarkObjects: 219.882800 ms  DeleteObjects: 7.845900 ms)

Press Enter to chat. 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Steamworks Server IP discovered. 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

其中,这两行非常重要,证明连接上了steam的服务器,可以在多人游戏显示

Steamworks Server IP discovered.
steamworksServer.IsValid=True 

证明服务器开始运行

Press Enter to chat. 

别的统统可以不管

5.运行时情况

双核CPU占用在%50上下,内存基本在2G左右。1核2G的服务器肯定是带不动的

  • 2
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值