|
发表于 2012-7-21 13:40:07
|
显示全部楼层
来自 中国–内蒙古–赤峰
guoxiangwei 发表于 2011-7-19 23:39
这个问题是让通过服务器下载大文件造成的,如果是http流下载的会受到影响吗? ...
12# 的 gearfox 已经告诉你了:
We have released an update to the beta, run the hldsupdatetool with "-beta hlbeta" to get this update. Changes for this update are:
- Changed sv_filetransfermaxsize to 1mbyte by default
- Disallow the dlfile command if the server is configured with a sv_downloadurl
The dlfile command is used internally by the engine to allow users to download custom maps using the in-game channel, unfortunately the processing for large files is done inline and can stall the server. Re-architecting this is beyond the scope for HL1 so the solution would be to use the sv_downloadurl feature if you want to host custom content (or increase the sv_filetransfermaxsize cvar but risk your server FPS stuttering).
- Alfred |
|