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

[TF2] Taunt Rate Limiter


  • 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 03.06.2013 15:06

<!-- BEGIN TEMPLATE: postbit_external -->
<div>So it would seem there are some script kiddies going around spamming taunts at really really high rates. Normal taunts don't really do too much, other than annoy players. However, if they use things that create particle systems (medic taunt, shred alert) which do not get destroyed for several seconds (4-6) they will rapidly pile up over a few seconds and crash your server due to ED_Alloc No Free Edicts.<br /><br />There's probably a better way around this, but I didn't care at the time, and just wanted to solve the problem so it would go away. This limits each player's taunt commands. It uses whole seconds. It doesn't care if your taunt landed or not. If you want better accuracy, you can go ahead and change it to use engine time // floats, or perhaps check if the player is in condition taunting, or simply count the number of taunts they do over a certain period and ban them it's too high. I think smac can do something like that.<br /><br />This is much too simple for all of that.<br /><br /><font size="5"><b><u>CVARs:</u></b></font><br /><b>ftauntlimit_version</b>: version number, for tracking (don't change) - lol<br /><b>sm_tauntallow_blue</b>: (0) - Enable/Disable Blocking for Blue [0/1]<br /><b>sm_taunt_primary</b>: (2) - Taunt delay after normal taunts<br /><b>sm_taunt_action</b>: (6) - Taunt delay after action slot items<br /><br /><!-- BEGIN TEMPLATE: bbcode_code_printable -->
<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">Code:</div>
<hr /><code style="margin:0px" dir="ltr" style="text-align:left">2013-6-3 (v1.0.0)<br />* Initial Release</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable --><font size="5"><b><u>Installation:</u></b></font><br />- Put SMX in plugins directory<br />- Set sm_tauntallow_blue 1 if you are running saxton hale or something and need him to be able to hammer his taunt keys.</div>


<br /> <div style="padding:6px">








<fieldset class="fieldset">
<legend>Attached Files</legend>
<table cellpadding="0" cellspacing="3" border="0">
<!-- BEGIN TEMPLATE: postbit_attachment -->
<tr>
<td><img class="inlineimg" src="https://forums.allie...s/attach/sp.gif" alt="File Type: sp" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="http://www.sourcemod...?file_id=120725"><strong>Get Plugin</strong></a> or
<a href="https://forums.allie...38;d=1370268369">Get Source</a> (tauntfix.sp - 3.1 KB)


</td>
</tr>
<!-- END TEMPLATE: postbit_attachment -->
</table>
</fieldset>


</div>

<!-- END TEMPLATE: postbit_external -->

Wyświetl pełny artykuł




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

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