標題 新增找內文!

看整串內容篇數:0 / 0

17GP-BP

#1 【心得】架設伺服器的方法(HldsUpdateTool)

發表:2010-11-02 18:24:01看他的文開啟圖片

C121382313(涙歌)

迅擊的鬥劍士 LV19 / 妖精 / 盜賊
巴幣:15917
GP:51
經驗:

因為覺得精華區裡寫的有點少,不是很清楚...
如果有哪邊寫錯請告知謝謝!

架設TF2伺服器教學!!!


參考資料:
http://forums.srcds.com/viewtopic/5439

其一:
1. 下載HLDSTOOLUPDATE並且安裝!
[http://www.steampowered.com/download/hldsupdatetool.exe]
我安裝的路徑: [D:\HLServer](參考)

2.接下來在[D:\HLServer]內創建一個txt(文字文件)檔,並且在裡面打上下列文字
[D:\HLServer\hldsupdatetool -command update -game tf -dir D:\HLServer]

之後[另存新檔]->[存檔類型選擇 所有檔案]->[名稱請取成 update.bat(注意是.bat檔喔)]

接下來請執行[update.bat]檔,過一小段時間後會開始下載檔案,
之後每當TF2有更新時請先執行這個bat檔更新,不然SV開不起來喔

會下載很久喔!!!
我這邊下載,要半天!!!

其二:
1.接下來請到[D:\HLServer\orangebox\tf\cfg]內創建一個txt檔並且取名為[server.cfg](重要!是server.cfg檔!)

2.請在[server.cfg]內打上指令(那是預設指令)(如附圖,指令太多全部請到參考資料網站自己看)(指令右邊都有說明該項指令的作用)(通常 xxx = 0是關閉 1是開啟)

建議可以先打上(參考自己的)[快速重生,無爆擊]
// Team Fortress 2 Server Configuration File, To be used with TF2 only!
// Server Name

// Rcon Cvars
rcon_password "" //Set's remote control password
sv_rcon_banpenalty 15 //Number of minutes to ban users who fail rcon authentication
sv_rcon_log 1 //Enable/disable rcon logging.
sv_rcon_maxfailures 3 //Max number of times a user can fail rcon authentication before being banned
sv_rcon_minfailures 5 //Number of times a user can fail rcon authentication in sv_rcon_minfailuretime before being banned
sv_rcon_minfailuretime 10 //Number of seconds to track failed rcon authentications

// Server Password
sv_password "" // Password protects server

// Server Cvars
mp_allowspectators 1 //Toggles whether the server allows spectator mode or not
mp_autocrosshair 0
mp_autoteambalance 0 //Toggles server autoteambalance
mp_bonusroundtime 5 //Time in seconds after round win until round restarts
mp_chattime 5 //amount of time in seconds players can chat after the game is over

mp_decals 1
mp_defaultteam 1
mp_enableroundwaittime 1 //Enable timers to wait between rounds.
mp_fadetoblack 0 //fade a player's screen to black when he dies
mp_falldamage 5 //Amount of damage players sustains from a fall
mp_flashlight 0 //Toggles flashlight on or off
mp_footsteps 1 //Toggles footsteps on or off
mp_forcerespawn 0
mp_forcerespawnplayers 1 //Force all players to respawn.
mp_forcewin 1 //Forces team to win
mp_fraglimit 0
//mp_idledealmethod 0 //Deals with Idle Players. 1 = Sends them into Spectator mode then kicks them if they're still idle, 2 = Kicks them out of the game
//mp_idlemaxtime 0 //Maximum time a player is allowed to be idle (in minutes)
//mp_maxrounds 10 //max number of rounds to play before server changes maps
mp_teams_unbalance_limit 0 //Teams are unbalanced when one team has this many more players than the other team. (0 disables check)
mp_teststalemate 0 //Test the stalemate mode. Parameter: <0/1>. If 1, the map will reset at the end.
mp_time_between_capscoring 5 //Delay between scoring of owned capture points.
mp_timelimit 0 //game time per map in minutes
mp_winlimit 0 //Max number of rounds one team can win before server changes maps
sv_allow_color_correction 1 //Allow or disallow clients to use color correction on this server.
sv_allow_wait_command 0 //Allow or disallow the wait command on clients connected to this server.
sv_allowdownload 1 //Allow clients to download files
sv_allowupload 1 //Allow clients to upload customizations files
sv_alltalk 1 //Players can hear all other players, no team restrictions
sv_alternateticks 0 //If set, server only simulates entities on even numbered ticks.
sv_autosave 0 //Set to 1 to autosave game on level transition. Does not affect autosave triggers.
sv_bonus_challenge 0 //Set to values other than 0 to select a bonus map challenge type.
sv_cacheencodedents 1 //If set to 1, does an optimization to prevent extra SendTable_Encode calls.
sv_cheats 0 //Allow cheats on server
sv_clearhinthistory 0 //Clear memory of server side hints displayed to the player.
sv_consistency 1 //Whether the server enforces file consistency for critical files
sv_contact "" //Contact email for server sysop
sv_downloadurl "" //Location from which clients can download missing files
sv_enableoldqueries 1 //Enable support for old style (HL1) server queries
sv_pausable 0 //Is the server pausable.

// Lan or internet play, Server region cvars
sv_lan 0 //Server is a lan server ( no heartbeat, no authentication, no non-class C addresses )
sv_region 255 // Region Codes: 0 - US East coast, 1 - US West coast, 2 - South America, 2 - South America, 3 - Europe, 4 - Asia, 5 - Australia, 6 - Middle East, 7 - Africa, 255 - world

//server Logging
sv_log_onefile 0 //Log server information to only one file.
sv_logbans 1 //Log server bans in the server logs.
sv_logblocks 0 //If true when log when a query is blocked (can cause very large log files)
sv_logecho 0 //Echo log information to the console.
sv_logfile 1 //Log server information in the log file.
sv_logflush 0 //Flush the log file to disk on each write (slow).
sv_logsdir "logs" //Folder in the game directory where server logs will be stored.

//Server Rates
sv_maxcmdrate 66 //(If sv_mincmdrate is > 0), this sets the maximum value for cl_cmdrate.
sv_maxreplay 2 //Maximum replay time in seconds
sv_maxupdaterate 100 //Maximum updates per second that the server will allow
sv_mincmdrate 0 //This sets the minimum value for cl_cmdrate. 0 == unlimited.
sv_maxrate 20000
sv_minrate 0 //Min bandwidth rate allowed on server, 0 == unlimited
sv_minupdaterate 30 //Minimum updates per second that the server will allow

mp_respawnwavetime 4
mp_disable_respawn_times 1
cl_cmdrate 30
net_maxfilesize 100
tf_weapon_criticals 0

所有指令一覽:
http://www.dodbits.com/downloads/cvars/TF2/Team_Fortress_2_cvar_list_a-z.txt
有用的討論串可以參考
http://forums.steampowered.com/forums/showthread.php?t=598508

    
最後編輯:2010-11-02 18:37:55 ◆ Origin: <124.8.197.xxx>

顯示稍舊的 3 則留言

快速回覆文章,請先登入

看整串內容篇數:0 / 0

板務人員
本板熱門推薦
【心得】《Final Fantasy XFinalFantasyXIIISteam遊戲頁面:http...(繼續閱讀