dota2怎样在局域网下进行游戏,求从win8创建网络开始
原文地址 Dota2服务端这是以前编辑器没出时就有的黑科技了,向史前的探索者致敬吧。前言:各位Dota2 ER,我带来开服福利了.欢迎学习以及批评指点谢谢(1_1.为Steamcmd架设方式,1_2是为Srcds的架设方式)工具:Steamcmd,Srcds(DOTA2),D2FIXUP全部为Windows 版本教程:1_1.下载Steamcmd(http://media.steampowered.com/installer/steamcmd.zip )1_2.下载Srcds(Dota)(https://forums.alliedmods.net/attachment.php?attachmentid=131318\u0026amp;d=1394307441),以及下载D2FIXUP(AlliedModders)1_1.新建记事本,改为.bat的后戳名在里在里面键入:steamcmd.exe +login anonymous +force_install_dir Server +app_update 570 validate +quit" -wait1_2.丢到Dota2Beta文件夹里,并且对Gameinfo的文件进行修改"GameInfo" { game "DOTA 2" gamelogo 1 type multiplayer_only nomodels 1 nohimodel 1 nocrosshair 0 GameData "dota.fgd" SupportsDX8 0 FileSystem { SteamAppId 816 // This will mount all the GCFs we need (240=CS:S, 220=HL2). ToolsAppId 211 // Tools will load this (ie: source SDK caches) to get things like materials\\debug, materials\\editor, etc. // // The code that loads this file automatically does a few things here: // // 1. For each "Game" search path, it adds a "GameBin" path, in \u0026lt;dir\u0026gt;\\bin // 2. For each "Game" search path, it adds another "Game" path in front of it with _\u0026lt;langage\u0026gt; at the end. // For example: c:\\hl2\\cstrike on a french machine would get a c:\\hl2\\cstrike_french path added to it. // 3. For the first "Game" search path, it adds a search path called "MOD". // 4. For the first "Game" search path, it adds a search path called "DEFAULT_WRITE_PATH". // // // Search paths are relative to the base directory, which is where hl2.exe is found. // // |gameinfo_path| points at the directory where gameinfo.txt is. // We always want to mount that directory relative to gameinfo.txt, so // people can mount stuff in c:\\mymod, and the main game resources are in // someplace like c:\\program files\\valve\\steam\\steamapps\\\u0026lt;username\u0026gt;\\half-life 2. // SearchPaths { GameBin |gameinfo_path|addons/metamod/bin Game |gameinfo_path|. Game platform } } }1_1.运行Bat会自动进行下载,会吃内存的,所以放到存盘大一点的盘里面1_2.把d2fixup解压到dota文件夹里,然后把srcds的程序放在dota2beta的目录下1_1.下载完后会出现服务端程序,在服务端程序所在文件夹内新建.bat的文件并输入:srcds.exe -console -game dota +map dota1_2.在Srcds.exe目录键入以下内容:srcds.exe -console -game dota +map dota1_1.运行后会出现控制台,就证明运行成功了1_2.在Steam局域网内扫到服务器,证明成功,未扫到,请将VPK的DIR文件解压后再运行Exrta Part:Sourcemod的安装方法下载http://www.sourcemod.net/smdrop/1.6/sourcemod-1.6.4-git4607-windows.zip打开www.sourcemm.netSourcemm是打开Downloads子组框下的第一个选项,然后选择一个服务器供应商并下载(随便选一个就行)两个都解压到服务端目录,也就是dota目录,汉化文件chi.zip_免费高速下载下载里面的chi文件夹,把chi文件夹复制到addons\\sourcemod\\translations再回到sourcemod的目录,打开config文件夹,打开Languages.cfg,内容改为:"Languages"{ "en" "English" "chi" "Chinese"}打开core.cfg文件,更改为:/** * This file is used to set various options that are important to SourceMod\u0026#39;s core. * If this file is missing or an option in this file is missing, then the default values will be used. */"Core"{ /** * This option determines if SourceMod logging is enabled. * * "on" - Logging is enabled (default) * "off" - Logging is disabled */ "Logging" "on" /** * This option determines how SourceMod logging should be handled. * * "daily" - New log file is created for each day (default) * "map" - New log file is created for each map change * "game" - Use game\u0026#39;s log files */ "LogMode" "daily" /** * Language that multilingual enabled plugins and extensions will use to print messages. * Only languages listed in languages.cfg are valid. * * The default value is "en" */ "ServerLang" "chi" /** * String to use as the public chat trigger. Set an empty string to disable. */ "PublicChatTrigger" "!" /** * String to use as the silent chat trigger. Set an empty string to disable. */ "SilentChatTrigger" "/" /** * If a say command is a silent chat trigger, and is used by an admin, * but it does not evaluate to an actual command, it will be displayed * publicly. This setting allows you to suppress accidental typings. * * The default value is "no". A value of "yes" will supress. */ "SilentFailSuppress" "no" /** * Password setinfo key that clients must set. You must change this in order for * passwords to work, for security reasons. */ "PassInfoVar" "_password" /** * Specifies the sound that gets played when an item is selected from a menu. */ "MenuItemSound" "buttons/button14.wav" /** * Specifies the sound that gets played when an "Exit" button is selected * from a menu. */ "MenuExitSound" "buttons/combine_button7.wav" /** * Specifies the sound that gets played when an "Exit Back" button is selected * from a menu. This is the special "Back" button that is intended to roll back * to a previous menu. */ "MenuExitBackSound" "buttons/combine_button7.wav" /** * Enables or disables whether SourceMod reads a client\u0026#39;s cl_language cvar to set * their language for server-side phrase translation. * * "on" - Translate using the client\u0026#39;s language (default) * "off" - Translate using default server\u0026#39;s language */ "AllowClLanguageVar" "On" /** * Enables or Disables SourceMod\u0026#39;s automatic gamedata updating. * * The default value is "no". A value of "yes" will block the Auto Updater. */ "DisableAutoUpdate" "no" /** * If set to yes, a successful gamedata update will attempt to restart SourceMod. * SourceMod is unloaded and reloaded, and the map is changed to the current map. * Since gamedata updates occur when the server loads, impact should be minimal. * But to be safe, this option is disabled by default. */ "ForceRestartAfterUpdate" "no" /** * URL to use for retrieving update information. * SSL is not yet supported. */ "AutoUpdateURL" "http://update.sourcemod.net/update/" /** * Whether to show debug spew. * Currently this will log details about the gamedata updating process. */ "DebugSpew" "no" /** * If set to yes, SourceMod will validate steamid auth strings with the Steam backend before giving out admin access. * This can prevent malicious users from impersonating admins with stolen Steam apptickets. * If Steam is down, admins will not be authenticated until Steam comes back up. * This option increases the security of your server, but is still experimental. */ "SteamAuthstringValidation" "yes" /** * Enables or disables whether SourceMod blocks known or potentially malicious plugins from loading. * It is STRONGLY advised that this is left enabled, there have been cases in the past with plugins that * allow anyone to delete files on the server, gain full rcon control, etc. * * "yes" - Block malware or illegal plugins from loading (default) * "no" - Warn about malware or illegal plugins loading */ "BlockBadPlugins" "yes" /** * If a plugin takes too long to execute, hanging or freezing the game server in the process, * SourceMod will attempt to terminate that plugin after the specified timeout length has * passed. You can disable this feature by setting the value to "0". */ "SlowScriptTimeout" "8"}管理员的添加:在admin_simple.cfg里,最下面输入"STEAMID""99:z"99:z表示权限为99,类型为Z也就是Root最终权限,STEAMID是类似于:STEAM_0_:21213什么的游戏中输入/admin即可打开管理员菜单ExrtaPart End
■网友
推荐阅读
- 聪明人养花,这3种“花”怎样也要养一盆,每年能省不少医药费
- 互联网怎样解决“家政服务上门速度慢”的问题
- 怎样看待从1月8号起,QQ钱包开始提现收费
- 银行it人怎样转型
- 汽车|冬天怎样让车内温度快速升高?座椅加热的最佳使用方式二,外循环的作用总结
- 怎样进入通信行业
- 怎样评价扶他柠檬茶的小说《云养汉》的结尾
- 怎样成为一名合格的Python程序员?
- 怎样评价华为、诺基亚、中兴中标中国移动高端路由交换设备扩容集采
- 怎样评价类似前橙会、百老汇、南极圈这样类型的离职帮抱团,对企业的积极意义和消极意义
