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

[L4D2] Modified Ready Up and Ready Up Module: No Rushing


  • 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 488
  • Lokalizacja:AMXX.PL
Offline

Napisano 16.04.2016 10:46

<div>Finally, after 12345678910 years of editing, I proudly present my modified version of the Ready Up plugin!<br /><br />Since I only made this plugin to call one module, I removed all unnecessary booleans, handles, timers, etc. so that they won't be leaking memory handles and produce server crashes. What the module does is: It calculates all players' distances and the radius within each other.<br /><br />Let's say if one player goes naughty and runs ahead, he/she will be detected by the module. If said rusher reaches a certain amount of distance, the module gets the team distance and automatically teleports the rusher back to his/her team. Also, there's another one - if teleported rusher reaches a certain limit of rushing, the module (depending on your config) kicks or kill that rusher.<br /><br />This might be helpful for servers with troublesome rushers, causing mission losses every single day.<br /><br /><div style="margin:20px; margin-top:5px; ">
<div class="smallfont" style="margin-bottom:2px">Quote:</div>
<table cellpadding="6" cellspacing="0" border="0" width="100%">
<tr>
<td class="alt2">
<hr />

Changelog: 04-16-16<br /> - First release.

<hr />
</td>
</tr>
</table>
</div><b>NOTES:</b><ul><li>If you want to kill or kick rushers and change the rushing limits, just change the config located in sourcemod/configs/readyup/norushing.cfg. You have to find for these lines:<br /><div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
<div class="alt2">
<hr />
<code style="white-space:nowrap">
<div dir="ltr" style="text-align:left;">
<!-- php buffer start --><code><span style="color: #000000">
<span style="color: #0000BB"></span><span style="color: #DD0000">"Rushing&nbsp;Limit"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"5"<br />"Maximum&nbsp;Amount&nbsp;Of&nbsp;Survivors"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"4"<br />"Action&nbsp;Needed&nbsp;For&nbsp;Rushers"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"1"&nbsp;</span><span style="color: #FF8000">//&nbsp;1&nbsp;-&nbsp;Kill&nbsp;rusher,&nbsp;2&nbsp;-&nbsp;Kick&nbsp;rusher&nbsp;
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div>Then change them to:<br /><div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
<div class="alt2">
<hr />
<code style="white-space:nowrap">
<div dir="ltr" style="text-align:left;">
<!-- php buffer start --><code><span style="color: #000000">
<span style="color: #0000BB"></span><span style="color: #DD0000">"Rushing&nbsp;Limit"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"your&nbsp;value"<br />"Maximum&nbsp;Amount&nbsp;Of&nbsp;Survivors"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"total&nbsp;number&nbsp;of&nbsp;survivors"<br />"Action&nbsp;Needed&nbsp;For&nbsp;Rushers"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"your&nbsp;value"&nbsp;
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div></li>
</ul><br /><font color="Red">Please report any bugs or feedbacks. Thank you in advance!</font></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/zip.gif"alt="File Type: zip" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="https://forums.allie...0799961">[L4D2]Ready Up.zip</a> (31.3 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