玩樂天堂 pockyland

 找回密碼
 註冊
搜索
熱搜: lego MOC 聚會 比賽
查看: 6150|回復: 12

分享 CSS 架伺服器的心得.............#2

[複製鏈接]
發表於 2008-12-21 16:09:22 | 顯示全部樓層 |閱讀模式
成功的架起一個基本的 CS:Source伺服器了, 但是怎麼伺服器名稱看起來很鳥... 這個別急,我們現在開始講解伺服器設定的部份.....................
下載mani_admin_plugin管理工具
   http://www.mani-admin-plugin.com/mani_admin_plugin/v1_2_beta_r/mani_admin_plugin_v1_2_beta_r.zip
   
解壓縮在srcds下的cstrike目錄

   再執行addons下的CreateVDF.exe選擇cstrike產生mani_admin_plugin.vdf
   就裝好了

存檔
下載Mattie Script外掛執行程式
   http://mattie.info/downloads/mattie_eventscripts.zip
    解壓縮在srcds下就裝好了

下載SourceMM外掛執行程式
    http://www.sourcemod.net/dl.php?filename=sourcemm-1.4.2.exe
   安裝選倒數第二個選項select mod directory然後指到srcds下的cstrike
   他會自動安裝




下載ES_TOOLS強化工具 (可裝可不裝.................看需求)
   http://forums.mattie.info/cs/forums/download.php?id=889
   解壓縮在srcds下就裝好了
   但記得參考這篇修正當機問題http://forums.mattie.info/cs/forums/viewtopic.php?t=14596
   中文說明
http://www.pockyland.net/viewthread.php?tid=8767&extra=page%3D1



在新增   server.cfg




Code:
/
  1. /

  2. // *****************************************************************
  3. //         Counter-Strike:Source Dedicated Server.cfg
  4. //
  5. //
  6. //        Use this file to configure your DEDICATED server.
  7. //
  8. // This config file is executed everytime the server changes levels.
  9. //
  10. // *****************************************************************
  11.   

  12.    // Default server name. Change to "Bob's Server", etc.
  13.   hostname "=MR= 極限玩樂空間 - 任務伺服器 [Tick 66]"

  14.    // rcon password zBlock v4RC1
  15.    rcon_password " "
  16.   
  17.    // Server password
  18. sv_password " "


  19. // 伺服器 cheat 功能 (0/1 - 關/開)
  20. sv_cheats 0

  21. // 伺服器最大 rate
  22. sv_maxrate 30000

  23. // 伺服器最小 rate
  24. sv_minrate 25000

  25. // 允許下載檔案 (如: 新地圖)
  26. sv_allowdownload 1

  27. // 允許下載(sv_allowdownload 1)開時控制是否允許玩家的LOGO傳送 允許1/禁止0 (1.6)
  28. sv_send_logos 1

  29. // 允許下載(sv_allowdownload 1)開時控制是否允許資源檔案傳送 允許1/禁止0 (1.6)
  30. sv_send_resources 1

  31. // 允許上傳檔案
  32. sv_allowupload 1
  33.         
  34. // 地心引力設定值, 預設 800
  35. sv_gravity 800

  36. // mic 是否讓所有人聽到的設定 (0/1 - 關/開)
  37. sv_alltalk 0

  38. // 設定伺服器的所在區域, 4 為亞洲
  39. sv_region 4

  40. // 是否允許玩家使用 mic (0/1 - 關/開)
  41. sv_voiceenable 1

  42. // 伺服器是否為 LAN Server (0/1 - 關/開)
  43. sv_lan 0


  44. sv_airaccelerate 10


  45. // bandwidth rates/settings


  46. sv_maxupdaterate 66
  47. sv_maxcmdrate 66
  48. sv_mincmdrate 33
  49. sv_minupdaterate 33


  50. // *********************************************************
  51.    // Exec files on startup
  52.   
  53. //      exec banned.cfg
  54. //      exec listip.cfg

  55. // *********************************************************

  56. // 是否顯示敵人及隊友名字, 1:不顯示敵人 2:皆不顯示
  57. mp_playerid 1

  58. // 是否允許手電筒 (0/1 - 關/開)
  59. mp_flashlight 1

  60. // 是否允許觀察者 (0/1 - 關/開)
  61. mp_allowspectators 1

  62. // 是否允許腳步聲 (0/1 - 關/開)
  63. mp_footsteps 1

  64. // 從空中掉落地面是否造成傷害 (0/1 - 關/開)
  65. mp_falldamage 1

  66. // 是否將閒置及TKer自動踢出伺服器 (0/1 - 關/開)
  67. mp_autokick 0

  68. // 地圖的換圖時間設定 (單位: 秒, 0 無限制)
  69. mp_timelimit 0

  70. // 某一邊贏得 15 回合後換地圖 (0 無限制)
  71. mp_winlimit 0

  72. // 某玩家獲得多少 frag 後換地圖 (0 無限制)
  73. mp_fraglimit 0

  74. // 所有回合數達到多少後換地圖 (0 無限制)
  75. mp_maxrounds 20

  76. // 回合開始前的凍結時間 (單位: 秒, 0 為無凍結時間)
  77. mp_freezetime 5

  78. // 回合時間 (單位: 分鐘)
  79. mp_roundtime 2.5

  80. // 購買裝備時間 (單位: 分鐘) 1.5 X 60 = 90 秒
  81. mp_buytime 0.25

  82. // C4 安裝後所需的爆炸時間 (單位: 秒)
  83. mp_c4timer 35

  84. // 玩家死後是否只能看到同隊畫面 (0/1 - 關/開)
  85. mp_forcecamera 0            

  86. // 玩家死後畫面是否為黑幕 (0/1 - 關/開)
  87. mp_fadetoblack 0

  88. // 玩是否可以傷害到隊友 (0/1 - 關/開)
  89. mp_friendlyfire 1

  90. // 手雷友軍傷害 關閉0/開1
  91. //mp_friendly_grenade_damage 1

  92. // 是否開啟 TK 懲罰 (0/1 - 關/開)
  93. mp_tkpunish 0

  94. // 是否啟動自動隊伍平衡功能 (0/1 - 關/開)
  95. mp_autoteambalance 1

  96. // 隊伍人數最大可相差幾人
  97. mp_limitteams 1

  98. // 殺幾個人質後將被踢出伺服器, 搭配 mp_autokick 使用
  99. mp_hostagepenalty 4

  100. // 結束一張地圖時可以聊天的時間 單位秒
  101. mp_chattime 6

  102. // 設定鬼魂模式刷新值(0.1-1)
  103. //mp_ghostfrequency 0.1
  104. sv_noclipspeed 1

  105. // Kick players who team-kill within this many seconds of a round restart.
  106. mp_spawnprotectiontime 5
  107.   
  108. // Sets the amount of money players start with 1st round
  109. mp_startmoney 8000

  110. // Sets how many specators allowed {if not set spectators are not limited}
  111. //allow_spectators 2

  112. // Allows the game to be pausable {recommend leaving this OFF}
  113. //pausable 0


  114. // logo 的顯示時間 (單位: 秒)
  115. decalfrequency 60

  116. // *********************************************************

  117. log OFF
  118. // 將伺服器的 ban 人資訊記錄到 log 檔中
  119. log 0
  120. sv_logbans 1

  121. // *********************************************************

  122. // execute ban files
  123. exec mani_server.cfg ================================>基本的設定跟一些排名或基本的模組
  124. exec banned_user.cfg ================================>執行游戲中ban 0的玩家
  125. exec mani_quake_sounds.cfg   ================================>執行游戲中音效檔
  126. exec banned_ip.cfg
  127. exec BOT.cfg   ================================>執行游戲中bot檔包含強度跟數量等等
  128. //exec autoban.cfg

  129. // *********************************************************

  130. fps_max 600
  131. sv_pure 0
  132. ma_restrict awp 5================================>awp的限制數量
  133. cl_crosshairscale 2000
  134. mp_tkpunish 0
  135. // *********************************************************
  136. // How much days should inactive users be stored, before their settings get deleted? ( default = 30 )
  137. bomb_timer_savetime 30

  138. // Should the sounds be downloaded with EventScripts?
  139. bomb_timer_soundload 1

  140. // Should BOMB DEFUSED or BOMB EXPLODED be annouced at the end of a round?
  141. bomb_timer_endannounce 1

  142. // Should the bomb timer be shown in the middle of the screen? ( 0 = off | 1 = HudHint | 2 = CenterMsg )
  143. bomb_timer_middle_screen 1

  144. // Default settings for new connecting players
  145. bomb_timer_default_display 1
  146. bomb_timer_default_text 1
  147. bomb_timer_default_sound 1
複製代碼



ps.要存UIF-8  很重要要不然sv的名稱沒有辦法出現中文喔

