Anti-r_drawviewmodel 0
Necro
<insert non-birthday-related title here> Join Date: 2002-08-09 Member: 1118Members
<a href='http://www.gotleet.com/~golex/plugin_rdrawblock.amx' target='_blank'>http://www.gotleet.com/~golex/plugin_rdrawblock.amx</a> linux compile
<a href='http://www.gotleet.com/~golex/plugin_rdrawblock.sma' target='_blank'>http://www.gotleet.com/~golex/plugin_rdrawblock.sma</a> source if you care
all credit goes to the pwnage golex who made this on such short notice (and request!)
<a href='http://www.gotleet.com/~golex/plugin_rdrawblock.sma' target='_blank'>http://www.gotleet.com/~golex/plugin_rdrawblock.sma</a> source if you care
all credit goes to the pwnage golex who made this on such short notice (and request!)
Comments
If that did work, it would be the same method i use to block the r_drawviewmodel by aliasing over it.
Thanks to Hullu for that info, he pwnz.
Oh and Flayra, those commands should work perfectly, the exact command is:
r_drawviewmodel 1;alias r_drawviewmodel wait
It works perfectly, tested it on my client before adding it. Damn Adminmod for thwarting me again.
It now runs the command "r_drawviewmodel 1" on every client every 30 seconds.
Use admin_rdrawblock 0|1 to turn it off and on.
Later.
This is the same "bugfix" that stops the commandermode exploit. Please note i no longer have a linux compile of this, so i need someone to compile it for me <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' valign='absmiddle' alt='smile.gif'><!--endemo-->
Untested, but it should work.
Btw, Flayra CLIENT_COMMAND can do any command on the client, only adminmod blocks certain commands since they want to prevent evil admins from abusing it.
<a href='http://www.voogru.net/www/plugins/bugfix.zip' target='_blank'>http://www.voogru.net/www/plugins/bugfix.zip</a>
<!--QuoteBegin--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->
It now runs the command "r_drawviewmodel 1" on every client every 30 seconds.
<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
Thats very easy to get around.
It now runs the command "r_drawviewmodel 1" on every client every 30 seconds.
<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
Thats very easy to get around.<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
Well of course it is... but no other options for an Adminmod plugin solution.
Thanks for the MM plugin.
A few notes:
1)It for some reason doesn't like to run unless it's placed directly under the admin.amx in the plugin.ini
2)It's not on by default so you will have to turn it on in your admin.cfg or server.cfg
the syntax is:
amx_rdrawblock 0|1 (off|on : default off) (Level a access is required)
<a href='http://sprites.dayofdefeatmod.com/bugfix.so' target='_blank'>http://sprites.dayofdefeatmod.com/bugfix.so</a>
^^ linux port of voogru's thanks to scottl.
i tested it and works like a charm (even stops skulk script!)
(p.s. mine also blocks all those skulk scripts.)
<!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->#include <amxmod>
#include <amxmisc>
public client_connect(id) {
client_cmd(id, "r_drawviewmodel 1; alias r_drawviewmodel wait")
return PLUGIN_CONTINUE
}
public plugin_init() {
register_plugin("r_drawviewmodel blocker", "1.0", "Tcquest78")
return PLUGIN_CONTINUE
}<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->
Anyone could have done it but if you're lazy, here it is.
Note: I tested it and it works great! AMX, Linux.
And it makes them 'say I tried to change r_drawviewmodel' when they try to change it too ;D.
<!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->
#include <amxmod>
public client_connect(id) {
client_cmd(id, "r_drawviewmodel 1; alias r_drawviewmodel ^"say I tried to change r_drawviewmodel!^"")
return PLUGIN_CONTINUE
}
<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->
<!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo-->
Nice! I'll recompile and update <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink.gif' border='0' style='vertical-align:middle' alt='wink.gif'><!--endemo--> How difficult to have it kickban 5min or whatever a second after they say that? I want to send a stronger message <!--emo&:angry:--><img src='http://www.unknownworlds.com/forums/html/emoticons/mad.gif' border='0' style='vertical-align:middle' alt='mad.gif'><!--endemo-->
Nice! I'll recompile and update <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink.gif' border='0' style='vertical-align:middle' alt='wink.gif'><!--endemo--> How difficult to have it kickban 5min or whatever a second after they say that? I want to send a stronger message <!--emo&:angry:--><img src='http://www.unknownworlds.com/forums/html/emoticons/mad.gif' border='0' style='vertical-align:middle' alt='mad.gif'><!--endemo--> <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
add a line to the logs looking like the VAC cheater detection when they try to use it...then kick/ban....so it will show up on the stats...if you run it.
That explains it.
Argh.
<!--emo&::asrifle::--><img src='http://www.unknownworlds.com/forums/html/emoticons/asrifle.gif' border='0' style='vertical-align:middle' alt='asrifle.gif'><!--endemo--> <!--emo&::skulk::--><img src='http://www.unknownworlds.com/forums/html/emoticons/skulk.gif' border='0' style='vertical-align:middle' alt='skulk.gif'><!--endemo-->
Thanks again <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif'><!--endemo-->
If they reconnect to the server (or a map changed), and the r_drawviemodel has been alias'ed over it will execute the alias and ban them.
Even tho, It was auctually the server setting r_drawviewmodel to 1.
This is why, I just alias over it and keep it quiet. Its disabled, they cant use it. thats all I care about.