Skocz do zawartości

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.
  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Zdjęcie

[CSGO] WS/KNIFE guard


  • Nie możesz napisać tematu
  • Zaloguj się, aby dodać odpowiedź
Brak odpowiedzi do tego tematu

#1 Adminek AMXX.PL

    Admin :)

  • Bot

Reputacja: 156
Profesjonalista

  • Postów:7 490
  • Lokalizacja:AMXX.PL
Offline

Napisano 07.10.2015 00:38

<div>Hello everyone<br />I am hosting several gameservers and as a provider I often have to deal with clients installing the &quot;banned&quot; 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: {&quot;!ws&quot;,&quot;ws&quot;,&quot;!knife&quot;,&quot;knife&quot;,&quot;!wp&quot;,&quot;wp&quot;};<br />How do i prevent a word such as &quot;thisisaknifetest&quot; 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 &quot;RegexReplaceString()&quot; 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ł




Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych