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] Fix Scavenge Issues


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

Napisano 10.08.2023 18:58

<div><b>About</b><br />This plugin works only in <span class="highlight">scavenge mode</span>. <br />It is designed to fix or manage some issues in general scavenge mode game play. <br /><br /><b>Functions</b><br />This plugin dose <u>3 things</u>:<br /><br /> - Fixed the bug that there are no gascans produced in the first round of a new game. (Requies Left4DHooks 1.134 or above)<br /><br /> - Allows you to select total game round number by cvar.<br /><br /> - Allows you to chosse whether do auto reset round number and scores in the end of match or not by cvar.<br /><br /><b>Cvars</b><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: #FF8000">//&nbsp;Allow&nbsp;admins&nbsp;to&nbsp;use&nbsp;admin&nbsp;command&nbsp;to&nbsp;spawn&nbsp;gascans&nbsp;?
<br />//&nbsp;Default:&nbsp;0
<br /></span><span style="color: #0000BB">l4d2_scavenge_allow_enrich_gascan&nbsp;</span><span style="color: #DD0000">"0"
<br />
<br /></span><span style="color: #FF8000">//&nbsp;Total&nbsp;number&nbsp;of&nbsp;rounds&nbsp;to&nbsp;set.&nbsp;Valid&nbsp;values&nbsp;are&nbsp;1,&nbsp;3,&nbsp;5.
<br />//&nbsp;Default:&nbsp;5
<br /></span><span style="color: #0000BB">l4d2_scavenge_rounds&nbsp;</span><span style="color: #DD0000">"5"
<br />
<br /></span><span style="color: #FF8000">//&nbsp;Enable&nbsp;end&nbsp;match&nbsp;auto&nbsp;restart?&nbsp;(in&nbsp;case&nbsp;we&nbsp;use&nbsp;vanilla&nbsp;rematch&nbsp;vote)
<br />//&nbsp;Default:&nbsp;1
<br /></span><span style="color: #0000BB">l4d2_scavenge_match_end_restart&nbsp;</span><span style="color: #DD0000">"1"&nbsp;
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div><b>Admin Commander</b><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: #FF8000">//&nbsp;Enrich&nbsp;all&nbsp;gascans&nbsp;immediately.&nbsp;Need&nbsp;to&nbsp;turn&nbsp;on&nbsp;the&nbsp;cvar&nbsp;before&nbsp;use.
<br /></span><span style="color: #0000BB">sm_enrichgascan&nbsp;
<br /></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div><b>Requiement</b><br /> - <font color="blue">Left4DHooks 1.134 or above</font><br /> - A include file to compile.<br /><br /><b>Note</b><br /> - This plugin is recommended to play with plugin readyup from <a href="https://github.com/S...etitive-Rework"target="_blank" rel="nofollow noopener">L4D2 Competitive Rework</a> (forward use). It is also compatiable with vanilla scavenge.<br /><br /> - The Missing-gascan issue can actually be resolved by Lux's <a href="https://forums.alliedmods.net/showthread.php?t=319156&amp;highlight=l4d2+changelevel" target="_blank" rel="noopener">L4D2_ChangeLevel</a> when switching the map. But this issue also causes when the first client entering the server and the server being defaultly running the scavenge mode. The recent update of Left4DHooks provided a better solution (which is to spawn the gascan immediately).<br /><br /> - Part of code was from others. Credit to Eyal282, Lechuga16.</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/inc.gif"alt="File Type: inc" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="https://forums.allie...ge_func.inc</a>(10.9 KB)


</td>
</tr><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="https://www.sourcemo...29"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1691689935">GetSource</a> (l4d2_fix_scav_issues.sp - 5.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