<div>Hello everyone<br />I am hosting several gameservers and as a provider I often have to deal with clients installing the "banned" plugins exposing my servers to a valve blacklisting.<br /><br />For this reason i coded this plugin that will forcefully remove references to WS and KNIFE used by valve to search the servers and logs an error asking the gameserver owner to remove such plugin.<br /><br />I think this is useful as it's hard to deal with a lot of clients and it's hard to enforce small things such as not setting certain sv_tags or hostnames. Instead, forcing this plugin in their plugin folder will technically prevent your whole IP being blacklisted.<br /><br /><br />This plugin exposes no cvar, it is currently working but it has an obvious issue which i'm asking the community to help me with.<br /><br /><br />ISSUE:<br />the incriminated strings used apparently are: {"!ws","ws","!knife","knife","!wp","wp"};<br />How do i prevent a word such as "thisisaknifetest" from being edited while using ReplaceString()?<br />I thought of using some regex such as b%sb where %s is one of the words above, however there is no such "RegexReplaceString()" function available yet.<br /><br /><br />If mods believe this solution is inappropriate or not good enough for the plugin standards then please either remove this thread or possibly move it to the coding section. <br />I will do my best to match future requests.<br /><br />PS: This is by no means something that one should use to bypass VALVE ToS! Eventually valve will pull out a solution that will simply get rid of all such servers.</div>
<br /> <div style="padding:6px">
<fieldset class="fieldset">
<legend>Attached Files</legend>
<table cellpadding="0" cellspacing="3" border="0">
<tr>
<td><img class="inlineimg" src="https://forums.allie.../attach/sp.gif"alt="File Type: sp" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>
<a href="http://www.sourcemod...31"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1444174844">GetSource</a> (knife_ws_guard.sp - 2.2 KB)
</td>
</tr>
</table>
</fieldset>
</div>
Wyświetl pełny artykuł
Witamy w Nieoficjalnym polskim support'cie AMX Mod X
Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
|
Guest Message by DevFuse
[CSGO] WS/KNIFE guard
Temat rozp. Adminek AMXX.PL, 07.10.2015 00:38
Brak odpowiedzi do tego tematu
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych