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

RSS[L4D2] Ladder Server Crash - Fix (1.0) [10-Feb-2022]


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
About:
  • Fixes a long standing crash since I believe The Last Stand update.
  • Fixes the "CNavLadder::GetPosAtHeight" crash that occurs randomly sometimes multiple times a day.
  • This crash happens on Windows and Linux L4D2 servers.
  • Would be handy if someone could enable DEBUG and report which crash is triggering so I can optimize and remove the checks not required.



Thanks:
  • Dragokas for the Memory-Extended include used to validate memory.
  • plug344 and AK978 for testing and reporting success.



Changes:
Code:

1.0 (10-Feb-2022)
    - Official release.

0.4 (21-Jan-2022)
    - Added debugging log when an error is detected. Saved to "logs/ladder_patch.log" printing map and position of ladder.

0.3 (21-Jan-2022)
    - Beta release checking the problem offset. Thanks to "Dragokas" for reporting.

0.2 (21-Jan-2022)
    - Beta release with MemoryEx support.

0.1 (21-Jan-2022)
    - Initial beta release.



Compiling:
  1. Must have the DHooks include.
  2. Download and extract the Memory-Extended include into your \addons\sourcemod\scripting\include\ folder.
  3. Optionally you can change "DEBUG 0" in the source code to "DEBUG 1" and log data when the crash is prevented. Shows the map and ladder, along with which bug triggered it.
  4. Log file is saved to \addons\sourcemod\logs\ladder_patch.log on your server.



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. (Compiled with 1.10).
  2. Download the .txt gamedata file and put into your servers \addons\sourcemod\gamedata\ folder.

Attached Files
File Type: sp Get Plugin or Get Source (l4d2_ladder_patch.sp - 5.3 KB)
File Type: smx l4d2_ladder_patch.smx (16.9 KB)
File Type: txt l4d2_ladder_patch.txt (896 Bytes)

Wyświetl pełny artykuł

Odnośnik do komentarza
Udostępnij na innych stronach

Gość
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
 Udostępnij

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

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