hello it seems in my computer this RedFileSystem COUSEING THE game crash I have to disable and re enable 20 mods to find the susmod it was time consuming can you please tell me why it was happening yes i am sure this is the mods made my game crash because i have checked other mods too the are working
Can you open an issue/bug? Describe what mods are installed when game crash with RFS, along with: - version of mods (RED4ext, Redscript, ...) - log in red4ext/logs/ for redfilesystem. - is it with Vortex, MO2 or none? The more information you share the easier it will be too find why it's crashing with your setup. Otherwise, I won't be able to reproduce and provide a fix.
I am using Vortix and only RFS is couseing the crash ,if I enable RFS then the game crash so I have to desable't and yes I do have RED4ext, Redscript and other's
Please read my comment again to provide all information I need, so I can help fix your bug. This place is for comments like feedback and feature requests, use bug section to continue discussing this.
It'd be great to have something like "get all file names from the storage" Working on presets manager for my mod where each preset is a separate file, looks like it's the only thing missing to make it work
Read and write data locally is huge. Thanks! Does the plugin come with safeguards so that a mod doesn't try to write things in places where they shouldn't?
There's a reason why we don't allow CET and redscript to access the file systems. A quick browse through the code doesn't seem to show any safeguards that would prevent anyone from using this maliciously
@kzd19, you probably missed the restrict_path function. But I'm all ears for ideas to improve security and to what kind of malicious usage you anticipate.
A more strict access could be to force the use of FileSystemPrefix.CET / FileSystemPrefix.Redscript only, in such case game's directory could not be tempered with, only bin\x64\plugins\cyber_engine_tweaks\mods\ and r6\scripts\.
13 comments
yes i am sure this is the mods made my game crash because i have checked other mods too the are working
- version of mods (RED4ext, Redscript, ...)
- log in red4ext/logs/ for redfilesystem.
- is it with Vortex, MO2 or none?
The more information you share the easier it will be too find why it's crashing with your setup. Otherwise, I won't be able to reproduce and provide a fix.
Does the plugin come with safeguards so that a mod doesn't try to write things in places where they shouldn't?
A more strict access could be to force the use of FileSystemPrefix.CET / FileSystemPrefix.Redscript only, in such case game's directory could not be tempered with, only bin\x64\plugins\cyber_engine_tweaks\mods\ and r6\scripts\.