流放者柯南游戲中玩家可以進行單機、聯(lián)機對抗和聯(lián)機合作,游戲中雖然有官方的服務器,但是更多玩家更希望在私人的服務器中玩耍。今天小編帶來的是關(guān)于游戲如何自建服務器的建議教程,一起過來看看吧。
簡易自建服務器教程
1. 下載STEAMCMD https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip;
2. 解壓steamcmd.zip;
3. 創(chuàng)建一個ConanExiles文件夾來存儲游戲數(shù)據(jù). (例如 C:\Users\Zombie\Desktop\CSVR\Exiles)
4.創(chuàng)建bat文件關(guān)聯(lián)steamcmd(在steamcmd所在的文件夾中創(chuàng)建),之后可以通過點擊該BAT文件來啟動服務器;
5.關(guān)于如何創(chuàng)建BAT文件,首先新建一個txt文件,在里面輸入如下的內(nèi)容(不同的安裝位置下面的文件位置要修改成你的steamcmd安裝的位置):
@ECHO OFF
color 03
ECHO Updating SteamCMD and Server Files
steamcmd +login anonymous +force_install_dir "C:\Users\Zombie\Desktop\CSVR\Exiles" +app_update 443030 +quit
@ECHO OFF
cd C:\Users\Zombie\Desktop\CSVR\Exiles
ECHO Starting Conan Exiles Server
ConanSandboxServer.exe -log -QueryPort=27017
exit
保存之后,將txt文件的后綴名改成bat,然后確定;
6.雙擊bat打開服務器,過程中可能會有一些紅色或者黃色文字的警告,不用管它。服務器完全啟動之后,按下ctrl+C關(guān)閉服務器,這個時候你就能夠在你安裝服務器的文件夾中找到配置文件了;
7.修改配置文件,配置文件在C:\Users\Zombie\Desktop\CSVR\Exiles\ConanSandbox\Saved\Config\WindowsServer里面,就是服務器安裝的文件夾中,首選是Engine.ini配置文件,這里面你能夠設置服務器名稱以及服務器密碼:
[Core.System]
Paths=../../../Engine/Content
Paths=%GAMEDIR%Content
Paths=../../../Engine/Plugins/2D/Paper2D/Content
[OnlineSubsystem]
bUseBuildIdOverride=True
BuildIdOverride=192251545
[OnlineSubsystemSteam]
ServerName=PickUrName(服務器名)
ServerPassword=PickUrPassword(密碼)
?。?Game.ini里面你可以設置最大玩家數(shù)(ID不用管他):
[ConanSandbox]
UserID=Zombie
[/script/engine.gamesession]
MaxPlayers=10(人數(shù))
[/script/onlinesubsystemutils.ipnetdriver]
NetServerMaxTickRate=30
9.ServerSettings.ini最主要的配置文件,為了自己能夠連接上自己的服務器你的QueryPort必須要和常規(guī)的游戲端口號不同。這里面可以讓你設置管理員權(quán)限,禁止PVP等,Server Region也需要設置,比如1或者NA。接下來的是PVE的服務器設置范例,如果是PVP微調(diào)一下就好了:
[ServerSettings]
QueryPort=27017
PVPEnabled=False
AdminPassword=il0ldirl
NPCMindReadingMode=0
MaxNudity=1
ServerCommunity=2
ConfigVersion=7
BlueprintConfigVersion=15
PlayerKnockbackMultiplier=1.000000
NPCKnockbackMultiplier=1.000000
StructureDamageMultiplier=1.000000
StructureDamageTakenMultiplier=1.000000
StructureHealthMultiplier=1.000000
NPCRespawnMultiplier=1.000000
NPCHealthMultiplier=1.000000
CraftingCostMultiplier=1.000000
PlayerDamageMultiplier=1.000000
PlayerDamageTakenMultiplier=1.000000
MinionDamageMultiplier=1.000000
MinionDamageTakenMultiplier=1.000000
NPCDamageMultiplier=1.000000
NPCDamageTakenMultiplier=1.000000
PlayerEncumbranceMultiplier=1.000000
PlayerEncumbrancePenaltyMultiplier=1.000000
PlayerMovementSpeedScale=1.000000
PlayerStaminaCostSprintMultiplier=1.000000
PlayerSprintSpeedScale=1.000000
PlayerStaminaCostMultiplier=1.000000
PlayerHealthRegenSpeedScale=1.000000
PlayerStaminaRegenSpeedScale=1.000000
PlayerXPRateMultiplier=1.000000
PlayerXPKillMultiplier=1.000000
PlayerXPHarvestMultiplier=1.000000
PlayerXPCraftMultiplier=1.000000
PlayerXPTimeMultiplier=1.000000
DogsOfTheDesertSpawnWithDogs=False
CrossDesertOnce=True
WeaponEffectBoundsShorteningFraction=0.200000
EnforceRotationRateWhenRoaming_2=True
EnforceRotationRateInCombat_2=True
ClipVelocityOnNavmeshBoundary=True
UnarmedNPCStepBackDistance=400.000000
PathFollowingAvoidanceMode=1
RotateToTargetSendsAngularVelocity=False
TargetPredictionMaxSeconds=1.000000
TargetPredictionAllowSecondsForAttack=0.400000
MaxAggroRange=9000.000000
serverRegion=1
PVPBlitzServer=False(True就是PVP)
LandClaimRadiusMultiplier=1.000000
ItemConvertionMultiplier=1.000000
PathFollowingSendsAngularVelocity=False
UnconsciousTimeSeconds=600.000000
ConciousnessDamageMultiplier=1.000000
ValidatePhysNavWalkWithRaycast=True
LocalNavMeshVisualizationFrequency=-1.000000
UseLocalQuadraticAngularVelocityPrediction=False
LQAVPUseTime=0.150000
LQAVPFadeTime=0.100000
LQAVPMethod=2
NetworkSimulatedSmoothRotationTimeWithLQAVP=0.100000
AvatarsDisabled=False
AvatarLifetime=60.000000
AvatarSummonTime=20.000000
IsBattlEyeEnabled=False
RegionAllowAfrica=False
RegionAllowAsia=False
RegionAllowCentralEurope=False
RegionAllowEasternEurope=False
RegionAllowWesternEurope=False
RegionAllowNorthAmerica=True
RegionAllowOceania=False
RegionAllowSouthAmerica=False
RegionBlockList=
bCanBeDamaged=True
LogoutCharactersRemainInTheWorld=False
DropEquipmentOnDeath=False
EverybodyCanLootCorpse=False
clanMaxSize=10
CanDamagePlayerOwnedStructures=False
10.端口號設置:
PORT |
IP ADDRESS |
NOTES |
UDP 27015 |
192.168.1.你的IP |
游戲端口不是固定的話可能會在重啟后改變 |
UDP 7777 |
192.168.1.你的IP |
服務器端口不是固定的話可能會在重啟后改變 |
UDP 27017 |
192.168.1.你的IP |
自連服務器端口不是固定的話可能會在重啟后改變 |
所有設置完成之后,現(xiàn)在你就可以連接上你的服務器了,首先點擊bat文件運行,當更新完成之后,最后會顯示這樣一段話(不顯示也沒有關(guān)系):
[2017.02.04-00.18.30:946][ 0]LogExternalProfiler: No external profilers were discovered. External profiling features will not be available.
[2017.02.04-00.18.30:980][ 0]LogNet: UNetDriver::TickDispatch: Very long time between ticks. DeltaTime: 0.03, Realtime: 5.60. SteamNetDriver_0
自此服務器就建立成功了,是不是很簡便,想要建立服務器的玩家還不回去操作一番。