在新增   bot.cfg
  1. // bots
  2. bot_add 1
  3. bot_quota 12
  4. bot_quota_mode fill
  5. bot_difficulty 1
  6. bot_chatter off
  7. bot_auto_follow 0
  8. bot_auto_vacate 1
  9. bot_join_after_player 1  
  10. bot_defer_to_human 0
  11. bot_prefix "=Mr="

  12. //是否會違背命令
  13. bot_allow_rogues 0
  14. bot_walk 0
  15. bot_join_team any
  16. bot_eco_limit 800
  17. //允許bot使用手榴彈?
  18. bot_allow_grenades 0
  19. bot_all_weapons
  20. //允許bot使用手槍
  21. bot_allow_grenades 1
  22. bot_allow_pistols 1
  23. //允許bot使用衝鋒槍
  24. bot_allow_sub_machine_guns 1
  25. //允許bot使用散彈槍
  26. bot_allow_shotguns 1
  27. //允許bot使用步槍
  28. bot_allow_rifles 1
  29. //允許bot使用狙擊槍
  30. bot_allow_snipers 1
  31. //允許bot使用機關槍
  32. bot_allow_machine_guns
  33. //Mani_Server_Setting
  34. // 1 = Include any bot kills made in stats
  35. // 0 = Killing a bot does not count to stats
  36. mani_stats_include_bot_kills 0
複製代碼
在新增   banned_user.cfg
內容可以空白  系統會自己去紀錄
完成後要像這樣

全部裝好後執行css.bat 就可以開啟伺服器了

下次會教如何把adm內的指令跟如何設定adm玩家...........................
發表於 2008-12-21 18:38:07 | 顯示全部樓層
maska 辛苦了
回復

使用道具 舉報

發表於 2008-12-22 16:40:00 | 顯示全部樓層
= = 講的很清楚,一樣聽的很模擬

看來,Maska要拍教學帶阿!!
回復

使用道具 舉報

發表於 2009-1-6 01:14:30 | 顯示全部樓層
講解的真詳細!!

目前正在自己做一個~:65:
回復

使用道具 舉報

 樓主| 發表於 2009-1-19 03:17:37 | 顯示全部樓層
回復

使用道具 舉報

發表於 2009-6-5 11:48:05 | 顯示全部樓層
架設完成!
有興趣的話,可以去找「=MR= 極限玩樂空間-殺雞專用伺服器#2」!
密碼:G

因為是用自家電腦與線路架的,所以想當然是不可能開24HR的 XD
回復

使用道具 舉報

發表於 2009-7-22 14:20:04 | 顯示全部樓層
其實他是模彷網路上的=.=
回復

使用道具 舉報

發表於 2009-8-16 19:13:10 | 顯示全部樓層
maska大!
"下載SourceMM外掛執行程式
    http://www.sourcemod.net/dl.php?filename=sourcemm-1.4.2.exe
   安裝選倒數第二個選項select mod directory然後指到srcds下的cstrike
   他會自動安裝"
這個!
我到那個網站卻找不到程式...:89:
可以提供另一個載點嗎?!:78:
回復

使用道具 舉報

 樓主| 發表於 2009-8-16 23:08:17 | 顯示全部樓層
SourceMM
sourcemm-1.4.4
http://www.sourcemm.net/?go=downloads&file=sourcemm-1.4.4.zip

將這下載放在解壓縮在\cstrike目錄下面............................就可以了
這也可以不裝~


最新版的

Metamod:Source 1.7.1
回復

使用道具 舉報

 樓主| 發表於 2009-8-16 23:12:15 | 顯示全部樓層
原帖由 DDT殺蟲劑 於 2009-8-16 17:43 發表
maska大!
"下載SourceMM外掛執行程式
    http://www.sourcemod.net/dl.php?filename=sourcemm-1.4.2.exe
   安裝選倒數第二個選項select mod directory然後指到srcds下的cstrike
   他會自動安裝"
這個!
我到那個網 ...



http://www.sourcemod.net/downloads.php
回復

使用道具 舉報

您需要登錄後才可以回帖 登錄 | 註冊

本版積分規則

排行榜|小黑屋|手機版|Archiver|玩樂天堂 pockyland

GMT+9.5, 2015-4-15 11:23 , Processed in 0.120417 second(s), 26 queries .

Powered by Discuz! X3

© 2001-2013 Comsenz Inc.

快速回復 返回頂部 返回列表