回复: 【分享】惩罚及限制 NOCD & OLDCD 玩家的插件[已修改,见2楼]
Post by setupjwjdk能在AMXX1.6下使用吗?
还有感觉NOCD和OLDCD.......OLDCD基本上都是作弊的...所以要严惩OLDCD的.
能不能改成这样:
对NOCD进行武器限制和金钱限制,都可自定义,对OLDCD一律KICK.
最好KICK后有个提示!
纯属个人看法,并不知道开发难度!
源码中找到如下这段,然后如下加上一句应该就OK了
else if(code == 2 && get_cvar_num("cdpunish_disarm") == 2)
{
client_print(id,print_chat,"CD auth: Old C-D")
client_cmd(id,"speak ^"Invallid C D detected. You are not authorized for weapon use. PLease get C D^"")
print_cd_message(id)
server_cmd("kick #%i 请正确打开CD,不要作弊!!!", get_user_userid(id))
}
回复: 【分享】惩罚及限制 NOCD & OLDCD 玩家的插件[已修改,见2楼]
Post by ifubo源码中找到如下这段,然后如下加上一句应该就OK了else if(code == 2 && get_cvar_num("cdpunish_disarm") == 2) {client_print(id,print_chat,"CD auth: Old C-D")client_cmd(id,"speak ^"Invallid C D detected. You are not authorized for weapon use. PLease get C D^"")print_cd_mess...
为什么那个KICK 后面的中文提示显示出来的是乱码??????
回复: 【分享】惩罚及限制 NOCD & OLDCD 玩家的插件[已修改,见2楼]
Post by sgcyc为什么那个KICK 后面的中文提示显示出来的是乱码??????
兄台,这个问题太。。。。。
应该把你的插件另存为utf-8格式,然后再编译就行了
多看看点通的帖吧
回复: 【分享】惩罚及限制 NOCD & OLDCD 玩家的插件[已修改,见2楼]
请问这个插件可以配合leon008的2.2新插件使用吗?回复: 【分享】惩罚及限制 NOCD & OLDCD 玩家的插件[已修改,见2楼]
Post by cityhonghu请问这个插件可以配合leon008的2.2新插件使用吗?
根据leon008_anticheat2.2的工作原理:NOCD & OLDCD的玩家在没进服务器之前就被KICK了,而此插件要进入服务器以后才能起作用....
回复: 【分享】惩罚及限制 NOCD & OLDCD 玩家的插件[已修改,见2楼]
Post by ifubo兄台,这个问题太。。。。。
应该把你的插件另存为utf-8格式,然后再编译就行了
多看看点通的帖吧
另存为utf-8就不能编译为.amxx文件了。怎么办????
附图:
http://www.shunpo.com/picupload/upload/2006515973.JPG
回复: 【分享】惩罚及限制 NOCD & OLDCD 玩家的插件[已修改,见2楼]
cdpunish_disarm 2 // 0=off 1=no cd only 2=old cd and no cdcdpunish_requireauth 1 // 0=Trusted 1=Treat as No C-D 2=As Old C-D
大大,能翻译以下上面的2各参数吗?
谢谢 !
回复: 【分享】惩罚及限制 NOCD & OLDCD 玩家的插件[已修改,见2楼]
Post by cityhonghucdpunish_disarm 2 // 0=off 1=no cd only 2=old cd and no cd
cdpunish_requireauth 1 // 0=Trusted 1=Treat as No C-D 2=As Old C-D
第一个参数如设成0,客户端不管有没有CD还是旧版CD,都能拥有各种武器。
设成1,针对客户端没有CD的玩家,不能拥有被限制的武器。
设成2,针对客户端没有CD和旧版CD的玩家,都不能拥有被限制的武器。
第二个参数,应该是辅助CDSERVER来检测客户端有没有CD还是旧版CD,还有跟CDREQUIRED这个变量也有关系,我分别测试了一下,好像没什么用。原作者对此参数的解释如下:
Thanks for the feedback, so i have little time to work on this plug-in since the hl2 SDK came out I’ve been working day and night on maps.
To answer your question about "cdpunish_requireauth", this setting tells the plug-in what to do with people who have not yet been authenticated by CD.
Setting it to "cdpunish_requireauth" will force the plug-in to treat them as if they have CD, setting it to 1 it will force the plug-in to treat them as though they do not have CD and setting it to 2 will force the plug-in to treat them as though they are using Old-CD. This is necessary because CD does not immediately authenticate players and my plug-in wants to know what to do with a player that has not been tested for CD yet.
So essentially it wants to know how much you trust people who have not been tested for CD. 0="Complete trust", 2="A little bit of trust" and 1="No trust at all".
To answer your question about cdrequire, this plug-in must have cdrequire set to 0 to work and it will try to keep cdrequire set to 0. If you want cdrequire set to 1 then there is no reason to use this plugin because this plug-in is a replacement for cdrequire which provides no flexibility when it comes to handling No C-D players. This is documented in part in the top portion of this thread. In short cdrequire is a CD setting that kicks No CD’ers this being the case it would make my plug-in useless. If you just want to kick No CD’ers then remove cdpunisher and turn on cdrequire, but if you want to punish No CD’ers then turn off cdrequire and use cdpunisher.
回复: 【分享】惩罚及限制 NOCD & OLDCD 玩家的插件[已修改,见2楼]
插件能不能使no cd 和old cd 的玩家连刀都丢掉,只能用拳头,做活靶子?呵呵.
回复: 【分享】惩罚及限制 NOCD & OLDCD 玩家的插件[已修改,见2楼]
Post by sgcyc插件能不能使no cd 和old cd 的玩家连刀都丢掉,只能用拳头,做活靶子?
呵呵.
可以的,但惩罚不能拥有武器及减少金钱数,已经足够了;惩罚到连刀也丢掉,这样做,岂不太残忍了.......:sweat: