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[PVK2] Parrot Crash Fix [v1.0.0 | 10-April-2022]


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
PVK2 ONLY

Description

Fixes a server crash when a npc_parrot entity is created without an owner and kills someone.

This plugin sets the owner to "worldspawn" entity (0), only when there is no owner related to the entity (-1).

Easy to reproduce by using "ent_create npc_parrot" in console (with sv_cheats 1),
then wait until the parrot kills someone...*CRASH*

Features
  • Allow enabling/disabling the plugin.
  • Allow setting a debug cvar to print to chat the owner values during entity spawn.

Cvars

A configuration file named "pvk2_parrot_crash_fix.cfg" will automatically be created for you upon the first run in the "\cfg\sourcemod\" folder.

PHP Code:

// Output to chat info about the parrot owner.
// 0 = Debug OFF, 1 = Debug ON.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
pvk2_parrot_crash_fix_debug "0"

// Enable/Disable the plugin.
// 0 = Disable, 1 = Enable.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
pvk2_parrot_crash_fix_enable "1" 

Admin Commands
  • sm_print_cvars_pvk2_parrot_crash_fix => Print the plugin related cvars and their respective values to the console. (z flag required)

Change Log

Spoiler


Post Reply
  • Any feedback, bug reports, fixes, improvements, translations or suggestions for the plugin are welcome.

Installation
  • Put the "pvk2_parrot_crash_fix.smx" file (click Get Plugin) in your "\addons\sourcemod\plugins\" folder.

Attached Files
File Type: sp Get Plugin or Get Source (pvk2_parrot_crash_fix.sp - 12.4 KB)

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ę...