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

[L4D2 & CS:GO] VScript File Replacer (1.0) [10-Aug-2019]


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
About:
  • Provides a config to specify which VScript files to override.
  • You can replace the whole script or search and replace specific strings.
  • Supports RegEx matching for filenames and for matching strings within the VScripts.
  • Currently supports: CS:GO and L4D2. Can be extended to other games which use VScripts. Please request if required.
  • Some games or maps will have embedded and possibly encrypted scripts preventing any reasonable method to modify them. This plugin makes that happen.



Thanks:
  • "Peace-Maker" - Fixing dHooks SetParamString.
  • "Lux" - Testing
  • "Dragokas" - Testing
  • "Mr. Man" - Testing



Admin Commands:
  • Requires "z" - ADMFLAG_ROOT flag
PHP Code:

sm_vs_dump       // Dumps all found VScripts from the servers /scripts/vscripts/ file system to /scripts/vscripts/vscripts_dump/. Automatically decodes if required.
sm_vs_encrypt    // Usage: sm_vs_encrpt <filename.nut>. Encode the specified script, must be inside the servers /scripts/vscripts/ folder, include the extension.
sm_vs_file       // Usage: sm_vs_file <filename>. Extracts the specified VScript from the Valve file system to the servers /scripts/vscripts/vscripts_dump/ folder. Automatically decodes if required.
sm_vs_list       // Show data config tree of modified scripts for the current map.
sm_vs_reload     // Reloads the data config. This also replaces files in the override folder. 



ConVars:
PHP Code:

// VScript File Replacer plugin version.
vscript_replacer_version 



Config:
  • Plugin data config saved to \addons\sourcemod\data\vscripts_override.cfg.

    Here is an example demonstrating various features and techniques.
    Spoiler



Changes:
Code:

1.0 (10-Aug-2019)
    - Initial release.



Requirements:

Installation:
  1. Download the .zip and extract the files to their respective folders in your servers \addons\sourcemod\ folder.

Attached Files
File Type: zip vscript_replacer.zip (27.5 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

×
×
  • Dodaj nową pozycję...