Skocz do zawartości

Nowy szablon forum

mygo.pl

Stworzyliśmy dla Was nowy wygląd forum. Z pewnością znajdziesz rzeczy, które wg Ciebie mogą zostać zmienione - wspomnij o tym w specjalnym wątku.

Czytaj więcej

Jak założyć własną sieć

serwerów CS

Zastanawiasz się nad prowadzeniem własnej sieci serwerów? Przeczytaj podstawowe informacje, na które należy zwrócić uwagę, przy takim projekcie.

Czytaj więcej

Tworzymy spis sieci

dodaj swoją

Dodaj sieć do której należysz, pozwoli to na promocję i budowę ogólnopolskiej bazy sieci CS.

Czytaj więcej

[ANY] Command and ConVar - Buffer Overflow Fixer


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
About:
  • This plugin fixes servers with too many ConVars, which causes a buffer overflow error in server console and the overflowed ConVars to use their default value instead of the one specified.
  • This should also fix commands which failed to be executed caused by the same buffer overflow.
  • Note: If your server is hibernating the fix will happen on the next frame when it wakes.
  • Initial thread and plugin version here.
  • According to posts in that thread CSGO needs this fix, but from my testing on Windows and Linux it does not. Please report results.



Related Plugins:


Supported Games:
  • CSGO (Windows and Linux)
  • L4D1 (Windows and Linux)
  • L4D2 (Linux only)
  • Request support if your game suffers from this bug.



Thanks:
  • Peace-Maker (for DHooks Dev Preview and helping script this plugin).
  • Dr!fter (for initially creating DHooks extension).
  • Dragokas (helping me understand the .cpp files and functions).
  • Lux (various scripting advice and helping figure out stuff).
  • Timocop (L4D1 Linux binary and testing).



ConVar Testing:
Spoiler




ConVars:

PHP Code:

// Command and ConVar - Buffer Overflow Fixer plugin version.
command_buffer_version 




Changes:
Code:

2.0 (02-Aug-2018)
    - Now fixes all ConVars from being set to incorrect values.
    - Supports CSGO (win/nix), L4D1 (win/nix) and L4D2 (nix).
    - Other games with issues please request support.

1.0 (27-Jun-2018)
    - Initial release.




Requirements:


Installation:
DO NOT click 'Get Plugin' or it will fail to compile because this plugin requires DHooks!
  1. Download the .smx file and put into your servers \addons\sourcemod\plugins folder.
  2. Download the .txt gamedata file and put into your servers \addons\sourcemod\gamedata\ folder.
  3. You must restart the server.

Attached Files
File Type: txt command_buffer.games.txt (1.8 KB)
File Type: smx command_buffer.smx (6.8 KB)
File Type: sp Get Plugin or Get Source (command_buffer.sp - 6.3 KB)

Wyświetl pełny artykuł

Odnośnik do komentarza
Udostępnij na innych stronach

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się
 Udostępnij

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...