搜索
查看: 3123|回复: 15

[求助] 讨论CS的中文问题

[复制链接]
发表于 2003-8-23 10:30:31 | 显示全部楼层 |阅读模式 来自 中国–广西–南宁
用HLSW里面看:


210.82.102.216:27066

有中文显示……怎么样做??
发表于 2003-8-23 10:39:06 | 显示全部楼层 来自 中国–福建–龙岩
有点意思,我研究下。看看是否是Unicode的原因。:)
回复

使用道具 举报

发表于 2003-8-23 13:29:40 | 显示全部楼层 来自 中国–福建–龙岩
哦,就是修改server.cfg文件。例如:

hostname "点通CS服务器 1.5 Server"

这样一来,在hlsw里面看到的是中文“点通CS服务器 1.5 Server”,而在游戏里是“CS1.5 Server”。:)
回复

使用道具 举报

 楼主| 发表于 2003-8-23 22:41:28 | 显示全部楼层 来自 中国–广西–南宁
没有,我的显示不了。
回复

使用道具 举报

发表于 2003-8-23 23:17:47 | 显示全部楼层 来自 中国–福建–龙岩
我的可是如此显示。
你是用4.1.1.1d么?
回复

使用道具 举报

发表于 2003-8-24 00:50:26 | 显示全部楼层 来自 中国–福建–龙岩
你是说在游戏中无法显示还是hlsw等看不到??
我改了server.cfg文件后,利用hlsw,csirc等软件都可以看到中文。
回复

使用道具 举报

发表于 2003-8-24 13:33:29 | 显示全部楼层 来自 中国–福建–龙岩
看看4.1.1.0版本的效果。在CONSOLE下。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注个册吧

×
回复

使用道具 举报

发表于 2003-8-24 13:39:34 | 显示全部楼层 来自 中国–福建–龙岩
看看游戏中的显示。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注个册吧

×
回复

使用道具 举报

发表于 2003-8-24 13:53:09 | 显示全部楼层 来自 中国–福建–龙岩
问题的关键是:为什么游戏中是乱码

知道安装E文Windows和中文Windows的人都知道。显示中文的前提是必须有中文字库,然后才是API的支持。

你登陆到采用中文名的服务器中,在console下,使用status后,用condump。
然后再打开condump001.txt文件。你将发现,居然有中文名称。如果你采用hlguard的话,你的connect信息中也是中文。

如下是我的实验:

NET Ports:  server 27015, client 27005                                                                                       
Server IP address 192.168.1.2:27015                                                                                          
No IPX Support.                                                                                                               
                                                                                                                              
   Metamod version 1.16  Copyright (c) 2001-2003 Will Day <willday@metamod.org>                                               
   Metamod comes with ABSOLUTELY NO WARRANTY; for details type `meta gpl'.                                                   
   This is free software, and you are welcome to redistribute it                                                              
   under certain conditions; type `meta gpl' for details.                                                                     
                                                                                                                              
                                                                                                                              
   Cheating-Death v4.2.0                                                                                                      
   This software is free and comes                                                                                            
   with ABSOLUTELY NO WARRANTY.                                                                                               
   http://www.unitedadmins.com/cdeath.php                                                                                    
                                                                                                                              
Executing AMX Configuration File                                                                                             
"hlg_aimbotlevel" changed to "30.00"                                                                                          
                                                                                                                              
Cheating-Death v4.2.0                                                                                                         
Get it free at http://www.unitedadmins.com/cdeath.php                                                                        
                                                                                                                              
Cheating-Death is required on this server.                                                                                    
     Protected by HLGuard v1.50 - http://www.UnitedAdmins.com/                                                               
                                                                                                                              
==================================================================================                                            
                                                  HLG 1.50 (Net)                                                              
   Hello DaPP, welcome to 个人游戏                                                                                            
                                                                                                                              
   Current map is as_oilrig - your uniqueid is 4294967295                                                                     
                                                                                                                              
   HLGuard maintained by United Admins - http://www.unitedadmins.com                                                         
   CSGuard originally developed by OLO (http://www.olo.counter-strike.pl)                                                     
                                                                                                                              
==================================================================================                                            
                                                                                                                              
                                                                                                                              
BUILD 2056 SERVER (0 CRC)                                                                                                     
Server # 1                                                                                                                    
CDMOD: Player id #1 (DaPP) connected                                                                                          
Initializing Tracker...                                                                                                      
DaPP connected                                                                                                               
Tracker Error: TrackerUI.dll invalid, not loading                                                                             
]users                                                                                                                        
userid : uniqueid : name                                                                                                      
------ : ---------: ----                                                                                                      
     1 : 4294967295 : DaPP                                                                                                   
1 users                                                                                                                       
]status                                                                                                                       
hostname:  个人游戏                                                                                                           
version :  46/1.0.0.5 2056 insecure                                                                                          
tcp/ip  :  192.168.1.2:27015                                                                                                  
map     :  as_oilrig at: -15 x, 152 y, -325 z                                                                                 
players :  1 active (8 max)                                                                                                   
                                                                                                                              
#      name userid uniqueid frag time ping loss adr                                                                           
# 1   "DaPP" 1 4294967295   0 00:28    0    0 loopback                                                                        
1 users
回复

使用道具 举报

发表于 2003-8-24 13:56:57 | 显示全部楼层 来自 中国–福建–龙岩
这些信息在本地看汉字都是无法显示的。然而在hlds看却是正常的。
回复

使用道具 举报

游客
回复
您需要登录后才可以回帖 登录 | 注个册吧

快速回复 返回顶部 返回列表