Re: [L4D2 & CS:GO] VScript File Replacer (1.4) [22-Jan-2020]
You could try:
PHP Code:
The plugin could be made more powerful by using key identifiers to surround and replace only certain parts of the string, eg "CustomFinaleValue[0-9] = {{{3}}}" and whatever is inbetween "{{{}}}" will be replaced with what you specify, but at this time it's not something I plan to add. If more people request I'll consider it. Theres also the possibility that adding such an identifier would conflict with what's written in scripts, e.g. cause false positive, however making it unique enough should suffice. Again, not a current feature and no plan to add. Use https://regex101.com/ or other equivalent to test RegEx strings. |
Re: [L4D2 & CS:GO] VScript File Replacer (1.4) [22-Jan-2020]
@DARG367
I did some tests with the regex that Silvers provided and I could make it work on finales (I'm using the latest version of the plugin [22-Jan-2020]). The finale didn't bug and I could finish the map. The snippet above will:
Notes:
Spoiler
|
Re: [L4D2 & CS:GO] VScript File Replacer (1.4) [22-Jan-2020]
Thanks, Silvers and Marttt for the information! I will definitely try these out!
|
Re: [L4D2 & CS:GO] VScript File Replacer (1.5) [03-Feb-2020]
Code:
1.5 (03-Feb-2020) |
Re: [L4D2 & CS:GO] VScript File Replacer (1.5) [03-Feb-2020]
Hello Silvers, can help please, i'm use last version.
I received this in the LOG. L 02/05/2020 - 16:38:27: SourceMod error session started L 02/05/2020 - 16:38:27: Info (map "c5m1_waterfront") (file "d:\tcafiles\users\34149\left4dead2\addons\so urcemod\logs\errors_20200205.log") L 02/05/2020 - 16:38:27: [SM] Exception reported: Script execution timed out L 02/05/2020 - 16:38:27: [SM] Blaming: vscript_replacer.smx L 02/05/2020 - 16:38:27: [SM] Call stack trace: L 02/05/2020 - 16:38:27: [SM] [1] Line 675, D:\Games e Programas\PLUGINS\sourcemod-1.10.0-git6460-windows\addons\sourcemod\scripting\vscript_re placer.sp::SaveFile L 02/05/2020 - 16:38:27: [SM] [2] Line 602, D:\Games e Programas\PLUGINS\sourcemod-1.10.0-git6460-windows\addons\sourcemod\scripting\vscript_re placer.sp::ValidateFileSave L 02/05/2020 - 16:38:27: [SM] [3] Line 575, D:\Games e Programas\PLUGINS\sourcemod-1.10.0-git6460-windows\addons\sourcemod\scripting\vscript_re placer.sp::SaveOverrides L 02/05/2020 - 16:38:27: [SM] [4] Line 429, D:\Games e Programas\PLUGINS\sourcemod-1.10.0-git6460-windows\addons\sourcemod\scripting\vscript_re placer.sp::ResetPlugin L 02/05/2020 - 16:38:27: [SM] [5] Line 375, D:\Games e Programas\PLUGINS\sourcemod-1.10.0-git6460-windows\addons\sourcemod\scripting\vscript_re placer.sp::VScriptServerCompileScript L 02/05/2020 - 16:44:23: Error log file session closed. P.S, thanks for sharing this plugin :) |
Re: [L4D2 & CS:GO] VScript File Replacer (1.5) [03-Feb-2020]
Quote:
For me it takes 0.5 seconds to dump all vscripts and make changes, so as Marttt said your RegEx maybe too complicated causing delay. |
Re: [L4D2 & CS:GO] VScript File Replacer (1.5) [03-Feb-2020]
<Bad Load> vscript_replacer.smx
vscript_replacer.smx: Unable to load plugin (no debug string table) DHooks (2.2.0-detours9): Dynamic Hooks SourceMod Version: 1.9.0.6282 SourcePawn Engine: 1.9.0.6282, jit-x86 (build 1.9.0.6282) |
Re: [L4D2 & CS:GO] VScript File Replacer (1.5) [03-Feb-2020]
Quote:
|
Re: [L4D2 & CS:GO] VScript File Replacer (1.7) [10-May-2020]
Quote:
help |
Re: [L4D2 & CS:GO] VScript File Replacer (1.7) [10-May-2020]
Please read the error.
Quote:
|
| All times are GMT -4. The time now is 22:26. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.