• cvarlist log doesn't work
    2 replies, posted
Hello :smile: I have just noticed that cvarlist log doesn't work at the moment (I have checked it both in singleplayer and online server). [CODE]RunConsoleCommand( "cvarlist", "log", "data/_cvarlist.txt" ) -- nope. RunConsoleCommand( "cvarlist", "log", "cvlist.txt" ) -- nooope. LocalPlayer():ConCommand( "cvarlist log data/_cvarlist.txt" ) -- noes. LocalPlayer():ConCommand( "cvarlist log cvlist.txt" ) -- damn it.[/CODE] :cry:
[QUOTE=OmegaExtern;49236974]Hello :smile: I have just noticed that cvarlist log doesn't work at the moment (I have checked it both in singleplayer and online server). [CODE]RunConsoleCommand( "cvarlist", "log", "data/_cvarlist.txt" ) -- nope. RunConsoleCommand( "cvarlist", "log", "cvlist.txt" ) -- nooope. LocalPlayer():ConCommand( "cvarlist log data/_cvarlist.txt" ) -- noes. LocalPlayer():ConCommand( "cvarlist log cvlist.txt" ) -- damn it.[/CODE] :cry:[/QUOTE] I remember it being exploited to do get around the file write restrictions, which is why the log capability may have been entirely removed. However, if a older one will suffice [url]https://gist.github.com/LennyPenny/2d1c4da5568a94d74e13[/url]. Otherwise, you might wanna look into a module called gm_cvar3, or create your own to automatically parse all convars.
[QUOTE=Leystryku;49236999]I remember it being exploited to do get around the file write restrictions, which is why the log capability may have been entirely removed. However, if a older one will suffice [URL]https://gist.github.com/LennyPenny/2d1c4da5568a94d74e13[/URL]. Otherwise, you might wanna look into a module called gm_cvar3, or create your own to automatically parse all convars.[/QUOTE] Yeah, I remember that update too. Well, thanks for replying. P.S. A bit off topic. Two days ago I have got an idea to export Source Engine functions, so I can call them from C# (haven't pushed a commit yet; [URL="https://github.com/OmegaExtern/gmod-csharp-binary-module"]but the concept is working[/URL]). So I will just go ahead and export ICvar now :weeb: [B]EDIT[/B] I have successfully dumped CVars: [URL="http://introme.ga/garrysmod/gmod_cvarlist_log_insandboxgamemode.txt"]In default gamemode "Sandbox"[/URL] ([URL="https://gist.github.com/OmegaExtern/e19c12b5c5d1e2ca7cc2#file-gmod_cvarlist_log_insandboxgamemode-txt"]gist[/URL]). [URL="http://introme.ga/garrysmod/gmod_cvarlist_log_mainmenu.txt"]In main menu[/URL] ([URL="https://gist.github.com/OmegaExtern/bb7bb2447f82d8537db8#file-gmod_cvarlist_log_mainmenu-txt"]gist[/URL]). I hope somebody else will find this useful. :joy:
Sorry, you need to Log In to post a reply to this thread.